Windscreen wiper control method, device and equipment and storage medium

By preprocessing sky and windshield images and using a weather recognition model, the method enhances wiper control accuracy and efficiency by accurately identifying weather conditions and adjusting wiper modes.

CN119176104APending Publication Date: 2024-12-24VOYAH AUTOMOBILE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411552506.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

Existing automatic wiper systems rely on optical sensors that are easily interfered by environmental factors, leading to poor weather recognition accuracy and control efficiency.

Method used

Collect sky and windshield images, preprocess them to enhance quality, and input into a weather recognition model for accurate classification to control wiper modes based on weather conditions.

Benefits of technology

Accurately identifies weather conditions and improves wiper control efficiency and accuracy by using a weather recognition model to adjust wiper modes accordingly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119176104A_ABST
    Figure CN119176104A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle control, and discloses a windscreen wiper control method, device and equipment and a storage medium. The method comprises the steps that when the current environment of a vehicle meets the weather detection condition, a sky image and a windshield image are collected; performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image; inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; and controlling the working mode of the windscreen wiper according to the classification information. The weather condition can be accurately recognized, and the control efficiency and accuracy of the windscreen wiper are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the field of automobile driving, automatic adjustment of wipers is an important factor in ensuring driving safety. Existing automatic adjustment systems for wipers mainly rely on optical sensors to detect rainfall, but these optical sensors are easily interfered by environmental factors. When there is dirt such as dust, grease, or small and dense raindrops in the optical path, the optical sensors usually make wrong judgments and adjust the wipers incorrectly, affecting the driver's driving safety. It can be seen that the current weather recognition accuracy is poor, resulting in poor control efficiency and accuracy of wipers.

[0003] Therefore, how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of wipers is a problem that urgently needs to be solved.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a wiper control method, device, equipment and storage medium, aiming to solve the technical problem of how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of wipers.

[0006] To achieve the above object, the present application proposes a wiper control method, the method comprising:

[0007] When the vehicle's current environment meets the weather detection conditions, sky images and windshield images are collected;

[0008] Performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image;

[0009] Inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather;

[0010] The working mode of the wiper is controlled according to the classification information.

[0011] In one embodiment, the preprocessing according to the sky image and the windshield image to obtain the preprocessed image includes:

[0012] Splicing the sky image and the windshield image to obtain a spliced ​​image;

[0013] De-noising the spliced ​​image to obtain a denoised image;

[0014] Performing a data augmentation operation on the denoised image to obtain an augmented image, wherein the data augmentation operation at least includes random cropping, random flipping, and random rotation;

[0015] The resolution of the augmented image is adjusted to obtain a preprocessed image.

[0016] In one embodiment, before inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather, the process further includes:

[0017] Get the vehicle weather vision dataset;

[0018] Training a preset neural network model using the vehicle weather vision data set to obtain model performance parameters;

[0019] When the model performance parameter reaches a preset parameter threshold, a weather recognition model is generated according to the trained preset neural network model.

[0020] In one embodiment, after inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather, the method further includes:

[0021] Sending the current weather classification information to the driver in a preset form, and receiving the determination result fed back by the driver;

[0022] When the determination result is that the classification information is wrong, obtaining wrong classification data;

[0023] The weather recognition model is fine-tuned based on the misclassified data.

[0024] In one embodiment, controlling the working mode of the wiper according to the classification information includes:

[0025] When the classification information is sunny, the working mode of the wiper is controlled to be an off mode;

[0026] When the classification information is snowy, controlling the working mode of the wiper to be a low-speed intermittent mode or a continuous mode;

[0027] When the classification information is rainy day, the rainfall level is obtained, and the working mode of the wiper is controlled according to the rainfall level.

[0028] In one embodiment, controlling the working mode of the wiper according to the rainfall level includes:

[0029] When the rainfall level is the first level, controlling the working mode of the wiper to be a low-speed intermittent mode;

[0030] When the rainfall level is the second level, controlling the working mode of the wiper to be a medium-speed intermittent mode;

[0031] When the rainfall level is the third level, controlling the working mode of the wiper to be a medium-speed continuous mode or a high-speed continuous mode;

[0032] When the rainfall level is the fourth level, controlling the working mode of the wiper to be a high-speed continuous mode;

[0033] When the rainfall level is the fifth level, the working mode of the wiper is controlled to be a low-speed continuous mode.

[0034] In one embodiment, before collecting the sky image and the windshield image, the method further includes:

[0035] In response to an operation instruction of a driver, determining a weather detection mode according to the operation instruction;

[0036] When the weather detection mode is the intelligent detection mode, acquiring detection data of the environmental sensor;

[0037] When the detection data reaches a corresponding preset threshold, it is determined that the current environment of the vehicle meets the weather detection condition.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a wiper control device, the wiper control device comprising:

[0039] A collection module, used for collecting sky images and windshield images when the current environment of the vehicle meets the weather detection conditions;

[0040] A processing module, used for performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image;

[0041] A classification module, used for inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather;

[0042] A control module is used to control the working mode of the wiper according to the classification information.

[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a wiper control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the wiper control method as described above.

[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the wiper control method described above are implemented.

[0045] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the wiper control method described above are implemented.

[0046] The present application provides a wiper control method, which first collects a sky image and a windshield image when the current environment of the vehicle meets the weather detection conditions; preprocesses the sky image and the windshield image to obtain a preprocessed image; inputs the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; and controls the working mode of the wiper according to the classification information, thereby being able to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0047] In summary, the present application collects and preprocesses sky images and windshield images when the current environment of the vehicle meets the weather detection conditions, thereby obtaining a preprocessed image containing rich information. Classification through a weather recognition model can quickly and accurately identify the current weather conditions, and then accurately control the working mode of the wiper, overcoming the current technical defects of poor weather recognition accuracy, which leads to poor control efficiency and accuracy of the wiper, and can accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

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

[0050] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the wiper control method of the present application;

[0051] Figure 2 A schematic diagram of a flow chart provided for the second embodiment of the wiper control method of the present application;

[0052] Figure 3 This is a schematic diagram of the module structure of the wiper control device according to an embodiment of the present application;

[0053] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the wiper control method of the embodiment of the present application.

[0054] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0056] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0057] The main solution of the embodiment of the present application is: when the current environment of the vehicle meets the weather detection conditions, the sky image and the windshield image are collected; preprocessing is performed according to the sky image and the windshield image to obtain a preprocessed image; the preprocessed image is input into the weather recognition model for classification to obtain classification information of the current weather; and the working mode of the wiper is controlled according to the classification information.

[0058] In the field of automobile driving, automatic adjustment of wipers is an important factor in ensuring driving safety. The existing automatic adjustment system of wipers mainly relies on optical sensors to detect rainfall, but these optical sensors are easily interfered by environmental factors. When there is dirt such as dust, grease, or small and dense raindrops in the light path, the optical sensors usually make wrong judgments and adjust the wipers incorrectly, affecting the driver's driving safety. It can be seen that the current weather recognition accuracy is poor, resulting in poor control efficiency and accuracy of wipers. Therefore, how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of wipers is a problem that needs to be solved urgently.

[0059] The present application collects and preprocesses sky images and windshield images when the current environment of the vehicle meets the weather detection conditions, thereby obtaining a preprocessed image containing rich information. Classification through a weather recognition model can quickly and accurately identify the current weather conditions, and then accurately control the working mode of the wiper. This overcomes the current technical defects of poor weather recognition accuracy, which leads to poor control efficiency and accuracy of the wiper, and can accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0060] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a wiper control device, etc. The following takes the wiper control device as an example to illustrate this embodiment and the following embodiments.

[0061] Based on this, the present application embodiment provides a wiper control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the wiper control method of the present application.

[0062] In this embodiment, the wiper control method includes steps S10 to S40:

[0063] Step S10, when the current environment of the vehicle meets the weather detection conditions, collecting the sky image and the windshield image.

[0064] It should be noted that the judgment of weather detection conditions can be completed by environmental sensors to ensure that image acquisition is performed under appropriate conditions. The acquisition of sky images can be achieved by a camera installed on the top of the vehicle. The camera usually has a high resolution and a wide-angle field of view to capture more comprehensive sky information. The camera installed on the top of the vehicle is equipped with a waterproof cover or a transparent rainproof film to reduce the impact of rain and snow on the camera, ensuring that the image of the sky above the vehicle can be clearly captured.

[0065] It is understandable that the collection of windshield images can be achieved through multiple cameras installed inside the vehicle. When collecting windshield images, these cameras need to have high definition and anti-reflective properties to cope with changes in light in the cab and possible reflections on the windshield surface. Multiple cameras installed inside the vehicle can clearly capture images of the front and rear windshields of the vehicle.

[0066] In a feasible implementation, before step S10, it also includes: responding to the driver's operating instructions, determining the weather detection mode according to the operating instructions; when the weather detection mode is the intelligent detection mode, acquiring the detection data of the environmental sensor; when the detection data reaches the corresponding preset threshold, determining that the current environment of the vehicle meets the weather detection conditions.

[0067] It should be noted that environmental sensors refer to devices such as temperature sensors, humidity sensors, light sensors, etc., which are used to detect various physical parameters of the vehicle's surrounding environment, including but not limited to temperature sensors, humidity sensors, air pressure sensors, light intensity sensors, etc. This embodiment does not impose specific restrictions on this.

[0068] It can be understood that the detection conditions are judged by environmental sensors (such as temperature sensors, humidity sensors, light sensors, etc.) to ensure that image acquisition is performed under appropriate conditions. These sensors can detect various parameters of the vehicle's surrounding environment in real time. When these parameters reach the preset thresholds, it can be judged that the current environment meets the weather detection conditions, thereby triggering the image acquisition process. For example, when the light sensor value l is lower than the threshold L, the temperature sensor value t is lower than the threshold T, the humidity sensor value s is higher than the threshold S, and the pressure sensor value p is lower than the threshold P, it is determined that the vehicle's current environment meets the weather detection conditions, and the camera system is turned on for image acquisition.

[0069] In the specific implementation, weather detection includes multiple detection modes, for example, continuous detection, intelligent detection, manual detection, and closed detection. In the continuous detection mode, the camera continuously collects images for classification, judges the current weather conditions, and adjusts the vehicle control functions accordingly. In the manual detection mode, the camera is directly used to collect images for classification to judge the current weather conditions. If it is rainy or snowy, the camera will continue to turn on the detection. When the camera detects that the weather conditions are sunny, the camera detection is turned off and switched to the intelligent detection mode. In the intelligent detection mode, the light sensor, temperature sensor, humidity sensor, and air pressure sensor will be used as a precondition for comprehensive judgment. When the detection values ​​of these sensors exceed / are lower than a certain threshold, the camera detection system will be turned on for further detection. If it is rainy or snowy, the camera will continue to turn on the detection. When the camera detects that the weather conditions are normal, the camera detection is turned off and returns to the above sensor detection. In the closed detection mode, all relevant sensors (including light sensors, temperature sensors, humidity sensors, air pressure sensors, and cameras) will be turned off, and the driver will operate the relevant vehicle control functions by himself.

[0070] Step S20, performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image.

[0071] It should be noted that preprocessing refers to a process of performing a series of operations on the collected image to improve the image quality, enhance the image features or simplify the subsequent processing steps. In this embodiment, for the sky image and the windshield image, the preprocessing may include: performing image denoising processing. Since the image may be affected by factors such as equipment noise and environmental interference during the acquisition process, the image quality is reduced. Therefore, through denoising algorithms such as Gaussian filtering and median filtering, the noise in the image can be effectively reduced and the signal-to-noise ratio of the image can be improved: performing image enhancement processing, for the sky image, it may be necessary to perform contrast enhancement, brightness adjustment and other operations to make the color and texture of the sky area clearer, which is convenient for subsequent weather type identification. For the windshield image, it may be necessary to perform defogging, dereflection and other processing to improve the clarity of the image and reduce the impact of external interference on the in-vehicle vision; in addition, it may also be necessary to perform preprocessing steps such as image size adjustment, graying, and binarization to meet the needs of the subsequent processing algorithm. For example, adjusting the image size to a uniform size helps to maintain the consistency of the processing results; graying or binarizing the image can simplify the image information and improve the processing speed.

[0072] In a feasible implementation, step S20 may include: stitching the sky image and the windshield image to obtain a stitched image; denoising the stitched image to obtain a denoised image; performing a data augmentation operation on the denoised image to obtain an augmented image, wherein the data augmentation operation at least includes random cropping, random flipping and random rotation; and adjusting the resolution of the augmented image to obtain a preprocessed image.

[0073] It should be noted that, in this embodiment, preprocessing includes operations such as splicing, denoising, data augmentation, and resolution adjustment.

[0074] It is understandable that the purpose of splicing the sky image and the windshield image is to combine the image information from two different sources but closely related in the subsequent analysis or recognition process. This splicing not only helps to obtain more comprehensive environmental information, but also may improve the accuracy and robustness of the recognition algorithm. The spliced ​​image will contain both weather condition information in the sky area and road conditions or driving environment information in front of the windshield, which is very important for intelligent driving systems.

[0075] It is worth noting that after stitching is completed, denoising is performed to eliminate the noise introduced during the image acquisition process, and to further improve the image quality and provide clearer and more accurate image data for subsequent classification and recognition. By adopting appropriate denoising algorithms, such as Gaussian filtering and median filtering, the noise in the image can be effectively suppressed while maintaining the edge and detail information of the image as much as possible.

[0076] It is worth noting that data augmentation generates multiple different image samples by performing a series of transformation operations on the original image, such as random cropping, random flipping, random rotation, etc. These transformation operations can simulate a variety of situations in actual scenes, thereby increasing the generalization ability of the model and improving the robustness of the recognition algorithm. In the process of data augmentation, it is necessary to keep the transformed image representative enough so that it can accurately reflect the information of the original image.

[0077] It is worth noting that the resolution adjustment of the augmented image is to ensure the consistency of the image size. Images of different sizes may introduce additional complexity and uncertainty during the processing, so it is necessary to eliminate this effect by adjusting the resolution. At the same time, adjusting the image to a uniform size also helps to increase processing speed and reduce computational costs.

[0078] Through operations such as stitching, denoising, data augmentation and resolution adjustment, the image quality can be significantly improved, the accuracy and robustness of the recognition algorithm can be improved, and more reliable environmental perception capabilities can be provided for intelligent driving systems.

[0079] Step S30, inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather.

[0080] It should be noted that the weather recognition model is obtained by further training a pre-trained neural network model, for example, a pre-trained SwinTransformer (SwinV2-S / B / T) or VisionTranformer (ViT-S / B / L), and this embodiment does not impose any specific restrictions on this.

[0081] It can be understood that the current weather classification information is the result of the weather recognition model analyzing and reasoning the preprocessed image, which reflects the weather conditions of the sky area in the image. These classification information may include sunny days, rainy days, snowy days and abnormal conditions. Abnormal conditions may be foreign objects on the windshield, the camera is blocked, etc. Each type corresponds to different weather characteristics and driving environments. Among them, the weather recognition model will also perform rainfall detection on rainy days, such as drizzle, moderate rain, heavy rain and even freezing rain. The realization of this function depends on the model's deep learning and analysis of features such as raindrop density, size, shape and dynamic changes in the image.

[0082] In a feasible implementation, before step S30, it also includes: obtaining a vehicle weather visual data set; training a preset neural network model through the vehicle weather visual data set to obtain model performance parameters; when the model performance parameters reach a preset parameter threshold, generating a weather recognition model according to the trained preset neural network model.

[0083] It should be noted that the Vehicle Weather Visual Dataset AWVD is a set of image datasets containing vehicles in various weather conditions. It has been manually annotated. The annotation categories include sunny, drizzle, light rain, moderate rain, heavy rain, freezing rain, snow, and abnormal conditions. The dataset is labeled in the form of manual annotation, and the pictures cover the front and rear windshields and the perspective above the vehicle.

[0084] It is understandable that AWVD includes images under various weather conditions, such as sunny, light rain, mild rainfall, moderate rain, heavy rain, snow, freezing rain, and abnormal conditions (such as obstacles on the windshield or camera blocking). Each weather condition covers images of wipers being off and working at different gears (low speed, medium speed, high speed) to reduce the impact of wiper operation on classification. Each image is accompanied by the corresponding weather condition label for supervised learning and model evaluation. In this embodiment, the specific content of the vehicle weather visual dataset AWVD may include: about 20,000 sunny images, showing the windshield and vehicle overhead perspectives under sunny conditions; about 15,000 drizzle images; about 20,000 light rain images; about 25,000 moderate rain images; about 18,000 heavy rain images; about 12,000 freezing rain images; about 15,000 snowy images; and about 20,000 abnormal situation images, including special or abnormal situations such as obstacles on the windshield and camera blockage.

[0085] It is worth noting that the model performance parameter can be the classification accuracy, or it can be the recall rate, F1 score or other evaluation indicators. These indicators jointly measure the performance of the weather recognition model on the vehicle weather visual data set. This embodiment does not impose specific restrictions on this. This embodiment takes the accuracy rate as an example for explanation.

[0086] During the training process, the classification accuracy is constantly monitored to ensure that the model can accurately distinguish images under different weather conditions. When the classification accuracy reaches the preset accuracy threshold, it means that the model has sufficient recognition ability and the weather recognition model can be obtained.

[0087] In a feasible implementation manner, after step S30, it also includes: sending the classification information of the current weather to the driver in a preset form, and receiving the judgment result fed back by the driver; when the judgment result is that the classification information is wrong, obtaining error classification data; and fine-tuning the weather recognition model according to the error classification data.

[0088] It should be noted that the preset form can be in the form of voice broadcast or screen display. After the training is completed, the obtained weather recognition model can accurately classify the images under various weather conditions captured by the camera system and inform the driver of the classification information in the form of voice broadcast or screen display. The driver can choose to judge whether the current weather classification is incorrect and whether to agree to upload the incorrectly classified data. If the driver judges that the current weather classification information is incorrect and agrees to upload the incorrectly classified data, the model will be fine-tuned in the form of online training.

[0089] Step S40, controlling the working mode of the wiper according to the classification information.

[0090] It should be noted that the current weather classification information is not limited to basic weather types such as sunny, rainy, snowy, etc., but is also broken down into specific levels of rainfall, such as drizzle, moderate rain, heavy rain and even freezing rain. This enables the vehicle to accurately adjust the wiper working mode according to actual weather conditions. For example, in drizzle conditions, the wipers may operate in low-speed mode to reduce interference with the driver's vision and save energy; when encountering heavy rain or freezing rain, the wipers will quickly switch to high-speed mode to ensure that rain or ice and snow on the windshield can be quickly cleared, ensuring the driver's clear vision and improving driving safety.

[0091] It is understandable that in addition to controlling the working mode of the wipers according to the current weather classification information, the windows, defogger, lights, etc. can also be intelligently adjusted to further improve driving comfort and safety.

[0092] The present embodiment provides a wiper control method, which first collects a sky image and a windshield image when the current environment of the vehicle meets the weather detection conditions; preprocesses the sky image and the windshield image to obtain a preprocessed image; inputs the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; and controls the working mode of the wiper according to the classification information, thereby being able to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0093] In summary, this embodiment collects and preprocesses sky images and windshield images when the current environment of the vehicle meets the weather detection conditions, thereby obtaining a preprocessed image containing rich information. Classification through the weather recognition model can quickly and accurately identify the current weather conditions, and then accurately control the working mode of the wiper, overcoming the current technical defects of poor weather recognition accuracy, which leads to poor control efficiency and accuracy of the wiper, and can accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0094] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , the step S40 further includes steps S401-S403:

[0095] Step S401, when the classification information is sunny, control the working mode of the wiper to be an off mode.

[0096] It should be noted that in sunny conditions, since there are usually no water stains or snow on the windshield, the operation of the wipers not only does not help improve the driving vision, but may also generate noise due to unnecessary movements, and even cause scratches in some cases (such as on a dry windshield). Therefore, when the weather recognition model determines that the current weather is sunny, the system will immediately control the wipers to enter the off mode to ensure that the wipers remain stationary, which not only saves energy but also avoids unnecessary wear and noise.

[0097] It is understandable that in sunny conditions, the windows can automatically adjust the opening and closing degree according to the driver's preference or the outside temperature to balance the ventilation and insulation needs in the car, the defog function is turned off, and the lights are turned off or the daytime running lights are turned on.

[0098] Step S402, when the classification information is snowy, control the working mode of the wiper to be a low-speed intermittent mode or a continuous mode.

[0099] It should be noted that the control strategy of the wipers needs to be more detailed and flexible under snowy conditions. When the classification information clearly indicates that it is a snowy day, the system will intelligently adjust the working mode of the wipers according to the amount of snow and the speed of snowfall. For light snowfall or light snow, the wipers may operate in a low-speed intermittent mode, which can effectively remove the snow on the windshield and reduce the noise and wear caused by continuous scraping. The intermittent mode can also help the driver to better observe the road conditions, because there will be a short stop time between each scrape, allowing the driver's vision to be clearly displayed. However, in extreme weather such as heavy snow or blizzards, the wipers need to quickly switch to continuous mode to ensure that the snow and ice on the windshield can be continuously and quickly removed. Although this continuous and high-frequency scraping action may increase noise and energy consumption, it is the key to ensure the driver's clear vision and driving safety.

[0100] Understandably, in snowy conditions, the car windows need to remain closed to prevent snow from entering the car, and the front and rear windshield defogger function needs to be turned on, while the low beam and fog lights need to be turned on.

[0101] Step S403, when the classification information is rainy day, obtain the rainfall level, and control the working mode of the wiper according to the rainfall level.

[0102] It should be noted that under rainy conditions, due to the significant variation in rainfall, different rainfall levels have different effects on the driver's field of vision. Therefore, when the classification information is determined to be a rainy day, the current rainfall level information is further obtained to accurately control the wiper working mode based on this.

[0103] In a feasible implementation, step S403 may include: when the rainfall level is the first level, controlling the working mode of the wiper to be a low-speed intermittent mode; when the rainfall level is the second level, controlling the working mode of the wiper to be a medium-speed intermittent mode; when the rainfall level is the third level, controlling the working mode of the wiper to be a medium-speed continuous mode or a high-speed continuous mode; when the rainfall level is the fourth level, controlling the working mode of the wiper to be a high-speed continuous mode; when the rainfall level is the fifth level, controlling the working mode of the wiper to be a low-speed continuous mode.

[0104] It should be noted that the first level is drizzle, at which time the raindrops are relatively sparse and have little impact on the driver's vision. Therefore, the working mode of the wiper can be set to low-speed intermittent mode, that is, wipe once every period of time, which can not only maintain the clarity of the windshield, but also reduce the wear and energy consumption of the wiper. At the same time, since the rain is not heavy, the windows are closed or slightly opened for ventilation, and the temperature difference between the inside and outside of the car will not quickly cause the windshield to fog, so only the front windshield defogger function can be turned on, and the low beam headlights can be turned on at the same time.

[0105] It is understandable that when the rainfall level rises to the second level, i.e. light rain, the raindrops begin to become dense, which increases the impact on the driver's vision. At this time, the wiper working mode should be adjusted to the medium-speed intermittent mode accordingly, and the frequency of scraping should be increased to keep the windshield clear. The windows should be kept closed. If fog begins to appear in the car, the front windshield defogger function should be turned on in time to ensure that the driver's vision is not disturbed. In terms of lights, depending on the rain and visibility, the low beam lights need to be turned on to enhance the lighting and warning effects.

[0106] When the rainfall level reaches the third level, that is, moderate rain, the rain is already significant, the raindrops are dense and continuous, and cause great interference to the driver's vision. At this time, in order to maintain the clarity of the windshield and driving safety, the working mode of the wiper needs to be further upgraded to medium-speed continuous mode or high-speed continuous mode. Medium-speed continuous mode is suitable for situations where the rain is moderate but has not yet reached the level of heavy rain. It can steadily remove rain from the windshield while avoiding blurred vision or noise problems caused by too fast or too slow scraping speed. However, in some cases, if the medium-speed continuous mode still cannot meet the needs, the system may automatically switch to high-speed continuous mode to remove rain with a higher frequency and faster speed to ensure that the driver can get the best view at all times. As the rainfall increases, the windows should be kept closed to prevent rain from seeping into the car. At this time, the temperature difference and humidity changes between the inside and outside of the car may cause the windshield to fog up, so the defogger function of the front and rear windshields should be turned on at the same time to ensure a clear view for the driver and passengers. At the same time, in order to enhance the visibility and warning effect of the vehicle, the low beam headlights should be turned on continuously, and the fog lights should be turned on when necessary. Fog lights have stronger penetrating power and can better illuminate the road ahead in rainy and foggy weather, reminding other vehicles to avoid them.

[0107] When the rainfall level reaches the fourth level, that is, heavy rain, the rain becomes extremely fierce, posing a severe challenge to the driver's vision. In this situation, the wiper's working mode switches to high-speed continuous mode to clear the water on the windshield with maximum efficiency, ensuring that the driver's vision is always in the best state. Although the operation of high-speed continuous mode is accompanied by relatively high noise and energy consumption, it is an indispensable key measure to ensure driving safety. In addition, with the sharp increase in rainfall, the temperature and humidity differences inside and outside the car will be further aggravated, causing the windshield to fog up quickly. Therefore, the defog function of the front and rear windshields remains on continuously to ensure a clear and unobstructed view in the cockpit. At the same time, the low beam and fog lights also need to be turned on simultaneously. The low beam provides the necessary lighting, while the fog lights, with their powerful penetrating power, illuminate the road ahead of the vehicle in bad weather conditions and effectively warn other traffic participants to reduce the risk of collision.

[0108] When the rainfall level reaches the fifth level, i.e. freezing rain, freezing rain will not only cause a hard layer of ice to quickly accumulate on the windshield, but also make the road surface extremely slippery, greatly increasing the difficulty of driving and safety hazards. In this situation, the wiper works in low-speed intermittent or continuous mode. The specific mode to be selected needs to be comprehensively judged in combination with the thickness of the ice layer and the working efficiency of the wiper. If the ice layer is thin and the wiper is equipped with a de-icing function, the low-speed continuous mode can be selected. In addition to the adjustment of the wipers, the control of the interior environment is also crucial. The windows should always be kept closed to prevent further intrusion of freezing rain into the car. The defogger function of the front and rear windshields remains on, and the low beam and fog lights are turned on at the same time.

[0109] In this embodiment, the working mode of the wiper is accurately controlled according to different weather conditions, thereby effectively improving driving safety.

[0110] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the wiper control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0111] This application also provides a wiper control device, please refer to Figure 3 , the wiper control device comprises:

[0112] The acquisition module 10 is used to acquire sky images and windshield images when the current environment of the vehicle meets the weather detection conditions.

[0113] The processing module 20 is used to perform preprocessing according to the sky image and the windshield image to obtain a preprocessed image.

[0114] The classification module 30 is used to input the pre-processed image into the weather recognition model for classification to obtain classification information of the current weather.

[0115] The control module 40 is used to control the working mode of the wiper according to the classification information.

[0116] The present embodiment provides a wiper control device. When the current environment of the vehicle meets the weather detection conditions, the present embodiment collects a sky image and a windshield image; preprocesses the sky image and the windshield image to obtain a preprocessed image; inputs the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; and controls the working mode of the wiper according to the classification information, which can accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0117] In summary, this embodiment collects and preprocesses sky images and windshield images when the current environment of the vehicle meets the weather detection conditions, thereby obtaining a preprocessed image containing rich information. Classification through the weather recognition model can quickly and accurately identify the current weather conditions, and then accurately control the working mode of the wiper, overcoming the current technical defects of poor weather recognition accuracy, which leads to poor control efficiency and accuracy of the wiper, and can accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper.

[0118] Optionally, the processing module 20 is further used to stitch the sky image and the windshield image to obtain a stitched image; denoise the stitched image to obtain a denoised image; perform data augmentation operation on the denoised image to obtain an augmented image, wherein the data augmentation operation at least includes random cropping, random flipping and random rotation; and adjust the resolution of the augmented image to obtain a preprocessed image.

[0119] Optionally, the classification module 30 is also used to obtain a vehicle weather visual data set; train a preset neural network model through the vehicle weather visual data set to obtain model performance parameters; when the model performance parameters reach a preset parameter threshold, generate a weather recognition model according to the trained preset neural network model.

[0120] Optionally, the classification module 30 is also used to send the classification information of the current weather to the driver in a preset form, and receive the judgment result fed back by the driver; when the judgment result is that the classification information is wrong, obtain error classification data; and fine-tune the weather recognition model according to the error classification data.

[0121] Optionally, the control module 40 is further used to control the working mode of the wiper to an off mode when the classification information is a sunny day; to control the working mode of the wiper to a low-speed intermittent mode or a continuous mode when the classification information is a snowy day; and to obtain a rainfall level when the classification information is a rainy day, and to control the working mode of the wiper according to the rainfall level.

[0122] Optionally, the control module 40 is also used to control the working mode of the wiper to a low-speed intermittent mode when the rainfall level is the first level; to control the working mode of the wiper to a medium-speed intermittent mode when the rainfall level is the second level; to control the working mode of the wiper to a medium-speed continuous mode or a high-speed continuous mode when the rainfall level is the third level; to control the working mode of the wiper to a high-speed continuous mode when the rainfall level is the fourth level; and to control the working mode of the wiper to a low-speed continuous mode when the rainfall level is the fifth level.

[0123] Optionally, the acquisition module 10 is also used to respond to the driver's operating instructions and determine the weather detection mode according to the operating instructions; when the weather detection mode is the intelligent detection mode, obtain the detection data of the environmental sensor; when the detection data reaches the corresponding preset threshold, determine that the current environment of the vehicle meets the weather detection conditions.

[0124] The wiper control device provided by the present application adopts the wiper control method in the above embodiment, which can solve the technical problem of how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper. Compared with the prior art, the beneficial effects of the wiper control device provided by the present application are the same as the beneficial effects of the wiper control method provided by the above embodiment, and the other technical features of the wiper control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0125] The present application provides a wiper control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the wiper control method in the above-mentioned embodiment one.

[0126] Reference below Figure 4 , which shows a schematic diagram of the structure of a wiper control device suitable for implementing the embodiment of the present application. The wiper control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The wiper control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0127] like Figure 4As shown, the wiper control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the wiper control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the wiper control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a wiper control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0128] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0129] The wiper control device provided by the present application adopts the wiper control method in the above embodiment, which can solve the technical problem of how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper. Compared with the prior art, the beneficial effects of the wiper control device provided by the present application are the same as the beneficial effects of the wiper control method provided by the above embodiment, and the other technical features in the wiper control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0130] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0131] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present 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.

[0132] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the wiper control method in the above-mentioned embodiment.

[0133] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0134] The computer-readable storage medium may be included in the wiper control device; or may exist independently without being assembled into the wiper control device.

[0135] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the wiper control device, the wiper control device: collects sky images and windshield images when the current environment of the vehicle meets the weather detection conditions; preprocesses the sky image and the windshield image to obtain a preprocessed image; inputs the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; and controls the working mode of the wiper according to the classification information.

[0136] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0137] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0138] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0139] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned wiper control method, and can solve the technical problem of how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the wiper control method provided in the above-mentioned embodiment, and will not be elaborated here.

[0140] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the wiper control method as described above are implemented.

[0141] The computer program product provided by the present application can solve the technical problem of how to accurately identify weather conditions and effectively improve the control efficiency and accuracy of the wiper. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the wiper control method provided by the above embodiment, which will not be elaborated here.

[0142] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A wiper control method, characterized in that: The method comprises: When the vehicle's current environment meets the weather detection conditions, sky images and windshield images are collected; Performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image; Inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; The working mode of the wiper is controlled according to the classification information.

2. The method according to claim 1, characterized in that The preprocessing according to the sky image and the windshield image to obtain a preprocessed image includes: Splicing the sky image and the windshield image to obtain a spliced ​​image; De-noising the spliced ​​image to obtain a denoised image; Performing a data augmentation operation on the denoised image to obtain an augmented image, wherein the data augmentation operation at least includes random cropping, random flipping, and random rotation; The resolution of the augmented image is adjusted to obtain a preprocessed image.

3. The method according to claim 1, characterized in that Before inputting the pre-processed image into the weather recognition model for classification to obtain the classification information of the current weather, the method further includes: Get the vehicle weather vision dataset; Training a preset neural network model using the vehicle weather vision data set to obtain model performance parameters; When the model performance parameter reaches a preset parameter threshold, a weather recognition model is generated according to the trained preset neural network model.

4. The method according to claim 1, characterized in that After inputting the pre-processed image into the weather recognition model for classification and obtaining the classification information of the current weather, the method further includes: Sending the current weather classification information to the driver in a preset form, and receiving the determination result fed back by the driver; When the determination result is that the classification information is wrong, obtaining wrong classification data; The weather recognition model is fine-tuned based on the misclassified data.

5. The method according to claim 1, characterized in that The controlling the working mode of the wiper according to the classification information comprises: When the classification information is sunny, the working mode of the wiper is controlled to be an off mode; When the classification information is snowy, controlling the working mode of the wiper to be a low-speed intermittent mode or a continuous mode; When the classification information is rainy day, the rainfall level is obtained, and the working mode of the wiper is controlled according to the rainfall level.

6. The method according to claim 5, characterized in that The controlling the working mode of the wiper according to the rainfall level comprises: When the rainfall level is the first level, controlling the working mode of the wiper to be a low-speed intermittent mode; When the rainfall level is the second level, controlling the working mode of the wiper to be a medium-speed intermittent mode; When the rainfall level is the third level, controlling the working mode of the wiper to be a medium-speed continuous mode or a high-speed continuous mode; When the rainfall level is the fourth level, controlling the working mode of the wiper to be a high-speed continuous mode; When the rainfall level is the fifth level, the working mode of the wiper is controlled to be a low-speed continuous mode.

7. The method according to any one of claims 1 to 6, characterized in that Before collecting the sky image and the windshield image, the method further includes: In response to an operation instruction of a driver, determining a weather detection mode according to the operation instruction; When the weather detection mode is the intelligent detection mode, acquiring detection data of the environmental sensor; When the detection data reaches a corresponding preset threshold, it is determined that the current environment of the vehicle meets the weather detection condition.

8. A wiper control device, characterized in that: The wiper control device comprises: A collection module, used for collecting sky images and windshield images when the current environment of the vehicle meets the weather detection conditions; A processing module, used for performing preprocessing according to the sky image and the windshield image to obtain a preprocessed image; A classification module, used for inputting the preprocessed image into a weather recognition model for classification to obtain classification information of the current weather; A control module is used to control the working mode of the wiper according to the classification information.

9. A wiper control device, characterized in that: The wiper control device comprises: a memory, a processor, and a wiper control program stored in the memory and executable on the processor, wherein the wiper control program is configured to implement the wiper control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a wiper control program, and when the wiper control program is executed by the processor, the wiper control method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Multi-Sensor precipitation-classification apparatus and method

    CN107918311A

  • Motor vehicle windshield wiper automatic control system and method

    CN110481506A

  • Control method and control device for driving in rainy days, vehicle and storage medium

    CN111605517A

  • Vehicle windscreen wiper control method and device, vehicle and storage medium

    CN116022092A

  • Image processing apparatus and in-vehicle camera unit

    JP2014081302A