A method, device, electronic device and storage medium for detecting road icing state

By integrating infrared temperature measurement, laser ranging and image recognition technology, combined with light reflection characteristics of different wavelengths and vertical thickness changes, combined with SVM algorithm, multiple detection results are integrated to solve the problem of insufficient accuracy in detecting road icing status in the existing technology. problem, improving detection accuracy and ensuring the safe driving of autonomous vehicles on ice and snow roads.

CN118362604BActive Publication Date: 2024-10-08GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410790079.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-08
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

The existing technology is greatly affected by environmental factors when detecting the icing status of ice and snow highways, resulting in a decrease in detection accuracy, which can easily lead to traffic accidents, especially when driving at high speeds.

Method used

Using a variety of comprehensive detection methods, including infrared temperature measurement, laser ranging and image recognition, through the analysis of reflection characteristics and vertical thickness changes of light of different wavelengths, combined with the SVM algorithm, multiple detection results are obtained and weighted fusion is performed to improve the icing status accuracy.

Benefits of technology

It overcomes the problem of inaccuracy of a single detection method, improves the accuracy and precision of road icing status detection, reduces motion blur interference, and enhances the safety of autonomous vehicles on low-level ice and snow roads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118362604B_ABST
    Figure CN118362604B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, electronic device and storage medium for detecting the icing state of a road surface, wherein the method includes: obtaining the road surface temperature; when the road surface temperature meets a preset condition, obtaining detection data for detecting the icing state of the road surface; using different icing state detection methods to process different detection data, and obtaining multiple detection results output by different icing state detection methods; and obtaining the icing state of the road surface according to the multiple detection results. The road surface icing state detection method can obtain a variety of different detection data and detect different detection data according to different detection methods, and further obtain the final icing state result based on the detection results obtained by different detection methods. Compared with the prior art, it can overcome the problem of inaccuracy of different single detection methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and more specifically, to a method, device, electronic device and computer-readable storage medium for detecting road icing conditions. Background Art

[0002] In winter, many types of icy and snowy roads are often formed, such as snow, ice, semi-melted snow, semi-melted ice, etc. The icing of the road surface will cause the friction coefficient of the road surface to be significantly reduced, which is very likely to cause traffic accidents. Therefore, it is particularly important to use advanced on-board sensors to detect and identify the road surface state. If the current road surface state cannot be accurately identified and the vehicle is still driving at the speed indicated by the static speed limit sign, traffic accidents are very likely to occur. Therefore, whether the road surface state of icy and snowy roads can be accurately detected and identified is a key issue to ensure the safe driving of autonomous vehicles on low-grade icy and snowy roads.

[0003] In the existing technology, some systems are greatly affected by environmental factors, which may reduce the accuracy of road icing status detection. For example, thermal imaging technology is sensitive to factors such as ambient temperature and humidity, image recognition technology is sensitive to factors such as light and camera pixels, and infrared measurement requires that the measurement distance remain unchanged for image analysis, which is difficult to meet mobile measurement. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for detecting the icing state of a road surface, which can obtain a variety of different detection data and detect different detection data according to different detection methods, and further obtain a final icing state result based on the detection results obtained by different detection methods. Compared with the prior art, the method of the embodiments of the present application combines multiple detection methods and can overcome the problem of inaccuracy of different single detection methods.

[0005] In a first aspect, an embodiment of the present application provides a method for detecting an icy road surface, comprising:

[0006] Obtain road surface temperature;

[0007] When the road surface temperature meets a preset condition, obtaining detection data for detecting the road surface icing state;

[0008] Using different icing state detection methods to process different detection data, a plurality of detection results output by different icing state detection methods are obtained;

[0009] The icing state of the road surface is obtained according to the multiple detection results.

[0010] In the above implementation process, when the road surface temperature meets the preset conditions, different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods. The final icing state result is obtained based on the detection results obtained by different detection methods. Compared with the prior art, the method of the embodiment of the present application combines multiple detection methods and can overcome the problem of inaccuracy of different single detection methods.

[0011] Furthermore, obtaining the road surface temperature includes:

[0012] The road surface temperature is obtained by an infrared temperature measurement module, wherein the infrared temperature measurement module is installed on the front bumper of the vehicle, and an angle formed by the infrared temperature measurement module and the plane where the bottom of the wheel is located is within a preset range;

[0013] When the road surface temperature meets a preset condition, acquiring sensor data for detecting the road surface icing state includes:

[0014] If the road surface temperature obtained by the infrared temperature measurement module and the ambient temperature obtained by the temperature sensor are less than a preset temperature threshold, data for detecting the road surface icing state is obtained.

[0015] In the above implementation process, by keeping the infrared temperature measurement module at a certain angle to the road surface, the interference of motion blur can be reduced to a certain extent. Even if the vehicle moves to a certain extent during high-speed driving, the infrared temperature measurement module can still point to the road surface relatively stably, thereby reducing the impact of motion blur. If the road surface temperature obtained by the infrared temperature measurement module and the ambient temperature obtained by the temperature sensor are less than the preset temperature threshold, obtaining data for road icing state detection can reduce errors and improve measurement accuracy.

[0016] Furthermore, the acquisition of detection data for detecting the road icing state includes:

[0017] Sending a first light and a second light to a road surface, wherein the wavelength of the first light is in a range of 1.4 to 2.4 μm, and the wavelength of the second light is in a range of 2 to 3.2 μm;

[0018] receiving a first reflected light corresponding to the first light reflected by the road surface and a second reflected light corresponding to the second light reflected by the road surface;

[0019] The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including:

[0020] A first detection result is obtained according to the reflectivity of the first reflected light and the reflectivity of the second reflected light.

[0021] In the above implementation process, different materials have different reflection characteristics at different wavelengths. The reflection characteristics of dry roads are relatively stable and will not cause changes in the wavelength fluctuation range. Icy roads will have different reflection characteristics under different wavelengths of light, and the spectral fluctuation range of road surface reflection will change. By measuring the reflection of different wavelengths of light on the road surface and analyzing the changes in the wavelength fluctuation range, the wetness of the road surface can be judged, thereby indirectly inferring the first detection result of the road surface.

[0022] Furthermore, the acquisition of detection data for detecting the road icing state includes:

[0023] Continuously acquiring a first distance from a first laser rangefinder installed at the rear of the vehicle to a road surface measured by the first laser rangefinder;

[0024] Continuously acquiring a second distance from a second laser rangefinder mounted on the head of the vehicle to the road surface measured by the second laser rangefinder;

[0025] The laser emitted by the first laser rangefinder is perpendicular to the plane where the bottom of the wheel is located, and the laser emitted by the second laser rangefinder is not perpendicular to the road surface;

[0026] The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including:

[0027] A second detection result is obtained according to the first distance, the second distance, and the installation angle of the second laser rangefinder.

[0028] In the above implementation process, a first distance from the first laser rangefinder installed at the rear of the vehicle to the road surface is continuously obtained; a second distance from the second laser rangefinder installed at the head of the vehicle to the road surface is continuously obtained. Road surfaces in different icing states will have different flatnesses, and the relationship between the measured first distance and the second distance is different. Therefore, the second detection result can be accurately obtained by adjusting the installation angle of the second laser rangefinder according to the first distance and the second distance.

[0029] Further, the obtaining a second detection result according to the first distance, the second distance, and the installation angle of the second laser rangefinder includes:

[0030] Obtaining a vertical thickness variation curve of a road surface according to the first distance, the second distance, and the installation angle of the second laser rangefinder;

[0031] The second detection result is obtained according to the vertical thickness variation curve of the road surface.

[0032] In the above implementation process, road surfaces in different icing states have different vertical thickness changes. Therefore, the icing state of the road surface can be obtained according to the vertical thickness change curve of the road surface.

[0033] Furthermore, the acquisition of detection data for detecting the road icing state includes:

[0034] Acquire color images of pavement road areas;

[0035] Different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including:

[0036] Acquiring a grayscale histogram of the pavement road area according to the color image of the pavement road area;

[0037] Performing threshold segmentation on the grayscale histogram of the road surface area, and extracting a drivable area from the segmented grayscale histogram;

[0038] Acquiring a color image of the drivable area;

[0039] Extracting H channel features of the color image of the drivable area and V channel features of the color image of the drivable area in the HSV space of the color image of the drivable area;

[0040] Acquire the second-order moment, contrast, correlation, entropy and inverse difference of the color image of the drivable area according to the H channel feature of the color image of the drivable area and the V channel feature of the color image of the drivable area;

[0041] The third detection result is obtained according to the second-order moment, contrast, correlation, entropy, inverse difference and SVM algorithm of the color image of the drivable area.

[0042] In the above implementation process, since the color features of the road surface are relatively obvious when it is dry, icy, snowy, etc., the features of the grayscale image are also obvious, and the drivable area can be accurately extracted from the grayscale histogram after segmentation. In different road conditions, the H channel features and V channel features change significantly. Therefore, the second-order moment, contrast, correlation, entropy and inverse difference are obtained based on the H channel features and V channel features of the drivable area, and the third detection result can be accurately obtained based on the second-order moment, contrast, correlation, entropy, inverse difference and SVM algorithm of the color image of the drivable area.

[0043] Further, obtaining the icing state of the road surface according to the multiple detection results includes:

[0044] Obtaining a total score for each icing state according to a weight corresponding to each detection result and a score of each detection result with respect to different icing states;

[0045] The icing state of the road surface is obtained according to the total score of each icing state.

[0046] In the above implementation process, different icing state detection methods have different accuracy. The total score of each icing state is obtained according to the weight corresponding to each detection result and the score of each detection result regarding different icing states; obtaining the icing state of the road surface according to the total score of each icing state can further improve the accuracy of the icing state.

[0047] In a second aspect, an embodiment of the present application provides a road icing state detection device, comprising:

[0048] A road surface temperature acquisition module, used to acquire road surface temperature;

[0049] A detection data acquisition module, used for acquiring detection data for detecting the road icing state when the road surface temperature meets a preset condition;

[0050] A detection module, used to process different detection data using different icing state detection methods to obtain multiple detection results output by different icing state detection methods;

[0051] The icing state acquisition module is used to acquire the icing state of the road surface according to the multiple detection results.

[0052] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any one of the first aspects when executing the computer program.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 A method for detecting road icing conditions provided in an embodiment of the present application;

[0056] Figure 2A schematic diagram of the installation of the infrared temperature measurement module provided in the embodiment of the present application;

[0057] Figure 3 A schematic diagram of the installation of a laser rangefinder provided in an embodiment of the present application;

[0058] Figure 4 A schematic diagram of the structure of an icing state detection device provided in an embodiment of the present application;

[0059] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0061] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0062] See also Figure 1 The present application provides a method for detecting the icy state of a road surface, which can be applied to a vehicle controller or an electronic device. The method includes:

[0063] S1: Obtain road surface temperature;

[0064] S2: When the road surface temperature meets the preset conditions, obtaining detection data for road surface icing state detection;

[0065] In some embodiments, S2 and subsequent steps are performed only when the road surface temperature is less than a preset threshold.

[0066] S3: using different icing state detection methods to process different detection data, and obtaining multiple detection results output by different icing state detection methods;

[0067] S4: Obtaining the icing state of the road surface according to the multiple detection results.

[0068] In the embodiment of the present application, each detection result includes: multiple freezing states, and the freezing states include: dry, semi-melted, frozen and snowy.

[0069] In the above implementation process, when the road surface temperature meets the preset conditions, different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods. The final icing state result is obtained based on the detection results obtained by different detection methods. Compared with the prior art, the method of the embodiment of the present application combines multiple detection methods and can overcome the problem of inaccuracy of different single detection methods.

[0070] In some embodiments, obtaining the road surface temperature includes: obtaining the road surface temperature through an infrared temperature measurement module, the infrared temperature measurement module is installed on the front bumper of the vehicle, and the angle formed by the infrared temperature measurement module and the plane where the bottom of the wheel is located is within a preset range; when the road surface temperature meets preset conditions, obtaining sensor data for detecting the road surface icing state, including: if the road surface temperature obtained by the infrared temperature measurement module and the ambient temperature obtained by the temperature sensor are less than a preset temperature threshold, obtaining data for detecting the road surface icing state.

[0071] In some embodiments, the preset angle range is 30 degrees to 60 degrees.

[0072] For example, see Figure 2 , the angle between the infrared temperature measurement module A1 and the plane where the bottom of the wheel is located is 45°.

[0073] In some embodiments, the preset temperature threshold is 1 degree to 3 degrees.

[0074] In the above implementation process, by keeping the infrared temperature measurement module A1 at a certain angle to the road surface, the interference of motion blur can be reduced to a certain extent. This placement method helps to fix the measurement viewing angle and reduce the change of the target position caused by the movement of the vehicle. Therefore, even if the vehicle moves to a certain extent during high-speed driving, the infrared temperature measurement module A1 can still point to the road surface relatively stably, thereby reducing the influence of motion blur. If the road surface temperature obtained by the infrared temperature measurement module A1 and the ambient temperature obtained by the temperature sensor are greater than the preset temperature threshold, obtaining data for road icing state detection can reduce errors and improve measurement accuracy.

[0075] In some embodiments, obtaining detection data for detecting road icing conditions includes:

[0076] A first light ray and a second light ray are sent to a road surface, wherein the wavelength range of the first light ray is 1.4-2.4 μm, and the wavelength range of the second light ray is 2-3.2 μm; a first reflected light ray corresponding to the first light ray reflected by the road surface and a second reflected light ray corresponding to the second light ray reflected by the road surface are received; different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: obtaining a first detection result according to the reflectivity of the first reflected light ray and the reflectivity of the second reflected light ray.

[0077] For example, infrared light with a wavelength fluctuation range of 50nm is used, and the reflectivity of two wavelengths of 3050nm and 2900nm is detected, and the infrared light wavelengths λi and λj are within the error range of 50nm around the center of their respective transmission ranges. That is: λi=3050nm, λj=2900nm, ∆λi=∆λj=50nm.

[0078] In some embodiments, the first light and the second light are sent by the light source sending module, and the light source sending module is mainly responsible for realizing the light output control of the light source. The light source sending module is designed to use three LED light sources at the same time, but there are no narrow wave generators with two wavelengths of 2900nm and 3050nm with a change of 50nm on the market. Therefore, the light source sending module includes a 1.4~2.4μm LED light source and a 2~3.2μm LED light source.

[0079] The receiving device is used to distinguish the reflected light intensity of different wavelengths. In order to receive two narrow wave optical signals with wavelengths of 2900nm and 3050nm, according to the principle of optical reflection, the two light waves of 2900nm and 3050nm are separated by using reflective lenses at different angles, and the light intensity detectors at different positions can be used to measure the reflected light signals of 2900nm and 3050nm at the same time. The receiving circuit is mainly composed of a preamplifier circuit and a main amplifier circuit.

[0080] In some embodiments, obtaining the first detection result according to the reflectivity of the first reflected light and the reflectivity of the second reflected light includes: obtaining the first detection result according to the ratio of the reflectivity of the first reflected light to the reflectivity of the second reflected light.

[0081] For example, assuming that the reflectivity of the first light at a wavelength of 3050nm is Fi, and the reflectivity of the second light at a wavelength of 2900nm is Fj, the value of Fi / Fj can represent three conditions of the road surface, corresponding to dry, semi-melted and frozen. When the Fi / Fj value is about 1, it is a dry road surface; when the Fi / Fj value is about 2, it is a semi-melted road surface with different water film thicknesses; when the Fi / Fj value exceeds 5, it is an icy road surface with different ice thicknesses.

[0082] In the above implementation process, different materials have different reflection characteristics at different wavelengths. The reflection characteristics of dry roads are relatively stable and will not cause changes in the wavelength fluctuation range. Icy roads will have different reflection characteristics under different wavelengths of light, and the spectral fluctuation range of road surface reflection will change. By measuring the reflection of different wavelengths of light on the road surface and analyzing the changes in the wavelength fluctuation range, the wetness of the road surface can be judged, thereby indirectly inferring the first detection result of the road surface.

[0083] In some embodiments, detection data for detecting the icing state of a road surface is obtained, including: continuously obtaining a first distance from a first laser rangefinder A2 installed at the rear of a vehicle to the road surface measured by a first laser rangefinder A2; continuously obtaining a second distance from a second laser rangefinder A3 installed at the head of the vehicle to the road surface measured by a second laser rangefinder A3; the laser emitted by the first laser rangefinder A2 is perpendicular to the plane where the bottom of the wheel is located, and the laser emitted by the second laser rangefinder A3 is not perpendicular to the road surface; different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: obtaining a second detection result based on the first distance, the second distance and the installation angle of the second laser rangefinder A3.

[0084] In some embodiments, the first laser rangefinder A2 emits a single-line laser, and the second laser rangefinder A3 emits a two-dimensional rotating laser.

[0085] For example, see Figure 3 , the laser beam in the laser rangefinder is deflected by angle to scan the road surface. A laser rangefinder is installed at the same horizontal position at the front and rear of the vehicle. The rear of the vehicle is equipped with a single-line laser (the first laser rangefinder A2), and the front of the vehicle is equipped with a two-dimensional rotating laser (the second laser rangefinder A3). The installation angle of the two-dimensional rotating laser is θ (that is, the angle between the laser of the second laser rangefinder A3 and the vertical plane of the plane where the bottom of the wheel is located is θ). It can scan the road surface at multiple points within the range of θ (that is, the angle between the laser of the second laser rangefinder A3 and the vertical plane of the plane where the bottom of the wheel is located is 0~θ) and measure the distance. When the vehicle is driving on a snow-free road, the rear laser rangefinder 2 measures the vertical distance (first distance) H0 from the road surface to the instrument. The laser rangefinder 1 measures the road surface in front at an angle of θ. When there is ice, snow or other coverings in front, the distance L (second distance) from the ice and snow road surface to the instrument 1 is measured.

[0086] In the above implementation process, the first distance from the first laser rangefinder A2 to the road surface measured by the first laser rangefinder A2 installed at the rear of the vehicle is continuously obtained; the second distance from the second laser rangefinder A2 to the road surface measured by the second laser rangefinder installed at the head of the vehicle is continuously obtained. The first distance and the second distance, the road surface in different icing conditions will have different flatness. Therefore, the second detection result can be accurately obtained by adjusting the installation angle of the second laser rangefinder according to the first distance and the second distance.

[0087] In some embodiments, obtaining a second detection result based on the first distance, the second distance and the installation angle of the second laser rangefinder includes: obtaining a vertical thickness change curve of the road surface based on the first distance, the second distance and the installation angle of the second laser rangefinder; obtaining the second detection result based on the vertical thickness change curve of the road surface.

[0088] In some embodiments, the thickness of the covering (ice or snow) may be obtained by the following formula:

[0089] ;in, is the vertical thickness of the covering, is the first distance, is the second distance, is the installation angle of the second laser rangefinder.

[0090] In some embodiments, the vertical thickness of the covering can be obtained by the following formula:

[0091] ;

[0092] ;

[0093] in, for Thickness of cover (ice or snow) at the moment; for The first distance of the moment; for The second distance of time, for The installation angle of the second laser rangefinder at time, The number of monitoring times within the monitoring period.

[0094] A vertical thickness variation curve is drawn based on the vertical thickness of the covering obtained during multiple monitoring time periods. When the curve suddenly changes by 2 to 3 cm or more, the possible type of the current road surface can be determined by comparing the curve characteristics of several typical road surfaces.

[0095] In some embodiments, when the average slope of the curve is within a first preset range, it is determined that the current state is frozen; when the average slope of the curve is within a second preset range, it is determined that the current state is semi-melted; when the average slope of the curve is within a third preset range, the road surface is dry. The first preset range, the second preset range, and the third preset range can be obtained based on test experiments or preset based on experience.

[0096] In the above implementation process, road surfaces in different icing states have different vertical thickness changes. Therefore, the icing state of the road surface can be obtained according to the vertical thickness change curve of the road surface.

[0097] In some embodiments, obtaining detection data for detecting road icing conditions includes:

[0098] Acquire a color image of a pavement road area; process different detection data using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: acquire a grayscale histogram of the pavement road area according to the color image of the pavement road area; perform threshold segmentation on the grayscale histogram of the pavement road area, and extract a drivable area from the segmented grayscale histogram; acquire a color image of the drivable area; extract H channel features of the color image of the drivable area and V channel features of the color image of the drivable area in the HSV space of the color image of the drivable area; acquire the second-order moment, contrast, correlation, entropy and inverse difference of the color image of the drivable area according to the H channel features of the color image of the drivable area and the V channel features of the color image of the drivable area; acquire a third detection result according to the second-order moment, contrast, correlation, entropy and inverse difference of the color image of the drivable area and a support vector machine (SVM, Support Vector Machine, SVM) algorithm.

[0099] In some embodiments, a color image of a road area is acquired by an image sensor installed in front of the vehicle.

[0100] In some embodiments, a weighted average method is used to obtain a grayscale image, and the formula of the weighted average method is as follows:

[0101] ;

[0102] in, is the coordinate in the color image of the road area The corresponding grayscale of the pixel;

[0103] is the coordinate in the color image of the road area The brightness or intensity value of the red channel corresponding to the pixel point;

[0104] is the coordinate in the color image of the road area The brightness or intensity value of the green channel corresponding to the pixel point;

[0105] is the coordinate in the color image of the road area The brightness or intensity value of the blue and red channels corresponding to the pixel point.

[0106] In the above implementation process, the weighted average method is used for grayscale processing. The weighted average method retains the color information of the original image to a greater extent. The grayscale image is more reasonable, the features are more obvious, and the impact on subsequent color feature extraction is smaller.

[0107] After obtaining the grayscale image, a grayscale histogram is obtained through binarization.

[0108] In some embodiments, the grayscale histogram may be obtained by the following formula:

[0109] ;

[0110] in, is the coordinate in the grayscale histogram The corresponding grayscale frequency of the pixel point, in some embodiments, =1, =1, the grayscale histogram is a binary image.

[0111] In some embodiments, represents the threshold value, and the threshold operation can be regarded as a function of the grayscale of a point in the image, some local characteristics of the point, and the position of the point in the image. This is the prior art and will not be described here.

[0112] In some embodiments, It can also be a preset value.

[0113] In some embodiments, since the color features of the road surface are relatively obvious when it is dry, icy, snowy, etc., the features of the grayscale image are also obvious, either black or white. This article adopts a threshold segmentation method based on the grayscale value of the local road surface image. After threshold segmentation, the image is further filtered and denoised in the black unrelated area with the curb as the boundary, so as to obtain a drivable area.

[0114] For example, the H channel features of the road image and the V channel features of the color image of the drivable area can be obtained by the following methods: read the RGB color image; color space conversion; read the pixel information of each component of the HSV image, draw the grayscale histogram of each HSV component; compare the H, S, and V features of different road conditions, and select the most obvious component features. The H component histogram in the road image is discrete and not concentrated, which is suitable for feature parameters; the S component histogram is mostly concentrated in the 0~0.3 range, which is not suitable for feature parameters; and the V component histogram has a clear feature interval, a significant difference, and a high degree of high and low peak recognition. Here, the H channel and V channel in the HSV space are selected to extract and calculate the image features.

[0115] In some embodiments, the second-order moment may be obtained by the following formula:

[0116] ;

[0117] The contrast of the second-order moment can be obtained by the following formula:

[0118] ;

[0119] The correlation of the second-order moment can be obtained by the following formula:

[0120] ;

[0121] The entropy of the second-order moment can be obtained by the following formula:

[0122] ;

[0123] The inverse distance of the second-order moment can be obtained by the following formula:

[0124] ;

[0125] in, is the second-order distance; is the contrast; for relevance; is entropy; For the reverse gap; is the maximum horizontal pixel coordinate and the maximum vertical pixel coordinate, For coordinates H channel characteristics and / or V channel characteristics of the pixel point (including but not limited to: brightness or intensity, etc.), , , , , is the default value.

[0126] The core of SVM is to maximize the interval between separated categories, so that it has higher credibility and can have better prediction effect on unknown samples. The solution of SVM to describe the maximum interval is to find hyperplanes C1 and C2 that are parallel to the hyperplane and have equal distance, so that they have the maximum distance. The points on C1 and C2 are theoretically the closest points to the separating hyperplane.

[0127] Through the SVM algorithm, the problem of training and testing road surface characteristic parameters is transformed into an optimal solution problem.

[0128] The training process of SVM is a prior art and will not be described in detail here. In the present application, the SVM is trained by historical training data to obtain a trained SVM algorithm, and the second-order moment, contrast, correlation, entropy and inverse difference of the color image of the drivable area are input into the trained SVM algorithm to obtain a third detection result.

[0129] In the above implementation process, since the color features of the road surface are relatively obvious when it is dry, icy, snowy, etc., the features of the grayscale image are also obvious, and the drivable area can be accurately extracted through the grayscale histogram after segmentation. In different road conditions, the H channel features and V channel features change significantly. Therefore, the second-order moment, contrast, correlation, entropy and inverse difference are obtained based on the H channel features and V channel features of the drivable area. The third detection result can be accurately obtained based on the second-order moment, contrast, correlation, entropy, inverse difference and SVM algorithm of the color image of the drivable area.

[0130] In some embodiments, the icing state of the road surface is obtained based on multiple detection results, including: obtaining a score for each icing state corresponding to each detection result based on a weight corresponding to each detection result; and obtaining the icing state of the road surface based on a score corresponding to each predicted situation.

[0131] In some embodiments, the weights of the first detection result, the second detection result, and the third detection result are set to 0.3, 0.2, and 0.5, respectively, based on experience.

[0132] For example, see Figure 1 , which are the road icing conditions that can be detected by different detection methods.

[0133] Table 1 Road icing conditions that can be detected by different detection methods

[0134]

[0135] In the above figure, √ indicates that the detection method can detect the corresponding road icing state, and × indicates that the detection method cannot detect the corresponding road icing state.

[0136] Based on the above result set, the model fusion technology based on soft voting is adopted to combine the prediction results of multiple basic models and consider the prediction confidence of each model to obtain a more accurate and robust overall prediction. The model fusion process is as follows: first, a weight is set for the prediction output of basic modules such as optical detection, laser detection and image detection. According to experience, the result weights of optical detection, laser detection and image detection are set to 0.3, 0.2 and 0.5 respectively; secondly, the prediction result of each module is multiplied by the corresponding weight, and then the weighted results are added. The case with the largest weighted sum is taken as the final decision result. Table 2 shows the effective decision results. Finally, four effective outputs are obtained. Among them, the ice score is the largest, and the final detection result is dry.

[0137] Table 2 Decision results of road conditions

[0138]

[0139] In the above implementation process, different icing state detection methods have different accuracy. The total score of each icing state is obtained according to the weight corresponding to each detection result and the score of each detection result regarding different icing states; obtaining the icing state of the road surface according to the total score of each icing state can further improve the accuracy of the icing state.

[0140] See also Figure 4 The present application also provides a road icing state detection device, including:

[0141] The road surface temperature acquisition module 1 is used to acquire the road surface temperature;

[0142] Detection data acquisition module 2 is used to acquire detection data for road icing state detection when the road surface temperature meets the preset conditions;

[0143] Detection module 3, used to process different detection data using different icing state detection methods to obtain multiple detection results output by different icing state detection methods;

[0144] The icing state acquisition module 4 is used to acquire the icing state of the road surface according to a plurality of detection results.

[0145] The device is also used to execute the steps of the above method, which will not be repeated here.

[0146] This application also provides an electronic device, see Figure 5 , Figure 5A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 51, a communication interface 52, a memory 53, and at least one communication bus 54. The communication bus 54 is used to realize direct connection and communication between these components. The communication interface 52 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 51 may be an integrated circuit chip with signal processing capabilities.

[0147] The processor 51 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 51 can also be any conventional processor, etc.

[0148] The memory 53 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 53 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 51, the electronic device may execute the various steps involved in the above method embodiment.

[0149] Optionally, the electronic device may further include a storage controller and an input / output unit.

[0150] The memory 53, storage controller, processor 51, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 54. The processor 51 is used to execute executable modules stored in the memory 53, such as software function modules or computer programs included in the electronic device.

[0151] The input and output unit is used to provide users with the task creation and to create an optional time period or preset execution time for the task to enable interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.

[0152] Understandably, Figure 5 The structure shown is for illustration only. The electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0153] The embodiment of the present application also provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the method of the method embodiment is implemented when the computer program is executed by a processor. To avoid repetition, it will not be described again here.

[0154] The present application also provides a computer program product. When the computer program product is run on a computer, the computer executes the method of the method embodiment.

[0155] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0156] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0157] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0158] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0159] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0160] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A method for detecting road icing conditions, characterized in that: include: Obtain road surface temperature; When the road surface temperature meets a preset condition, obtaining detection data for detecting the road surface icing state; Using different icing state detection methods to process different detection data, a plurality of detection results output by different icing state detection methods are obtained; Acquire an icy state of a road surface according to the plurality of detection results; The obtaining of the road surface temperature comprises: The road surface temperature is obtained by an infrared temperature measurement module, wherein the infrared temperature measurement module is installed on the front bumper of the vehicle, and an angle formed by the infrared temperature measurement module and the plane where the bottom of the wheel is located is within a preset range; When the road surface temperature meets a preset condition, acquiring sensor data for detecting the road surface icing state includes: If the road surface temperature obtained by the infrared temperature measurement module and the ambient temperature obtained by the temperature sensor are less than a preset temperature threshold, data for detecting the road surface icing state is obtained; The obtaining of detection data for detecting the road icing state includes: Continuously acquiring a first distance from a first laser rangefinder installed at the rear of the vehicle to a road surface measured by the first laser rangefinder; Continuously acquiring a second distance from a second laser rangefinder mounted on the head of the vehicle to the road surface measured by the second laser rangefinder; The laser emitted by the first laser rangefinder is perpendicular to the plane where the bottom of the wheel is located, and the laser emitted by the second laser rangefinder is not perpendicular to the road surface; The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: Acquire a second detection result according to the first distance, the second distance, and the installation angle of the second laser rangefinder; The obtaining of detection data for detecting the road icing state includes: Sending a first light and a second light to a road surface, wherein the wavelength of the first light is in a range of 1.4 to 2.4 μm, and the wavelength of the second light is in a range of 2 to 3.2 μm; receiving a first reflected light corresponding to the first light reflected by the road surface and a second reflected light corresponding to the second light reflected by the road surface; The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: Acquire a first detection result according to the reflectivity of the first reflected light and the reflectivity of the second reflected light; The obtaining a second detection result according to the first distance, the second distance, and the installation angle of the second laser rangefinder includes: Obtaining a vertical thickness variation curve of a road surface according to the first distance, the second distance, and the installation angle of the second laser rangefinder; Acquire the second detection result according to the vertical thickness variation curve of the road surface; The obtaining the icing state of the road surface according to the multiple detection results includes: Obtaining a total score for each icing state according to a weight corresponding to each detection result and a score of each detection result with respect to different icing states; The icing state of the road surface is obtained according to the total score of each icing state.

2. The method for detecting road icing state according to claim 1, characterized in that: The obtaining of detection data for detecting the road icing state includes: Acquire color images of pavement road areas; Different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: Acquiring a grayscale histogram of the pavement road area according to the color image of the pavement road area; Performing threshold segmentation on the grayscale histogram of the road surface area, and extracting a drivable area from the segmented grayscale histogram; Acquiring a color image of the drivable area; Extracting H channel features of the color image of the drivable area and V channel features of the color image of the drivable area in the HSV space of the color image of the drivable area; Acquire the second-order moment, contrast, correlation, entropy and inverse difference of the color image of the drivable area according to the H channel feature of the color image of the drivable area and the V channel feature of the color image of the drivable area; The third detection result is obtained according to the second-order moment, contrast, correlation, entropy, inverse difference and SVM algorithm of the color image of the drivable area.

3. A road icing state detection device, characterized in that: include: A road surface temperature acquisition module, used to acquire road surface temperature; A detection data acquisition module, used for acquiring detection data for detecting the road icing state when the road surface temperature meets a preset condition; A detection module, used to process different detection data using different icing state detection methods to obtain multiple detection results output by different icing state detection methods; An icing state acquisition module, used to acquire the icing state of the road surface according to the multiple detection results; The obtaining of the road surface temperature comprises: The road surface temperature is obtained by an infrared temperature measurement module, wherein the infrared temperature measurement module is installed on the front bumper of the vehicle, and an angle formed by the infrared temperature measurement module and the plane where the bottom of the wheel is located is within a preset range; When the road surface temperature meets a preset condition, acquiring sensor data for detecting the road surface icing state includes: If the road surface temperature obtained by the infrared temperature measurement module and the ambient temperature obtained by the temperature sensor are less than a preset temperature threshold, data for detecting the road surface icing state is obtained; The obtaining of detection data for detecting the road icing state includes: Continuously acquiring a first distance from a first laser rangefinder installed at the rear of the vehicle to a road surface measured by the first laser rangefinder; Continuously acquiring a second distance from a second laser rangefinder mounted on the head of the vehicle to the road surface measured by the second laser rangefinder; The laser emitted by the first laser rangefinder is perpendicular to the plane where the bottom of the wheel is located, and the laser emitted by the second laser rangefinder is not perpendicular to the road surface; The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: Acquire a second detection result according to the first distance, the second distance, and the installation angle of the second laser rangefinder; The obtaining of detection data for detecting the road icing state includes: Sending a first light and a second light to a road surface, wherein the wavelength of the first light is in a range of 1.4 to 2.4 μm, and the wavelength of the second light is in a range of 2 to 3.2 μm; receiving a first reflected light corresponding to the first light reflected by the road surface and a second reflected light corresponding to the second light reflected by the road surface; The different detection data are processed using different icing state detection methods to obtain multiple detection results output by different icing state detection methods, including: Acquire a first detection result according to the reflectivity of the first reflected light and the reflectivity of the second reflected light; The obtaining a second detection result according to the first distance, the second distance, and the installation angle of the second laser rangefinder includes: Obtaining a vertical thickness variation curve of a road surface according to the first distance, the second distance, and the installation angle of the second laser rangefinder; Acquire the second detection result according to the vertical thickness variation curve of the road surface; The obtaining the icing state of the road surface according to the multiple detection results includes: Obtaining a total score for each icing state according to a weight corresponding to each detection result and a score of each detection result with respect to different icing states; The icing state of the road surface is obtained according to the total score of each icing state.

4. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to claim 1 or 2 when executing the computer program.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the method according to claim 1 or 2.