Optical filter stain detection method and detection device
Technical Field
The invention relates to the technical field of optical filter detection, in particular to an optical filter stain detection method and an optical filter stain detection device.
Background
A module assembling process that makes a video recording for electronic product has the sensor, has corresponding light filter in the top of sensor, and the effect of light filter is the light source of filtering unnecessary wave band, perhaps only passes through the light source that needs. For a common RGB module, the used optical filter generally only passes light in a visible light wave band, and the light with visible light wavelength close to the wave band is filtered out and not passed; for depth modules such as time-of-flight cameras (TOF), the filter is used to reflect visible light and only pass light in the near-infrared band, such as light with a wavelength of 850nm or 940nm, and only pass light in this band, and the sensor only receives light with a wavelength in this band.
In the equipment process of making a video recording, can produce corresponding dirty, fall on the sensor, perhaps fall on the filter, under general conditions, if will distinguish dirty whether on the sensor or on the filter, need will make a video recording the light filter of module and dismantle the judgement, if glue has been ordered, still change and glue, the operation process is troublesome, still probably causes the fracture of light filter, causes the waste in the cost. Therefore, it is important to determine whether the stain is on the sensor surface or the surface of the filter by a method.
In view of the above, the prior art is obviously inconvenient and disadvantageous in practical use, and needs to be improved.
Disclosure of Invention
In view of the above-mentioned drawbacks, an object of the present invention is to provide a method and an apparatus for detecting stains on an optical filter, which can quickly determine whether stains exist on the optical filter, thereby improving the detection efficiency and reducing the damage degree of the optical filter.
In order to achieve the above object, the present invention provides a method for detecting stains on an optical filter, comprising the steps of:
s1: one beam of light in two beams of light formed by light emitted by the light source after passing through the beam splitting device is emitted to a camera module containing a filter to be measured and a sensor, and the other beam of light is emitted to the reflecting device;
s2: the camera module and the reflecting device respectively reflect the light rays passing through the beam splitting device to form two reflected light rays, and after the two reflected light rays pass through the beam splitting device again, wedge interference fringes are formed on the shooting device to obtain an interference fringe image;
s3: and analyzing the obtained interference fringe images, wherein if a plurality of interference fringe images have shadows locally, stains exist at the positions corresponding to the optical filters.
Preferably, a compensation plate is arranged between the optical filter to be detected and the beam splitting device, and the compensation plate compensates the light reflected by the optical filter to be detected.
Preferably, a beam expanding device is arranged between the beam splitting device and the shooting device, and the two beams of reflected light sequentially pass through the beam splitting device and the beam expanding device and are emitted into the shooting device.
In another aspect of the present invention, a detection apparatus for an optical filter stain detection method is disclosed, comprising:
a light source for emitting light;
the beam splitting device is positioned on one side of the light source and used for changing a light ray route and splitting the light rays;
the reflecting device is used for reflecting a beam of light after passing through the beam splitting device and forming wedge interference fringes with the light reflected by the optical filter to be detected;
and the shooting device is used for shooting and observing the interference fringes.
In another aspect of the present invention, a detection apparatus for an optical filter stain detection method is disclosed, comprising:
a light source for emitting light;
the beam splitting device is positioned on one side of the light source and used for changing a light ray route and splitting the light rays;
the reflecting device is used for reflecting a beam of light after passing through the beam splitting device and forming wedge interference fringes with the light reflected by the optical filter to be detected;
the compensation plate is used for compensating the light reflected by the optical filter to be detected;
and the shooting device is used for shooting and observing the interference fringes.
In another aspect of the present invention, a detection apparatus for an optical filter stain detection method is disclosed, comprising:
a light source for emitting light;
the beam splitting device is positioned on one side of the light source and used for changing a light ray route and splitting the light rays;
the reflecting device is used for reflecting a beam of light after passing through the beam splitting device and forming wedge interference fringes with the light reflected by the optical filter to be detected;
the compensation plate is used for compensating the light reflected by the optical filter to be detected;
the beam expanding device is used for adjusting the light rays entering the shooting device into parallel light rays;
and the shooting device is used for shooting and observing the interference fringes.
Preferably, the beam splitting device is located at one side of the light source, the beam expanding device is located above the beam splitting device, and the compensation plate and the reflecting device are located below the beam splitting device.
Preferably, the photographing device is a camera having a charge coupled device, and the reflecting device is a mirror. The beam splitting device is a beam splitter. The beam expanding device is a beam expanding lens.
The invention has the beneficial effects that: effective interference fringe imaging is achieved on the surface of the optical filter through the wedge interference principle, and whether stains exist on the optical filter is judged by utilizing the formed fringe image, so that the problem that the optical filter is detached due to inaccurate judgment is reduced, the damage degree of the optical filter is reduced, the working efficiency and the working quality are improved, and the cost is reduced.
Drawings
FIG. 1 is a schematic structural diagram of a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a third embodiment of the present invention;
in the figure, 1-a light source, 21-a beam splitting device, 22-a beam expanding device, 3-a compensation plate, 4-a camera module comprising a filter to be measured and a sensor, 5-a reflecting device and 6-a shooting device.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and embodiments, it being understood that the specific embodiments described herein are merely illustrative of the present invention and are not intended to limit the present invention.
In the following embodiments of the present invention, the image capturing device is a camera having a charge-coupled device, the reflecting device is a mirror, the beam splitting device is a beam splitter, and the beam expanding device is a beam expander.
Referring to fig. 1, the present invention provides a method for detecting stains on an optical filter, comprising the steps of:
s1: one beam of light in two beams of light formed by light emitted by the light source after passing through the beam splitting device is emitted to a camera module containing a filter to be measured and a sensor, and the other beam of light is emitted to the reflecting device;
s2: the camera module and the reflecting device respectively reflect the light rays passing through the beam splitting device to form two reflected light rays, and after the two reflected light rays pass through the beam splitting device again, wedge interference fringes are formed on the shooting device to obtain an interference fringe image;
s3: and analyzing the obtained interference fringe images, wherein if a plurality of interference fringe images have shadows locally, stains exist at the positions corresponding to the optical filters.
The camera module comprises a camera module used for electronic equipment (such as a smart phone, a tablet computer, a smart watch and a smart bracelet).
Preferably, a compensation plate 3 is arranged between the camera module containing the filter to be measured and the beam splitting device 21, and the compensation plate 3 compensates the light reflected by the filter to be measured.
Preferably, a beam expander 22 is arranged between the beam splitter 21 and the shooting device 6, and the two reflected light beams sequentially pass through the beam splitter 21 and the beam expander 22 and enter the shooting device 6.
Specifically, as shown in fig. 2, the beam splitting device 21 of the present invention is located on one side of the light source 1, the beam expanding device 22 is located above the beam splitting device 21, the reflecting device 5 is located below the beam splitting device 23, the compensating plate 3 and the camera module 4 are located on the same side of the beam splitting device 21, the compensating plate 3, the beam splitting device 21 and the light source 1 are located on the same horizontal line, and the compensating plate 3 is located between the camera module 4 containing the optical filter to be measured and the beam splitting device 21.
Further, the light source 1 is monochromatic light, and the light penetration can be effectively guaranteed by utilizing the monochromatic light, so that the later fringe image definition is improved.
Preferably, the shooting device 6 of the invention is a camera with a charge coupled device, and the camera with the charge coupled device can realize stable imaging with small power consumption, improve the imaging stability and the image definition, and facilitate clear and effective judgment on whether stains exist on the surface of the optical filter through a stripe image, thereby improving the judgment accuracy.
The first embodiment is as follows:
the method for detecting the optical filter by using the optical filter stain detection device comprises the following steps:
s1: the lens containing the lens of the camera module is removed from the assembled camera module, the camera module 4 containing the optical filter and the sensor which is fixed by glue dispensing or other methods is placed above the reflecting device 5, one beam of light in two beams of light formed by the light emitted by the light source 1 after passing through the beam splitting device 21 is emitted to the camera module 4 containing the optical filter and the sensor to be detected, and the other beam of light is emitted to the reflecting device 5;
s2: the camera module 4 and the reflecting device 5 respectively reflect the light rays passing through the beam splitting device 21 to form two reflected light rays, and after the two reflected light rays pass through the beam splitting device 21 again, a wedge interference fringe is formed on the shooting device 22 to obtain an interference fringe image;
s3: and analyzing the obtained interference fringe images, wherein if a plurality of interference fringe images have shadows locally, stains exist at the positions corresponding to the optical filters.
The detection device for implementing the detection method comprises:
a light source 1 for emitting light;
the beam splitting device 21 is positioned on one side of the light source 1 and is used for changing the light path and splitting the light;
the reflecting device 5 is used for reflecting the light rays after passing through the beam splitting device and forming wedge interference fringes with the light rays reflected by the optical filter to be detected;
and the shooting device 6 is used for shooting and observing the interference fringes.
Example two:
the method for detecting the optical filter by using the optical filter stain detection device comprises the following steps:
s1: the lens containing the lens of the camera module is removed from the assembled camera module, the camera module 4 containing the optical filter and the sensor which is fixed by glue dispensing or other methods is placed above the reflecting device 5, one beam of light in two beams of light formed by the light emitted by the light source 1 after passing through the beam splitting device 21 is emitted to the camera module 4 containing the optical filter and the sensor to be detected, and the other beam of light is emitted to the reflecting device 5;
s2: a compensation plate 3 is arranged between the camera module 4 containing the optical filter to be detected and the beam splitting device 21, the compensation plate 3 compensates the light reflected by the optical filter to be detected, the camera module 4 and the reflecting device 5 respectively reflect the light passing through the beam splitting device 21 to form two beams of reflected light, and after the two beams of reflected light pass through the beam splitting device 21 again, a wedge interference fringe is formed on the shooting device 6 to obtain an interference fringe image;
s3: and analyzing the obtained interference fringe images, wherein if a plurality of interference fringe images have shadows locally, stains exist at the positions corresponding to the optical filters.
The detection device for implementing the detection method comprises:
a light source 1 for emitting light;
a beam splitting means 21 located at one side of the light source for changing a light path and splitting the light;
the reflecting device 5 is used for reflecting a beam of light after passing through the beam splitting device 21 and forming a wedge interference fringe with the light reflected by the optical filter to be measured of the camera module 4;
the compensation plate 3 is used for compensating the light reflected by the optical filter to be measured of the camera module 4;
and the shooting device 6 is used for shooting and observing the interference fringes.
Example three:
the method for detecting the optical filter by using the optical filter stain detection device comprises the following steps:
s1: the lens containing the lens of the camera module is removed from the assembled camera module, the camera module 4 containing the optical filter and the sensor which is fixed by glue dispensing or other methods is placed above the reflecting device 5, one beam of light in two beams of light formed by the light emitted by the light source 1 after passing through the beam splitting device 21 is emitted to the camera module 4 containing the optical filter and the sensor to be detected, and the other beam of light is emitted to the reflecting device 5;
s2: a compensation plate 3 is arranged between the camera module 4 containing the optical filter to be detected and the beam splitting device 21, the compensation plate 3 compensates the light reflected by the optical filter to be detected, the camera module 4 and the reflecting device 5 respectively reflect the light passing through the beam splitting device 21 to form two beams of reflected light, the two beams of reflected light pass through the beam splitting device 21 again and form a wedge interference fringe on the shooting device 6 after passing through the beam expanding device 22, and an interference fringe image is obtained;
s3: and analyzing the obtained interference fringe images, wherein if a plurality of interference fringe images have shadows locally, stains exist at the positions corresponding to the optical filters.
The detection device for implementing the detection method comprises:
a light source 1 for emitting light;
a beam splitting device 21 located at one side of the light source for changing the light path and splitting the light;
the reflecting device 5 is used for reflecting a beam of light after passing through the beam splitting device and forming wedge interference fringes with the light reflected by the optical filter to be measured of the camera module 4;
the compensation plate 3 is used for compensating the light reflected by the optical filter to be detected;
a beam expander 22 for adjusting the light rays incident on the camera 6 into parallel light rays;
and the shooting device 6 is used for shooting and observing the interference fringes.
Specifically, the beam splitting device 21 is located on one side of the light source 1, the beam expanding device 22 is located above the beam splitting device 21, and the compensation plate 3 and the reflecting device 5 are located below the beam splitting device 21.
In summary, the present invention provides an optical filter stain detection apparatus, comprising: the light source is used for emitting unidirectional light, and the light source of the unidirectional light is utilized to ensure the centralization in the light source irradiation process so as to improve the subsequent imaging definition; the beam splitting device and the beam expanding device are used for changing the path of the one-way light and diffusing or collecting the one-way light, so that the light reflected by the optical filter and the reflector forms wedge interference, and the streak image formed by the wedge interference is used for detecting and confirming stains on the optical filter; the compensation plate and the light source are positioned on the same horizontal line or the compensation plate and the shooting device are positioned on the same horizontal line, and the compensation plate is used for enhancing the light forming definition to enable the light forming definition to realize clear stripe images, so that whether stains exist on the optical filter or not can be detected and confirmed conveniently; the shooting device is positioned on one side of the lens group and used for shooting and observing the image reflected by the reflector, and the formed stripe image is shot by utilizing the shooting device, so that whether stains exist on the optical filter or not can be accurately confirmed according to the stripe image, and the stain confirmation speed and the work efficiency are improved.
The invention has the beneficial effects that: effective interference fringe imaging is achieved on the surface of the optical filter through the wedge interference principle, and whether stains exist on the optical filter is judged by utilizing the formed fringe image, so that the problem that the optical filter is detached due to inaccurate judgment is reduced, the damage degree of the optical filter is reduced, the working efficiency and the working quality are improved, and the cost is reduced.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.