Imaging module, detection device, detection method and related device
By designing an imaging module, combined with the use of mirror components and ring light source/point light source, the problem of long-term detection of side wall defects by smartphone camera detection equipment is solved, and simultaneous detection of surfaces and sides is achieved, and detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411545881.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-25
AI Technical Summary
When existing smartphone camera detection equipment detects side wall defects of the camera platform and the lens platform, the detection time is long and it is difficult to collect image information on the surface and side at the same time, affecting the detection efficiency.
An imaging module is designed, including a lens unit, a point light source assembly, annular light source assembly and a mirror assembly. The image is carried out through the mirror of the mirror assembly, and combined with the lighting method of the annular light source and the point light source, simultaneous detection of the surface and sides of the to-detected part is realized.
It realizes the acquisition of image information at the same time while the surface and sides of the detection part, improves detection efficiency, and more accurately detects defects such as scratches, collapses and depressions, ensuring detection accuracy.
Smart Images

Figure CN119510408A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of machine vision technology, and in particular to an imaging module, a detection device, a detection method and related equipment. Background Art
[0002] In recent years, the pace of smartphone upgrades has been getting faster and faster, and suppliers have made more and more obvious upgrades and changes in mobile phone cameras. The lens is the soul of the camera. Using the refraction principle of the lens, light is refracted multiple times through the lens to form a clear image on the focal plane. The photosensitive material CMOS or CCD photoreceptor is located on the focal plane to record the image of the scene.
[0003] The more lenses there are, the better the image quality is generally, but it also leads to a thicker camera. In order to ensure photo performance and user experience, most smartphones are only thickened in the camera part, resulting in a camera platform and a lens platform. During appearance inspection, planes at different heights must be inspected, and defects on the side walls also need to be inspected. Since the camera platform is opaque, only a partial area of the side wall can be photographed in a single field of view, so during the inspection process, the side wall is divided into sections and aligned with the inspection device in turn, but this will result in a long inspection time, especially when there are multiple cameras on the phone. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0005] To this end, a first aspect of the present invention provides an imaging module.
[0006] A second aspect of the present invention provides a detection device.
[0007] The third aspect of the present invention provides a detection method.
[0008] A fourth aspect of the present invention provides a computer-readable storage medium.
[0009] A fifth aspect of the present invention provides a control device.
[0010] In view of this, according to a first aspect of an embodiment of the present application, an imaging module is proposed, comprising:
[0011] Lens unit;
[0012] A point light source assembly, wherein the point light source assembly is arranged above the lens unit;
[0013] An annular light source assembly, wherein the annular light source assembly is arranged below the lens unit;
[0014] A reflector assembly is arranged below the annular light source assembly, and the reflector assembly comprises a reflector, and the reflector is tilted relative to the optical axis of the lens unit.
[0015] In a feasible implementation manner, the reflector assembly includes a plurality of reflectors, and a shape formed by the plurality of reflectors is in the shape of a prism, wherein an open end of the prism is arranged toward the annular light source assembly.
[0016] In a feasible implementation manner, each of the reflectors is trapezoidal in shape.
[0017] In a feasible implementation manner, the reflector assembly further includes:
[0018] A first shell, a plurality of reflectors are connected to the first shell.
[0019] In a feasible implementation manner, a slot is formed on the first housing, and one end of the reflector is snapped into the slot; and / or
[0020] A buffer is arranged between the reflector and the first shell.
[0021] In a feasible implementation manner, the reflector is in a truncated cone shape.
[0022] In a feasible implementation manner, the lens unit includes a telecentric lens.
[0023] In a feasible implementation manner, the point light source assembly includes:
[0024] Point light source;
[0025] A reflector, wherein the light emitting direction of the point light source is toward the reflector, and the reflector propagates the light emitted by the point light source along the optical axis direction of the lens unit.
[0026] In a feasible implementation manner, the point light source assembly further includes:
[0027] A second shell, the reflector is arranged in the second shell, the second shell is connected to the lens unit, and the point light source is connected to the second shell and arranged on the outside of the second shell.
[0028] In a feasible implementation manner, the annular light source assembly includes:
[0029] an annular light source, the annular light source being arranged between the reflector assembly and the lens unit;
[0030] A diffuse reflector is arranged at the light emitting end of the annular light source.
[0031] In a feasible implementation manner, the annular light source assembly further includes:
[0032] A third shell, the annular light source and the diffuse reflection element are arranged in the third shell, and the third shell is connected to the reflector assembly.
[0033] In a feasible implementation manner, the imaging module further includes:
[0034] A support tube is connected to the reflector assembly and the annular light source assembly to adjust the distance between the reflector assembly and the annular light source assembly.
[0035] In a feasible implementation manner, the support tube is made of a resin material, and a plurality of folds are formed on the support tube so that the effective height of the support tube can be adjusted.
[0036] In a feasible implementation manner, the imaging module further includes: a frame, wherein the frame includes:
[0037] A top plate, a bottom plate and a guide column arranged between the top plate and the bottom plate, and the annular light source assembly is connected to the guide column.
[0038] According to a second aspect of an embodiment of the present application, a detection device is provided, comprising:
[0039] An imaging module as described in any of the above technical solutions;
[0040] An analysis module is connected to the imaging module.
[0041] According to a third aspect of an embodiment of the present application, a detection method is proposed, which is applied to an imaging module as described in any of the above technical solutions, or a detection device as described in any of the above technical solutions, and the detection method includes:
[0042] Placing the part to be detected below the imaging module;
[0043] Turning on the annular light source assembly to collect first image information through the lens unit;
[0044] Turning on the point light source component and collecting second image information through the lens unit;
[0045] Based on the first image information and the second image information, defects of the to-be-inspected part are inspected.
[0046] In a feasible implementation manner, the step of placing the part to be detected below the imaging module includes:
[0047] The object to be detected is arranged below the imaging module, and the distance between the object to be detected and the reflector assembly is 1 mm to 5 mm.
[0048] In a feasible implementation manner, the step of turning on the annular light source assembly and collecting first image information through the lens unit includes:
[0049] The annular light source assembly is turned on, and the light source assembly is controlled to be in an off state, and image information of the surface and side of the to-be-detected part is collected as the first image information.
[0050] In a feasible implementation manner, the step of turning on the point light source component and collecting the second image information through the lens unit includes:
[0051] The point light source assembly is turned on, the annular light source assembly is controlled to be in an off state, and image information of the surface of the part to be inspected is collected as the second image information.
[0052] In a feasible implementation manner, the step of detecting defects of the to-be-detected part based on the first image information and the second image information includes:
[0053] Determining the scratch defect of the to-be-detected part based on the first image information;
[0054] Based on the second image information, the collapse information and / or the concave defect information of the to-be-detected part is determined.
[0055] According to a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided.
[0056] The computer-readable storage medium stores a computer program for implementing the detection method described in any of the above technical solutions.
[0057] According to a fifth aspect of an embodiment of the present application, a control device is provided, comprising:
[0058] a memory storing a computer program;
[0059] A processor, configured to execute the computer program;
[0060] Wherein, when executing the computer program, the processor implements the detection method as described in any of the above technical solutions.
[0061] Compared with the prior art, the present invention has at least the following beneficial effects:
[0062] The imaging module provided by the embodiment of the present application includes a lens unit, a point light source assembly, an annular light source assembly and a reflector assembly. Based on this, when the imaging module is used to detect an object to be detected with a certain thickness and a side, the object to be detected can be placed below the reflector assembly, and then the annular light source assembly is turned on first. The light emitted by the annular light source assembly will illuminate the surface and side of the object to be detected, and the side wall of the object to be detected will be imaged through the reflector of the reflector assembly. When collecting images, the lens unit is used to focus on the object to be detected, and the reflector assembly can be used to simultaneously collect images of the surface and side of the object to be detected. When the point light source assembly is turned on, the point light source assembly can illuminate the surface of the detection piece. In this case, the lens unit is used to focus on the object to be detected, and the image of the surface of the detection piece can be collected. Based on this, the imaging module provided by the embodiment of the present application can simultaneously collect images of the surface of the detection piece and images of multiple sides, based on which the surface and side of the detection piece can be detected for defects at the same time, which can greatly improve the detection efficiency, ensure the yield rate of the detection piece, and especially improve the detection efficiency of the lens. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0064] Figure 1 A schematic structural diagram of an imaging module according to an embodiment of the present application;
[0065] Figure 2 A schematic structural diagram of a first imaging mode of an imaging module according to an embodiment of the present application;
[0066] Figure 3 A schematic structural diagram of a second imaging mode of an imaging module according to an embodiment of the present application;
[0067] Figure 4 A schematic structural diagram of a reflector assembly of an imaging module according to an embodiment of the present application;
[0068] Figure 5 A schematic flowchart of the steps of a detection method according to an embodiment of the present application;
[0069] Figure 6 A schematic structural diagram of an imaging result of an imaging module according to an embodiment of the present application;
[0070] Figure 7A schematic structural block diagram of a computer-readable storage medium according to an embodiment of the present application;
[0071] Figure 8 A schematic structural block diagram of a control device according to an embodiment of the present application.
[0072] in, Figures 1 to 4 The corresponding relationship between the reference numerals and the component names is as follows:
[0073] 110 lens unit, 120 point light source assembly, 130 ring light source assembly, 140 reflector assembly, 150 support tube;
[0074] 121 is a point light source, 122 is a second shell, 131 is a ring light source, 132 is a third shell, 141 is a reflector, and 142 is a first shell. DETAILED DESCRIPTION
[0075] In order to better understand the above-mentioned technical scheme, the technical scheme of the embodiments of the present application is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical scheme of the embodiments of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments may be combined with each other.
[0076] like Figures 1 to 4 As shown, according to the first aspect of an embodiment of the present application, an imaging module is proposed, comprising: a lens unit 110; a point light source assembly 120, the point light source assembly 120 is arranged above the lens unit 110; an annular light source assembly 130, the annular light source assembly 130 is arranged below the lens unit 110; a reflector assembly 140, the reflector assembly 140 is arranged below the annular light source assembly 130, the reflector assembly 140 includes a reflector 141, and the reflector 141 is tilted relative to the optical axis of the lens unit 110.
[0077] The imaging module provided in the embodiment of the present application includes a lens unit 110, a point light source assembly 120, an annular light source assembly 130 and a reflector assembly 140. Based on this, when an object to be detected with a certain thickness and a side surface is detected by the imaging module, the object to be detected can be placed below the reflector assembly, and then the annular light source assembly 130 is turned on first. The light emitted by the annular light source assembly 130 will illuminate the surface and side surface of the object to be detected, and the side wall of the object to be detected will be imaged by the reflector 141 of the reflector assembly 140. When collecting images, the object to be detected is focused by the lens unit 110, and the image of the surface and side surface of the object to be detected can be collected by the reflector assembly 140 at the same time. When the point light source assembly 120 is turned on, the point light source assembly 120 can illuminate the surface of the detection piece. In this case, the image of the surface of the detection piece can be collected by focusing the object to be detected by the lens unit 110. Based on this, the imaging module provided by the embodiment of the present application can simultaneously capture images of the surface of the part to be inspected and images of multiple sides. Based on this, defects can be detected on the surface and sides of the part to be inspected at the same time, which can greatly improve the detection efficiency and ensure the yield rate of the inspected parts. The upper surface and side surfaces of cylindrical objects can be detected simultaneously, and it has the advantages of low cost and short detection time. It is effectively applied to the field of defect detection, especially to improve the detection efficiency of lenses.
[0078] The imaging module provided by the embodiment of the present invention, when the annular light source assembly 130 is turned on to inspect the part to be inspected, the lighting method of the part to be inspected is dark field lighting. In this case, the image of the part to be inspected is collected through the reflector assembly 140, and the collected image is further analyzed, so that the scratch defects on the part to be inspected can be more clearly distinguished. When the point light source assembly 120 is turned on and the part to be inspected is illuminated by the point light source assembly 120, the lighting method is bright field lighting. In this case, the image information of the part to be inspected is collected, and the collected image is further analyzed, so that the collapse or concave defects on the part to be inspected can be more clearly distinguished. Based on this, the imaging module provided by the embodiment of the present invention can efficiently inspect the part to be inspected while ensuring the detection accuracy.
[0079] It is understandable that for lens products, in the actual production process, the surface of the lens is more prone to scratches, collapse and dents, while the side of the lens is more prone to scratches and less prone to collapse and dents. Based on this, the present application can detect scratch defects on the surface and side of the inspected part by turning on the annular light source assembly 130, and then detect collapse and dents on the surface of the inspected part by turning on the point light source assembly 120, which can further improve the detection accuracy.
[0080] In some examples, the optical axes of the lens unit 110 , the annular light source assembly 130 , and the reflector assembly 140 are coaxial.
[0081] like Figures 1 to 4 As shown, in a feasible implementation manner, the reflector assembly 140 includes a plurality of reflectors 141 , and a shape enclosed by the plurality of reflectors 141 is in a prism shape, and an open end of the prism shape is arranged toward the annular light source assembly 130 .
[0082] In this technical solution, the structural composition of the reflector assembly 140 is further provided. The reflector assembly 140 may include multiple reflectors 141, and the multiple reflectors 141 are arranged in a prism shape. Based on this, when the annular light source assembly 130 is turned on, the part to be inspected can be imaged by the multiple reflectors 141. The virtual image formed by the multiple reflectors 141 can represent the side of the part to be inspected, and can better detect defects on the side of the part to be inspected.
[0083] It is understandable that the more the reflectors 141 are provided and the closer the adjacent reflectors 141 are arranged, the better the imaging effect of the side surface of the inspected object will be, but the processing difficulty will be increased accordingly.
[0084] like Figure 4 As shown, in some examples, the reflector assembly 140 provided in the embodiments of the present application may include six reflectors 141 , and the six reflectors 141 have the same structure, which can better ensure the imaging effect of the side of the object to be inspected and facilitate the processing of the reflector assembly 140 .
[0085] like Figures 1 to 4 As shown, in a feasible implementation, each reflector 141 is trapezoidal. With such an arrangement, when multiple reflectors 141 are assembled, a prism-shaped structure can be presented, which is convenient for imaging the side of the object to be detected and for assembling the reflectors 141. It is understandable that for standard imaging accuracy and assembly accuracy, the reflectors 141 can be isosceles trapezoidal.
[0086] like Figures 1 to 4 As shown, in a feasible implementation, the reflector assembly 140 further includes: a first housing 142, and a plurality of reflectors 141 are connected to the first housing 142. Such an arrangement facilitates packaging of the plurality of reflectors 141 and provides installation locations for the plurality of reflectors 141.
[0087] In a feasible implementation, a card slot is formed on the first housing 142, and one end of the reflector 141 is carded into the card slot. In this way, the reflector 141 can be assembled onto the first housing 142 by carding, which is convenient for assembling the reflector 141 on the one hand, and convenient for accurately positioning the reflector 141 on the other hand, so as to ensure the imaging accuracy of the side of the detected part.
[0088] In a feasible implementation, a buffer is disposed between the reflector 141 and the first housing 142. This arrangement can improve the anti-vibration effect of the imaging module and ensure the working stability of the imaging module.
[0089] In a feasible implementation manner, the reflector 141 is in a truncated cone shape.
[0090] In this technical solution, another style of reflector 141 is further provided. The reflector assembly 140 may include only one reflector 141, and this reflector 141 is in a truncated cone shape. Based on this, this reflector 141 can be used to image the object to be inspected, so that the lens unit 110 can better capture the image of the side of the object to be inspected, which can further improve the detection accuracy.
[0091] In a possible implementation, the lens unit 110 includes a telecentric lens.
[0092] In the technical solution, a style of the lens unit 110 is further provided. The lens unit 110 may include a telecentric lens. By selecting the telecentric lens, the image magnification obtained can be kept constant within a certain object distance range. Based on this, the image formed by the object to be inspected can be collected using the telecentric lens, which can improve the inspection accuracy.
[0093] In some examples, the optical axis of the point light source assembly 120 is perpendicular to the optical axis of the telecentric lens, and is installed at the coaxial illumination interface of the telecentric lens.
[0094] like Figures 1 to 4 As shown, in a feasible implementation, the point light source assembly 120 includes: a point light source 121; a reflector, the light emission direction of the point light source 121 is toward the reflector 141, and the reflector propagates the light emitted by the point light source 121 along the optical axis direction of the lens unit 110.
[0095] In this technical solution, the structural composition of the point light source assembly 120 is further provided. The point light source assembly 120 may include a point light source 121 and a reflector. The light emitted by the point light source 121 is reflected by the reflector and then enters the lens unit 110, and then the surface of the part to be inspected is illuminated. The light is reflected by the part to be inspected to form a light path, and the light path can be collected by the camera after passing through the lens unit 110. Based on this, an image of the surface of the part to be inspected can be obtained, which is convenient for detecting surface defects of the part to be inspected.
[0096] like Figures 1 to 4 As shown, in a feasible embodiment, the point light source assembly 120 also includes: a second shell 122, a reflective element is disposed in the second shell 122, the second shell 122 is connected to the lens unit 110, and the point light source 121 is connected to the second shell 122 and arranged on the outside of the second shell 122.
[0097] In this technical solution, the structural composition of the point light source assembly 120 is further provided. The point light source assembly 120 may also include a second shell 122. The setting of the second shell 122 can encapsulate the reflective element and facilitate the assembly of the point light source 121. The point light source 121 can be vertically connected to the second shell 122 to facilitate the control of the optical path of the point light source 121.
[0098] like Figures 1 to 4 As shown, in a feasible implementation, the annular light source assembly 130 includes: an annular light source 131 , which is arranged between the reflector assembly 140 and the lens unit 110 ; and a diffuse reflector, which is arranged at the light-emitting end of the annular light source 131 .
[0099] In this technical solution, the structural composition of the annular light source assembly 130 is further provided. The annular light source assembly 130 may include an annular light source 131 and a diffuse reflector. The light emitted by the annular light source 131 forms a more uniform light after passing through the diffuse reflector. The emitted light illuminates the surface and side of the part to be detected. Then, the side of the part to be detected passes through the reflector 141 of the reflector assembly 140 for plane mirror imaging. The lens unit 110 is focused, and the light is captured by the camera after passing through the lens unit 110. Then, the image of the surface and side of the part to be detected can be collected, which is convenient for detecting the surface and side of the part to be detected.
[0100] like Figures 1 to 4 As shown, in a feasible implementation, the annular light source assembly 130 further includes: a third shell 132, the annular light source 131 and the diffuse reflector are arranged in the third shell 132, and the third shell 132 is connected to the reflector assembly 140. The arrangement of the third shell 132 facilitates the packaging of the annular light source 131 and the diffuse reflector.
[0101] like Figures 1 to 4 As shown, in a feasible implementation, the imaging module further includes: a support tube 150, and the support tube 150 is connected to the reflector assembly 140 and the annular light source assembly 130 to adjust the distance between the reflector assembly 140 and the annular light source assembly 130. In this technical solution, the imaging module may also include the support tube 150, and such a configuration facilitates the adjustment of the distance between the reflector assembly 140 and the annular light source assembly 130, so that the annular light source assembly 130 can better illuminate the side of the to-be-detected part, and can improve the imaging effect of the side of the to-be-detected part.
[0102] In a feasible implementation manner, the support tube 150 is made of a resin material, and a plurality of folds are formed on the support tube 150 so that the effective height of the support tube 150 is adjustable.
[0103] In this technical solution, a specific style of the support tube 150 is further provided, and a plurality of folds are formed on the support tube 150. The effective height of the support tube 150 can be adjusted by stretching or contracting the folds, and then the distance between the reflector assembly 140 and the annular light source assembly 130 can be adjusted, so that the annular light source assembly 130 can better illuminate the side of the object to be inspected, thereby improving the imaging effect of the side of the object to be inspected.
[0104] In a feasible implementation, the imaging module further includes: a frame, the frame includes: a top plate, a bottom plate, and a guide column disposed between the top plate and the bottom plate, and the annular light source assembly 130 is connected to the guide column. In this way, the effective height of the support tube 150 can be locked through the setting of the frame, which can ensure the stability of the imaging module.
[0105] like Figures 1 to 4 As shown, according to the second aspect of the embodiment of the present application, a detection device is proposed, including: an imaging module as in any of the above technical solutions; and an analysis module, wherein the analysis module is connected to the imaging module.
[0106] The detection device provided in the embodiment of the present application includes an imaging module as described in any of the above technical solutions, so the detection device has all the beneficial effects of the imaging module of the above technical solutions.
[0107] The detection device provided by the embodiment of the present application can place the object to be detected below the reflective component, and then first turn on the annular light source component 130. The light emitted by the annular light source component 130 will illuminate the surface and side of the object to be detected. The side wall of the object to be detected will be imaged through the reflector 141 of the reflector component 140. When collecting images, the object to be detected is focused by the lens unit 110, and the image of the surface and side of the object to be detected can be collected by the reflector component 140 at the same time. When the point light source component 120 is turned on, the point light source component 120 can illuminate the surface of the detection piece. In this case, the image of the surface of the detection piece can be collected by focusing on the object to be detected by the lens unit 110. Based on this, the imaging module provided by the embodiment of the present application can collect the image of the surface of the detection piece and the images of multiple sides at the same time. After that, the collected image is analyzed by the analysis module, and the surface and side of the detection piece can be detected for defects at the same time, which can greatly improve the detection efficiency, ensure the yield rate of the detection piece, and especially improve the detection efficiency of the lens.
[0108] like Figure 5 As shown, according to the third aspect of the embodiment of the present application, a detection method is proposed, which is applied to an imaging module as in any of the above technical solutions, or a detection device as in any of the above technical solutions, and the detection method includes:
[0109] Step 301: placing the object to be detected below the imaging module;
[0110] Step 302: Turn on the annular light source assembly and collect first image information through the lens unit;
[0111] Step 303: Turn on the point light source component and collect second image information through the lens unit;
[0112] Step 304: Based on the first image information and the second image information, defects of the inspected part are inspected.
[0113] The detection method provided in the embodiment of the present application is applied to the imaging module and the detection device of any of the above-mentioned technical solutions, so the detection method has all the beneficial effects of the imaging module and the detection device of the above-mentioned technical solutions.
[0114] The detection method provided by the embodiment of the present application can place the object to be detected under the reflective component, and then turn on the annular light source component first. The light emitted by the annular light source component will illuminate the surface and side of the object to be detected, and the side wall of the object to be detected will be imaged through the reflector of the reflector component. When collecting images, the lens unit is used to focus on the object to be detected, and the reflector component can be used to simultaneously collect images of the surface and side of the object to be detected. When the point light source component is turned on, the point light source component can illuminate the surface of the detection piece. In this case, the lens unit is used to focus on the object to be detected, and the image of the surface of the detection piece can be collected. Based on this, the imaging module provided by the embodiment of the present application can simultaneously collect images of the surface of the detection piece and multiple side images. Based on this, the surface and side of the detection piece can be detected for defects at the same time, which can greatly improve the detection efficiency, ensure the yield rate of the detection piece, and especially improve the detection efficiency of the lens.
[0115] In a feasible implementation, the step of arranging the part to be detected below the imaging module includes: arranging the part to be detected below the imaging module, and the distance between the part to be detected and the reflector assembly is 1 mm to 5 mm.
[0116] In this technical solution, a setting method for the part to be detected is further provided, and the distance between the part to be detected and the reflector assembly is 1mm to 5mm. Such a setting facilitates the acquisition of images of the surface and side of the part to be detected, and also facilitates the loading and removal of the part to be detected into the imaging module.
[0117] In a feasible implementation, the step of turning on the annular light source assembly and collecting the first image information through the lens unit includes: turning on the annular light source assembly and controlling the light source assembly to be in an off state, collecting image information of the surface and side of the part to be inspected as the first image information.
[0118] In this technical solution, a specific method for acquiring the first image is further provided. The annular light source assembly is turned on and the light source assembly is controlled to be in an off state. The light emitted by the annular light source assembly will illuminate the surface and sides of the object to be detected, and the side walls of the object to be detected will be imaged through the reflector of the reflector assembly. When collecting the image, the object to be detected is focused by the lens unit, and the reflector assembly can be used to simultaneously collect images of the surface and sides of the object to be detected as the first image information. By analyzing the first image information, the defects on the surface and sides of the object to be detected can be determined, and the surface and sides of the object to be detected can be detected at one time, which can improve the detection efficiency.
[0119] In a feasible implementation, the step of turning on the point light source assembly and collecting the second image information through the lens unit includes: turning on the point light source assembly, controlling the annular light source assembly to be in an off state, and collecting image information of the surface of the part to be inspected as the second image information.
[0120] In this technical solution, a specific method for acquiring the second image is further provided. When the point light source component is turned on, the ring light source component is controlled to be in an off state, and the point light source component can illuminate the surface of the inspection piece. In this case, the lens unit is used to focus on the object to be inspected, and the image of the surface of the inspection piece can be collected as the second image information. Based on this, by analyzing the second image information, the defects on the surface of the inspection piece can be determined, which can improve the detection accuracy.
[0121] In a feasible implementation, the step of detecting defects of the inspected piece based on the first image information and the second image information includes: determining scratch defects of the inspected piece based on the first image information; and determining collapse information and / or depression defect information of the inspected piece based on the second image information.
[0122] In this technical solution, a specific method for detecting defects based on the first image information and the second image information is further provided. Considering that when the annular light source assembly is turned on to detect the part to be detected, the lighting method of the part to be detected is dark field lighting. In this case, the imaging of the part to be detected is collected by the reflector assembly, and the collected first image information is further analyzed, so that the scratch defects on the part to be detected can be more clearly distinguished. When the point light source assembly is turned on and the part to be detected is illuminated by the point light source assembly, the lighting method is bright field lighting. In this case, the image information of the part to be detected is collected, and the collected second image information is further analyzed, so that the collapse or concave defects on the part to be detected can be more clearly distinguished. Based on this, the imaging module provided by the embodiment of the present invention can efficiently detect the part to be detected while ensuring the detection accuracy.
[0123] It is understandable that the collapse and depression states can also be detected simultaneously through the first image information, and scratches can also be detected through the second image information if agreed. The two sets of detection results can verify each other, which can further improve the detection accuracy.
[0124] Example
[0125] like Figures 1 to 4As shown, the imaging module provided in this embodiment includes: a lens unit 110; a point light source assembly 120, wherein the point light source assembly 120 is arranged above the lens unit 110; a ring light source assembly 130, wherein the ring light source assembly 130 is arranged below the lens unit 110; a reflector assembly 140, wherein the reflector assembly 140 is arranged below the ring light source assembly 130, wherein the reflector assembly 140 includes a reflector 141, and wherein the reflector 141 is tilted relative to the optical axis of the lens unit 110.
[0126] During use, yellow dye is applied to the side of the part to be inspected as a defect mark. Further during the inspection process:
[0127] First, the annular light source assembly is turned on. At this time, the changes in the optical path are as follows: the light 1a emitted by the annular light source assembly illuminates the surface and side wall of the cylindrical object; the side wall of the cylindrical object passes through the reflector in the reflector assembly to form a plane mirror image 1c;
[0128] The telecentric lens focuses on the plane mirror image 1c on the side wall of the cylindrical object. The light path passes through the telecentric lens, and the light 1b is collected by the camera chip to form an image;
[0129] When the point light source component is then turned on, the changes in the optical path are specifically as follows: the light 2a emitted by the point light source component directly enters the telecentric lens, forms light after being refracted, and illuminates the surface of the cylindrical object; the light forms optical path 2b after reflection, passes through the telecentric lens, and the light 2b is collected by the camera chip to form an image.
[0130] As the present invention Figure 6 As shown, the circular part in the middle is the circular upper plane of the camera platform; the top, bottom, upper left, lower left, upper right, and lower right are the side wall images of the camera platform; the yellow part in the image is a defect, which can be clearly seen in the side wall image. That is to say, by combining the imaging module provided in the embodiment of the present application with the detection method, the side surfaces of the inspected part in multiple directions can be inspected at one time, which can ensure the detection accuracy and improve the detection efficiency.
[0131] like Figure 7 As shown, according to the fourth aspect of the embodiment of the present application, a computer-readable storage medium 501 is proposed, and the computer-readable storage medium 501 stores a computer program 502 to implement a detection method as described in any of the above technical solutions.
[0132] The computer-readable storage medium 501 provided in the embodiment of the present application implements the detection method of any of the above-mentioned technical solutions, so the computer-readable storage medium 501 has all the beneficial effects of the detection method of the above-mentioned technical solutions, which will not be elaborated here.
[0133] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0134] like Figure 8 As shown, according to the fifth aspect of an embodiment of the present application, a control device is proposed, comprising: a memory 501, storing a computer program; a processor 502, executing the computer program; wherein, when the processor 502 executes the computer program, it implements a detection method such as any of the above-mentioned technical solutions.
[0135] The control device provided in the embodiment of the present application realizes the detection method of any of the above-mentioned technical solutions, so the control device has all the beneficial effects of the detection method of the above-mentioned technical solutions, which will not be elaborated here.
[0136] In some examples, the control device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0137] In an exemplary embodiment, the control device may further include: an input / output interface and a display device, wherein each functional unit may communicate with each other via a bus. The memory stores a computer program, and the processor is used to execute the program stored in the memory and execute the method in the above embodiment.
[0138] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device of the method, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.
[0140] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0141] In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0142] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by terms such as “upper”, “lower”, “left”, “right”, “front” and “back” are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation, and therefore, cannot be understood as a limitation on the present invention.
[0143] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0144] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An imaging module, characterized in that: include: Lens unit; A point light source assembly, wherein the point light source assembly is arranged above the lens unit; An annular light source assembly, wherein the annular light source assembly is arranged below the lens unit; A reflector assembly is arranged below the annular light source assembly, and the reflector assembly comprises a reflector, and the reflector is tilted relative to the optical axis of the lens unit.
2. The imaging module according to claim 1, characterized in that: The reflector assembly includes a plurality of reflectors. The shape formed by the plurality of reflectors is in a prism shape. The open end of the prism shape is arranged toward the annular light source assembly.
3. The imaging module according to claim 2, characterized in that: Each of the reflectors is trapezoidal in shape.
4. The imaging module according to claim 2, characterized in that: The reflector assembly also includes: A first shell, a plurality of reflectors are connected to the first shell.
5. The imaging module according to claim 4, characterized in that: A slot is formed on the first housing, and one end of the reflector is snapped into the slot; and / or A buffer is arranged between the reflector and the first shell.
6. The imaging module according to claim 1, characterized in that: The reflector is in a truncated cone shape.
7. A detection device, characterized in that: include: The imaging module according to any one of claims 1 to 6; An analysis module is connected to the imaging module.
8. A detection method, characterized in that: Applied to the imaging module according to any one of claims 1 to 6, or the detection device according to claim 7, the detection method comprises: Placing the part to be detected below the imaging module; Turning on the annular light source assembly to collect first image information through the lens unit; Turning on the point light source component and collecting second image information through the lens unit; Based on the first image information and the second image information, defects of the to-be-inspected part are inspected.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for implementing the detection method according to any one of claims 1 to 6.
10. A control device, characterized in that: include: a memory storing a computer program; A processor, configured to execute the computer program; Wherein, when executing the computer program, the processor implements the detection method according to any one of claims 1 to 6.
Citation Information
Patent Citations
High-precision imaging system and method, image acquisition device and detection equipment
CN112098426A
Multi-view machine vision system for optical detection equipment
CN116297178A
Optical detection device and system with combination of bright field and dark field
CN216082450U
Detection system
CN216816499U
Optical system applied to metal surface heterochromatic detection
CN218273045U
Cited By
Surface detection device
CN122217871A