Slope determination method, storage medium, program product, electronic device and vehicle
Through multi-sensor coupling method and Kalman data fusion, combined with vehicle driving information, point cloud data and image data, the problem of singleness and poor accuracy of lateral slope estimation in the existing technology is solved, and efficient and accurate road slope determination is achieved and lateral slope prediction.
Patent Information
- Application Number
- CN202410906116.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The lateral slope estimation method in the existing technology is too simple and fails to effectively consider the impact of vehicle motion on slope estimation, resulting in poor accuracy and robustness of slope estimation.
The multi-sensor coupling method is used to estimate the slope through the vehicle's driving information, point cloud data and image data, combined with Kalman data fusion and environmental information, to determine the target slope information and improve the anti-interference ability and estimation accuracy.
It achieves efficient and accurate road slope determination, enhances the accuracy and robustness of lateral slope estimation, is suitable for more scenarios, and can predict the roll slope of the road ahead of the vehicle in advance.
Smart Images

Figure CN118560495B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular, to a slope determination method, a storage medium, a program product, an electronic device, and a vehicle. Background Art
[0002] With the development of vehicle intelligence, people have higher and higher requirements for driving safety. The accuracy of road lateral slope estimation affects the safe driving of vehicles, so it has attracted widespread attention. In related technologies, the lateral slope estimation method is too simple, and most of them only consider vehicle speed, acceleration, and yaw rate information, which limits the accuracy of lateral slope estimation. In addition, the impact of vehicle motion on slope estimation is not considered, resulting in poor accuracy and robustness of slope estimation. Summary of the invention
[0003] The purpose of the present disclosure is to provide a slope determination method, a storage medium, a program product, an electronic device and a vehicle for efficiently and accurately determining the slope of a road.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining a slope is provided, the method comprising:
[0005] Determining first slope information of the target slope according to driving information of the vehicle;
[0006] Determining second slope information of the target slope according to the point cloud data of the target slope;
[0007] Determining third slope information of the target slope according to the image data of the target slope;
[0008] The target slope information of the target slope is determined according to the first slope information, the second slope information and the third slope information.
[0009] Optionally, determining the target slope information of the target slope surface according to the first slope information, the second slope information and the third slope information includes:
[0010] performing Kalman data fusion on the first slope information, the second slope information and the third slope information to obtain candidate slope information;
[0011] The target slope information is determined according to the candidate slope information, environmental information and road information.
[0012] Optionally, determining the target slope information according to the candidate slope information, environment information and road information includes:
[0013] When the environment information and the road information meet a preset condition, taking the candidate slope information as the target slope information;
[0014] When the environmental information and the road information do not meet the preset conditions, the target weights corresponding to the first slope information, the second slope information and the third slope information are determined according to the environmental information and the road information, and the target slope information is determined according to the target weights, the first slope information, the second slope information and the third slope information.
[0015] Optionally, the preset conditions include:
[0016] The light intensity of the surrounding environment of the vehicle is greater than a preset light intensity threshold;
[0017] The recognition accuracy of the lane line of the target slope is greater than a preset accuracy threshold;
[0018] The bump index of the vehicle is less than a preset index threshold.
[0019] Optionally, the determining the first slope information of the target slope according to the driving information of the vehicle includes:
[0020] Determining an estimated expression for the sum of the slope and the roll angle of the vehicle according to a state space equation corresponding to the two-degree-of-freedom model of the vehicle and the driving information;
[0021] The first slope information is determined based on the estimated expression and the roll angle.
[0022] Optionally, determining the second slope information of the target slope according to the point cloud data of the target slope includes:
[0023] Obtaining a slope equation of the target slope by fitting the point cloud data;
[0024] Obtaining a slope normal vector of the target slope according to the slope equation;
[0025] The second slope information is determined according to the slope normal vector and the ground normal vector.
[0026] Optionally, determining the third slope information of the target slope according to the image data of the target slope includes:
[0027] Determine a fitting function of a preview point and a lane line according to the image data;
[0028] Determine the distance between the vehicle and the lane line according to the preview point and the fitting function;
[0029] Determine the tangent slope of the lane line according to the preview point and the fitting function;
[0030] The third slope information is determined according to the distance and the tangent slope.
[0031] Optionally, the driving information includes: longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle; the method further includes:
[0032] Acquiring the longitudinal vehicle speed, the lateral acceleration, the yaw rate signal and the vehicle roll angle through an inertial measurement unit;
[0033] Acquiring the image data through a camera of an advanced driving assistance system ADAS;
[0034] The point cloud data is acquired by the radar of the ADAS.
[0035] According to a second aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect of the embodiment of the present disclosure are implemented.
[0036] According to a third aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect of the embodiment of the present disclosure.
[0037] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0038] a memory having a computer program stored thereon;
[0039] A processor is used to execute the computer program in the memory to implement the steps of the method described in the first aspect of the embodiment of the present disclosure.
[0040] According to a fifth aspect of an embodiment of the present disclosure, a vehicle is provided, the vehicle comprising the electronic device described in the fourth aspect of an embodiment of the present disclosure.
[0041] Through the above technical solution, the present disclosure determines the first slope information of the target slope according to the driving information of the vehicle, determines the second slope information of the target slope according to the point cloud data of the target slope, determines the third slope information of the target slope according to the image data of the target slope, and determines the target slope information of the target slope according to the first slope information, the second slope information and the third slope information. The present disclosure estimates the slope according to the driving information of the vehicle, the image data of the target slope and the point cloud data, respectively, obtains the corresponding three slope information of the target slope, and obtains the target slope information by combining the three slope information, thereby improving the anti-interference ability of the slope estimation and being able to efficiently and accurately determine the road slope.
[0042] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings are used to provide further understanding of the present disclosure and constitute a part of the specification. They are used to explain the present disclosure together with the following detailed description, but do not constitute a limitation of the present disclosure.
[0044] Figure 1 The figure is a flow chart of a method for determining a slope according to an exemplary embodiment.
[0045] Figure 2 is a flow chart of another method for determining a slope according to an exemplary embodiment.
[0046] Figure 3 The figure is a schematic diagram of a flow chart of slope estimation according to an exemplary embodiment.
[0047] Figure 4 The figure is a schematic diagram of a flow chart of fitting a slope equation according to an exemplary embodiment.
[0048] Figure 5 The present invention is a schematic diagram of a process of generating a lane recognition model according to an exemplary embodiment.
[0049] Figure 6 is a schematic diagram of a slope estimation system according to an exemplary embodiment.
[0050] Figure 7 It is a block diagram of a device for determining a slope according to an exemplary embodiment.
[0051] Figure 8 It is a block diagram of another device for determining a slope according to an exemplary embodiment.
[0052] Fig. 9 It is a block diagram of another device for determining a slope according to an exemplary embodiment.
[0053] Fig.10 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0054] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0055] In the related art, a single type of sensor is used to estimate the lateral slope, and the estimation result is easily disturbed, the accuracy of the lateral slope estimation is limited, and the practicality is low in complex working conditions. The embodiment of the present disclosure adopts a multi-sensor coupling method to estimate the lateral slope, and the data collected by each sensor can complement each other, thereby eliminating the shortcomings of a single type of sensor. By fusing multi-sensor data and performing final arbitration, the anti-interference ability is strong, the robustness is good, the lateral slope estimation is efficient and accurate, and it is applicable to more scenarios. It improves the accuracy and robustness of the road side slope estimation, and can predict the side slope of the road ahead of the vehicle in advance.
[0056] Figure 1 is a flow chart of a method for determining a slope according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.
[0057] Step S101, determining first slope information of a target slope according to driving information of a vehicle.
[0058] For example, the driving information of the vehicle can be obtained through IMU (English: Inertial Measurement Unit, Chinese: Inertial Measurement Unit). The driving information can characterize the driving state of the vehicle. The driving information can include at least one of the longitudinal vehicle speed, lateral acceleration, yaw angular velocity signal and vehicle roll angle. Then, a two-degree-of-freedom model of the vehicle can be established first to obtain the state space equation and driving information, determine the estimated expression of the sum of the slope and the roll angle of the vehicle, and determine the first slope information based on the estimated expression and the roll angle. Among them, the specific implementation method of determining the estimated expression and the specific implementation method of estimating the slope based on the estimated expression and the roll angle can refer to the relevant technology and will not be repeated here.
[0059] Step S102: determining second slope information of the target slope according to the point cloud data of the target slope.
[0060] For example, the point cloud data of the target slope can be obtained by using a radar installed on the vehicle. The target slope can be understood as the slope in front of the vehicle's driving direction. Then, edge point cloud extraction can be performed on the collected point cloud data, and the slope fitting can be performed using a plane fitting method to obtain a fitted slope equation. Finally, the second slope information of the target slope can be obtained by solving the slope equation. Among them, the specific implementation method of slope fitting and the specific implementation method of solving the slope equation for slope estimation can refer to the relevant technology and will not be repeated here.
[0061] Step S103: determining the third slope information of the target slope according to the image data of the target slope.
[0062] For example, the image data of the target slope can be obtained by reusing the camera of ADAS (English: Advanced Driver Assistance Systems, Chinese: Advanced Driving Assistance Systems). Then, the lane line annotation and deep neural network model training of the collected image data can be performed to obtain a lane line recognition model with high accuracy. The image data is input into the trained lane line recognition model to obtain the lane line fitting function output by the lane line recognition model. Finally, based on the obtained lane line fitting function, the coordinates of the preview point can be obtained, and the slope can be estimated according to the lane line fitting function and the preview point coordinates, so as to obtain the third slope information. Among them, the specific implementation method of slope estimation according to the lane line fitting function and the preview point coordinates can refer to the relevant technology, which will not be repeated here.
[0063] Step S104, determining target slope information of the target slope surface according to the first slope information, the second slope information and the third slope information.
[0064] In some embodiments, Kalman data fusion may be performed on the first slope information, the second slope information, and the third slope information to obtain target slope information.
[0065] In other embodiments, Kalman data fusion may be performed on the first slope information, the second slope information and the third slope information to obtain candidate slope information, and then the candidate slope information may be corrected according to the environment information and the road information to obtain the target slope information.
[0066] In other embodiments, Kalman data fusion can be performed on the first slope information, the second slope information and the third slope information to obtain candidate slope information, and determine whether the environmental information and road information affect the normal slope estimation. For example, factors such as dim outdoor light, bad weather, poor lane line contrast, and irregular lane lines will reduce the accuracy of identifying lane lines based on image data. When the vehicle is very bumpy, the driving information collected by the IMU will be greatly affected, resulting in the inability to perform normal slope estimation. In the case where normal slope estimation cannot be performed, the weights of the first slope information, the second slope information and the third slope information can be adjusted according to the environmental information and road information, and the target slope information can be re-determined according to the adjusted weights. In the case where normal slope estimation can be performed, the candidate slope information can be used as the target slope information.
[0067] In summary, the present disclosure determines the first slope information of the target slope according to the driving information of the vehicle, determines the second slope information of the target slope according to the point cloud data of the target slope, determines the third slope information of the target slope according to the image data of the target slope, and determines the target slope information of the target slope according to the first slope information, the second slope information and the third slope information. The present disclosure estimates the slope according to the driving information of the vehicle, the image data of the target slope and the point cloud data, respectively, obtains the corresponding three slope information of the target slope, and obtains the target slope information by combining the three slope information, thereby improving the anti-interference ability of the slope estimation and being able to efficiently and accurately determine the road slope.
[0068] Figure 2 is a flow chart showing another method for determining a slope according to an exemplary embodiment. Figure 2 As shown, step S104 can be implemented in the following manner.
[0069] Step S1041, performing Kalman data fusion on the first slope information, the second slope information and the third slope information to obtain candidate slope information.
[0070] For example, the first slope information, the second slope information and the third slope information are represented as φr1, φr2 and φr3 respectively, and the state quantity is defined as three slope information, φr=[φr1, φr2, φr3].
[0071] Define the system model φr(k+1)=A*φr(k), where φr(k+1) is the estimated value of the state quantity at the current moment, φr(k) is the estimated value of the state quantity at the previous moment, and A is the state transfer matrix of the system model; define the observation model z(k) =H*φr(k), where z(k) is the observation value at the current moment, and H is the observation matrix of the observation model.
[0072] Then, the initial state estimation is performed according to the initial estimated values of the first slope information, the second slope information and the third slope information, and the state quantity is updated according to the system model and the observation model: φr(k+1)=A*φr(k) + K*(z(k) -H*φr(k)), where K is the gain matrix of the Kalman filter.
[0073] Finally, the state quantity can be predicted according to the system model: φr_p(k+1)=A*φr(k), where φr_p(k+1) is the predicted value of the state quantity at the current moment. By continuously updating and predicting the state, the fused estimated values of the first slope information, the second slope information, and the third slope information can be obtained.
[0074] When updating the state, it is necessary to calculate the gain matrix of the Kalman filter, where the gain matrix of the Kalman filter can be calculated using the following formula: K(k) = P(k) * H(k) T * (H(k) * P(k) * H(k) T + R(k)) -1 , where P(k) is the state quantity covariance matrix, H(k) is the observation matrix of the observation model, and R(k) is the observation noise covariance matrix.
[0075] Finally, the candidate slope information of the target slope obtained by fusing the first slope information, the second slope information and the third slope information can be: φr(k+1) = φr_p(k+1) + K(k) * (z(k) - H(k) * φr_p(k+1)).
[0076] Step S1042, determining target slope information according to candidate slope information, environmental information and road information.
[0077] For example, environmental information and road information can affect the accuracy of lane line recognition. For example, when the outdoor light is dim, the weather is bad, the lane line contrast is poor, or the lane line is irregular, the accuracy of lane line recognition based on image data will be reduced. When the vehicle is driving very bumpy, the driving information collected by the IMU will be greatly affected.
[0078] In some embodiments, it can be determined whether the environmental information and the road information meet the preset conditions, wherein the preset conditions may include: the illumination intensity of the vehicle's surrounding environment is greater than a preset light intensity threshold, the recognition accuracy of the lane line of the target slope is greater than a preset accuracy threshold, and the vehicle's bump index is less than a preset index threshold. If the environmental information and the road information meet the preset conditions, it means that the environmental information and the road information have little effect on the slope estimation, then the candidate slope information can be used as the target slope information. If the environmental information and the road information do not meet the preset conditions, it means that the environmental information and the road information have a greater impact on the slope estimation, then the target weights corresponding to the first slope information, the second slope information, and the third slope information are determined according to the environmental information and the road information, and the target slope information is determined according to the target weights, the first slope information, the second slope information, and the third slope information.
[0079] In one possible implementation, if the illumination intensity of the vehicle's surrounding environment is less than or equal to a preset light intensity threshold, and the lane line recognition accuracy is less than or equal to a preset accuracy threshold, indicating that the camera recognition accuracy is poor, the weight of the third slope information determined based on the image data can be reduced. If the vehicle's bump index is greater than or equal to a preset index threshold, indicating that the vehicle is very bumpy and the IMU is greatly affected, the weight of the first slope information determined based on the driving data can be reduced. Furthermore, the adjusted weight can be used as the target weight, and the target slope information can be determined based on the target weight, the first slope information, the second slope information, and the third slope information. In this way, the weights of the first slope information, the second slope information, and the third slope information are adjusted according to the environmental information and the road information, and the weight of the slope information corresponding to the sensor that is more affected by the environmental and road conditions is reduced, which can improve the accuracy of the target slope information.
[0080] In some embodiments, step S101 may be implemented in the following manner.
[0081] An estimated expression for the sum of the slope and the roll angle of the vehicle is determined based on a state space equation corresponding to a two-degree-of-freedom model of the vehicle and driving information.
[0082] The first slope information is determined based on the estimated expression and the roll angle.
[0083] For example, refer to Figure 3 First, the driving information of the vehicle can be obtained through the IMU, where the driving information can include longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle. Then, a two-degree-of-freedom model of the vehicle can be established to obtain the state-space equation, and the front wheel steering angle and φ are used as the input of the state-space equation, and the yaw rate and lateral acceleration are used as the output of the state-space equation. Among them, φ represents the sum of the slope of the target slope and the roll angle. Further, based on the state-space equation, the transfer function relationship between the input and the output can be derived to obtain the relationship between the front wheel steering angle and the lateral acceleration and yaw rate, and the relationship between φ and the lateral acceleration and yaw rate. Then, according to the above four relationship expressions, the estimated expression of φ is obtained, and the error value under non-steady-state conditions is obtained by error analysis to eliminate the derivative term of the lateral velocity and the error term of the yaw rate estimation, and the final estimated expression of φ is obtained. Finally, based on the estimated expression of φ, the coupling relationship between the vehicle roll angle and the slope can be eliminated, and the roll angle of the vehicle can be subtracted to finally obtain the first lateral slope estimation value, that is, the first slope information.
[0084] In some other embodiments, step S102 may be implemented in the following manner.
[0085] The slope equation is obtained by fitting the point cloud data.
[0086] The slope normal vector is obtained according to the slope equation.
[0087] The second slope information is determined according to the slope surface normal vector and the ground normal vector.
[0088] For example, refer to Figure 4 First, edge point cloud extraction can be performed on the collected point cloud data, and then the slope surface can be fitted using the plane fitting method to obtain the fitted slope surface equation. Among them, the slope surface fitting can be based on the PANSAC (progressive sample consensus) algorithm. First, three points are randomly selected in the slope surface point cloud to fit the plane equation, and then the other points in the point cloud data are checked to see if they match the fitted surface. If the point is within the defined error threshold, the point is an inner point, otherwise, it is regarded as an outer point, and finally all the inner points can be used to re-estimate the plane equation. Repeat the above plane fitting process until the maximum number of iterations is reached, thereby obtaining the slope surface equation of the target slope.
[0089] In some embodiments, reference Figure 3 , the slope point cloud fitting result output by the ADAS domain control can be obtained, and based on the roll angle data obtained by the IMU, the point cloud data is converted to the IMU horizontal coordinate system, and the point cloud data is processed in the IMU horizontal coordinate system. The slope normal vector of the target slope is obtained by solving the slope equation of the target slope, and then the slope normal vector and the ground normal vector are obtained, and the angle between the slope normal vector and the ground normal vector is calculated, and the second lateral slope estimation value, that is, the second slope information, is obtained according to the angle between the slope normal vector and the ground normal vector.
[0090] In some other embodiments, step S103 may be implemented in the following manner.
[0091] The fitting function of the preview point and the lane line is determined based on the image data.
[0092] The distance between the vehicle and the lane line is determined based on the preview point and the fitting function.
[0093] The tangent slope of the lane line is determined based on the preview point and the fitting function.
[0094] The third slope information is determined based on the distance and the tangent slope.
[0095] For example, refer to Figure 5, the collected image data can be annotated with lane lines and trained with a deep neural network model to obtain a lane line recognition model with high accuracy. In some embodiments, the annotated data can be divided into a training set, a validation set, and a test set, and neural network training can be performed to segment lane lines. The lane line recognition model can be obtained through continuous verification and iteration. After testing, the lane line recognition accuracy and recall rate of the lane line recognition model are both ≥ 95%. The image data is input into the trained lane line recognition model to obtain the lane line fitting function output by the lane line recognition model.
[0096] Reference Figure 3 , the coordinates of the preview point can be obtained based on the acquired lane line fitting function. Among them, the preview point includes the intersection of the image preview line and the left and right lane lines, the intersection of the left and right lane lines and the bottom of the image, and the origin of the camera optical center. The number of preview points can be 7. Then, the distance between the vehicle and the left and right lane lines can be determined according to the preview point and the fitting function, and the method of estimating the lane line tangent slope can be derived based on the preview point and the principle of inverse perspective, and the tangent slopes of the left and right lane lines can be obtained respectively. Finally, the slope can be estimated based on the distance from the vehicle to the left and right lane lines and the tangent slopes of the left and right lane lines to obtain the third lateral slope estimation value, that is, the third slope information.
[0097] In other embodiments, Figure 3 As shown, Kalman data fusion can be performed on the first lateral slope estimation value, the second lateral slope estimation value and the third lateral slope estimation value to obtain a final roll slope estimation, that is, target slope information.
[0098] In other embodiments, the driving information includes: longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle. The longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle can be obtained by an inertial measurement unit. Image data can be obtained by reusing the ADAS camera, point cloud data can be obtained by reusing the ADAS radar, or by reusing the radar of other equipment on the vehicle, or by using an independent radar, which is not specifically limited in the present disclosure. The disclosed embodiment reuses the ADAS domain monocular camera, simplifies the dedicated peripheral camera sensor, and effectively saves hardware resources. The radar and camera sensors used to predict the lateral slope of the road ahead of the vehicle can be used as one of the monitoring variables of the side slope compensation algorithm, so that the functional algorithm can enter the ready state in advance, effectively reducing the algorithm activation delay and improving the smoothness of the vehicle.
[0099] Figure 6 is a schematic diagram of a slope estimation system, such as Figure 6As shown, the camera can reuse the ADAS monocular camera to provide road video stream data to obtain image data. The radar can be used to obtain point cloud data of the target road surface. The IMU can obtain the vehicle's driving information, including longitudinal vehicle speed, lateral acceleration, yaw angular velocity, and vehicle roll angle. The input of the ADAS domain controller can be image data and point cloud data of the target slope. The input data can be pre-processed separately in the ADAS domain controller, and then the lane line recognition module is used to perform lane line recognition based on the image data, and the slope point cloud fitting module is used to perform slope point cloud fitting based on the point cloud data. The ADAS domain controller finally outputs the lane line recognition results and slope point cloud fitting results of the target road surface.
[0100] VCU (English: Vehicle Control Unit, Chinese: vehicle controller) can include a roll observation module and an arbitration module, wherein the roll observation module can be integrated into the VCU, with input provided by the IMU and ADAS domain controller, and the output of the roll observation module can be the lateral slope estimation result of the road surface, that is, the target slope information. The lateral slope estimation can be performed inside the roll observation module first, and the first slope information is calculated based on the IMU data, the second slope information is calculated based on the point cloud data, and the third slope information is calculated based on the image data. Then, the three slope information are fused by Kalman filter data through the fusion module, and the final target slope information is obtained after arbitration.
[0101] In the disclosed embodiment, the ADAS domain controller integrates a lane line recognition module and a slope point cloud fitting module, and outputs the lane line recognition results and the slope point cloud fitting results to the VCU. The VCU outputs the lateral slope estimation after comprehensive judgment by the roll road surface observation module and the arbitration module. Direct interaction between the ADAS domain controller and the VCU reduces unnecessary data transmission, and the efficiency of direct bus communication is high. The VCU includes an arbitration module, which makes comprehensive judgments through the arbitration module, is applicable to more road conditions, and has high accuracy, which can improve the accuracy of lateral slope estimation.
[0102] In summary, the present disclosure determines the first slope information of the target slope according to the driving information of the vehicle, determines the second slope information of the target slope according to the point cloud data of the target slope, determines the third slope information of the target slope according to the image data of the target slope, and determines the target slope information of the target slope according to the first slope information, the second slope information and the third slope information. The present disclosure estimates the slope according to the driving information of the vehicle, the image data of the target slope and the point cloud data, respectively, obtains the corresponding three slope information of the target slope, and obtains the target slope information by combining the three slope information, thereby improving the anti-interference ability of the slope estimation and being able to efficiently and accurately determine the road slope.
[0103] Figure 7is a block diagram of a device for determining a slope according to an exemplary embodiment. Figure 7 As shown, the device 200 may include the following modules.
[0104] The first determination module 201 is configured to determine first slope information of a target slope according to driving information.
[0105] The second determination module 202 is configured to determine second slope information of the target slope according to the point cloud data.
[0106] The third determination module 203 is configured to determine third slope information of the target slope according to the image data.
[0107] The fourth determination module 204 is configured to determine target slope information of the target slope surface according to the first slope information, the second slope information and the third slope information.
[0108] Figure 8 is a block diagram of another device for determining a slope according to an exemplary embodiment. Figure 8 As shown, the fourth determination module 204 includes the following submodules.
[0109] The fusion submodule 2041 is configured to perform Kalman data fusion on the first slope information, the second slope information and the third slope information to obtain candidate slope information.
[0110] The determination submodule 2042 is configured to determine the target slope information according to the candidate slope information, the environment information and the road information.
[0111] In some embodiments, the determination submodule 2042 is configured to: when the environment information and the road information meet the preset conditions, use the candidate slope information as the target slope information. When the environment information and the road information do not meet the preset conditions, determine the target weights corresponding to the first slope information, the second slope information, and the third slope information according to the environment information and the road information, and determine the target slope information according to the target weights, the first slope information, the second slope information, and the third slope information.
[0112] In other embodiments, the preset conditions include: the illumination intensity of the vehicle's surrounding environment is greater than a preset light intensity threshold, the lane line recognition accuracy is greater than a preset accuracy threshold, and the vehicle's bump index is less than a preset index threshold.
[0113] In some other embodiments, the first determination module 201 is configured to: determine an estimated expression of the sum of the slope information and the roll angle of the vehicle according to the state space equation corresponding to the two-degree-of-freedom model of the vehicle and the driving information, and determine the first slope information according to the estimated expression and the roll angle.
[0114] In some other embodiments, the second determination module 202 is configured to: obtain a slope equation according to the point cloud data fitting, obtain a slope normal vector according to the slope equation, and determine the second slope information according to the slope normal vector and the ground normal vector.
[0115] In some other embodiments, the third determination module 203 is configured to: determine a fitting function of the preview point and the lane line according to the image data; determine the distance between the vehicle and the lane line according to the preview point and the fitting function; determine the tangent slope of the lane line according to the preview point and the fitting function; and determine the third slope information according to the distance and the tangent slope.
[0116] Fig. 9 is a block diagram of another device for determining a slope according to an exemplary embodiment. Fig. 9 As shown, the driving information includes: longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle. The device 200 also includes: an acquisition module 205, which is configured to: acquire longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle through an inertial measurement unit. Acquire image data through a camera of an advanced driver assistance system ADAS. Acquire point cloud data through a radar of the ADAS.
[0117] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0118] In summary, the present disclosure determines the first slope information of the target slope according to the driving information of the vehicle, determines the second slope information of the target slope according to the point cloud data of the target slope, determines the third slope information of the target slope according to the image data of the target slope, and determines the target slope information of the target slope according to the first slope information, the second slope information and the third slope information. The present disclosure estimates the slope according to the driving information of the vehicle, the image data of the target slope and the point cloud data, respectively, obtains the corresponding three slope information of the target slope, and obtains the target slope information by combining the three slope information, thereby improving the anti-interference ability of the slope estimation and being able to efficiently and accurately determine the road slope.
[0119] Fig.10 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig.10 As shown, the electronic device 300 may include: a processor 301 , a memory 302 . The electronic device 300 may also include one or more of a multimedia component 303 , an input / output (I / O) interface 304 , and a communication component 305 .
[0120] The processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps in the above-mentioned method for determining the slope. The memory 302 is used to store various types of data to support the operation of the electronic device 300, and these data may include instructions for any application or method used to operate on the electronic device 300, and application-related data, such as contact data, messages sent and received, pictures, audio, video, etc. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, magnetic disk or optical disk. The multimedia component 303 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 302 or sent through the communication component 305. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 304 provides an interface between the processor 301 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 305 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 305 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0121] In an exemplary embodiment, the electronic device 300 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned slope determination method.
[0122] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned method for determining the slope are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 302 including program instructions, and the above-mentioned program instructions can be executed by the processor 301 of the electronic device 300 to complete the above-mentioned method for determining the slope.
[0123] In another exemplary embodiment, a computer program product is also provided, comprising a computer program, which implements the steps of the above slope determination method when executed by a processor.
[0124] In another exemplary embodiment, a vehicle is provided. The vehicle includes the electronic device 300 described above.
[0125] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0126] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0127] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for determining a slope, characterized in that: The method comprises: Determining first slope information of the target slope according to the driving information of the vehicle; Determining second slope information of the target slope according to the point cloud data of the target slope; Determining third slope information of the target slope according to the image data of the target slope; Determining target slope information of the target slope surface according to the first slope information, the second slope information and the third slope information; The determining the target slope information of the target slope surface according to the first slope information, the second slope information and the third slope information comprises: determining candidate slope information according to the first slope information, the second slope information and the third slope information; The target slope information is determined according to the candidate slope information, environmental information and road information.
2. The method according to claim 1, characterized in that Determining the target slope information according to the candidate slope information, environment information and road information includes: When the environment information and the road information meet a preset condition, taking the candidate slope information as the target slope information; When the environmental information and the road information do not meet the preset conditions, the target weights corresponding to the first slope information, the second slope information and the third slope information are determined according to the environmental information and the road information, and the target slope information is determined according to the target weights, the first slope information, the second slope information and the third slope information.
3. The method according to claim 2, characterized in that The preset conditions include: The light intensity of the vehicle's surrounding environment is greater than a preset light intensity threshold; The recognition accuracy of the lane line of the target slope is greater than a preset accuracy threshold; The bump index of the vehicle is less than a preset index threshold.
4. The method according to any one of claims 1 to 3, characterized in that: The first slope information of the target slope is determined according to the driving information of the vehicle, including: Determining an estimated expression for the sum of the slope and the roll angle of the vehicle according to a state space equation corresponding to the two-degree-of-freedom model of the vehicle and the driving information; The first slope information is determined based on the estimated expression and the roll angle.
5. The method according to any one of claims 1 to 3, characterized in that: The determining the second slope information of the target slope according to the point cloud data of the target slope includes: Obtaining a slope equation of the target slope by fitting the point cloud data; Obtaining a slope normal vector of the target slope according to the slope equation; The second slope information is determined according to the slope normal vector and the ground normal vector.
6. The method according to any one of claims 1 to 3, characterized in that: The step of determining the third slope information of the target slope according to the image data of the target slope comprises: Determine a fitting function of a preview point and a lane line according to the image data; Determine the distance between the vehicle and the lane line according to the preview point and the fitting function; Determine the tangent slope of the lane line according to the preview point and the fitting function; The third slope information is determined according to the distance and the tangent slope.
7. The method according to any one of claims 1 to 3, characterized in that The driving information includes: longitudinal vehicle speed, lateral acceleration, yaw rate signal and vehicle roll angle; the method also includes: Acquiring the longitudinal vehicle speed, the lateral acceleration, the yaw rate signal and the vehicle roll angle through an inertial measurement unit; Acquiring the image data through a camera of an advanced driving assistance system ADAS; The point cloud data is acquired by the radar of the ADAS.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.
11. A vehicle, characterized in that: The vehicle comprises the electronic device according to claim 10.
Citation Information
Patent Citations
Method and device for estimating slope of road surface, vehicle and computer readable storage medium
CN113442932A
Energy recovery method and device, storage medium and vehicle
CN116749778A
Riding gradient calculation method and device, medium and riding stopwatch
CN116772795A
Vehicle control method and device, unmanned vehicle and storage medium
CN117311235A
Gradient estimation method and system and vehicle
CN117465458A
