Sensor cleaning method and vehicle

By determining the cleaning sequence and mode based on sensor location, driving scenario, and degree of dirt, and cleaning sensors one by one, the problem of perception data interruption caused by global cleaning is solved, ensuring the continuity and safety of vehicle control decisions.

CN123169845APending Publication Date: 2026-11-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611600270.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing sensor cleaning systems employ an indiscriminate global cleaning strategy, which leads to interruptions in sensor data perception, affecting vehicle control decisions and posing safety risks.

Method used

Based on the sensor installation location, vehicle driving scenario, and degree of dirt, determine the cleaning sequence and mode, and clean each sensor that needs cleaning one by one to ensure that the sensors in an uncleaned state can continue to collect data.

Benefits of technology

It effectively avoids the interruption of perception data caused by global cleaning, ensures that vehicle control decisions obtain continuous and reliable perception data, improves the perception capability recovery efficiency of key position sensors, and reduces safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169845A_ABST
    Figure CN123169845A_ABST
Patent Text Reader

Abstract

The application provides a sensor cleaning method and a vehicle, and relates to the technical field of intelligent driving. The method comprises the following steps: detecting sensors needing to be cleaned on the vehicle to obtain a set of sensors to be cleaned; determining the dirt degree of each sensor in the set of sensors to be cleaned; determining the cleaning sequence of each sensor in the set of sensors to be cleaned according to the installation position of the sensor, the driving scene, the overlap parameter and the dirt degree, wherein the overlap parameter comprises the overlap degree of the sensing range of each sensor in the set of sensors to be cleaned and the sensing range of a sensor outside the set of sensors to be cleaned; determining the target cleaning mode of the set of sensors to be cleaned; and cleaning each sensor in the set of sensors to be cleaned one by one by using the target cleaning mode according to the cleaning sequence. The application can effectively avoid the problem of comprehensive interruption of sensing data caused by global cleaning of sensors during sensor cleaning, and ensures that the control decision coefficient can always obtain continuous and reliable sensing data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent driving technology, and more specifically, to a sensor cleaning method and vehicle in the field of intelligent driving technology. Background Technology

[0002] With the rapid development of intelligent driving technology, the number and accuracy requirements of onboard sensors are continuously increasing. Taking autonomous vehicles as an example, a vehicle typically carries multiple sensors, including front-view cameras, surround-view cameras, side-view cameras, rear-view cameras, streaming media cameras, forward-facing LiDAR, rear-facing LiDAR, and blind-spot LiDAR. These sensors are continuously exposed to the external environment during vehicle operation, and their sensing optical surfaces are inevitably subject to the adhesion and obstruction of contaminants such as dust, water droplets, mud, insect remains, dew, and ice, leading to a decrease in sensor sensing performance or even complete failure, seriously threatening driving safety.

[0003] Current sensor cleaning systems employ a uniform global cleaning strategy. When the driver manually presses the cleaning button or triggers a voice cleaning command, the sensor cleaning system cleans all sensors in the same way. This "one-size-fits-all" cleaning method has a significant drawback: it interrupts the normal sensing of the sensors, causing a break in the acquisition of sensing data. This interruption directly affects the vehicle's control decisions based on the sensing data, potentially leading to serious safety risks at high speeds or in complex road conditions. Summary of the Invention

[0004] This application provides a sensor cleaning method and a vehicle. This application can effectively avoid the problem of complete interruption of perception data caused by global sensor cleaning during sensor cleaning, and ensure that the control decision coefficient can always obtain continuous and reliable perception data.

[0005] Firstly, a sensor cleaning method is provided, comprising: detecting sensors on a vehicle that need to be cleaned to obtain a set of sensors to be cleaned; determining the degree of dirtiness of each sensor in the set of sensors to be cleaned; determining a first cleaning order of each sensor in the set of sensors to be cleaned based on the sensor installation location, the vehicle's driving scenario, overlap parameters, and the degree of dirtiness, wherein the overlap parameters include the degree of overlap between the sensing range of each sensor in the set of sensors to be cleaned and the sensing range of sensors outside the set of sensors to be cleaned; determining a first target cleaning mode for the set of sensors to be cleaned; and cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning order and the first target cleaning mode.

[0006] Based on the above technical solution, after detecting the sensors requiring cleaning from among multiple sensors installed in the vehicle, this application determines the cleaning order of the sensors based on the sensor installation location, the vehicle's driving scenario, the overlap between the sensing ranges of the sensors requiring cleaning and those not requiring cleaning, and the degree of dirt on the sensors requiring cleaning. Then, following the determined cleaning order, the corresponding target cleaning mode is used to clean each sensor individually, rather than cleaning all sensors simultaneously without differentiation. This ensures that sensors not in a cleaning state can continue to collect sensing data during cleaning, effectively avoiding the problem of complete interruption of sensing data caused by global sensor cleaning, and ensuring that the vehicle's control decision coefficients always obtain continuous and reliable sensing data. Specifically, by cleaning the sensors one by one according to the determined cleaning order, this application ensures that at any given time, some sensors are in a normal sensing state, maintaining the continuity of sensing data collection, thereby eliminating safety hazards caused by cleaning actions interfering with vehicle control decisions, while simultaneously balancing cleaning efficiency and driving safety. On the other hand, since the cleaning order is based on the sensor installation location, the vehicle's driving scenario, the overlap between the sensing ranges of sensors that need cleaning and those that don't, and the degree of dirtiness of the sensors that need cleaning, cleaning the sensors one by one according to the cleaning order ensures that heavily soiled sensors located in critical vehicle positions are cleaned first, which helps improve the recovery efficiency of the sensing capabilities of sensors in critical vehicle positions. Furthermore, by prioritizing the cleaning of sensors, it ensures that the vehicle maintains its core environmental sensing capabilities at any given time during cleaning, preventing the expansion of blind spots due to continuous dirtiness in sensors at critical vehicle positions.

[0007] In one possible implementation, determining the degree of dirtiness of each sensor in the set of sensors to be cleaned includes: labeling sensors installed on the front side of the vehicle body as first-class sensors, and labeling sensors installed on the rear side of the vehicle body as second-class sensors. The front side of the vehicle body includes the B-pillar and the body portion located in front of the B-pillar, and the rear side of the vehicle body includes the body portion located behind the B-pillar. The degree of dirtiness of the first-class sensors is determined based on the threshold range into which the percentage of dirt area falls. The degree of dirtiness of the second-class sensors is determined based on the threshold range into which the percentage of dirt area falls. The number of dirtiness levels for the first-class sensors is greater than the number of dirtiness levels for the second-class sensors.

[0008] In one possible implementation, determining the first cleaning order of each sensor in the sensor set to be cleaned based on the sensor installation location, vehicle driving scenario, overlap parameters, and degree of dirt includes: determining the cleaning priority of each sensor in the sensor set to be cleaned based on the sensor installation location, driving scenario, overlap parameters, and degree of dirt; and sorting the cleaning priorities of each sensor in the sensor set to be cleaned from largest to smallest to obtain the first cleaning order.

[0009] In one possible implementation, determining the cleaning priority of each sensor in the sensor set to be cleaned based on the sensor installation location, driving scenario, overlap parameter, and degree of dirtiness includes: obtaining a position weight factor corresponding to the sensor installation location, a driving scenario weight factor corresponding to the driving scenario, a sensing range overlap factor corresponding to the overlap parameter, and a dirtiness factor corresponding to the degree of dirtiness. The position weight factor is used to characterize the degree of dirtiness caused by the sensor installation location on the vehicle; the driving scenario weight factor is used to characterize the degree of dirtiness caused by the driving scenario; the sensing range overlap factor is used to characterize the substitutability of the sensor that does not need to be cleaned to collect sensing data in place of the sensor that needs to be cleaned; and the dirtiness factor is used to characterize the degree of obstruction of the sensor's sensing optical surface. The position weight factor, driving scenario weight factor, sensing range overlap factor, and dirtiness factor are weighted and calculated to obtain the cleaning priority of each sensor in the sensor set to be cleaned.

[0010] In one possible implementation, determining the first target cleaning mode for the set of sensors to be cleaned includes: if a wiper operation signal is received, the first cleaning mode is determined as the first target cleaning mode. The first cleaning mode includes controlling the cleaning units corresponding to each sensor in the set of sensors to be cleaned to perform dry or wet cleaning actions one by one according to a first preset cleaning pressure, based on the cleaning frequency corresponding to the wiper operation level; if the duration of sensor cleaning stoppage reaches the cleaning timeout duration, a second cleaning mode is determined as the first target cleaning mode. The second cleaning mode includes controlling the cleaning units corresponding to each sensor in the set of sensors to be cleaned to perform dry or wet cleaning actions for a third preset duration, based on the first preset cleaning pressure; if a cleaning trigger command is received, a third cleaning mode is determined as the first target cleaning mode. The third cleaning mode includes controlling the cleaning units corresponding to each sensor in the set of sensors to be cleaned to perform dry and wet cleaning actions for a third preset duration, based on the first preset cleaning pressure; if a cleaning request command is received from the autonomous driving domain controller, a fourth cleaning mode is determined as the first target cleaning mode. The fourth cleaning mode includes, based on a first preset cleaning pressure, controlling the cleaning units corresponding to designated sensors in the sensor set to be cleaned to perform dry and wet cleaning actions for a fourth preset duration; and based on the first preset cleaning pressure, controlling the cleaning units corresponding to non-designated sensors in the sensor set to be cleaned to perform dry and wet cleaning actions for a third preset duration. Designated sensors include sensors in the sensor set to be cleaned that have degraded perception capabilities as marked by the autonomous driving domain controller, and non-designated sensors include sensors in the sensor set to be cleaned other than the designated sensors. The fourth preset duration is longer than the third preset duration. If there are sensors in the sensor set to be cleaned that meet the conditions for repeated cleaning, the fifth cleaning mode is determined as the first target cleaning mode. The fifth cleaning mode includes, based on a second preset cleaning pressure, controlling the cleaning units corresponding to each sensor in the sensor set to be cleaned to perform dry and wet cleaning actions for a third preset duration. The conditions for repeated cleaning include that the cumulative number of cleanings for the same sensor within a preset time window is greater than the preset number of cleanings, and the second preset cleaning pressure is greater than the first preset cleaning pressure.

[0011] In one possible implementation, cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning order and the first target cleaning mode includes: if the number of first target cleaning modes is a single one, determining the first target cleaning mode as the second target cleaning mode; or, if the number of first target cleaning modes is multiple, obtaining the mode priority of multiple first target cleaning modes, and determining the first target cleaning mode with the highest mode priority as the second target cleaning mode; and cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning order and the second target cleaning mode.

[0012] In one possible implementation, cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning order and the second target cleaning mode includes: cleaning the first sensor in the first cleaning order using the second target cleaning mode; after the first sensor is cleaned, determining whether the cleaning effect of the first sensor meets a preset standard; if the cleaning effect of the first sensor meets the preset standard, removing the first sensor from the first cleaning order to obtain the second cleaning order; using the second cleaning order as the first cleaning order, and performing the step of cleaning the first sensor in the first cleaning order using the second target cleaning mode; if the cleaning effect of the first sensor does not meet the preset standard, adjusting the cleaning order of the first sensor to after the cleaning order of the last sensor in the first cleaning order to obtain the third cleaning order; using the third cleaning order as the first cleaning order, switching the second target cleaning mode to the cleaning mode with the strongest cleaning intensity, and performing the step of cleaning the first sensor in the first cleaning order using the second target cleaning mode.

[0013] In one possible implementation, the sensor cleaning method further includes: when cleaning the first sensor using a second target cleaning mode, updating the first cleaning sequence based on the sensor installation location, driving scenario, overlap parameters, and degree of dirt to obtain a fourth cleaning sequence; if the fourth cleaning sequence is the same as the first cleaning sequence, continuing to clean the first sensor using the second target cleaning mode, and performing a step of determining whether the cleaning effect of the first sensor meets a preset standard after the cleaning of the first sensor is completed; if the fourth cleaning sequence is different from the first cleaning sequence, stopping the cleaning of the first sensor, using the fourth cleaning sequence as the first cleaning sequence, and performing a step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode.

[0014] In one possible implementation, after detecting the sensors on the vehicle that need cleaning and obtaining the set of sensors to be cleaned, the sensor cleaning method further includes: obtaining the vehicle's driving mode; if the driving mode is an assisted driving mode, outputting an inquiry on whether to clean the sensors; and after receiving a cleaning confirmation instruction, performing a step to determine the degree of dirtiness of each sensor in the set of sensors to be cleaned; if the driving mode is an autonomous driving mode or an unmanned driving mode, performing a step to determine the degree of dirtiness of each sensor in the set of sensors to be cleaned.

[0015] Secondly, a sensor cleaning device is provided, the sensor cleaning device comprising: The sensor screening module is used to detect sensors on the vehicle that need to be cleaned, and obtain a set of sensors to be cleaned; The dirtiness calculation module is used to determine the degree of dirtiness of each sensor in the sensor set to be cleaned; The sequence determination module is used to determine the first cleaning order of each sensor in the sensor set to be cleaned based on the sensor installation location, vehicle driving scenario, overlap parameters and degree of dirt. The overlap parameters include the degree of overlap between the sensing range of each sensor in the sensor set to be cleaned and the sensing range of sensors outside the sensor set to be cleaned. The pattern determination module is used to determine the first target cleaning pattern for the set of sensors to be cleaned. The cleaning control module is used to clean each sensor in the sensor set to be cleaned one by one according to the first cleaning sequence and the first target cleaning mode.

[0016] Thirdly, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the sensor cleaning method of the first aspect or any possible implementation thereof.

[0017] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the sensor cleaning method of the first aspect or any possible implementation thereof.

[0018] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the sensor cleaning method of the first aspect or any possible implementation thereof. Attached Figure Description

[0019] Figure 1 A schematic flowchart of a sensor cleaning method provided in an embodiment of this application is shown; Figure 2 This illustration shows a scenario where the user is asked whether to clean the sensor, as provided in an embodiment of this application. Figure 3 A schematic diagram of a sensor cleaning device provided in an embodiment of this application is shown; Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of this application is shown. Detailed Implementation

[0020] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0021] In the following text, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. With the rapid development of intelligent driving technology, the number and accuracy requirements of onboard sensors are continuously increasing. Taking autonomous vehicles as an example, the entire vehicle is typically equipped with multiple sensors, including front-view cameras, surround-view cameras, side-view cameras, rear-view cameras, streaming media cameras, forward-facing LiDAR, rear-facing LiDAR, and blind-spot LiDAR. These sensors are continuously exposed to the external environment during vehicle operation, and their sensing optical surfaces are inevitably subject to the adhesion and obstruction of contaminants such as dust, water droplets, mud, insect remains, dew, and ice, leading to a decrease in sensor sensing performance or even complete failure, seriously threatening driving safety.

[0022] Current sensor cleaning systems employ a uniform global cleaning strategy. When the driver manually presses the cleaning button or triggers a voice cleaning command, the sensor cleaning system cleans all sensors in the same way. This "one-size-fits-all" cleaning method has a significant drawback: it interrupts the normal sensing of the sensors, causing a break in the acquisition of sensing data. This interruption directly affects the vehicle's control decisions based on the sensing data, potentially leading to serious safety risks at high speeds or in complex road conditions.

[0023] To address the aforementioned issues, this application provides a sensor cleaning method and vehicle. After detecting sensors requiring cleaning from multiple sensors installed in the vehicle, this method determines the cleaning order of the sensors based on their installation location, the vehicle's driving scenario, the overlap between the sensing ranges of the sensors requiring cleaning and those not, and the degree of dirt on the sensors requiring cleaning. Then, following this determined cleaning order, the corresponding target cleaning mode is used to clean each sensor individually, rather than cleaning all sensors simultaneously without differentiation. This ensures that sensors not currently being cleaned can continue to collect sensing data during cleaning, effectively avoiding the problem of complete interruption of sensing data caused by global sensor cleaning. This ensures that the vehicle's control decision coefficients always receive continuous and reliable sensing data. Specifically, by cleaning the sensors one by one according to the determined cleaning order, this method ensures that at any given time, some sensors are in a normal sensing state, maintaining the continuity of sensing data collection. This eliminates safety hazards caused by cleaning actions interfering with vehicle control decisions, while simultaneously balancing cleaning efficiency and driving safety. On the other hand, since the cleaning order is based on the sensor installation location, the vehicle's driving scenario, the overlap between the sensing ranges of sensors that need cleaning and those that don't, and the degree of dirtiness of the sensors that need cleaning, cleaning the sensors one by one according to the cleaning order ensures that heavily soiled sensors located in critical vehicle positions are cleaned first, which helps improve the recovery efficiency of the sensing capabilities of sensors in critical vehicle positions. Furthermore, by prioritizing the cleaning of sensors, it ensures that the vehicle maintains its core environmental sensing capabilities at any given time during cleaning, preventing the expansion of blind spots due to continuous dirtiness in sensors at critical vehicle positions.

[0024] The following is an embodiment of a sensor cleaning method provided in this application specification.

[0025] Figure 1 A schematic flowchart of a sensor cleaning method provided in an embodiment of this application is shown, such as... Figure 1As shown, this application provides a sensor cleaning method applied to a vehicle sensor cleaning system. This sensor cleaning system is used to clean multiple sensors installed in the vehicle. The sensor cleaning system includes a Sensor Cleaning Unit (SCU) and multiple cleaning units, each corresponding to one sensor. Each cleaning unit can perform dry cleaning and / or wet cleaning actions on the sensor to clean it. Specifically, a cleaning unit performing a dry cleaning action on the sensor can be understood as spraying air onto the sensor; a cleaning unit performing a wet cleaning action on the sensor can be understood as spraying liquid cleaning agent (e.g., windshield washer fluid, deionized water, etc.); a cleaning unit performing both dry and / or wet cleaning actions on the sensor can be understood as performing a mixed dry and wet cleaning, i.e., simultaneously spraying air and liquid cleaning agent onto the sensor.

[0026] The sensor cleaning method provided in this application embodiment is executed by a cleaning control unit, which includes the following components: S110: Detect the sensors on the vehicle that need cleaning and obtain the set of sensors to be cleaned.

[0027] In one exemplary embodiment, the multiple sensors installed in the vehicle (i.e., all sensors installed on the exterior of the vehicle) include a front-view camera, surround-view cameras, side-view cameras, rear-view cameras, streaming media cameras, forward-facing LiDAR, rear-facing LiDAR, blind-spot LiDAR, etc. The autonomous driving domain controller acquires perception data from the multiple sensors installed in the vehicle, including image data and point cloud data.

[0028] The sensor cleaning method of this application requires calculating the dirty area and dirty area percentage of the sensing optical surfaces of multiple sensors. Specifically, the autonomous driving domain controller calculates the dirty area of ​​the sensing optical surfaces of each camera based on image data, and divides the dirty area by the total area of ​​the optical surfaces to obtain the dirty area percentage; it also calculates the dirty area of ​​the sensing optical surfaces of the LiDAR based on point cloud data, and divides the dirty area by the total area of ​​the scanning area to obtain the dirty area percentage. Furthermore, the autonomous driving domain controller can input image data into a first deep learning neural network for dirt recognition trained based on preset image data to obtain the dirty area and dirty area percentage of the sensing optical surfaces of each camera; and input point cloud data into a second deep learning neural network for dirt recognition trained based on preset point cloud data to obtain the dirty area and dirty area percentage of each LiDAR.

[0029] After the autonomous driving domain controller calculates the percentage of dirty area on the sensing optical surfaces of multiple sensors (referred to as the dirty area percentage of the sensors) and the dirty area on the sensing optical surfaces of multiple sensors (referred to as the dirty area of ​​the sensors), it sends the percentage of dirty area and the dirty area of ​​the sensors to the cleaning control unit. The cleaning control unit detects the sensors on the vehicle that need to be cleaned and obtains a set of sensors to be cleaned. Specifically, based on the dirty area of ​​the sensors, it determines the sensors that need to be cleaned from the multiple sensors installed in the vehicle and obtains a set of sensors to be cleaned.

[0030] The process of detecting sensors on the vehicle that need cleaning and obtaining a set of sensors to be cleaned includes: identifying sensors from multiple sensors whose dirty area is greater than a dirty area threshold and whose duration of dirt accumulation reaches the calibration time, thus obtaining the sensors that need cleaning.

[0031] After obtaining the dirt area of ​​multiple sensors, the cleaning control unit identifies the sensors that meet the condition that the dirt area is greater than the dirt area threshold and the duration of dirt accumulation reaches the calibrated duration as the sensors that need to be cleaned. This results in a set of sensors to be cleaned, which includes the sensors that meet the condition that the dirt area is greater than the dirt area threshold and the duration of dirt accumulation reaches the calibrated duration.

[0032] S120: Determine the degree of dirtiness of each sensor in the sensor set to be cleaned.

[0033] After obtaining the set of sensors to be cleaned, the cleaning control unit determines the degree of dirtiness of each sensor in the set based on the proportion of dirt area of ​​each sensor. The degree of dirtiness is categorized into three levels: Level 1, Level 2, and Level 3. A higher degree of dirtiness indicates a larger area of ​​the sensor's sensing optical surface that is obscured by dirt. For example, Level 2 is higher than Level 1 but lower than Level 3, with Level 1 < Level 2 < Level 3. Level 1 represents light dirtiness, Level 2 represents moderate dirtiness, and Level 3 represents heavy dirtiness.

[0034] Specifically, determining the degree of dirtiness of each sensor in the sensor set to be cleaned includes: Sensors mounted on the front side of the vehicle body are designated as Category 1 sensors, and sensors mounted on the rear side of the vehicle body are designated as Category 2 sensors. Specifically, the cleaning control unit divides the vehicle into front and rear sections using the B-pillar as a dividing line. The front section includes the B-pillar and the body portion in front of it, while the rear section includes the body portion behind the B-pillar. Sensors mounted on the front side of the vehicle body are designated as Category 1 sensors. For example, the sensor set includes all sensors mounted on the exterior of the vehicle. Category 1 sensors include forward-facing cameras, forward-facing lidar, front surround-view cameras, streaming media cameras mounted at the base of the rearview mirrors or on the front fenders, and side-facing cameras. Sensors mounted on the rear side of the vehicle body are designated as Category 2 sensors; that is, all sensors mounted on the exterior of the vehicle other than those in Category 1 belong to Category 2.

[0035] Since the sensors located on and before the B-pillar are responsible for perceiving the vehicle's forward environment and directly affect safety functions such as automatic emergency braking, adaptive cruise control, and lane keeping, a decline in the perception performance of these sensors will directly threaten driving safety. Therefore, this application classifies the degree of dirtiness of the first type of sensors into a finer granularity and the degree of dirtiness of the second type of sensors into a coarser granularity, that is, the number of dirtiness levels for the first type of sensors is greater than the number of dirtiness levels for the second type of sensors. For example, the number of dirtiness levels for the first type of sensors is M, and the number of dirtiness levels for the second type of sensors is N, where M and N are positive integers, M>N, and N is greater than or equal to 2. Assuming M=3 and N=2, the number of dirtiness levels for the first type of sensors is 3, such as level 1, level 2, and level 3; the number of dirtiness levels for the second type of sensors is 2, such as level 1 and level 3. Here, level 1 represents light dirtiness, level 2 represents moderate dirtiness, and level 3 represents heavy dirtiness.

[0036] The degree of dirtiness of a type I sensor reflects its level of dirtiness, and the degree of dirtiness of a type II sensor reflects its level of dirtiness. The number of dirtiness levels for type I sensors is greater than that for type II sensors; that is, the number of dirtiness levels for type I sensors is M, and the number of dirtiness levels for type II sensors is N. Assuming M=3 and N=2, the number of dirtiness levels for type I sensors is 3 (e.g., level 1, level 2, and level 3), and the number of dirtiness levels for type II sensors is 2 (e.g., level 1 and level 3), with level 2 being higher than level 1 and lower than level 3. The level 1 corresponds to level 1, level 2 to level 2, and level 3 to level 3. The higher the dirtiness level (the greater the degree of dirtiness), the larger the area of ​​the sensor's sensing optical surface that is obscured by dirt.

[0037] After obtaining the first and second types of sensors, the cleaning control unit determines the degree of dirtiness of the first type of sensor based on the threshold range into which the percentage of dirt area falls, and determines the degree of dirtiness of the second type of sensor based on the threshold range into which the percentage of dirt area falls. Taking the example that the degree of dirtiness of the first type of sensor includes three levels (first, second, and third), and the degree of dirtiness of the second type of sensor includes both first and third levels, the process of determining the specific degree of dirtiness of the first and second types of sensors in the sensor set to be cleaned is as follows: If the percentage of the dirty area of ​​the first type of sensor is within the first threshold range, the degree of dirtiness of the first type of sensor is determined to be the first degree. If the percentage of the dirty area of ​​the first type of sensor is within the second threshold range, the degree of dirtiness of the first type of sensor is determined to be the second degree. If the percentage of the dirty area of ​​the first type of sensor is within the third threshold range, the degree of dirtiness of the first type of sensor is determined to be the third level. If the proportion of the dirty area of ​​the second type of sensor is within the second threshold range and continues for a first preset time (e.g., 1800s), the degree of dirtiness of the second type of sensor is determined to be the first degree. If the proportion of the dirty area of ​​the second type of sensor is within the third threshold range and continues for a second preset time (e.g., 30s), the degree of dirtiness of the second type of sensor is determined to be the third level. The second threshold interval is greater than the first threshold interval and less than the third threshold interval. That is, the lower limit of the second threshold interval is greater than the upper limit of the first threshold interval, and the upper limit of the second threshold interval is less than the lower limit of the third threshold interval. For example, the first threshold interval is [50%, 70%), the second threshold interval is [70%, 85%), and the third threshold interval is [85%, 100%).

[0038] Specifically, after cleaning each sensor in the set of sensors to be cleaned, for sensors in the first category whose initial level of dirtiness was level one, if the dirty area of ​​the sensor remains less than 50% for 3 seconds after cleaning for a duration reaching the first duration threshold (5 minutes), then the sensor does not need to be cleaned again; for sensors in the first category whose initial level of dirtiness was level two, if the dirty area of ​​the sensor remains less than 50% for 3 seconds after cleaning for a duration reaching the second duration threshold (10 seconds), then the sensor does not need to be cleaned again; for sensors in the first category whose initial level of dirtiness was level three, if cleaning for a duration reaching the second duration threshold (10 seconds), then cleaning for a duration reaching the second duration threshold (10 minutes ... If the dirty area of ​​the sensor remains less than 50% for 3 seconds after the cleaning duration reaches the third time threshold (5s), then the sensor does not need to be cleaned again. For sensors of the second type that are dirty to the first degree before cleaning, if the dirty area of ​​the sensor remains less than 70% for 3 seconds after the cleaning duration reaches the fourth time threshold (10s), then the sensor does not need to be cleaned again. For sensors of the second type that are dirty to the third degree before cleaning, if the dirty area of ​​the sensor remains less than 70% for 3 seconds after the cleaning duration reaches the fifth time threshold (5s), then the sensor does not need to be cleaned again.

[0039] It is worth noting that the first to fifth duration thresholds can be understood as preset de-shaking durations. The principles for setting the first to third threshold ranges and the first to fifth duration thresholds in this application are as follows: Based on the principle of overlapping sensor sensing ranges, dirt on sensors with high sensing range overlap can be partially compensated by other sensors, and the corresponding threshold range can be appropriately increased; based on the principle of the criticality of the sensing task, dirt on sensors responsible for critical tasks such as forward obstacle detection and near-field perception for automatic parking has a significant impact on safety, and the corresponding threshold range should be decreased; based on the principle of dirt accumulation rate, locations prone to dirt accumulation need to be monitored more frequently, and the de-shaking duration should be appropriately shortened. Specifically, the front surround view camera is mainly used for near-field obstacle detection and environmental modeling during automatic parking and low-speed driving (the front surround view camera has a sensing distance of 0-5m and a sensing range covering an angle of about 180° in front of the vehicle). 50% of the area is dirty, which can cause more than half of the near-field area to be undetectable and severely degrade the automatic parking function. However, since the front surround view camera is only used in low-speed scenarios and does not participate in the main perception fusion when the vehicle is driving at high speed, and the brief fluctuations in dirt (such as flying insects) can easily cause instantaneous changes in the data read, a longer anti-shake duration needs to be configured to avoid false triggering. The rear and side cameras (including the front and rear side cameras) are mainly used for the perception of the side and rear environment during driving, lane change assistance, and rear warning. They mainly perform auxiliary perception and usually have some overlap in the field of view with other sensors (such as the perception range of the side camera and the front camera overlap). The impact of the second level of dirt on safety is limited during high-speed driving, and the corresponding threshold range can be appropriately increased. However, when the third level of dirt causes the complete loss of perception in a specific direction, it must be cleaned in time. Therefore, this application sets the first threshold range to [50%, 70%), the second threshold range to [70%, 85%), the third threshold range to [85%, 100%], the first duration threshold to 5 minutes, the second duration threshold to 10 seconds, the third duration threshold to 5 seconds, the fourth duration threshold to 10 seconds, and the fifth duration threshold to 5 seconds. By setting appropriate threshold ranges corresponding to the percentage of soiled area and the de-shaking duration, unnecessary cleaning frequency can be reduced, maximizing the utilization efficiency of cleaning resources while ensuring safety.

[0040] The aforementioned de-shake duration can be dynamically adjusted according to actual driving conditions. Specifically, when the vehicle speed is higher than the preset speed (80 km / h), because the real-time perception requirements of the sensors are higher at high speeds, the de-shake duration corresponding to the third level of dirtiness is reduced to 50% of the original value; when it rains, because the mud splashed by the rainwater has a greater impact on the rear and side sensors, the de-shake duration corresponding to the front sensor remains unchanged, while the de-shake duration corresponding to the rear and side sensors is reduced to 70% of the original value; in autonomous driving mode or driverless mode, the de-shake duration corresponding to the third level of dirtiness is reduced to 60% of the original value.

[0041] S130: Determine the first cleaning order of each sensor in the sensor set to be cleaned based on the sensor installation location, vehicle driving scenario, overlap parameters, and degree of dirt.

[0042] The driving scenarios include forward driving scenarios (such as changing lanes, following other vehicles, and turning) and reversing scenarios (such as parking and reversing out of a parking space). The overlap parameter includes the degree of overlap between the sensing range of each sensor in the set to be cleaned and the sensing range of sensors outside the set (hereinafter referred to as sensing range overlap). Since each sensor in the set to be cleaned is a sensor that needs cleaning, and the sensors outside the set are sensors that do not need cleaning, the overlap parameter includes the degree of overlap between the sensing ranges of the sensors that need cleaning and those that do not need cleaning. The sensing range overlap is equal to the intersection of the sensing ranges of the sensors that need cleaning and those that do not need cleaning divided by the entire sensing range of the sensors that do not need cleaning.

[0043] After obtaining the degree of dirtiness of each sensor in the sensor set to be cleaned, the cleaning control unit determines the cleaning order of the sensors in the sensor set according to the degree of dirtiness, sensor installation location, overlap parameters, and driving scenario. This first cleaning order instructs the cleaning unit corresponding to each sensor in the sensor set to perform cleaning operations on its respective sensor in which order.

[0044] The process of determining the first cleaning sequence for each sensor in the sensor set to be cleaned, based on sensor installation location, vehicle driving scenario, overlap parameters, and degree of dirt, includes the following steps: Based on the sensor installation location, driving scenario, overlap parameters, and degree of dirt, determine the cleaning priority of each sensor in the sensor set to be cleaned; The cleaning priority of each sensor in the sensor set to be cleaned is sorted from highest to lowest to obtain the first cleaning order.

[0045] The cleaning control unit determines the first cleaning sequence by obtaining the position weight factor F_position corresponding to the sensor installation position of each sensor in the set of sensors to be cleaned. For example, the position weight factor F_position of the front surround view camera and the forward-facing LiDAR is 1.0; the position weight factor F_position of the side front view camera and the side rear view camera is 0.7; and the position weight factor F_position of the rear view camera, the rear surround view camera and the rearward LiDAR is 0.5.

[0046] Obtain the driving scenario weight factor F_driving corresponding to the driving scenario; where, in the general scenario, the scenario weight factor F_driving of each sensor is 1.0; when driving at high speed, the driving scenario weight factor F_driving of the forward sensor is 1.5, and the driving scenario weight factor F_driving of the side sensor is 1.2; in low speed or parking scenarios, the driving scenario weight factor F_driving of the front surround view sensor is 2.0, the driving scenario weight factor F_driving of the front view sensor is 0.8, and so on.

[0047] Obtain the sensing range overlap factor F_overlap corresponding to the overlap parameter, F_overlap=1-O×0.5, where O represents the sensing range overlap degree.

[0048] Obtain the dirtiness factor F_dirty_level corresponding to the degree of dirtiness. When the dirtiness level is the first level, F_dirty_level = 1.0; when the dirtiness level is the second level, F_dirty_level = 1.2; and when the dirtiness level is the third level, F_dirty_level = 1.5.

[0049] Among them, the position weight factor F_position is used to characterize the degree of influence of the sensor's installation position on the vehicle on the degree of dirt on the sensor; the driving scenario weight factor F_driving is used to characterize the degree of influence of the driving scenario on the degree of dirt on the sensor; the perception range overlap factor F_overlap is used to characterize the substitutability of the sensor that does not need to be cleaned to collect perception data instead of the sensor that needs to be cleaned; and the dirt level factor F_dirty_level is used to characterize the degree of obstruction of the sensor's perception optical surface.

[0050] After obtaining the position weight factor F_position, driving scenario weight factor F_driving, perception range overlap factor F_overlap, and dirt level factor F_dirty_level for each sensor in the sensor set to be cleaned, a weighted calculation is performed on these factors to obtain the cleaning priority for each sensor in the sensor set to be cleaned. The formula for calculating the cleaning priority is: P_sensor = w1 × F_position + w2 × F_ The formula is: driving + w3 × F_overlap + w4 × F_dirty_level, where P_sensor represents the cleaning priority, w1 represents the weight coefficient corresponding to the position weight factor F_position, w2 represents the weight coefficient corresponding to the driving scenario weight factor F_driving, w3 represents the weight coefficient corresponding to the perception range overlap factor F_overlap, and w4 represents the weight coefficient corresponding to the dirt level factor F_dirty_level. The higher the cleaning priority of the sensor, the higher the risk of the sensor failing due to dirt in the current scenario, and the greater the impact on current driving safety. Therefore, it should be cleaned first.

[0051] After obtaining the cleaning priority of each sensor in the set of sensors to be cleaned, the cleaning priorities of each sensor in the set of sensors to be cleaned are sorted from highest to lowest to obtain the first cleaning order. For example, if the set of sensors to be cleaned includes 3 sensors, namely sensor1, sensor2, and sensor3, where the cleaning priority of sensor1 is > the cleaning priority of sensor2 is > the cleaning priority of sensor3, then the first cleaning order is: sensor1, sensor2, sensor3.

[0052] S140: Determine the first target cleaning mode for the set of sensors to be cleaned.

[0053] After the cleaning control unit determines the first cleaning order of each sensor in the set of sensors to be cleaned, it determines the cleaning mode for cleaning each sensor in the set of sensors to be cleaned from the first to the fifth cleaning modes, and obtains the first target cleaning mode, which is one of the first to the fifth cleaning modes.

[0054] The first cleaning mode, also known as the wiper-linked cleaning mode, involves controlling the cleaning units corresponding to each sensor in the sensor set to be cleaned to perform dry or wet cleaning actions one by one according to a first preset cleaning pressure, based on the cleaning frequency corresponding to the wiper's operating speed. This first cleaning mode is applied in rainy conditions, and the matching relationship between the cleaning frequency and the wiper's operating speed is as follows: Intermittent mode (approximately 20 times / minute): The cleaning unit pulses air at an intermittent frequency, with each pulse lasting 20-50ms, and the interval is synchronized with the wiper swing cycle; Low speed (approximately 35 times / minute): The cleaning unit pulses air at a low speed frequency, with each pulse lasting 30-60ms. High speed (approximately 50 times / minute): The cleaning unit continuously sprays air at a high speed frequency.

[0055] The second cleaning mode, also known as the timed cleaning mode, involves controlling the cleaning units corresponding to each sensor in the sensor set to be cleaned to perform dry or wet cleaning actions for a third preset duration, based on a first preset cleaning pressure. The second cleaning mode is triggered after the set time is reached and is unaffected by the status of the windshield wipers.

[0056] The third cleaning mode, also known as the sensing-linked cleaning mode, involves controlling the cleaning units corresponding to each sensor in the sensor set to be cleaned to perform dry and wet cleaning actions for a third preset duration, based on a first preset cleaning pressure. For example, when running the third cleaning mode, the cleaning unit will simultaneously spray a mixture of gas and liquid at supersonic speed to perform a single gas-liquid mixed cleaning of the sensor.

[0057] The fourth cleaning mode, also known as the mixed-flow dust removal cleaning mode, includes controlling the cleaning units corresponding to designated sensors in the sensor set to be cleaned to perform dry and wet cleaning actions for a fourth preset duration based on a first preset cleaning pressure. It also includes controlling the cleaning units corresponding to non-designated sensors in the sensor set to be cleaned to perform dry and wet cleaning actions for a third preset duration based on the first preset cleaning pressure. Designated sensors include sensors in the sensor set to be cleaned that have been marked by the autonomous driving domain controller as having reduced perception capabilities. Non-designated sensors include sensors in the sensor set to be cleaned other than the designated sensors. When operating the fourth cleaning mode, the cleaning control unit controls the cleaning units corresponding to designated sensors to perform cleaning operations on the designated sensors for a duration equal to the fourth preset duration, and controls the cleaning units corresponding to non-designated sensors to perform cleaning operations on the designated sensors for a duration equal to the third preset duration. The fourth preset duration is longer than the third preset duration and is an integer multiple (e.g., 3 times) of the third preset duration. For example, the third preset duration is 200ms, and the fourth preset duration is, for example, 600ms. The cleaning control unit controls the cleaning unit corresponding to the designated sensor to perform cleaning operations on the designated sensor for a period of time up to the fourth preset duration. The cleaning effect is equivalent to controlling the cleaning unit corresponding to the non-designated sensor to perform cleaning actions 3 times for a period of time up to the third preset duration.

[0058] The fifth cleaning mode includes controlling the cleaning units corresponding to each sensor in the sensor set to be cleaned to perform dry and wet cleaning actions for a third preset duration, based on a second preset cleaning pressure. The second preset cleaning pressure is greater than the first preset cleaning pressure. Setting the second preset cleaning pressure to be greater than the first preset cleaning pressure can be understood as the cleaning pressure when running the fifth cleaning mode being greater than the cleaning pressure when running one of the first to fourth cleaning modes. The first to fourth cleaning modes are cleaning modes with normal pressure, while the fifth cleaning mode is a high-pressure cleaning mode, representing the cleaning mode with the strongest cleaning force among the five cleaning modes.

[0059] Determining the first target cleaning mode for the sensor set to be cleaned includes the following steps: If the cleaning control unit receives a signal from the windshield wipers, it determines that it is currently raining or that the vehicle has entered an area with potential for falling water or splashing water, and sets the first cleaning mode as the first target cleaning mode. If the first cleaning mode is activated, the cleaning unit corresponding to each sensor in the set of sensors to be cleaned is controlled to perform cleaning actions according to the cleaning frequency corresponding to the wiper's operating speed.

[0060] If the cleaning control unit determines that the duration of the sensor's cleaning stoppage has reached the cleaning timeout, it will designate the second cleaning mode as the first target cleaning mode. The cleaning timeout can be set according to the road scenario. For example, in urban road scenarios, where there is less dust, the cleaning timeout is set to 30-60 minutes; in suburban or construction site road scenarios, where there is more dust and the sensor accumulates dirt faster, the cleaning timeout is set to 5-15 minutes; and in highway scenarios, where the relative wind speed is greater due to vehicle speed but there is less dust, the cleaning timeout is set to 20-40 minutes.

[0061] If the cleaning control unit receives a cleaning trigger command, which includes at least one of the following: a cleaning command triggered manually at the vehicle, a cleaning command triggered remotely manually, or a cleaning command triggered automatically by the system, it indicates that the user or the vehicle itself intends to clean the sensors and needs to use the perception data of the dirt sensors as soon as possible. Therefore, the third cleaning mode is determined as the first target cleaning mode.

[0062] If the cleaning control unit receives a cleaning request instruction from the autonomous driving domain controller, it means that the autonomous driving domain controller wants to restore the sensor with degraded perception capabilities to normal perception capabilities as soon as possible. Therefore, it sets the fourth cleaning mode as the first target cleaning mode. If the cleaning control unit determines that there is a sensor in the set of sensors to be cleaned that meets the conditions for repeated cleaning, it means that the same sensor that should have been cleaned before has been added back to the cleaning queue. If the sensor still fails to meet the preset standard after multiple cleanings, it indicates that the original cleaning mode cannot effectively remove stubborn stains and the cleaning mode needs to be upgraded. Therefore, the fifth cleaning mode is determined as the first target cleaning mode. The repeated cleaning conditions include that the cumulative number of cleanings of the same sensor within the preset time window is greater than the preset number of cleanings.

[0063] This application sets five cleaning modes, allowing users to select a suitable cleaning mode from these five modes before cleaning the sensors that need cleaning, thereby avoiding untimely cleaning or waste of resources caused by a single triggering method.

[0064] S150: Clean each sensor in the sensor set to be cleaned one by one according to the first cleaning sequence and the first target cleaning mode.

[0065] After obtaining the first cleaning sequence and the first target cleaning mode, the cleaning control unit cleans each sensor in the set of sensors to be cleaned one by one according to the first cleaning sequence and the first target cleaning mode. That is, the first sensor in the first cleaning sequence is cleaned first using the first target cleaning mode. After the first sensor is cleaned, the second sensor in the first cleaning sequence is cleaned. After the second sensor is cleaned, the third sensor in the first cleaning sequence is cleaned, and so on.

[0066] Specifically, following the first cleaning sequence and using the first target cleaning mode, each sensor in the sensor set to be cleaned is cleaned one by one, including the following steps: If the number of first target cleaning modes is a single one, the first target cleaning mode is determined as the second target cleaning mode; or, if the number of first target cleaning modes is multiple, the mode priority of the multiple first target cleaning modes is obtained, and the first target cleaning mode with the highest mode priority is determined as the second target cleaning mode. Following the first cleaning sequence, the second target cleaning mode is used to clean each sensor in the sensor set to be cleaned one by one.

[0067] Considering that the number of determined first target cleaning modes may be one or multiple, if the number of first target cleaning modes is one, the first target cleaning mode is determined as the second target cleaning mode, and then each sensor in the set of sensors to be cleaned is cleaned one by one according to the first cleaning order using the second target cleaning mode.

[0068] If there are multiple first target cleaning modes, one first target cleaning mode is selected from these modes according to its mode priority, and this selected first target cleaning mode is used as the second target cleaning mode. For example, the mode priority of the first to fifth cleaning modes is as follows: mode priority of the fifth cleaning mode > mode priority of the fourth cleaning mode > mode priority of the first cleaning mode > mode priority of the third cleaning mode > mode priority of the second cleaning mode. Specifically, the first target cleaning mode with the highest mode priority among the multiple first target cleaning modes is obtained, and this mode is determined as the second target cleaning mode. Then, according to the first cleaning order, each sensor in the set of sensors to be cleaned is cleaned one by one using the second target cleaning mode. This application cleans only one sensor at a time according to the cleaning order when multiple sensors are dirty simultaneously, avoiding the perception blind spots caused by the simultaneous obstruction of multiple sensors during cleaning.

[0069] During the cleaning of each sensor in the sensor set, if a high-priority cleaning mode is triggered, the currently running low-priority cleaning mode is paused, and the high-priority cleaning mode is executed first. After the high-priority cleaning mode completes cleaning, the paused low-priority cleaning mode resumes operation until cleaning is complete.

[0070] Specifically, following the first cleaning sequence, the second target cleaning mode is used to clean each sensor in the sensor set to be cleaned one by one, including the following steps: The first sensor in the first cleaning sequence is cleaned using the second target cleaning mode; After the first sensor is cleaned, determine whether the cleaning effect of the first sensor meets the preset standard. If the cleaning effect of the first sensor meets the preset standard, the first sensor is removed from the first cleaning sequence to obtain the second cleaning sequence; The second cleaning sequence is used as the first cleaning sequence, and the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode is performed. If the cleaning effect of the first sensor does not meet the preset standard, the cleaning order of the first sensor is adjusted to after the cleaning order of the last sensor in the first cleaning order, to obtain the third cleaning order; The third cleaning sequence is used as the first cleaning sequence. The second target cleaning mode is switched to the cleaning mode with the greatest cleaning power, and the first sensor in the first cleaning sequence is cleaned using the second target cleaning mode.

[0071] The process of cleaning each sensor in the sensor set according to the first cleaning sequence and using the second target cleaning mode is as follows: First, the first sensor in the first cleaning sequence is cleaned using the second target cleaning mode. After the first sensor is cleaned, it is determined whether the cleaning effect of the first sensor meets the preset standard. The preset standard includes: no visible particles larger than 0.1 mm in diameter or water droplets in the central area of ​​the sensor's sensing optical surface; light transmittance or point cloud recovery rate > 99%; and no blurring, glare, or occlusion. The dirty area is reduced to below the dirty area threshold, with no water film or water stains remaining, and the occlusion time of the sensing range during the cleaning process is < 230 ms.

[0072] If the cleaning effect of the first sensor meets the preset standard, the first sensor is removed from the first cleaning sequence, resulting in a second cleaning sequence. The second cleaning sequence includes all sensors from the first cleaning sequence except for the first sensor. For example, the first cleaning sequence might be: sensor1, sensor2, sensor3; where sensor1 is cleaned using the second target cleaning mode and its cleaning effect meets the preset standard, then sensor1 is removed from the first cleaning sequence, resulting in a second cleaning sequence of sensor2 and sensor3. The second cleaning sequence is then used as the first cleaning sequence, and the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode continues.

[0073] If the cleaning effect of the first sensor fails to meet the preset standard, it indicates that the current second-target cleaning mode is insufficient to effectively clean all sensors in one go. Therefore, the cleaning order of the first sensor is adjusted to after the last sensor in the first cleaning sequence, resulting in a third cleaning order. For example, the first cleaning order might be: sensor1, sensor2, sensor3. If sensor1 is cleaned using the second-target cleaning mode, but the cleaning effect does not meet the preset standard, then sensor1 is adjusted to after sensor3, resulting in a third cleaning order of sensor2, sensor3, sensor1. Next, this third cleaning order is used as the first cleaning order. The second-target cleaning mode is switched to the cleaning mode with the highest cleaning intensity (e.g., the fifth cleaning mode), meaning the fifth cleaning mode is used as the second-target cleaning mode. The step of cleaning the first sensor in the first cleaning sequence using the second-target cleaning mode is then executed. This high-pressure cleaning mode cleans all sensors one by one, ensuring that all sensors meet the preset standard and avoiding resource waste and increased driving risks caused by repeated cleaning.

[0074] In one possible implementation, the sensor cleaning method further includes the following steps: When the first sensor is cleaned using the second target cleaning mode, the first cleaning sequence is updated based on the sensor installation location, driving scenario, overlap parameters, and degree of dirt to obtain the fourth cleaning sequence. If the fourth cleaning sequence is the same as the first cleaning sequence, the second target cleaning mode is used to continue cleaning the first sensor, and after the cleaning of the first sensor is completed, the step of judging whether the cleaning effect of the first sensor has reached the preset standard is executed. If the fourth cleaning sequence is different from the first cleaning sequence, stop cleaning the first sensor, take the fourth cleaning sequence as the first cleaning sequence, and perform the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode.

[0075] This application supports dynamic updating of the cleaning sequence during sensor cleaning. During the cleaning of the first sensor using the second target cleaning mode, the cleaning control unit updates the first cleaning sequence based on the sensor installation location, the latest driving scenario, overlap parameters, and degree of dirt, resulting in a fourth cleaning sequence. The fourth cleaning sequence may differ from or be the same as the first cleaning sequence. For example, if the first cleaning sequence is sensor1, sensor2, sensor3, after the update, the fourth cleaning sequence is sensor3, sensor2, sensor1. If the first cleaning sequence is sensor1, sensor2, sensor3, after the update, the fourth cleaning sequence remains sensor1, sensor2, sensor3.

[0076] Therefore, after obtaining the fourth cleaning sequence, it is determined whether the fourth cleaning sequence is the same as the first cleaning sequence. If the fourth cleaning sequence is the same as the first cleaning sequence, the second target cleaning mode is used to continue cleaning the first sensor, and the step of determining whether the cleaning effect of the first sensor has reached the preset standard is executed after the cleaning of the first sensor is completed. If the fourth cleaning sequence is different from the first cleaning sequence, the cleaning of the first sensor is stopped, the fourth cleaning sequence is taken as the first cleaning sequence, and the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode is executed, thereby prioritizing the cleaning of the first sensor in the fourth cleaning sequence, and so on, until all sensors that need to be cleaned are cleaned and reach the preset standard, thereby ensuring the safe and reliable operation of the vehicle perception and decision-making system.

[0077] In one possible implementation, after detecting the sensors on the vehicle that need cleaning and obtaining the set of sensors to be cleaned, the sensor cleaning method further includes the following steps: Obtain the vehicle's driving mode; If the driving mode is assisted driving mode, an inquiry is output asking whether to clean the sensors. After receiving the cleaning confirmation command, the step of determining the degree of dirtiness of each sensor in the set of sensors to be cleaned is executed. If the driving mode is automatic driving mode or driverless driving mode, perform the step of determining the degree of dirtiness of each sensor in the sensor set to be cleaned.

[0078] The driving modes in this application include Level 2 assisted driving mode, Level 4 autonomous driving mode, and driverless driving mode (specifically, RoboTaxi driverless operation mode). The cleaning control unit detects the sensors on the vehicle that need cleaning. After obtaining the set of sensors to be cleaned, it determines the specific driving mode. If the driving mode is assisted driving mode, it indicates that the user has not completely relinquished control of the vehicle. To respect the user's control over the vehicle, the control unit outputs a question asking whether the sensors need cleaning, requiring user confirmation. Figure 2 This illustration shows a scenario where the user is asked whether to clean the sensor, as provided in an embodiment of this application. Figure 2 As shown, 100 represents the vehicle's central control screen. The cleaning control unit instructs the output query message to be "The sensor is dirty, do you want to clean the sensor?". If the user clicks the "ignore" option, or if no click is triggered for a long time, the query to clean the dirty sensor will not be repeated. If the user clicks the "clean" option, it is assumed that the user intends to clean, and the step of determining the degree of dirtiness of each sensor in the sensor set to be cleaned is executed, thereby cleaning the dirty sensor. If the driving mode is autonomous driving mode or driverless mode, it means that the user has completely relinquished control of the vehicle, and the vehicle autonomously performs autonomous driving without user confirmation or intervention. In this case, the step of determining the degree of dirtiness of each sensor in the sensor set to be cleaned is executed directly, thereby realizing the automatic detection of sensor dirtiness by the vehicle and the cleaning of the dirty sensor, improving the system versatility and productization capability of the sensor cleaning method provided in this application.

[0079] It is worth noting that during sensor cleaning, this application uses text prompts on the vehicle interface, remote information prompts, and voice prompts to notify the user that the vehicle is performing sensor cleaning operations. The prompts include information on which sensors are being cleaned and cleaning progress (cleaning in progress, cleaning complete, cleaning complete and achieving the required results). Safety constraints are also implemented during cleaning. If the system detects that the user is using sensor data to perform a specific function (such as automatic parking), the cleaning action will only be performed after that specific function is completed. If the sensor cleaning system malfunctions, the user will be notified of the abnormality, and the user will need to manually clean the dirty sensors.

[0080] This application also reports relevant cleaning information during the cleaning process to the cloud. The reported information includes sensor identification information, target cleaning mode, cleaning time, and evaluation of cleaning effectiveness. The cloud incorporates this information into the vehicle's sensor health log for future tracking. When a sensor fails to meet the preset standard for cleaning effectiveness multiple times consecutively (e.g., three times), a sensor malfunction is reported, and the autonomous driving domain controller is notified to execute a perception degradation strategy (e.g., switching to using only the forward-facing sensors for environmental perception). Simultaneously, the cleaning control unit controls the corresponding cleaning unit to clean the sensor for a longer period. This application also monitors the remaining liquid cleaning agent in the cleaning unit and promptly reminds the user to replenish the liquid cleaning agent when the remaining amount is insufficient.

[0081] Based on the above technical solution, after detecting the sensors requiring cleaning from among multiple sensors installed in the vehicle, this application determines the cleaning order of the sensors based on the sensor installation location, the vehicle's driving scenario, the overlap between the sensing ranges of the sensors requiring cleaning and those not requiring cleaning, and the degree of dirt on the sensors requiring cleaning. Then, following the determined cleaning order, the corresponding target cleaning mode is used to clean each sensor individually, rather than cleaning all sensors simultaneously without differentiation. This ensures that sensors not in a cleaning state can continue to collect sensing data during cleaning, effectively avoiding the problem of complete interruption of sensing data caused by global sensor cleaning, and ensuring that the vehicle's control decision coefficients always obtain continuous and reliable sensing data. Specifically, by cleaning the sensors one by one according to the determined cleaning order, this application ensures that at any given time, some sensors are in a normal sensing state, maintaining the continuity of sensing data collection, thereby eliminating safety hazards caused by cleaning actions interfering with vehicle control decisions, while simultaneously balancing cleaning efficiency and driving safety. On the other hand, since the cleaning order is based on the sensor installation location, the vehicle's driving scenario, the overlap between the sensing ranges of sensors that need cleaning and those that don't, and the degree of dirtiness of the sensors that need cleaning, cleaning the sensors one by one according to the cleaning order ensures that heavily soiled sensors located in critical vehicle positions are cleaned first, which helps improve the recovery efficiency of the sensing capabilities of sensors in critical vehicle positions. Furthermore, by prioritizing the cleaning of sensors, it ensures that the vehicle maintains its core environmental sensing capabilities at any given time during cleaning, preventing the expansion of blind spots due to continuous dirtiness in sensors at critical vehicle positions.

[0082] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0083] Figure 3 This application provides a schematic diagram of the structure of a sensor cleaning device according to an embodiment of the present application. Figure 3 As shown, the sensor cleaning device 300 includes: The sensor screening module 310 is used to detect sensors on the vehicle that need to be cleaned, and obtain a set of sensors to be cleaned. The dirtiness calculation module 320 is used to determine the degree of dirtiness of each sensor in the sensor set to be cleaned; The sequence determination module 330 is used to determine the first cleaning order of each sensor in the sensor set to be cleaned based on the sensor installation location, the vehicle driving scenario, the overlap parameters and the degree of dirt. The overlap parameters include the degree of overlap between the sensing range of each sensor in the sensor set to be cleaned and the sensing range of sensors outside the sensor set to be cleaned. The pattern determination module 340 is used to determine a first target cleaning pattern for the set of sensors to be cleaned. The cleaning control module 350 is used to clean each sensor in the sensor set to be cleaned one by one according to the first cleaning sequence and the first target cleaning mode.

[0084] It should be noted that the sensor cleaning device provided in the above embodiments is only illustrated by the division of the above functional modules when performing the sensor cleaning method. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the sensor cleaning device and sensor cleaning method embodiments provided in the above embodiments belong to the same concept. Therefore, for details not disclosed in the device embodiments of this application, please refer to the above embodiments of the sensor cleaning method of this application, which will not be repeated here.

[0085] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0086] Figure 4 This application provides a schematic diagram of the structure of a vehicle according to an embodiment of the present application. Figure 4 As shown, the vehicle 400 includes a memory 401 and a processor 402, wherein the memory 401 stores executable program code 4011, and the processor 402 is used to call the executable program code 4011 to execute a sensor cleaning method.

[0087] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement a sensor cleaning method in the above embodiment.

[0088] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a sensor cleaning method described in the above embodiment.

[0089] In this embodiment, the vehicle, computer-readable storage medium, or computer program product are all used to execute the corresponding sensor cleaning method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding sensor cleaning method provided above, and will not be repeated here.

[0090] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A sensor cleaning method, characterized in that, include: The system identifies the sensors on the vehicle that need cleaning, thus obtaining a set of sensors to be cleaned. Determine the degree of dirtiness of each sensor in the set of sensors to be cleaned; Based on the sensor installation location, the vehicle's driving scenario, the overlap parameter, and the degree of dirt, the first cleaning order of each sensor in the set of sensors to be cleaned is determined. The overlap parameter includes the degree of overlap between the sensing range of each sensor in the set of sensors to be cleaned and the sensing range of sensors outside the set of sensors to be cleaned. Determine the first target cleaning mode for the set of sensors to be cleaned; According to the first cleaning sequence, each sensor in the set of sensors to be cleaned is cleaned one by one using the first target cleaning mode.

2. The sensor cleaning method according to claim 1, characterized in that, Determining the degree of dirtiness of each sensor in the set of sensors to be cleaned includes: The sensors installed on the front side of the vehicle body in the sensor set to be cleaned are designated as Class I sensors, and the sensors installed on the rear side of the vehicle body in the sensor set to be cleaned are designated as Class II sensors. The front side of the vehicle body includes the B-pillar and the body part located in front of the B-pillar, and the rear side of the vehicle body includes the body part located behind the B-pillar. The degree of dirtiness of the first type of sensor is determined based on the threshold range into which the percentage of the dirty area of ​​the first type of sensor falls. The degree of dirtiness of the second type of sensor is determined based on the threshold range into which the percentage of the dirty area of ​​the second type of sensor falls. The first type of sensor has more levels of dirtiness than the second type of sensor.

3. The sensor cleaning method according to claim 1, characterized in that, The step of determining the first cleaning order of each sensor in the set of sensors to be cleaned based on the sensor installation location, the vehicle's driving scenario, overlap parameters, and the degree of dirt includes: Based on the sensor installation location, the driving scenario, the overlap parameters, and the degree of dirt, the cleaning priority of each sensor in the set of sensors to be cleaned is determined; The cleaning priority of each sensor in the set of sensors to be cleaned is sorted from highest to lowest to obtain the first cleaning order.

4. The sensor cleaning method according to claim 3, characterized in that, The step of determining the cleaning priority of each sensor in the set of sensors to be cleaned based on the sensor installation location, the driving scenario, the overlap parameters, and the degree of dirt includes: The following parameters are obtained: the position weight factor corresponding to the sensor installation location, the driving scenario weight factor corresponding to the driving scenario, the perception range overlap factor corresponding to the overlap parameter, and the dirtiness factor corresponding to the dirtiness level. The position weight factor is used to characterize the degree of influence of the sensor installation location on the sensor on the dirtiness of the sensor. The driving scenario weight factor is used to characterize the degree of influence of the driving scenario on the dirtiness of the sensor. The perception range overlap factor is used to characterize the substitutability of the sensor that does not need to be cleaned to replace the sensor that needs to be cleaned in collecting perception data. The dirtiness factor is used to characterize the degree of obstruction of the sensor's perception optical surface. The cleaning priority of each sensor in the set of sensors to be cleaned is obtained by weighting the location weight factor, the driving scenario weight factor, the perception range overlap factor, and the degree of dirt factor.

5. The sensor cleaning method according to claim 1, characterized in that, The determination of the first target cleaning mode for the set of sensors to be cleaned includes: If a wiper operation signal is received, the first cleaning mode is determined as the first target cleaning mode. The first cleaning mode includes controlling the cleaning units corresponding to each sensor in the set of sensors to be cleaned to perform dry cleaning or wet cleaning actions one by one according to the first preset cleaning pressure, based on the cleaning frequency corresponding to the wiper operation level. If the duration of the sensor cleaning stoppage reaches the cleaning time interval, the second cleaning mode is determined as the first target cleaning mode. The second cleaning mode includes controlling the cleaning unit corresponding to each sensor in the set of sensors to be cleaned to perform dry cleaning or wet cleaning actions for a third preset duration based on the first preset cleaning pressure. If a cleaning trigger command is received, the third cleaning mode is determined as the first target cleaning mode. The third cleaning mode includes controlling the cleaning units corresponding to each sensor in the set of sensors to be cleaned to perform dry cleaning and wet cleaning actions for a third preset duration based on the first preset cleaning pressure. If a cleaning request instruction is received from the autonomous driving domain controller, the fourth cleaning mode is determined as the first target cleaning mode. The fourth cleaning mode includes, based on the first preset cleaning pressure, controlling the cleaning unit corresponding to the designated sensor in the set of sensors to be cleaned to perform dry cleaning and wet cleaning actions for a fourth preset duration; and based on the first preset cleaning pressure, controlling the cleaning unit corresponding to the non-designated sensor in the set of sensors to be cleaned to perform dry cleaning and wet cleaning actions for a third preset duration. The designated sensor includes the sensor in the set of sensors to be cleaned that has been marked by the autonomous driving domain controller as having reduced perception capabilities. The non-designated sensor includes the sensors in the set of sensors to be cleaned other than the designated sensor. The fourth preset duration is longer than the third preset duration. If there is a sensor in the set of sensors to be cleaned that meets the conditions for repeated cleaning, the fifth cleaning mode is determined as the first target cleaning mode. The fifth cleaning mode includes controlling the cleaning unit corresponding to each sensor in the set of sensors to be cleaned to perform dry cleaning and wet cleaning actions for a third preset duration based on a second preset cleaning pressure. The repeated cleaning conditions include the cumulative number of cleanings of the same sensor within a preset time window being greater than the preset number of cleanings, and the second preset cleaning pressure being greater than the first preset cleaning pressure.

6. The sensor cleaning method according to claim 1, characterized in that, The step of cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning sequence and the first target cleaning mode includes: If the number of the first target cleaning modes is a single one, the first target cleaning mode is determined as the second target cleaning mode; or, if the number of the first target cleaning modes is multiple, the mode priority of the multiple first target cleaning modes is obtained, and the first target cleaning mode with the highest mode priority is determined as the second target cleaning mode. Following the first cleaning sequence, the second target cleaning mode is used to clean each sensor in the set of sensors to be cleaned one by one.

7. The sensor cleaning method according to claim 6, characterized in that, The step of cleaning each sensor in the set of sensors to be cleaned one by one according to the first cleaning sequence and the second target cleaning mode includes: The first sensor in the first cleaning sequence is cleaned using the second target cleaning mode; After the first sensor is cleaned, it is determined whether the cleaning effect of the first sensor meets the preset standard. If the cleaning effect of the first sensor meets the preset standard, the first sensor is removed from the first cleaning sequence to obtain the second cleaning sequence; The second cleaning sequence is used as the first cleaning sequence, and the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode is performed; If the cleaning effect of the first sensor does not meet the preset standard, the cleaning order of the first sensor is adjusted to be after the cleaning order of the last sensor in the first cleaning order, to obtain the third cleaning order; The third cleaning sequence is used as the first cleaning sequence, the second target cleaning mode is switched to the cleaning mode with the greatest cleaning power, and the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode is performed.

8. The sensor cleaning method according to claim 7, characterized in that, The sensor cleaning method further includes: When the first sensor is cleaned using the second target cleaning mode, the first cleaning order is updated according to the sensor installation location, the driving scenario, the overlap parameter, and the degree of dirt, to obtain a fourth cleaning order; If the fourth cleaning sequence is the same as the first cleaning sequence, the second target cleaning mode is used to continue cleaning the first sensor, and after the cleaning of the first sensor is completed, the step of determining whether the cleaning effect of the first sensor has reached the preset standard is executed. If the fourth cleaning sequence is different from the first cleaning sequence, stop cleaning the first sensor, take the fourth cleaning sequence as the first cleaning sequence, and perform the step of cleaning the first sensor in the first cleaning sequence using the second target cleaning mode.

9. The sensor cleaning method according to any one of claims 1 to 8, characterized in that, After obtaining the set of sensors to be cleaned on the detection vehicle, the sensor cleaning method further includes: Obtain the driving mode of the vehicle; If the driving mode is assisted driving mode, an inquiry is output asking whether to clean the sensors. After receiving a cleaning confirmation command, the step of determining the degree of dirtiness of each sensor in the set of sensors to be cleaned is executed. If the driving mode is automatic driving mode or driverless driving mode, perform the step of determining the degree of dirtiness of each sensor in the set of sensors to be cleaned.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the sensor cleaning method as described in any one of claims 1 to 9.