This application claims priority from Japanese Patent Application No. 2012-149539, filed with the Japanese Patent Office on Jul. 3, 2012, the contents of which are incorporated herein by reference in their entirety.
1. Field of the Invention
The present invention relates to a diagnosis device for a vehicle mounted dirt removal device, a diagnosis method and a vehicle system that diagnoses whether or not a normal state is maintained in a camera dirt removal device removing dirt of a lens surface of a vehicle mounted camera (for example, back camera or the like).
2. Description of Related Art
In recent years, in order to support driving of a driver, at least one direction among a front, a back and both sides of a vehicle itself or all round directions are photographed by a vehicle mounted camera. Photographed images are displayed on a monitor screen. A vehicle mounted camera device as such is gradually coming into wide use. For example, the vehicle mounted camera disposed on the vehicle rear (back camera) is used to photograph a rear side of the vehicle. The photographed image is displayed on a monitor screen. In such a vehicle mounted camera device, parking assistance support of the driver, detections of subsequent vehicle closing up from adjacent lanes behind as well as detections of a pedestrian closing up can be possible.
On the other hand, the vehicle mounted camera of a back camera or the like is mounted externally to a vehicle. Therefore, attachments such as rain droplets and dirt etc. can easily stick to the lens surface (including a surface protection glass etc.) If such sticking occurs, image quality photographed by the vehicle mounted camera deteriorates such that as a measure, high pressure water and air are sprayed to the lens surface to remove sticking of rain droplets and dirt etc. attached to the lens surface. Such technologies are known conventionally. (For example, refer to JP2001-171491A)
By the way, like JP2001-171491A, in a vehicle mounted camera dirt removal device that removes attachments by spraying high pressure water and air to the lens surface, for example, there is concern of failure of spraying washer liquids when pipe conduit is jammed midway due to freezing or adhesion of alien substances etc., the pipe conduit for flow through of high pressure water.
Therefore, if, for example, the vehicle mounted camera is a back camera disposed at vehicle rear, the driver inside the vehicle may not notice such abnormal operations where the high pressure water as described above is not sprayed. As a result, even when abnormal operations are occurring, if operations are implemented to command high pressure water to be sprayed, the following circumstances are at risk to occur. For example, a motor for spraying use may be burned due to heavy load, water can reversely flow back the pipe conduit such that a print circuit or the like of the dirt removal device for vehicle mounted camera can be wetted.
Therefore, an object of the present invention is to provide a diagnosis device for the dirt removal device of the vehicle mounted camera, a diagnosis method thereof and a vehicle system included in the diagnosis device. In this invention, whether the dirt removal device of the vehicle mounted camera that removes dirt of the lens surface is operating normally or abnormal malfunctions are generated therein can be diagnosed easily and precisely.
In order to achieve such an object, in a diagnosis device according to the present invention that diagnoses whether normal operation is maintained or not to a dirt removal device of a vehicle mounted camera, the dirt removal device removes dirt on a lens surface of the vehicle mounted camera, the following constitutions are included. Specifically, a characteristic quantity extraction part that extracts a characteristic quantity of the image of a particular area photographed by the vehicle mounted camera, a change determination part that determines the degree of changes through time series of the extracted characteristic quantity, and a diagnosis part. Based on determinations of whether there is input of operation signals outputted, when a dirt removal operation for the lens surface by the dirt removal device of the vehicle mounted camera is ongoing, and based on determinations of whether the degree of changes of the characteristic quantity inputted from the change determination part is above or below the set threshold value, normal operation or abnormal operation of the dirt removal device for the vehicle mounted camera is diagnosed by the diagnosis part.
In addition, in the diagnosis method according to the present invention, diagnosis is made to whether the dirt removal device of the vehicle mounted camera removing dirt on lens surface of the vehicle mounted camera is operating normally or not. In such a diagnosis method, the following steps are constituted. Specifically, a particular quantity extraction step that extracts a characteristic quantity of the image of a particular area photographed by the vehicle mounted camera, a degree of changes determination step that determines the degree of changes at time series of the extracted particular quantity. When the vehicle mounted camera dirt removal device is performing dirt removal operation of the lens surface, during such ongoing operation, whether there is input signals from operation signals outputted and whether the degree of changes of the particular quantity inputted from the changes determination step is above or below a set preliminary value are determined. Based on such determinations, a diagnosis step is performed to diagnose whether the dirt removal device of the vehicle mounted camera is in normal operation or abnormal operation.
In addition, the vehicle mounted system according to the present invention includes a vehicle mounted camera, a dirt removal device of the vehicle mounted camera that removes dirt of lens surface of the vehicle mounted camera, a diagnosis device according to the present invention that diagnoses whether the dirt removal device of the vehicle mounted camera is operating normally. Furthermore, the diagnosis device includes a control part inputted with diagnosis information from the diagnosis part, when diagnosis information of the dirt removal device of the vehicle mounted camera operating abnormally is inputted, the control part outputs stop signal to the dirt removal device of the vehicle mounted camera, operations of the dirt removal device of the vehicle mounted camera are stopped.
The diagnosis device of the dirt removal device of the vehicle mounted camera and diagnosis method as well as vehicle system according to the present invention can easily and accurately diagnoses whether the dirt removal device of the vehicle mounted camera that removes the dirt of lens surface of the vehicle mounted camera is operating normally or abnormal operations are generated.
Hereinbelow, the present invention is described based on the illustrated embodiment 1.
As illustrated in
The image signal processing part 2 takes in image signals outputted from a vehicle mounted camera 10. The image signal processing part 2 generates image data after predetermined image signal is processed.
The vehicle mounted camera 10, in the embodiment 1, for example as illustrated in
In addition, as illustrated in
The processing area setting part 3 sets a predetermined processing area used for diagnosis of image data generated from the image signal processing part 2. To be more specific, super wide angle lens is used for the back camera as the vehicle mounted camera 10. For example, image data as illustrated in
The image illustrated in
In addition, in the case a lens hood is installed on an upper part of a lens tip edge side of the vehicle mounted camera 10, the lens hood can also be pictured in, serving as a still image area within the image.
Therefore, in the embodiment 1, as illustrated in
In addition, in the case that an installing position, an angle thereof and an angle of view of the vehicle mounted camera 10 are preliminarily clarified, the above described still image areas within the photographed image can be grasped rapidly and set (a rear bumper a, a license plate b, a finisher c etc.)
The contrast calculation part (characteristic quantity extraction part) 4 calculates contrast of each block area divided by the processing area A. Average contrast at the processing area A is calculated from contrast of each block area. Furthermore, averages and variances are calculated from time series data of this average contrast.
The contrast changes determination part 5 determines the degree of changes of the average contrast through time series based on contrasts and variances of the average contrast at the time series in the processing area A calculated out. (Details of which are later described).
Spray signals (action signals) are outputted when washer fluids are sprayed to the lens surface of the vehicle mounted camera (back camera) 10. When such signal is inputted to the dirt removal device 13 of the vehicle mounted camera, the diagnosis part 6 determines (diagnose) the dirt removal device 13 of the vehicle mounted camera to be a normal state if the degree of contrast changes determined by the contrast changes determination part 5 surpass a predetermined threshold value. The diagnosis part 6 determines (diagnose) the dirt removal device 13 of the vehicle mounted camera to be a abnormal state if the degree of contrast changes determined by the contrast changes determination part 5 is less than a predetermined threshold value (details are later described).
Next, diagnosis processing actions of the diagnosis device 1 of embodiment 1 is described with reference to the flow chart illustrated in
The image signal processing part 2 takes in image signals outputted from the vehicle mounted camera 10, performs predetermined image signal processing and generates image data (step S1).
Then the processing area setting part 3, selects a still image area (parts pictured in of the vehicle itself such as a rear bumper a, a license plate b, a finisher c etc) as described above from image data generated at the image signal processing part 2 and illustrated in, for example
Then the contrast calculation part 4 calculates out contrasts of each divided blocks of the processing area A (step S4) and furthermore, calculates out the average contrast through time series at the processing area A from contrasts of each divided blocks.
When calculating the average contrast at processing area A, block areas with a contrast size below a preliminarily set threshold value are excluded. The average contrast is calculated using contrasts of other block areas. In such a way, great variations in size of average contrast calculated by time series can be suppressed.
In a situation which for example, a partial area of the rear bumper a at processing area A is flat. Or if spot reflections of sunlight and light (head light of subsequent vehicles at night time etc.) to partial areas of the rear bumper a are non consecutive, luminosity of those reflective parts can change greatly. Such cases etc. are listed as a situation in which contrast of a block area is below the preliminarily set threshold value.
In addition, time series information of the average contrast calculated out is stored in a buffer memory. Time series information of the average contrast stored in this buffer memory, for example, as illustrated in
In
In addition, the washer liquid falls in a gravitational direction from the lens surface. Therefore, after couple seconds, the average contrast returns to the size before the moment t1. At the moment t1, if washer liquid is sprayed to the lens surface of the vehicle mounted camera 10 by the nozzle 12 of the dirt removal device 13 of the vehicle mounted camera, spray signal (ON signal) is outputted from the dirt removal device 13 of the vehicle mounted camera to the diagnosis part 6 at this moment t1.
A timing at which the washer liquid is sprayed to the lens surface of vehicle mounted camera 10 from the nozzle 12 of the dirt removal device 13 is as follows. For example, in the case a sensor is disposed to detect the degree of dirt on the lens surface of the vehicle mounted camera 10, the timing is at when the signal are inputted from this sensor. In addition, if there is a washer liquid spraying switch for spraying the washer liquid, the timing is at when the washer liquid spraying switch is turned ON by the driver.
Furthermore, if a washer liquid spraying mechanism for the rear wiper is present, the washer liquid can be sprayed to the lens surface from the nozzle 12 of the dirt removal device 13 of the vehicle mounted camera in connection with when washer liquid is sprayed to the rear wiper from the washer liquid spraying mechanism by operations of the driver.
In addition, the contrast changes determination part 5, against time series (past series, present series) data of the average contrast as illustrated in
Then, from averages (μp, μc) and variances (σp2, σc2) of these average contrasts, a divergence indicating the degree of the average contrast is calculated (step S7). This divergence D is calculated by the following equation (1).
D=(μc−μp)2/2σ2 equation (1)
However, hereby σ=σp.
Then the diagnosis part 6 determines whether or not the spraying signal (ON signal) outputted at the time of spraying the washer liquid from the dirt removal device 13 of the vehicle mounted camera at this moment is inputted or not (step S8). Then in the case if the spraying signal is determined to be inputted at step S8 (YES in step S8), the value of divergence D calculated at step S7 is determined to be whether or not above the preliminarily set threshold value (step S9).
Then if the value of divergence D calculated at step S9 is determined to be above the preliminarily set threshold value (YES in step S9), the average contrast at the present series is determined to have changed greatly as illustrated in
On the other hand, if the value of divergence D calculated at step S9 is determined to be below the preliminarily set threshold value (NO in step S9), the average contrast at the present series is determined to have not changed as illustrated in
That is, as illustrated in
However, the spray signal is inputted to the diagnosis part 6 from the dirt removal device 13 of the vehicle mounted camera, in a normal circumstance the washer liquid will be sprayed. But if some kind of abnormality is present to the dirt removal device 13 of the vehicle mounted camera (for example, if a pipe conduit leading to the nozzle 12 is jammed, or if the washer liquid in storage is empty, or if the washer liquid is freezing due to low temperature), the washer liquid is not sprayed.
Therefore, as illustrated in
In addition, as illustrated in step S8, in the case the spraying signal is not inputted (NO in step S8), it is returned to step S4, the process operations as described above is repeated hereafter.
In addition, in the case normal operation is diagnosed (determined) in step S11, or abnormal operation is diagnosed (determined) in step S13, implementation of the process operations illustrated in
Then the diagnosis part 6 outputs determination information at step S11, S13 (normal operation determination information or abnormal operation determination information) to a control part of the diagnosis device 1 (refer to the diagnosis device 1 of embodiment 4 as illustrated in
In such a way, the diagnosis device 1 diagnosing the dirt removal device 13 of the vehicle mounted camera of the embodiment 1, during running of the vehicle (including when the vehicle is stopped), if the dirt removal device 13 of the vehicle mounted camera performs an operation to spray the washer fluid to the lens surface of the vehicle camera 10, in the case an abnormality is present in which the washer fluid is not sprayed from the nozzle 12, easy and precise diagnosis of the abnormal operation for the not sprayed washer fluid can be made.
As illustrated in
The edge strength calculation part (characteristic quantity extraction part) 4a, calculates edge strengths of block areas in correspondence to a frontier part of the process areas A of for example, the above described
Furthermore, the edge strength calculation part (characteristic quantity extraction part) 4a calculates an average edge strength from edge strengths of each block area at the frontier part. Furthermore, averages and variances are calculated from time series data of this average edge strength.
An edge strength change determination part 5a determines the degree of changes through time series of the average edge strength based on averages and variances through time series of the average edge strength calculated out.
Spray signals (action signals) are outputted when washer fluids are sprayed to the lens surface of the vehicle mounted camera (back camera) 10. When such signal is inputted to the dirt removal device 13 of the vehicle mounted camera, the diagnosis part 6 determines (diagnose) the dirt removal device 13 of the vehicle mounted camera to be a normal state if the degree of contrast changes determined by the contrast changes determination part 5 surpass a predetermined threshold value. The diagnosis part 6 determines (diagnose) the dirt removal device 13 of the vehicle mounted camera to be a abnormal state if the degree of contrast changes determined by the contrast changes determination part 5 is less than a predetermined threshold value (details are later described).
Next, diagnosis processing actions of the diagnosis device 1a of embodiment 2 is described with reference to the flow chart illustrated in
The image signal processing part 2 takes in image signals outputted from the vehicle mounted camera 7, performs predetermined image signal processing and generates image data (step S21).
Then the processing area setting part 3, selects a still image area (parts pictured in of the vehicle itself such as a rear bumper a, a license plate b, a finisher c etc) as described above from image data generated at the image signal processing part 2 and illustrated in, for example FIG. 3A. The still image area is set as the processing area A (step S22). Then, as illustrated in
Then the contrast calculation part (characteristic quantity extraction part) 4 calculates out edge strengths of each divided blocks corresponding to a frontier part (for example, a frontier part between the rear bumper a and the road surface) of the processing area A (step S24) and furthermore, calculates out the average edge strength through time series at the processing area A from edge strengths of each block areas (step S25).
When calculating the above described average edge strength, the edge strength of block areas with edge strengths below a preliminarily set threshold value is excluded. The average edge strength is calculated using edge strengths of other block areas. In such a way, great variations in size of edge strengths calculated by time series can be suppressed.
In a situation which for example, a partial area of the rear bumper a at processing area A is flat. Or, if spot reflections of sunlight and light (head light of subsequent vehicles at night time etc.) to partial areas of the rear bumper a are non consecutive, luminosity of those reflective parts can change greatly. Such cases etc. are listed as situations in which edge strength of a block area is below the preliminarily set threshold value.
In addition, time series information of the average edge strength calculated out is stored in a buffer memory. Time series information of the average edge strength stored in this buffer memory, for example, as illustrated in
In
In addition, the washer liquid falls in a gravitational direction from the lens surface. Therefore, after couple seconds, the average edge strength returns to the size before the moment t1. At the moment t1, if washer liquid is sprayed to the lens surface of the vehicle mounted camera 10 by the nozzle 12 of the dirt removal device 13 of the vehicle mounted camera, spray signal (ON signal) is outputted from the dirt removal device 13 of the vehicle mounted camera to the diagnosis part 6 at this moment t1.
In addition, the edge strength changes determination part 5a, against time series (past series, present series) data of the average edge strength as illustrated in
Then, from averages (μp, μc) and variances (σp2, σc2) of these average edge strengths, a divergence indicating the degree of changes of the average edge strength is calculated (step S27). This divergence D is calculated by the following formula (2).
D=(μc−μp)2/2σ2 equation (2)
However, hereby σ=σp.
Then the diagnosis part 6 determines whether or not the spraying signal (ON signal) outputted at the time of spraying the washer liquid from the dirt removal device 13 of the vehicle mounted camera at this moment is inputted or not (step S28). Then in the case if the spraying signal is determined to be inputted at step S8 (YES in step S28), the value of divergence D calculated at step S27 is determined to be whether or not above the preliminarily set threshold value (step S29).
Then if the value of divergence D calculated at step S29 is determined to be above the preliminarily set threshold value (YES in step S29), average edge strength at the present series is determined to have changed greatly as illustrated in
On the other hand, if the value of divergence D calculated at step S29 is determined to be below the preliminarily set threshold value (NO in step S29), average edge strength at the present series is determined to have not changed as illustrated in
That is, as illustrated in
However, the spray signal is inputted to the diagnosis part 6 from the dirt removal device 13 of the vehicle mounted camera, in a normal circumstance the washer liquid will be sprayed. But if some kind of abnormality is present to the dirt removal device 13 of the vehicle mounted camera (for example, if a pipe conduit leading to the nozzle 12 is jammed, or if the washer liquid in storage is empty, or if the washer liquid is freezing due to low temperature), the washer liquid is not sprayed.
Therefore, as illustrated in
In addition, in step S28, in the case the spraying signal is not inputted (NO in step S28), the processing is returned to before S24, the above described following processing operations are repeated.
In addition, if normal operation is determined by step S31, or abnormal operation is determined by step S33, the processing operations as illustrated in
Then the diagnosis part 6 outputs determination information at step S31, S33 (normal operation determination information or abnormal operation determination information) to a control part of the diagnosis device 1a (refer to the diagnosis device 1 of embodiment 4 as illustrated in
In such a way, the diagnosis device 1 diagnosing the dirt removal device 13 of the vehicle mounted camera of the embodiment 2, during running of the vehicle (including when the vehicle is stopped), if the dirt removal device 13 of the vehicle mounted camera performs an operation to spray the washer fluid to the lens surface of the vehicle camera 10, in the case an abnormality is present in which the washer fluid is not sprayed from the nozzle 12, easy and precise diagnosis of the abnormal operation for the not sprayed washer fluid can be made.
As illustrated in
The diagnosis part 6a, in the same way to Embodiment 1, when there is input of outputted spraying signal (operation signal) when the washer liquids are sprayed to the lens surface of the vehicle mounted camera (back camera) 10 by the dirt removal device of the vehicle mounted camera 13, if the degree of contrast changes determined by the contrast changes determination part 5 is above a predetermined threshold value, the dirt removal device of the vehicle mounted camera 13 is diagnosed (determined) to be normal state. Whereas if the degree of contrast changes determined by the contrast changes determination part 5 is below a predetermined threshold value, the dirt removal device of the vehicle mounted camera 13 is diagnosed (determined) to be abnormal (malfunctioning) state.
In addition, in the embodiment 3, as illustrated in
Next, diagnosis processing actions of the diagnosis device 1b of embodiment 3 is described with reference to the flow chart illustrated in
Step S1 through S5 are the same as embodiment 1 as illustrated in
That is, by outside temperature (environmental temperature) of the vehicle periphery, stickiness of the washer liquid sprayed out from the nozzle 12 of the dirt removal device of the vehicle mounted camera 13 is changed. For example, if outside temperature is low, stickiness of the washer liquid is heightened. Thereby deviations of washer liquid on the lens surface are generated etc. such that image variations (changes in contrast and changes in edge strength etc.) easily become big. Furthermore, flow speed of washer liquid passing through the lens surface is decreased. Continuing time of image changes become long.
On the contrary, in a reverse manner, if outside temperature is high, the washer liquid becomes easy to generate bubbles. Thereby spraying quantity is decreased such that image variations (changes in contrast and changes in edge strength etc.) easily become small. Furthermore, flow speed of washer liquid passing through the lens surface is increased. Continuing time of image changes becomes short.
Therefore, in order to make small the influences of outside temperature around vehicle periphery, in the case if outside temperature of the vehicle periphery is low, time series time of the average contrast calculated out is set longer. Whereas in the case if outside temperature of the vehicle periphery is high, time series time of the average contrast calculated out is set shorter.
In addition, step S6, S7 are the same as embodiment 1 as illustrated in
As described above, if outside temperature is low, flow speed of washer liquid passing through the lens surface is decreased. Image changes (contrast changes and edge strength changes etc.) grow large and furthermore, continuation time of image changes becomes long. If outside temperature is high, flow speed of washer liquid passing through the lens surface is increased. Image changes (contrast changes and edge strength changes etc.) grow small and furthermore, continuation time of image changes becomes short.
Therefore, in order to reduce influences of external temperature around the vehicle periphery, in the case external temperature around the vehicle periphery is low, setting is performed to lower this threshold value. In the case external temperature around the vehicle periphery is high, setting is performed to raise this threshold value.
In addition, step S8 through S13 are the same with the embodiment 1 illustrated in
In such a way, in the diagnosis device 1b that diagnoses a dirt removal device 13 for the vehicle camera in the embodiment 3, the contrast calculation part 4 sets a proper time series time of an average contrast calculated out according to inputted external temperature information. The diagnosis part 6a sets a threshold value according to inputted external temperature (a threshold value that determines proper changes in average contrast), such that more accurate diagnosis can be made.
In addition, in the above described embodiment 3, explanations are made based on the diagnosis device 1 of embodiment 1, but the same applications can be made to the diagnosis device 1a of embodiment 2. In such a case, in the flow chart illustrated in
As illustrated in
In addition, the diagnosis device 1 constitutes a above described image signal processing part 2, a processing area setting part 3, a contrast calculation part 4, a contrast changes determination part 5, a diagnosis part 6, a control part 7 inputted with determination information outputted from the diagnosis part 6, an I/O part 8 electrically connected to each of the devices disposed on the vehicle (a vehicle mounted camera 10, a dirt removal device 13 for the vehicle camera, a monitor device 15, an alarm device 16, a temperature sensor 14 of embodiment 3) and a memory part 9 stored with programs etc. for commanding the above described diagnosis processing operation of the diagnosis device 1, the memory part also storing time series information etc. of the average contrast calculated by the contrast calculation part 4. Each of these parts of diagnosis device 1 is connected via a bus 21.
In addition, in the above described processing operation of the diagnosis device 1, in the case determination information of abnormal operation is outputted to the diagnosis part 6 from the control part 7, (that is, in the case washer liquids are not sprayed from the nozzle 12 of the a dirt removal device 13 for the vehicle camera and such abnormal operation are determined (diagnosed)), the control part 7 outputs operation stop signal to the dirt removal device 13 for the vehicle camera via the I/O part 8, a control to stop operation of the dirt removal device 13 for the vehicle camera is performed.
While simultaneously, the control part 7 outputs signals to the monitor device 15 and the alarm device 16 via the I/O part 8, the fact that operations of the dirt removal device 13 for the vehicle camera are stopped is notified to the driver on a display surface of the monitor device 15. The fact that operations of the dirt removal device 13 for the vehicle camera are stopped can also be notified to the driver by a speaker or alarm lamp as the alarm device 16.
In such a way, the vehicle system 20 of the embodiment 4 constitutes the diagnosis device 1 (or the diagnosis device 1a, 1b), during running of the vehicle (also including when the vehicle is stopped), when the dirt removal device 13 for the vehicle camera performs a spraying operation by washer fluids to the lens surface of the vehicle mounted camera, if an abnormality is present in which washer fluids are not sprayed from the nozzle 12, operations of the dirt removal device 13 for the vehicle camera can be immediately stopped.
Therefore, for example, if load is applied to the water spraying motor within the dirt removal device 13 for the vehicle camera, in the case the motor is burned due to heavy load, or when water is reversely flowed through the pipe conduit to wet the circuit board etc. of the dirt removal device 13 for the vehicle camera, or likewise circumstances generated or the like can be prevented preliminarily.
In addition, in each of the above described embodiments 1 through 4, the dirt removal device 13 for the vehicle camera sprays washer fluids to remove dirt on the lens surface of the vehicle mounted camera 10. But other than such a constitution, for example, a constitution can be adopted in which dirt on the lens surface of the vehicle mounted camera 10 is removed by spraying compressed air, another constitution can be adopted in which dirt on the lens surface of the vehicle mounted camera 10 is removed by electrically operating wiper blades. A dirt removal device for the vehicle camera can adopt such a constitution.
In addition, in each of the above embodiments 1 through 4, a back camera is used as an example of the vehicle mounted camera 10, but other than this, for example, a front camera disposed on a front face part of the vehicle or a side camera or the like disposed on both sides of the vehicle can also be applied in a same manner to the present invention.
Although the preferred embodiments have been described, it should be understood that the present invention is not limited to these embodiments, various modifications and changes can be made to these embodiments by those skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
2012-149539 | Jul 2012 | JP | national |