AMBIENT LIGHT DETECTOR FOR OFF-THE-GLASS RAIN SENSOR

Abstract: An optical moisture detector for determining a value corresponding to ambient light conditions and comparing that value to a predetermined value. The detector includes an optical moisture sensor and a processor. The optical moisture sensor can be a photo array, a CCD or a CMOS. The processor can be a microprocessor. The processor can emit a control signal to engage or disengage a light generating device based on the result of the comparison of the value to the predetermined value.

Description: AMBIENT LIGHT DETECTOR FOR OFF-THE-GLASS RAIN SENSOR FIELD OF THE INVENTION [00013 The invention relates to an optical moisture sensor, and, more specifically, the invention provides an optical moisture sensor for measuring ambient light conditions. BACKGROUND OF THE INVENTION [0002] A focal plane array of photosensors configured as a CCD or CMOS is capable of sensing the presence of rain or other forms of moisture on a vehicle windshield. In general, a lens or reflective optical element is used to form a real image, in the optical sense, of the objects on the focal plane array and that array is then read by addressing each image element or pixel in the array sequentially. The analog output level of each pixel is a function of the integrated light exposure of that image element and is normally converted into a digital value which is stored in the memory buffer. The aggregate of such sequentially addressed and stored digital pixels constitutes an image frame, which can consist of only a few thousand pixels or over a million pixels in high resolution imagers. [0003] In many imaging applications, such as in a conventional television, the stored digital data that forms the image frame is simply read out and is used to create an analog image on a display screen. Other uses for such digitally stored images include metrology and/or machine vision applications where the digitally stored image frame is subjected to image analysis. Still other uses for such digitally stored images include methods whereby stored image frames are analyzed digitally with certain algorithms, in order to recognize the presence of specific characteristic images. Such images might include water drops, rivulets, mist or even dirt. [0004] A problem with optical moisture sensors has been the number of arithmetic computations required to process analog or digital signals generated by the sensing array of the sensor. The sensing array generates a signal based on the conditions it is exposed to. The signal is received by a processor that interprets the signal. When the signal has been interpreted, it can be acted upon. However, interpreting the signal can require the completion of as many as eight billion computations. The processing power required to complete eight billion computations is significant and so the art of optical moisture sensors has been focused on reducing the number of computations required to interpret a signal from a sensing array. SUMMARY OF THE INVENTION The present invention provides an apparatus and method for measuring ambient light conditions. The present invention adds processing operations to the processor of an optical moisture detector in contravention of the prior art. The invention includes an optical moisture sensor for sensing the presence of moisture on a moisture collecting surface. The sensor is operable to emit a signal corresponding to the sensed conditions. The invention also includes a processor for receiving the signal from the optical moisture sensor, determining a value based on the signal, corresponding to existing ambient light conditions, comparing the value to a predetermined value, and emitting a control signal if the value is less than the predetermined value. Existing processors for optical moisture sensors determine a value based on the signal received from the optical moisture sensor, but do not compare the value to another predetermined value. The predetermined value can correspond to a particular level of ambient light. Specifically, the predetermined value can correspond to a level of ambient light at which the driver of an automobile should engage the headlights of the vehicle. The present invention can also include means responsive to the control signal for controlling a light generating device. For example, the present invention can include a controller for vehicle headlights, the controller operable to receive the control signal from the processor and engage the headlights of a vehicle. The present invention can also include a timer for disengaging the processor from comparing the value to the predetermined value for a period of time. The present invention also can include a processor operable to emit the control signal only if at least two successive comparisons indicate the value corresponding to the level of ambient light is less than the predetermined value. The optical moisture sensor of the present invention can be mounted on the windshield of a vehicle or positioned spaced apart from the windshield. The optical moisture sensor of the present invention can be a CCD camera or a CMOS camera. , [0006] Other objects, advantages and applications of the present invention will become apparent to those skilled in the art when the following description of the best mode contemplated for practicing the invention is read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS [0007] The description herein makes reference to the accompanying drawings wherein like reference numerals refer to like parts throughout the several views, and wherein: [0008] Fig. 1 is a schematic view of an optical moisture sensor operably positionable in a spaced relationship relative to a windshield of a motor vehicle; [0009] Fig. 2 is a schematic view of an optical moisture sensor operably mountable with respect to a windshield of a motor vehicle; [0010] Fig. 3 is a flow chart showing the process steps applied by prior art processors associated with optical moisture sensors; [001 1 ] Fig. 4 is a flow chart showing the process steps of a subroutine applied by a processor according to the present invention in addition to the steps applied by prior art processors associated with moisture sensors; [0012] Fig. 5 is a flow chart showing the process steps applied by a processor according to the present invention having a timer; [001 3] Fig. 6 is a frontal view of an optical moisture sensor according to the present invention having a plurality of dark pixels and a plurality of standard pixels; [001 4] Fig. 7 is a flow chart showing the steps applied by a processor according to the present invention for comparing a value corresponding to a level of ambient light to a first predetermined value and to a second predetermined value; and [001 5] Fig. 8 is a flow chart showing the steps applied by a processor according to the present invention for emitting a control signal only if at least two successive comparisons indicate the value is less than the predetermined value. DESCRIPTION OF THE PREFERRED EMBODIMENT [001 6] The present invention provides an optical moisture detector 1 0 for measuring ambient light conditions. The optical moisture detector 1 0 includes an optical moisture sensor 1 2 and a processor 14. The optical moisture sensor 1 2 senses the presence of moisture on a moisture collecting surface 1 6. The optical moisture sensor 1 2 emits a signal 1 8 corresponding to the sensed conditions. The processor 14 receives the signal 1 8 from the optical moisture sensor 1 2 and interprets, or processes, the signal to determine an absolute ambient light value corresponding to the existing ambient light conditions. The processor 14 compares the value to a predetermined value and emits a control signal 20 if the value is less than the predetermined value. [001 7] An optical moisture sensor 1 2 is shown in Fig. 1 . The optical moisture sensor 1 2 can include a plurality of pixels 22. The pixels 22 divide an image of the moisture collecting surface 1 6 into a plurality of elements. Each pixel 22 can be emitted as a signal to the processor 1 4, or the sensor 1 2 can emit one cumulative signal 1 8. The processor 14 determines an absolute ambient light value based on the signal 1 8 received from sensor 1 2. The optical moisture sensor 1 2 can include a photo array 24 having a plurality of dark pixels 26 in addition to a plurality of pixels 22, as shown in Fig. 6. The dark pixels 26 can be used to determine an absolute value of ambient light by comparing a signal from a dark pixel 26 to a signal from a pixel 22a. [001 8] As shown in Fig. 1 , the optical moisture sensor 1 2 can be operably positionable in a spaced relationship relative to trie moisture collecting surface 1 6. The moisture collecting surface 1 6 can be the exterior surface of a windshield 28 for a motor vehicle. An imaging lens 30 can be adapted for disposition between the optical moisture sensor 12 and the moisture collecting surface 1 6. A filter 32 can be positioned between the imaging lens 30 and the optical moisture sensor 1 2 to allow only illuminating wavelengths of light to pass through to the optical moisture sensor 1 2, greatly improving the signal to noise ratio of the system. The optical moisture sensor 1 2 can be operably mountable with respect to a windshield 28 of a motor vehicle, as shown in Fig. 2. [001 9] The signal 1 8 can be a digital or analog signal. If the optical moisture sensor 1 2 is a photo array, the signal 1 8 can be an analog signal. The processor 14 can receive the analog signal and convert it into a digital signal. If the optical moisture sensor 1 2 is a CCD or CMOS, the signal 1 8 can be a digital signal. [0020] The processor 1 4 receives the signal 1 8, interprets the signal 1 8 to determine a value of ambient light, compares the value to a predetermined value, and emits a control signal 20 if the value is less than the predetermined value. Optical moisture detectors having a sensor and a processor are well known for use on the windshield of a motor vehicle. The process steps of prior art processors are shown in the simplified flow diagram of Fig. 3. The process starts at step 34. Step 36 receives the signal 1 8 from the optical moisture sensor 1 2. Step 38 determines a value corresponding to the level of ambient light based on the signal 18. Step 40 detects the presence of moisture on the moisture collecting surface 16. The detection step 40 is accomplished by the completion of numerous computations. In some prior art processors, eight billion computations were required in order to complete the detection step 40. Improvements in prior art processors for optical moisture detectors have focused on reducing the number of computations required to detect moisture. After step 40, step 42 returns the process back to step 34. [0021 ] The processor 14 of the present invention provides additional processing steps in contravention of the prior art by adding a call to a new subroutine after step 38 has determined the value corresponding to ambient light conditions. The subroutine according to the present invention is shown in the simplified flow diagram of Fig. 4. The subroutine starts at step 44. Step 46 compares the value to a predetermined value. The predetermined value can correspond to a minimum level of ambient light at which a motor vehicle can be safely driven without headlights. The predetermined value can be a constant number of can be variable. For example, the signal 18 generated by the optical moisture sensor 12 can be affected by the temperature of the optical moisture sensor 12. The predetermined value can be determined to compensate for any such effect. If the value is less than the predetermined value, the subroutine will continue to the next step 50. If the value is equal to or greater than the predetermined value, the subroutine continues to step 52 and returns the processor 14 to the moisture detecting step 40 of Fig. 3. [0022] The processor 14 can also include a timer for disabling the comparison of the value to the predetermined value for a predetermined period of time. The process steps of the timer are shown in the simplified flow diagram of Fig. 5. The process starts at step 54. Step 56 monitors the status of the timer. If the timer is engaged or running, the process continues to step 58 and returns to the step 40 in Fig. 3. Obviously, during a first iteration of the timer process, the timer will not be running. If the timer is not running, steps 46a and 50a are completed. Step 60 engages the timer. The timer process can be desirable to prevent the processor 1 4 from completing unnecessary comparisons. For example, if the processor 1 4 determines that the value is less than the predetermined value, corresponding to a relatively lower level of ambient light, the subsequent comparison should also indicate a relatively lower level of ambient light. Completing another comparison to confirm this assumption can be an undesirable use of the processor 1 4. The amount of time set by step 60 can be from one second to one minute, one minute to five minutes, or five minutes to one hour. Step 58 returns the processor 1 4 to step 40 of Fig. 3. [0023] The optical moisture detector 10 can also include a controller 62 for a light generating device 64. The controller 62 can respond to the control signal 20 to activate or deactivate the light generating device 64. The light generating device 64 can be an interior light of a motor vehicle, such as a dashboard light or an interior cargo light. The light generating device 64 can be an exterior light of a motor vehicle such as a standard headlight, a high beam headlight, or a fog light. [0024] The processor 14 can be operable to compare the value corresponding to the level of ambient light to a plurality of predetermined values. The process steps of such a processor 14 are shown in the simplified flow diagram of Fig. 7. The process starts at step 66. Step 46b compares the value to a first predetermined value. If the value is less than the first predetermined value, the processor 1 4 continues to step 50b and emits a control signal 20. Step 74 then returns the processor 14 to step 40 of Fig. 3. If step 46b determines that the value is not less than the predetermined value, the process continues to step 76. Step 76 compares the value to a second predetermined value. If the value is not greater than the second predetermined value, the processor 1 4 is directed to step 74. If the value is greater than the second predetermined value, step 76 directs the processor 1 4 to step 80. Step 80 emits a second control signal 20a. The process continues to step 74. Comparing the value to a first predetermined value and a second predetermined value can be desirable in controlling the controller 62 to engage and disengage the light generating device 64. For example, step 50b can emit a control signal 20 that can be a "turn light on" signal. Step 80, on the other hand, can emit a control signal 20a that can be a "turn light off" signal. Both the first predetermined value and the second predetermined value can be constant or can be variable. The difference between the first predetermined value and the second predetermined value can be large enough to provide a range in which a driver can operate a motor vehicle with the light generating device 64 either on or off without interference from the processor 1 4. The processor 14 can also be operable to emit a control signal 20 only if the value is less than the predetermined value in two or more successive comparisons. The process steps of processor 14 according to this embodiment of the optical moisture detector 10 are shown in the simplified flow diagram of Fig. 8. The process starts at step 82. Step 46c compares the value corresponding to ambient light conditions to a predetermined value. If the value is less than the predetermined value, step 46c directs the process to the return step 84 which directs the processor 14 to step 40 of Fig. 3. If the value is less than the predetermined value, step 46c directs processor 14 to step 86. Step 86 determines whether the previous value corresponding to ambient light conditions was less than the predetermined value. If the previous value was less than the predetermined value, step 86 directs the processor 14 to the return step 84. If the value was less than the predetermined value, step 86 directs the processor 1 4 to step 50c to emit a control signal 20. It can be desirable to include step 86 to prevent temporary, relatively lower ambient light conditions from resulting in the emission of a control signal 20 from the processor 14. While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiments but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims, which scope is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures as is permitted under the law.

Claims: What is claimed is: 1 . An optical moisture detector for measuring ambient light conditions comprising: an optical moisture sensor for sensing the presence of moisture on a moisture collecting surface, the sensor operable to emit a signal corresponding to sensed conditions; and processor means for receiving the signal, for determining an absolute ambient light value corresponding to existing ambient light conditions, for comparing the value to a predetermined value, and for emitting a control signal if the value is less than the predetermined value as a result of the comparison. 2. The optical moisture detector of claim 1 further comprising: means, responsive to the control signal, for controlling a light generating device. 3. The optical moisture detector of claim 1 further comprising: timer means for disabling the processor means from comparing the value to the predetermined value for a predetermined period of time. 4. The optical moisture detector of claim 1 wherein the optical moisture sensor is operably mountable with respect to a windshield of a motor vehicle. 5. The optical moisture detector of claim 1 wherein the optical moisture sensor is operably positionable in a spaced relationship relative to a windshield of a motor vehicle. 6. The optical moisture detector of claim 1 wherein the optical moisture sensor further comprises: a CCD camera for collecting data to be sent as signals to the processor means. 7. The optical moisture detector of claim 1 wherein the optical moisture sensor further comprises: a CMOS camera for collecting data to be sent as signals to the processor means. 8. The optical moisture detector of claim 1 wherein the optical moisture sensor further comprises: a photo array having a plurality of dark pixels and a plurality of standard pixels for collecting data to be sent as signals to the processor means. 9. The optical moisture detector of claim 1 wherein the processor means further comprises: a microprocessor for operably receiving the signal from the sensor. 1 0. The optical moisture detector of claim 1 wherein the processing means compares the absolute ambient light value to a first predetermined value to determine if a signal to turn on a light generating device is to be sent, and compares the absolute ambient light value to a second predetermined value to determine if a signal to turn off the light generating device is to be sent. 1 1 . An optical moisture detector for measuring ambient light conditions comprising: an optical moisture sensor for sensing the presence of moisture on a windshield of a vehicle, the sensor operable to emit a signal corresponding to sensed conditions; and processor means for receiving the signal, for determining an absolute ambient light value corresponding to existing ambient light conditions, for comparing the value to a predetermined value, and for emitting a control signal if the value is less than the predetermined value as a result of the comparison. 1 2. The optical moisture detector of claim 1 1 further comprising: means, responsive to the control signal, for controlling a light generating device. 1 3. The optical moisture detector of claim 1 1 further comprising: timer means for disabling the processor means from comparing the value to the predetermined value for a predetermined period of time. 14. The optical moisture detector of claim 1 1 wherein the processor means emits the control signal only if at least two successive comparisons indicate the value is less than the predetermined value. 1 5. The optical moisture detector of claim of claim 1 1 wherein the optical moisture sensor is operably mountable with respect to a windshield of a motor vehicle. 16. The optical moisture detector of claim of claim 1 1 wherein the optical moisture sensor is operably positionable in a spaced relationship relative to a windshield of a motor vehicle. 1 7. A method of measuring ambient light conditions comprising: sensing the presence of moisture on a moisture collecting surface with an optical moisture sensor, the sensor operable to emit a signal corresponding to the sensed conditions; receiving the signal and determining an absolute ambient light value corresponding to the existing ambient light conditions with processor means; comparing the value to a predetermined value with the processor means; and emitting a control signal with the processor means if the value is less than the predetermined value as a result of the comparing step. 1 8. The method of claim 1 7 further comprising the step of: mounting the optical moisture sensor to the windshield of a vehicle. 1 9. The method of claim 1 7 further comprising the step of: disposing the optical moisture sensor in a spatial relationship relative to the windshield of a vehicle. 20. The method of claim 1 7 further comprising the step of: controlling a light generating device with controlling means in response to the control signal.

Inventors: JACKSON JAMES A, JACKSON, JAMES, A.
Applicants: VALEO ELECTRICAL SYSTEM INC, VALEO ELECTRICAL SYSTEM, INC.
Application year: 2001
Main classification: G01F23
IPC codes: B60Q1, B60S1