Dirt detection device, dirt detection method, and dirt detection program

The dirt detection device improves reliability by generating edge images from multiple frames, identifying candidate dirt areas, and verifying cleaning effectiveness, addressing the unreliability of existing dirt detection methods in optical sensors.

JP7571479B2Active Publication Date: 2024-10-23DENSO CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020185919
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2024-10-23
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

Existing dirt detection methods in optical sensors for vehicles are unreliable as occlusions detected may not necessarily be caused by dirt, leading to inaccurate stain detection.

Method used

A dirt detection device and method that utilizes an optical sensor to acquire external light images, generates edge images from multiple frames, identifies candidate dirt-attached areas, determines the amount of feature variation within these areas, and instructs a cleaning process when variation is within a defined adhesion range, with post-cleaning verification to ensure reliable dirt detection.

Benefits of technology

Enhances the reliability of dirt detection by accurately identifying and cleaning adhered dirt, such as mud, dead insects, and bird droppings, on vehicle sensors, improving the accuracy and effectiveness of stain detection processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571479000001
    Figure 0007571479000001
  • Figure 0007571479000002
    Figure 0007571479000002
  • Figure 0007571479000003
    Figure 0007571479000003
Patent Text Reader

Abstract

To provide a dirt detection device and the like which can improve a reliability of dirt detection.SOLUTION: A dirt detection device 1 detects dirt adhering to an incidence surface in a vehicle that comprises: a sensing camera 4 which can acquire an external light image according to external light intensity; and a cleaning system 6 which executes cleaning processing to the incidence surface of the external light in the sensing camera 4. The dirt detection device 1 includes an edge detection unit 120 which generates an edge image formed by extracting edges from the external light images of plural frames. The dirt detection device 1 includes a region identification unit 130 which specifies a candidate region being a candidate of a region to which dirt adheres on the basis of the edge images of the plural frames. The dirt detection device 1 includes a determination unit 150 which determines whether a variation amount over the plural frames is within an adhesion range for which dirt adhesion determination is made for a luminance average value in the candidate region in the external light image.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The disclosure in this specification relates to a technique for detecting dirt adhering to an incident surface of an optical sensor for external light. [Background technology]

[0002] Patent Document 1 discloses a device for detecting dirt adhering to an in-vehicle sensor such as a camera. The device in Patent Document 1 detects occlusions that appear at the same location in multiple frames of captured images as dirt. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] U.S. Patent No. 10,518,754 Summary of the Invention [Problem to be solved by the invention]

[0004] However, even if an occlusion is detected as in the technique of Patent Document 1, the occlusion is not necessarily caused by dirt. Therefore, there is room for improvement in the reliability of dirt detection by comparing images of multiple frames.

[0005] The disclosed object is to provide a dirt detection device, a dirt detection method, and a dirt detection program that can improve the reliability of dirt detection. [Means for solving the problem]

[0006] The various aspects disclosed in this specification employ different technical means to achieve their respective objectives. The reference symbols in parentheses in the claims and in this section are merely examples showing the correspondence between specific means described in the embodiments below as one aspect, and do not limit the technical scope.

[0007] One of the disclosed dirt detection devices is a dirt detection device that detects dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to the external light intensity, and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, and an edge image generating unit (120) that generates an edge image (Ie) by extracting edges from an ambient light image of a plurality of frames; an identification unit (130) that identifies a candidate region as a candidate region for a stain based on edge images of multiple frames; a determination unit (150) that determines whether or not a variation in a feature amount within a candidate region in an ambient light image over multiple frames is within an adhesion range for determining that dirt is attached; an instruction unit (160) that instructs the cleaning system to perform a cleaning process when it is determined that the amount of variation is within the adhesion range; Equipped with 、 The determination unit determines whether a difference between the characteristic amount before the execution of the cleaning process and the characteristic amount after the execution of the cleaning process is within a remaining range for determining whether dirt remains. . One of the disclosed dirt detection devices is a dirt detection device that detects dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to the external light intensity, and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, and an edge image generating unit (120) that generates an edge image (Ie) by extracting edges from an ambient light image of a plurality of frames; an identification unit (130) that identifies a candidate region as a candidate region for a stain based on edge images of multiple frames; a determination unit (150) that determines whether or not a variation in a feature amount within a candidate region in an ambient light image over multiple frames is within an adhesion range for determining that dirt is attached; an instruction unit (160) that instructs an image processing device (7) that processes the external light image to perform a stain detection process based on the external light image when it is determined that the amount of variation is within the adhesion range; Equipped with The determination unit determines whether or not the difference between the characteristic amount before the execution of the cleaning process and the characteristic amount after the execution of the cleaning process is within a remaining range for determining that dirt remains.

[0008] One of the disclosed dirt detection methods is a dirt detection method executed by a processor (12, 82) to detect dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) according to the external light intensity and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, the dirt detection method comprising: An edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from multiple frames of ambient light images; an identification process (S35, S40; S45) for identifying candidate areas that are candidates for areas where dirt is attached based on edge images of multiple frames; a determination process (S70, S110) for determining whether or not the amount of variation over multiple frames of the feature amount within the candidate region in the ambient light image is within a range for determining whether or not dirt is present; an instruction process (S80, S120; S125) for instructing the cleaning system to perform a cleaning process when it is determined that the amount of variation is within the adhesion range; Including fruit, In the determination process, a difference between the feature amount before the execution of the cleaning process and the feature amount after the execution of the cleaning process is determined to be within a remaining range for determining whether or not dirt remains. . One of the disclosed dirt detection methods is a dirt detection method executed by a processor (12, 82) to detect dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) according to the external light intensity and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, the dirt detection method comprising: An edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from multiple frames of ambient light images; an identification process (S35, S40; S45) for identifying candidate areas that are candidates for areas where dirt is attached based on edge images of multiple frames; a determination process (S70, S110) for determining whether or not the amount of variation over multiple frames of the feature amount within the candidate region in the ambient light image is within a range for determining whether or not dirt is present; an instruction process (S85) for instructing an image processing device (7) that processes an external light image to detect dirt based on the external light image when it is determined that the amount of variation is within the adhesion range; Including, In the determination process, a difference between the feature amount before the execution of the cleaning process and the feature amount after the execution of the cleaning process is determined to be within a remaining range for determining whether or not dirt remains.

[0009] One of the disclosed dirt detection programs is a dirt detection program including instructions to be executed by a processor (12, 82) to detect dirt adhering to an incident surface in a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) according to the external light intensity and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, The command is, An edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from multiple frames of ambient light images; An identification process (S35, S40; S45) for identifying candidate areas that are candidates for areas where dirt is attached based on edge images of multiple frames; a determination process (S70, S110) for determining whether or not the amount of variation over multiple frames of the feature amount within the candidate region in the ambient light image is within a range for determining whether or not dirt is present; an instruction process (S80, S120; S125) for instructing the cleaning system to perform a cleaning process when it is determined that the amount of variation is within the adhesion range; Including fruit, In the determination process, a difference between the feature amount before the execution of the cleaning process and the feature amount after the execution of the cleaning process is determined to be within a remaining range for determining whether or not dirt remains. . One of the disclosed dirt detection programs is a dirt detection program including instructions to be executed by a processor (12, 82) to detect dirt adhering to an incident surface in a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) according to the external light intensity and a cleaning system (6) that performs a cleaning process on an external light incident surface (33) of the optical sensor, The command is, An edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from multiple frames of ambient light images; An identification process (S35, S40; S45) for identifying candidate areas that are candidates for areas where dirt is attached based on edge images of multiple frames; a determination process (S70, S110) for determining whether or not the amount of variation over multiple frames of the feature amount within the candidate region in the ambient light image is within a range for determining whether or not dirt is present; an instruction process (S85) for instructing an image processing device (7) that processes an external light image to detect dirt based on the external light image when it is determined that the amount of variation is within the adhesion range; Including, In the determination process, a determination is made as to whether or not the difference between the characteristic amount before the execution of the cleaning process and the characteristic amount after the execution of the cleaning process is within a remaining range for determining whether or not dirt remains.

[0010] According to these disclosures, a candidate area where dirt is present is first identified based on edge images of multiple frames. Then, it is determined whether the variation in feature values ​​within the candidate area in the ambient light image over multiple frames is within a range that determines whether dirt is present. The more cleaning-required the dirt, the lower the degree of ambient light transmission, and therefore the smaller the variation in the average feature value in the ambient light image. Therefore, if dirt that is relatively in need of cleaning is present in the candidate area, it can be reliably detected. As a result, a dirt detection device, a dirt detection method, and a dirt detection program that can improve the reliability of dirt detection can be provided. [Brief explanation of the drawings]

[0011] [Figure 1] 1 is a side view showing the state in which an automatic driving unit according to a first embodiment is mounted on a vehicle. FIG. [Figure 2] 1 is a cross-sectional view showing the overall configuration of an automatic driving unit according to a first embodiment. FIG. [Figure 3] FIG. 2 is a block diagram showing an example of functions of the dirt detection device. [Figure 4] 1A and 1B are diagrams illustrating an example of an external light image and an edge image generated from the external light image. [Figure 5] FIG. 10 is a diagram showing a schematic diagram of changes in an edge over a plurality of frames. [Figure 6] FIG. 10 is a diagram schematically illustrating an example of a method for specifying a candidate region. [Figure 7] 4 is a flowchart illustrating an example of a dirt detection method executed by the dirt detection device. [Figure 8] 8 is a flowchart showing a continuation of the process of FIG. 7. [Figure 9] FIG. 10 is a block diagram showing an example of functions of a dirt detection device in a second embodiment. [Figure 10] 10 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the second embodiment. [Figure 11] FIG. 11 is a block diagram showing an example of functions of a dirt detection device in a third embodiment. [Figure 12] 10 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the third embodiment. [Figure 13] 10 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the fourth embodiment. [Figure 14] FIG. 10 is a cross-sectional view showing the overall configuration of an automatic driving unit according to a fifth embodiment. [Figure 15] FIG. 13 is a block diagram showing an example of functions of a dirt detection device in a fifth embodiment. [Figure 16] 13 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the fifth embodiment. [Figure 17] FIG. 13 is a block diagram showing an example of functions of a dirt detection device in a sixth embodiment. [Figure 18] 13 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the sixth embodiment. [Figure 19] 13 is a flowchart showing an example of a dirt detection method executed by the dirt detection device in the seventh embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0012] (First embodiment) A dirt detection device 1 of a first embodiment will be described with reference to FIGS. 1 to 8. In the first embodiment, the dirt detection device 1 is an electronic control device mounted on a sensing camera 4. As shown in FIG. 1, an autonomous driving unit ADU equipped with the sensing camera 4 is mounted on a vehicle 2. The vehicle 2 is capable of steady or temporary autonomous driving in an autonomous driving mode using autonomous driving control or advanced driving assistance control. The autonomous driving unit ADU is configured to include, in addition to the dirt detection device 1, a housing 3, the sensing camera 4, a cleaning system 6, and a data processing device 7. In the following description, the terms front, rear, left, right, up, and down are defined with respect to the vehicle 2 on a horizontal plane.

[0013] 1 and 2, the housing 3 is formed into a hollow, flat box shape from, for example, metal. The housing 3 is installed on the roof 20 of the vehicle 2. A sensor window 31 is opened in a wall 30 of the housing 3. The sensor window 31 is covered by a plate-shaped translucent cover 32. The outer surface of the translucent cover 32 forms an incident surface 33 through which light enters from the outside of the vehicle 2. Note that if multiple sensors are installed in the autonomous driving unit ADU, multiple sensor windows 31 and translucent covers 32 forming the incident surface 33 will be provided.

[0014] The cleaning system 6 shown in FIGS. 1 to 3 cleans the incident surface 33 of the sensing camera 4 onto which light is incident from the sensing area AC. The cleaning system 6 may also be capable of cleaning the incident surface 33 of an optical sensor other than the sensing camera 4 mounted on the autonomous driving unit ADU. The cleaning system 6 includes a cleaning module 60 for each incident surface 33. That is, if there are multiple incident surfaces 33, multiple cleaning modules 60 are mounted on the autonomous driving unit ADU. Each cleaning module 60 may have a cleaning nozzle that sprays a cleaning gas onto the incident surface 33 as a cleaning fluid for cleaning the incident surface 33. Here, the cleaning gas may be compressed air or a gas containing a cleaning agent. Each cleaning module 60 may have a cleaning nozzle that sprays a cleaning liquid onto the incident surface 33 as a cleaning fluid for cleaning the incident surface 33. Each cleaning module 60 may be capable of spraying multiple types of cleaning fluid. Each cleaning module 60 may also have a cleaning wiper that wipes the incident surface 33 to clean it.

[0015] The data processing device 7 is connected to the electrical components 4 and 5 of the autonomous driving unit ADU via at least one of, for example, a local area network (LAN), a wire harness, or an internal bus. The data processing device 7 includes at least one dedicated computer. Note that the data processing device 7 may be installed in a location in the vehicle 2 other than the autonomous driving unit ADU.

[0016] The dedicated computer constituting the data processing device 7 may be, for example, a driving control ECU that controls the autonomous driving mode in cooperation with an ECU (Electronic Control Unit) in the vehicle 2. Alternatively, the dedicated computer constituting the data processing device 7 may be an actuator ECU that individually controls the driving actuators of the vehicle 2. The dedicated computer constituting the data processing device 7 may be a locator ECU that estimates state quantities of the vehicle 2, including its own position. The dedicated computer constituting the data processing device 7 may be a navigation ECU that navigates the driving route of the vehicle 2. The dedicated computer constituting the data processing device 7 may be an HCU (Human Machine Interface Control Unit (HMI)) that controls the presentation of information by an information presentation system of the vehicle 2.

[0017] The data processing device 7 is configured to include such a dedicated computer, and has at least one memory 71 and one processor 72. The memory 71 is at least one type of non-transitory tangible storage medium, such as a semiconductor memory, a magnetic medium, or an optical medium, that non-temporarily stores computer-readable programs, data, etc. The processor 72 includes at least one type of core, such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or a RISC (Reduced Instruction Set Computer)-CPU.

[0018] The data processing device 7 is an image processing device that acquires an ambient light image Io detected by the sensing camera 4 (described later) and performs predetermined image processing, and is an information processing device mounted on the vehicle 2. The predetermined image processing is, for example, image correction, image recognition, etc. If the data processing device 7 is a driving control ECU, the data processing device 7 recognizes the surrounding environment of the vehicle 2 based on the results of the image processing. Then, the data processing device 7 performs driving control of the vehicle 2 according to the recognition results. The data processing device 7 may use information acquired from a sensor other than the sensing camera 4 in combination with the ambient light image Io for driving control. The data processing device 7 may have higher processing performance than the dirt detection device 1 mounted on the sensing camera 4.

[0019] The sensing camera 4 is an example of an optical sensor, and is a so-called external camera that acquires optical information that can be used in the autonomous driving mode of the vehicle 2. The sensing camera 4 has an imaging element 41 and a dirt detection device 1.

[0020] The imaging element 41 is a semiconductor element such as a CMOS. An incident surface 33 dedicated to the sensing camera 4 is arranged on the external environment side (front side in this embodiment) of the imaging element 41. The imaging element 41 is exposed to light that enters the incident surface 33 from a sensing area AC of the external environment, which is determined by the angle of view of the imaging element 41. Note that multiple sensing cameras 4 may be installed in the autonomous driving unit ADU. For example, sensing cameras 4 may be installed with sensing areas AC on the sides and rear of the vehicle 2, respectively.

[0021] 2 and 3 is connected to electrical components 6 and 7 of the autonomous driving unit ADU via at least one of a LAN (Local Area Network), a wire harness, an internal bus, etc. The dirt detection device 1 is configured to include at least one dedicated computer.

[0022] The dirt detection device 1 is configured to include such a dedicated computer, and thus has at least one memory 11 and one processor 12. The memory 11 is at least one type of non-transient tangible storage medium, such as a semiconductor memory, a magnetic medium, or an optical medium, that non-temporarily stores computer-readable programs, data, etc. The processor 12 includes at least one type of core, such as a CPU, a GPU, or a RISC-CPU.

[0023] The processor 12 executes a plurality of instructions included in the dirt detection program stored in the memory 11. As a result, the dirt detection device 1 constructs a plurality of functional units (i.e., functional blocks) for controlling the cleaning system 6. In this way, in the dirt detection device 1, the dirt detection program stored in the memory 11 causes the processor 12 to execute a plurality of instructions to control the cleaning system 6, thereby constructing a plurality of functional units. The plurality of functional units constructed by the dirt detection device 1 include an image generation unit 110, an edge detection unit 120, an area identification unit 130, an average value calculation unit 140, a determination unit 150, and an instruction unit 160, as shown in FIG. 3 .

[0024] The image generation unit 110 controls the exposure and scanning of multiple pixels in the image sensor 41 and processes signals from the image sensor 41 to generate digital data. In an exposure mode in which the image generation unit 110 exposes the image sensor 41, object points within the sensing area AC become reflection points of external light. As a result, external light reflected from the reflection points enters the image sensor 41 through the incident surface 33. The image generation unit 110 senses the reflected external light by scanning multiple pixels of the image sensor 41. In particular, the image generation unit 110 converts the luminance values ​​acquired for each pixel according to the intensity of the sensed external light into two-dimensional data as pixel values, thereby acquiring an external light image Io according to the external light intensity. If dirt is attached to the incident surface 33, a dirt image C corresponding to the dirt will appear in the external light image Io, as shown in FIG. 4. Therefore, in the area where the dirt image C appears, external light is essentially blocked or attenuated compared to the surrounding area. Here, dirt refers to, for example, mud, dead insects, bird droppings, etc. The ambient light image Io may include color information in addition to the luminance value.

[0025] The edge detection unit 120 receives an external light image Io from the sensing camera 4 for each control cycle. The edge detection unit 120 applies at least one type of edge filter processing to the external light image Io to detect edges from the image Ic. In other words, as shown in FIG. 4, the edge detection unit 120 generates an edge image Ie containing edge information from the external light image Io, which contains brightness values. The edge detection unit 120 generates an edge image Ie from the external light image Io for each frame and stores it sequentially in the memory 11 as an edge history. The edge detection unit 120 is an example of an "edge image generation unit."

[0026] As shown in FIG. 4, the edge image Ie generated from the external light image Io containing the dirt image C includes a region corresponding to the dirt image C where the edge is not substantially extracted due to substantial blocking or attenuation of the external light. Because the dirt image C does not substantially move relative to the incident surface 33, the position of the region containing the dirt image C does not substantially change across multiple frames, as shown in FIG. 5. The multi-frame image Iem shown in FIG. 5 is an image in which 10 frames of edge images Ie are superimposed. Note that if the focal length of the sensing camera 4 is relatively long, the edge of the dirt image C will not be extracted. Alternatively, if the focal length of the sensing camera 4 is relatively short, the edge of the dirt image C may be extracted. In this case, a region where the edge is not extracted will exist inside the edge.

[0027] The region identification unit 130 identifies candidate regions BLc, which are candidates for regions where dirt is present, based on changes in the edge image Ie across multiple frames while the vehicle 2 is traveling. For example, the region identification unit 130 identifies, as candidate regions BLc, regions where it has determined that no edges have been extracted across a specified number of frames while the vehicle 2 is traveling. More specifically, the region identification unit 130 divides one edge image Ie into multiple blocks BL (see FIG. 6). The region identification unit 130 determines whether an edge has been detected for each block BL, and extracts, as candidate regions BLc, blocks BL where it has determined that no edges have been detected across multiple frames. Note that while FIG. 6 shows 12 blocks BL that divide the edge image Ie, blocks BL that divide the edge image Ie more finely may be set. The region identification unit 130 is an example of an "identification unit."

[0028] The average value calculation unit 140 calculates the average value (average brightness value) for each frame of the brightness values ​​within the candidate region BLc in the ambient light image Io corresponding to the edge image Ie. For example, for the ambient light image Io that is the source of the edge image Ie for which the candidate region BLc has been identified, the average value calculation unit 140 accumulates the brightness values ​​of the pixels within the candidate region BLc for each row to obtain the average value for each row (row average value). Then, the average value calculation unit 140 accumulates the row average values ​​to calculate the average brightness value for the entire candidate region BLc. The average value calculation unit 140 performs the above process over a specified number of frames and stores the average brightness value for each frame in the memory 11. The average brightness value is an example of a "feature amount."

[0029] Furthermore, when the cleaning process by the cleaning system 6 is completed, the average value calculation unit 140 acquires the post-cleaning ambient light image Io generated by the image generation unit 110 and calculates the average luminance value of the post-cleaning candidate area BLc. In this case, the average value calculation unit 140 may calculate the average luminance value of the ambient light image Io of a specific frame from among the multiple frames generated after cleaning. Alternatively, the average value calculation unit 140 may calculate the average luminance value for each ambient light image Io of a predetermined number of frames that is less than the specified number, and calculate their average value (inter-frame average value).

[0030] The determination unit 150 determines whether the amount of variation in the average brightness over multiple frames is within a range for determining whether dirt is present. The range is defined as a numerical range that is equal to or less than a threshold value for the amount of variation. If the amount of variation is within the range, it is highly likely that dirt that essentially blocks or attenuates external light is present in the portion of the incident surface 33 corresponding to the candidate area BLc, making it difficult to detect changes in external light. On the other hand, if the amount of variation is outside the range, it is highly likely that there is a deposit that does not require cleaning and that is sufficient to detect changes in external light, or that there is a moving object traveling parallel to the vehicle 2 with little change in its relative position. The determination unit 150 provides the determination result to the instruction unit 160. If a determination of dirt is made, it means that the instruction unit 160 will execute processing to address the dirt.

[0031] Additionally, the determination unit 150 determines whether the difference between the average brightness value before cleaning and the average brightness value after cleaning is within a residual range for determining whether dirt remains. The residual range is defined as a numerical range that is equal to or less than a threshold value for the difference in average brightness values. In this case, the determination unit 150 may perform the determination based on the difference between the average brightness value of the ambient light image Io of a specific frame before cleaning and the average brightness value of the ambient light image Io of a specific frame after cleaning. Alternatively, the determination unit 150 may perform the determination based on the difference between the inter-frame average values ​​before and after cleaning. If the difference is within the residual range, it is highly likely that dirt was not removed by the cleaning process and remains. In particular, dead insects and bird droppings are more likely to remain than mud. The determination unit 150 provides the determination result to the instruction unit 160. A determination that dirt remains means that the instruction unit 160 executes processing to address the remaining dirt.

[0032] When the amount of variation is determined to be within the adhesion range, the instructing unit 160 instructs the cleaning system 6 in the vehicle 2 in autonomous driving mode to perform cleaning control. That is, when the amount of variation in the candidate area BLc is equal to or less than the threshold, the instructing unit 160 determines that dirt to be cleaned is attached to the candidate area BLc. In response to the instruction, the cleaning system 6 performs a cleaning process on the incident surface 33 by controlling and driving the cleaning module 60 corresponding to the incident surface 33 of the sensing camera 4 as shown in FIG. 2. Note that, hereinafter, this cleaning process may be referred to as a normal cleaning process.

[0033] Additionally, when it is determined that the difference between the average brightness values ​​before and after cleaning is within the residual range, the instruction unit 160 instructs the cleaning system 6 in the vehicle 2 in autonomous driving mode to perform a cleaning process with a modified cleaning method. For example, the instruction unit 160 instructs a cleaning process (special cleaning process) in which the cleaning method is modified to enhance cleaning capability compared to the normal cleaning process. The instruction unit 160 may instruct a change in cleaning means as the special cleaning process. Here, the cleaning means includes spraying cleaning gas, spraying cleaning liquid, wiping with a wiper, etc. Alternatively, the instruction unit 160 may instruct an increase in the spray pressure of the cleaning fluid as the special cleaning process. Alternatively, the instruction unit 160 may instruct an increase in the spray amount of the cleaning fluid as the special cleaning process. Alternatively, the instruction unit 160 may instruct a change in the type of cleaning fluid as the special cleaning process.

[0034] The flow of the stain detection method in which the stain detection device 1 controls the cleaning system 6 through cooperation of these functional units 110 to 160 will be described below with reference to Figures 7 and 8. Note that each "S" in this flow represents a plurality of steps executed by a plurality of commands included in the stain detection program.

[0035] 7, the image generation unit 110 generates an ambient light image Io by converting the luminance values ​​acquired for each pixel according to the intensity of ambient light sensed by the exposure of the image sensor 41 into two-dimensional data as pixel values. Next, in S20, the edge detection unit 120 detects edges from the ambient light image Io and generates an edge image Ie. Subsequently, in S30, the edge detection unit 120 stores the edge image Ie generated in S20 in the memory 11.

[0036] Furthermore, in S40, the region identification unit 130 determines whether the number of frames of the stored edge image Ie has reached a specified number. If it determines that the specified number has not been reached, the process returns to S10. On the other hand, if it determines that the specified number has been reached, the process proceeds to S40. In S40, the region identification unit 130 determines whether a candidate region BLc exists based on the specified number of frames of the edge image Ie. Specifically, the region identification unit 130 determines whether a candidate region BLc exists in which it is determined that no edge is detected in the edge image Ie over the specified number of frames. If it determines that a candidate region BLc does not exist, the process returns to S10.

[0037] On the other hand, if it is determined that the candidate region BLc exists, the flow proceeds to S50. In S50, the average value calculation unit 140 calculates the average value (average brightness value) for each frame of the brightness values ​​within the candidate region BLc in the ambient light image Io corresponding to the edge image Ie. Next, in S60, the average value calculation unit 140 stores the calculated average brightness value for each frame in the memory 11.

[0038] In the next step S70, the determination unit 150 calculates the amount of variation in the average brightness value for a specified number of frames and determines whether the amount of variation is within the adhesion range. If it is determined that the amount of variation is outside the adhesion range, it is determined that cleaning is not necessary, and the flow returns to S10.

[0039] On the other hand, if it is determined that the amount of variation is within the adhesion range, it is determined that cleaning is necessary, and the process proceeds to S80. In S80, the instruction unit 160 generates a cleaning instruction and transmits it to the cleaning system 6.

[0040] 8, in S90, the average value calculation unit 140 determines whether or not the cleaning process by the cleaning system 6 has finished. If it is determined that the cleaning process has finished, in S100, the average value calculation unit 140 calculates the average brightness value in the candidate region BLc after cleaning.

[0041] In the next step S110, the determination unit 150 determines whether the difference between the average brightness value before cleaning and the average brightness value after cleaning is within the remaining range. If it is determined that the difference is outside the remaining range, it is determined that the removal of dirt by cleaning has been completed, and this flow ends. On the other hand, if it is determined that the difference is within the remaining range, this flow proceeds to S120. In S120, the instruction unit 160 transmits a cleaning instruction with a changed cleaning method. Once the cleaning instruction is transmitted, this flow ends.

[0042] The above-mentioned S20 and S30 are examples of an "edge image generation process", S35 and S40 are examples of an "identification process", S70 and S110 are examples of a "determination process", and S80 and S120 are examples of an "instruction process".

[0043] According to the first embodiment described above, first, a candidate region BLc with dirt attached is identified based on edge images Ie of multiple frames. Then, for the average brightness value within the candidate region BLc in the ambient light image Io, it is determined whether the amount of variation across multiple frames is within the range for determining whether dirt is attached. The more necessary the dirt is to be cleaned, the lower the degree of transmittance of ambient light, and therefore the amount of variation in the average brightness value in the ambient light image Io is also smaller. Therefore, if dirt that is relatively necessary to be cleaned is attached to the candidate region BLc, this can be reliably detected. Specifically, dirt such as mud, insect carcasses, and feces can be reliably detected. This can improve the reliability of dirt detection.

[0044] Furthermore, according to the first embodiment, when it is determined that the amount of fluctuation in the average brightness value is within the adhesion range, an instruction to execute a cleaning process is given to the cleaning system 6. Therefore, when it is determined that dirt is attached to the incident surface 33, the cleaning process by the cleaning system 6 can be reliably executed on the incident surface. Therefore, it is possible to appropriately deal with the attached dirt.

[0045] Additionally, according to the first embodiment, an area where it is determined that no edge is extracted across multiple frames while the vehicle 2 is traveling is identified as a candidate area BLc. Because the sensing camera 4 is likely to lose focus on dirt adhering to the incident surface 33, the dirt may be captured as a blurred image where no edge is extracted. Therefore, by identifying an area where it is determined that no edge is extracted as a candidate area BLc, the area where the dirt is adhering can be reliably included in the candidate area BLc. This can improve the reliability of dirt detection at the edge detection stage.

[0046] Furthermore, according to the first embodiment, the difference between the average brightness value before the cleaning process and the average brightness value after the cleaning process is determined to be within a remaining range for determining whether or not dirt remains. Therefore, if the difference is within the remaining range, it can be reliably detected that dirt remains without being removed by the cleaning process. Therefore, it can be possible to deal with dirt that is difficult to remove by the cleaning process.

[0047] Furthermore, according to the first embodiment, if it is determined that the difference in the average brightness values ​​before and after the execution of the cleaning process is within the residual range, the cleaning system 6 is instructed to execute the cleaning process using a different cleaning method. This makes it possible to try cleaning stains that are difficult to remove by the cleaning process using a different cleaning method. This can improve the possibility of removing stains that are relatively difficult to remove.

[0048] (Second embodiment) In the second embodiment, a modified example of the dirt detection device 1 in the first embodiment will be described. In Figures 9 and 10, components denoted by the same reference numerals as those in the first embodiment are similar components and have similar functions and effects.

[0049] When it is determined that the difference in the average brightness values ​​before and after cleaning is within the remaining range, the instruction unit 160 in the second embodiment instructs the data processing device 7 to perform processing to deal with the stain (S125). This processing is different from the cleaning processing for the stain. For example, the instruction unit 160 may transmit an instruction to exclude a candidate area BLc in the ambient light image Io from the target of image processing. Alternatively, the instruction unit 160 may transmit an instruction to suspend use of the data itself from the sensing camera 4 in which it is determined that a candidate area BLc is present. Alternatively, the instruction unit 160 may transmit an instruction to stop the vehicle 2 in autonomous driving mode.

[0050] According to the second embodiment described above, when it is determined that the difference in the average brightness values ​​before and after the execution of the cleaning process is within the residual range, a countermeasure different from the cleaning process performed by the cleaning system 6 can be instructed to the data processing device 7. Therefore, when dirt that is difficult to remove by the cleaning process is present, the data processing device 7 can perform information processing that takes into account the presence of the dirt. Therefore, it may be possible to take appropriate measures against dirt that is relatively difficult to remove.

[0051] (Third embodiment) In the third embodiment, a modified example of the dirt detection device 1 in the first embodiment will be described. In Figures 11 and 12, components denoted by the same reference numerals as those in the first embodiment are similar components and have similar functions and effects.

[0052] When it is determined that the amount of fluctuation in the average brightness value is within the adhesion range, the instructing unit 160 in the third embodiment instructs the data processing device 7 to perform a stain detection process (detailed detection process) based on the external light image Io (S85).

[0053] In the detailed detection process, the data processing device 7 performs image recognition on the ambient light image Io including the candidate area BLc to determine whether or not dirt is actually attached to the candidate area BLc. The data processing device 7 may also use image recognition to determine the type of dirt attached to the candidate area BLc. If it determines that dirt is attached, the data processing device 7 instructs the cleaning system 6 to perform a cleaning process. Alternatively, the data processing device 7 may send information indicating that cleaning is necessary to the instruction unit 160 of the dirt detection device 1. In this case, the instruction unit 160 sends a cleaning instruction to the cleaning system 6.

[0054] According to the third embodiment described above, when it is determined that the amount of fluctuation in the average brightness value is within the adhesion range, the data processing device 7, which processes the ambient light image Io, is instructed to detect dirt based on the ambient light image Io. Therefore, in response to the instruction from the dirt detection device 1, the data processing device 7 can perform more detailed dirt detection processing. This makes it possible to avoid the data processing device 7 from constantly performing the dirt detection processing. Therefore, the processing load on the data processing device 7 can be reduced.

[0055] (Fourth embodiment) In the fourth embodiment, a modified example of the dirt detection device 1 in the first embodiment will be described. In Fig. 13, components denoted by the same reference numerals as those in the first embodiment are similar components and have similar functions and effects.

[0056] The region identification unit 130 in the fourth embodiment identifies, as candidate region BLc, a region surrounded by edges whose positions are determined to be fixed across multiple frames while the vehicle 2 is traveling (S45). For example, as in the first embodiment, the region identification unit 130 may divide the edge image Ie into multiple blocks BL, and determine the blocks BL surrounded by edges whose positions are determined to be fixed as candidate regions BLc.

[0057] According to the fourth embodiment described above, an area surrounded by edges whose positions are determined to be fixed across multiple frames while the vehicle 2 is traveling is identified as a candidate area BLc. Because dirt adhering to the incident surface 33 does not substantially move relative to the traveling vehicle 2, the dirt can be captured as an image in which the edge position is fixed. Therefore, by identifying an area whose edge position is determined to be fixed as a candidate area BLc, the area to which the dirt is adhering can be reliably included in the candidate area BLc. This can improve the reliability of dirt detection at the edge detection stage.

[0058] (Fifth embodiment) In the fifth embodiment, a modified example of the dirt detection device 1 in the first embodiment will be described. In Figures 14 to 16, components denoted by the same reference numerals as those in the drawings of the first embodiment are similar components and have similar functions and effects.

[0059] In the fifth embodiment, the autonomous driving unit ADU is equipped with a LiDAR (Light Detection and Ranging / Laser Imaging Detection and Ranging) 5 as an optical sensor. Like the sensing camera 4, the LiDAR 5 acquires optical information that can be used in the autonomous driving mode of the vehicle 2. The LiDAR 5 has a light emitting element 50, an image sensor 51, and a dirt detection device 8.

[0060] The light-emitting element 50 is a semiconductor element that emits directional laser light, such as a laser diode. The light-emitting element 50 emits laser light in the form of an intermittent pulse beam toward the outside of the vehicle 2. The imaging element 51 is a semiconductor element that is highly sensitive to light, such as a SPAD (Single Photon Avalanche Diode). An incident surface 33 dedicated to the LiDAR 5 is disposed on the outside side (the front side in this embodiment) of the imaging element 51. For the sake of distinction, the incident surface 33 dedicated to the sensing camera 4 will be referred to as incident surface 33C, and the incident surface 33 dedicated to the LiDAR 5 will be referred to as incident surface 33L below. The imaging element 51 is exposed to light that enters the incident surface 33L from a sensing area AL of the outside world, which is determined by the angle of view of the imaging element 51.

[0061] In the fifth embodiment, the dirt detection device 8 is an electronic control device mounted on the LiDAR 5. As in the first embodiment, the dirt detection device 8 is configured to include at least one dedicated computer, and has at least one memory 81 and one processor 82. In the dirt detection device 8, a dirt detection program stored in the memory 81 causes the processor 82 to execute multiple instructions to control the cleaning system 6, thereby configuring multiple functional units. As shown in FIG. 15 , the multiple functional units configured by the dirt detection device 1 include an image generation unit 115, an edge detection unit 120, an area identification unit 130, an average value calculation unit 140, a determination unit 150, and an instruction unit 160. Note that the description of the first embodiment is used for functional units with the same reference numerals as those in the first embodiment.

[0062] The image generation unit 115 controls the exposure and scanning of multiple pixels in the image sensor 51, and processes signals from the image sensor 51 to generate data. In a reflected light mode in which the image generation unit 115 exposes the image sensor 51 to light emitted from the light emitting element 50, an object point within the sensing area AL becomes a reflection point of the laser light. As a result, the laser light reflected at the reflection point (hereinafter referred to as reflected light) enters the image sensor 51 through the incident surface 33L. At this time, the image generation unit 115 senses the reflected light by scanning multiple pixels of the image sensor 51. In this way, the image generation unit 115 acquires point cloud data of the reflecting object (target object).

[0063] On the other hand, in an ambient light mode in which the image generation unit 115 exposes the image sensor 51 while the intermittent light irradiation from the light emitting element 50 is stopped, an object point within the sensing area AL becomes a reflection point of the ambient light. As a result, the ambient light reflected at the reflection point is incident on the image sensor 51 through the incident surface 33L. At this time, the image generation unit 115 senses the reflected ambient light by scanning multiple pixels of the image sensor 51. In particular, the image generation unit 115 converts the luminance values ​​acquired for each of the multiple pixels according to the intensity of the sensed ambient light into two-dimensional data as pixel values, thereby acquiring the ambient light image Io, similar to the image generation unit 110 in the sensing camera 4.

[0064] Furthermore, when the determination unit 150 determines that the amount of variation in the average brightness value in the candidate area BLc is within the adhesion range, the image generation unit 115 sets a lower reliability for the point group corresponding to the candidate area BLc (corresponding point group) than for other point groups. For example, the image generation unit 115 tags each point of the point group data or each point group divided by a predetermined process with a reliability, and tags the corresponding point group with a lower reliability than for other point groups.

[0065] The image generation unit 115 sequentially transmits the point cloud data for which the reliability has been set as described above to the data processing device 7. The data processing device 7 discards point clouds with low reliability, i.e., corresponding point clouds, from the point cloud data. The data processing device 7 complements the discarded parts based on point cloud information around the corresponding point clouds or detection data from other sensors with overlapping sensing areas.

[0066] The flow of the stain detection method in which the stain detection device 8 controls the cleaning system 6 through cooperation of these functional units 115 to 160 will be described with reference to FIG.

[0067] The processes from S10 to S70 are the same as those in FIG. 7 of the first embodiment. If it is determined in S70 that the amount of variation in the average brightness value is within the adhesion range, the flow proceeds to S75. In S75, the image generation unit 115 sets the reliability of the corresponding point group corresponding to the candidate region BLc lower than that of the other point groups. The subsequent process of S80 is the same as that in FIG. 7, and the process following S80 is the same as that in FIG. 8.

[0068] The image generating unit 115 is an example of a "setting unit," and S75 is an example of a "setting process."

[0069] (Sixth embodiment) In the sixth embodiment, a modification of the dirt detection device 1 in the first embodiment will be described. In Fig. 17 and Fig. 18, components denoted by the same reference numerals as those in the drawings of the first embodiment are similar components and have similar effects. In the sixth embodiment, the dirt detection device 1 uses point cloud data detected by the LiDAR 5 to determine whether dirt is attached in the candidate area BLc.

[0070] For example, in the sixth embodiment, the region identification unit 130 in the dirt detection device 1 of the sensing camera 4 acquires point cloud data detected by the LiDAR 5 substantially simultaneously with the corresponding edge image Ie. Note that the sensing regions AC and AL of the sensing camera 4 and the LiDAR 5 at this time at least partially overlap. The region identification unit 130 determines whether a point cloud of a reflecting object corresponding to the candidate region BLc has been detected (S41).

[0071] If the region identifying unit 130 determines that a point cloud of a corresponding reflecting object has not been detected, it rejects the candidate region BLc. That is, in this case, the region identifying unit 130 determines that no dirt is attached to the candidate region BLc. On the other hand, if the region identifying unit 130 determines that a point cloud of a reflecting object is present, the average value calculation unit 140 calculates an average value (S50). Note that the determination process of S41 may be performed after S70. According to the above embodiment, the dirt image C attached to the incident surface 33 and the sky region corresponding to the sky can be distinguished.

[0072] (Seventh embodiment) In the seventh embodiment, a modification of the dirt detection device 1 in the sixth embodiment will be described. In Fig. 19, components denoted by the same reference numerals as those in the first embodiment are similar components and have similar effects. In the seventh embodiment, the dirt detection device 1 uses the result of identifying the candidate region BLc based on the edge image Ie obtained by another optical sensor such as a LiDAR 5 to determine whether dirt is attached to the candidate region BLc.

[0073] For example, in the seventh embodiment, the area identification unit 130 in the dirt detection device 1 of the sensing camera 4 acquires the identification result of the candidate area BLc by the dirt detection device 8 of the LiDAR 5. The area identification unit 130 determines whether or not the candidate area BLc has also been identified by the LiDAR 5 at a position corresponding to the candidate area BLc identified by the area identification unit 130 (S42).

[0074] If it is determined that the candidate area BLc has been identified, the area identification unit 130 rejects the candidate area BLc. That is, in this case, the area identification unit 130 determines that no dirt is attached to the candidate area BLc. On the other hand, if the area identification unit 130 determines that the candidate area BLc has not been identified by the LiDAR 5, calculation of an average value is performed by the average value calculation unit 140 (S50). Note that the determination process of S42 may be performed after S70.

[0075] According to the above-described embodiment, the accuracy of the dirt adhesion determination in the candidate area BLc is improved. Note that in the seventh embodiment, the dirt detection device 1 of the sensing camera 4 is configured to perform the adhesion determination based on the identification result by the LiDAR 5. Alternatively, the dirt detection device 1 of the sensing camera 4 may be configured to perform the adhesion determination based on the identification result by another sensing camera 4. Alternatively, the dirt detection device 8 of the LiDAR 5 may be configured to perform the adhesion determination based on the identification result by the sensing camera 4 or another LiDAR 5. As long as at least a portion of the sensing areas overlap, the above-described determination process can be performed using any combination of optical sensors.

[0076] (Other embodiments) The disclosure in this specification is not limited to the exemplified embodiments. The disclosure encompasses the exemplified embodiments and modifications thereto by those skilled in the art. For example, the disclosure is not limited to the combinations of parts and / or elements shown in the embodiments. The disclosure can be implemented in various combinations. The disclosure can have additional parts that can be added to the embodiments. The disclosure encompasses the omission of parts and / or elements from the embodiments. The disclosure encompasses the substitution or combination of parts and / or elements between one embodiment and another embodiment. The disclosed technical scope is not limited to the description of the embodiments. Some disclosed technical scopes are defined by the claims, and should be interpreted as including all modifications within the meaning and scope equivalent to the claims.

[0077] In the above-described embodiments, the dedicated computers constituting the contamination detection devices 1, 8 are electronic control devices that control the corresponding optical sensors. Alternatively, the dedicated computers constituting the contamination detection devices 1, 8 may be a driving control ECU or an actuator ECU. Alternatively, the dedicated computers constituting the contamination detection devices 1, 8 may be a locator ECU or a navigation ECU. Alternatively, the dedicated computers constituting the contamination detection devices 1, 8 may be an HCU. Note that the contamination detection devices 1, 8 may be mounted in a location other than the autonomous driving unit ADU in the vehicle 2.

[0078] As a modification of the above-described embodiment, the dirt detection device 1, 8 may further have a function for identifying a sky region corresponding to the sky. For example, the average calculation unit 140 may determine a sky region from the candidate region BLc based on the current time of day and an average brightness value. Alternatively, the average calculation unit 140 may identify a sky region from the candidate region BLc based on the current weather and an average brightness value. Alternatively, the image generation unit 110, 115 may identify a sky region from the ambient light image Io based on map information including three-dimensional position information of surrounding buildings. Alternatively, the dirt detection device 1, 8 may acquire information about the sky region identified by the data processing device 7.

[0079] As a modification of the above-described embodiment, the dirt detection device 1, 8 may further have a function of detecting dirt based on map information. For example, the dirt detection device 1, 8 may determine, based on the map information, an area where an object estimated to be reflected in the ambient light image Io is not detected or is partially missing, as an area where dirt is estimated to be present. This function may be combined with the area identification unit 130 identifying a candidate area BLc based on the edge image Ie, or with the determination unit 150 determining whether dirt is present based on the amount of variation.

[0080] As a modification of the above-described embodiment, the dirt detection device 1, 8 may be configured to execute the dirt detection process when it is determined that the vehicle 2 is traveling around a curve. For example, the image generation unit 110, 115 may determine whether the vehicle 2 is traveling around a curve, and when it is determined that the vehicle 2 is traveling around a curve, generate the ambient light image Io to be provided to the edge detection unit 120. The dirt detection device 1, 8 may determine whether the vehicle 2 is traveling around a curve based on the yaw rate, steering angle, steering torque, and the like of the vehicle 2. Alternatively, the dirt detection device 1, 8 may determine whether the vehicle 2 is traveling around a curve based on the current position of the vehicle 2 and map information. Alternatively, the dirt detection device 1, 8 may be configured to determine whether the vehicle 2 is traveling around a curve when it receives information indicating that the vehicle 2 is traveling around a curve from another on-board ECU or the like.

[0081] In the above-described embodiment, the light-transmitting cover 32 forming the incident surface 33 is provided on the housing 3. Alternatively, the incident surface 33 may be provided on the corresponding optical sensor. For example, the incident surface 33 may be formed by an optical member such as a lens in the corresponding optical sensor.

[0082] The contamination detection device 1, 8 may be a dedicated computer configured to include at least one of a digital circuit and an analog circuit as the processor 12, 82. Here, the digital circuit is, for example, at least one of an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a system on a chip (SOC), a programmable gate array (PGA), and a complex programmable logic device (CPLD). Such a digital circuit may also include a memory that stores a program.

[0083] The contamination detection device 1 may be provided by a single computer or a set of computer resources linked by a data communication device. For example, some of the functions provided by the contamination detection device 1 in the above-described embodiment may be realized by another ECU. [Explanation of symbols]

[0084] 1,8 Dirt detection device, 2 Vehicle, 4 Sensing camera (optical sensor), 5 LiDAR (optical sensor), 6 Cleaning system, 7 Data processing device (image processing device, information processing device), 12,82 Processor, 33 Incident surface, 115 Image generation unit (setting unit), 120 Edge detection unit (edge ​​image generation unit), 130 Area identification unit (identification unit), 150 Judgment unit, 160 Instruction unit, Io External light image, Ie Edge image.

Claims

1. A dirt detection device for detecting dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity, and a cleaning system (6) for performing a cleaning process on an external light incident surface (33) of the optical sensor, an edge image generating unit (120) that generates an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; a determining unit (130) for determining a candidate region to be a candidate for the region having dirt on the basis of the edge images of a plurality of frames; a determination unit (150) that determines whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within an adhesion range for determining that a stain is adhered; an instruction unit (160) that instructs the cleaning system to perform the cleaning process when it is determined that the amount of change is within the adhesion range; Equipped with The determination unit is a dirt detection device that determines whether a difference between the characteristic amount before the cleaning process is performed and the characteristic amount after the cleaning process is performed is within a remaining range for determining that the dirt remains.

2. A dirt detection device for detecting dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity, and a cleaning system (6) for performing a cleaning process on the external light incident surface (33) of the optical sensor, an edge image generating unit (120) that generates an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; a determining unit (130) for determining a candidate region to be a candidate for the region having dirt on the basis of the edge images of a plurality of frames; a determination unit (150) that determines whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within an adhesion range for determining that a stain is adhered; an instruction unit (160) that instructs an image processing device (7) that processes the external light image to perform a process of detecting the dirt based on the external light image when it is determined that the amount of variation is within the adhesion range; Equipped with The determination unit is a dirt detection device that determines whether a difference between the characteristic amount before the cleaning process is performed and the characteristic amount after the cleaning process is performed is within a remaining range for determining that the dirt remains.

3. The stain detection device according to claim 1 or 2, wherein the instruction unit instructs the cleaning system to execute the cleaning process with a changed cleaning method when it determines that the difference is within the remaining range.

4. The dirt detection device according to claim 1 , wherein the instruction unit instructs an information processing device (7) to perform a corresponding process different from the cleaning process by the cleaning system when the difference is determined to be within the residual range.

5. The dirt detection device according to claim 1 , wherein the identifying unit identifies, as the candidate region, a region from which it is determined that the edge is not extracted across a plurality of frames while the vehicle is traveling.

6. The dirt detection device according to claim 1 , wherein the identification unit is configured to identify, as the candidate area, an area surrounded by the edge whose position is determined to be fixed across a plurality of frames while the vehicle is traveling.

7. The optical sensor is capable of detecting a point group of an object that reflects reflected light in response to light irradiation, The dirt detection device according to any one of claims 1 to 6, further comprising a setting unit (115) that sets a reliability of a corresponding point group among the point groups that corresponds to the candidate area to a lower level than that of the other point groups when the amount of variation is determined to be within the adhesion range.

8. A dirt detection method executed by a processor (12, 82) to detect dirt adhering to an incident surface of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity, and a cleaning system (6) that performs a cleaning process on the external light incident surface (33) of the optical sensor, comprising: an edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; A process of identifying a candidate region that is a candidate for the stained region based on the edge images of a plurality of frames (S35, S40; S45); a determination process (S70, S110) for determining whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within an adhesion range for determining that a stain is adhered; an instruction process (S80, S120; S125) of instructing the cleaning system to perform the cleaning process when it is determined that the amount of change is within the adhesion range; Including, The dirt detection method includes a step of determining whether the difference between the characteristic amount before the cleaning process and the characteristic amount after the cleaning process is performed is within a remaining range for determining whether the dirt remains, in the judgment process.

9. A dirt detection method executed by a processor (12, 82) to detect dirt adhering to an incident surface (33) of an external light sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity in a vehicle (2) equipped with a cleaning system (6) that performs a cleaning process on the incident surface (33) of the external light sensor, comprising: an edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; A process of identifying a candidate region that is a candidate for the stained region based on the edge images of a plurality of frames (S35, S40; S45); a determination process (S70, S110) for determining whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within an adhesion range for determining that a stain is adhered; an instruction process (S85) for instructing an image processing device (7) that processes the external light image to detect the stain based on the external light image when it is determined that the amount of variation is within the adhesion range; Including, The dirt detection method includes a step of determining whether the difference between the characteristic amount before the cleaning process and the characteristic amount after the cleaning process is performed is within a remaining range for determining whether the dirt remains, in the judgment process.

10. The stain detection method according to claim 8 or 9, wherein, in the instruction process, when it is determined that the difference is within the residual range, an instruction is given to the cleaning system to execute the cleaning process with a changed cleaning method.

11. The dirt detection method according to any one of claims 8 to 10, wherein, in the instruction process, when it is determined that the difference is within the residual range, an information processing device (7) is instructed to perform a corresponding process different from the cleaning process by the cleaning system.

12. The stain detection method according to claim 8 , wherein the identification process identifies, as the candidate region, a region from which it is determined that the edge is not extracted across a plurality of frames while the vehicle is traveling.

13. The stain detection method according to claim 8 , wherein the identifying process identifies, as the candidate region, a region in which the edge position is determined to be fixed over a plurality of frames while the vehicle is traveling.

14. The optical sensor is capable of detecting a point group of an object that reflects reflected light in response to light irradiation, A dirt detection method described in any one of claims 8 to 13, further comprising a setting process (S75) for setting a lower reliability for a corresponding point group among the point groups that corresponds to the candidate area when the amount of variation is determined to be within the adhesion range than for the other point groups.

15. A dirt detection program including instructions to be executed by a processor (12, 82) in order to detect dirt adhering to an incident surface (33) of a vehicle (2) equipped with an optical sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity, and a cleaning system (6) that executes a cleaning process on the external light incident surface (33) of the optical sensor, the dirt detection program including instructions to be executed by a processor (12, 82) in order to detect dirt adhering to the incident surface of the vehicle (2), the dirt detection program comprising: The instruction: an edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; A process of identifying a candidate region that is a candidate for the stained region based on the edge images of a plurality of frames (S35, S40; S45); a determination process (S70, S110) for determining whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within a range for determining whether dirt is attached; an instruction process (S80, S120; S125) for instructing the cleaning system to perform the cleaning process when it is determined that the amount of change is within the adhesion range; Including, In the judgment process, a dirt detection program is provided that judges whether the difference between the characteristic amount before the cleaning process is performed and the characteristic amount after the cleaning process is performed is within a remaining range for judging whether the dirt remains.

16. A dirt detection program including instructions to be executed by a processor (12, 82) in order to detect dirt adhering to an incident surface (33) of an external light sensor (4, 5) capable of acquiring an external light image (Io) corresponding to an external light intensity, and a cleaning system (6) for performing a cleaning process on the incident surface (33) of the external light sensor in a vehicle (2) equipped with the optical sensor, the dirt detection program including instructions to be executed by a processor (12, 82) in order to detect dirt adhering to the incident surface, the dirt detection program comprising: The instruction: an edge image generation process (S20, S30) for generating an edge image (Ie) by extracting edges from the ambient light image of a plurality of frames; A process of identifying a candidate region that is a candidate for the stained region based on the edge images of a plurality of frames (S35, S40; S45); a determination process (S70, S110) for determining whether a variation amount over a plurality of frames of a feature amount in the candidate region in the external light image is within a range for determining whether dirt is attached; an instruction process (S85) for instructing an image processing device (7) that processes the external light image to detect the stain based on the external light image when it is determined that the amount of variation is within the adhesion range; Including, In the judgment process, a dirt detection program is provided that judges whether the difference between the characteristic amount before the cleaning process is performed and the characteristic amount after the cleaning process is performed is within a remaining range for judging whether the dirt remains.

Citation Information

Patent Citations

  • Lane departure warning apparatus

    JP2014013455A

  • Dirt detector, camera, computer program and recording medium

    JP2019032619A

  • Deposit detector and deposit detection method

    JP2020108060A

  • Autonomous vehicle sensor cleaning system

    US10518754B2