Surface detection device
By adopting a multi-angle lighting scheme in the capacitance detection equipment, and using coaxial light sources and annular light sources to build multiple lighting environments, the problem of poor shooting results caused by uneven light distribution is solved and the detection accuracy is improved.
Patent Information
- Application Number
- CN202420445386.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2034-03-07
AI Technical Summary
The existing capacitive convex bottom detection equipment has poor camera shooting effect due to uneven light distribution, which affects the detection effect.
Using a multi-angle lighting scheme, by setting two coaxial light sources to illuminate the object to be measured from above and below, and using an annular light source to illuminate the object to be measured at 360 degrees, combining two cameras to acquire images, and construct different lighting environments to improve shooting Effect.
Through the multi-angle lighting solution, the camera shooting effect and detection accuracy are improved, the light distribution is evenly distributed, and the detection accuracy is improved.
Smart Images

Figure CN222125066U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of capacitance detection equipment, in particular to a surface detection equipment. Background Art
[0002] The horn capacitor is a commonly used electronic component. During production and processing, the horn capacitor needs to be tested. The specific testing contents include convex bottom, scratches, breakage, different color, sleeve damage, sleeve length, sleeve curling, sleeve knife edge, pinhole, foreign matter, OCR recognition, poor ink printing, dirt, leakage, etc.
[0003] The existing capacitor convex bottom detection equipment includes a lighting lamp and a camera. A lighting lamp is used to illuminate the capacitor from a fixed direction to increase the light intensity, and then a camera is used to capture an image of the bottom surface of the capacitor. However, when a lighting lamp illuminates the capacitor from a fixed direction, the light distribution is uneven, which will lead to poor camera shooting effect and thus affect the detection effect. Utility Model Content
[0004] In order to solve the technical problem that uneven illumination distribution leads to poor camera photographing effect, the utility model provides a surface inspection device with multi-angle illumination and improved camera photographing effect.
[0005] A surface detection device comprises two cameras arranged opposite to each other, two coaxial light sources arranged opposite to each other and an annular light source, wherein the two coaxial light sources are arranged between the two cameras, the annular light source comprises a plurality of light-emitting units and is arranged between the two coaxial light sources, a shooting space is formed between the annular light source and one of the coaxial light sources, a light-emitting surface of the annular light source faces the shooting space, and the shooting space is used to accommodate an object to be tested.
[0006] In one embodiment, the two cameras, the two coaxial light sources and the annular light source are coaxially arranged.
[0007] In one embodiment, the two cameras are a first camera and a second camera, the two coaxial light sources are a first coaxial light source and a second coaxial light source, the surface detection device also includes a mounting base, the mounting base includes a first end and a second end arranged opposite to each other, the first camera is fixed to the first coaxial light source, the first coaxial light source is fixed to the first end of the mounting base, the second camera is fixed to the second coaxial light source, the second coaxial light source is fixed to the second end of the mounting base, the annular light source is fixed to the second coaxial light source, and the shooting space is between the annular light source and the first coaxial light source.
[0008] In one embodiment, a lifting mechanism is further included, and the first coaxial light source is fixed to the first end of the mounting base through the lifting mechanism.
[0009] In one embodiment, the lifting mechanism includes a fixed plate, a motor, a lead screw, a slider and a slide rail. The fixed plate is fixed to the first end of the mounting base, the motor and the slide rail are fixed to the fixed plate, the motor drives the lead screw to rotate, and the slider moves up and down accordingly. One side of the slider is slidably fixed to the slide rail, and the other side is fixed to the first coaxial light source.
[0010] In one embodiment, it further includes a first mounting plate and a second mounting plate, the first coaxial light source is fixed to the slider via the first mounting plate, and the first camera is fixed to the first coaxial light source via the second mounting plate.
[0011] In one embodiment, it includes a third mounting plate, a fourth mounting plate and a fifth mounting plate, the second coaxial light source is fixed to the second end of the mounting base through the third mounting plate, the second camera is fixed to the second coaxial light source through the fourth mounting plate, and the annular light source is fixed to the second coaxial light source through the fifth mounting plate.
[0012] In one embodiment, the light emitting unit is a parallel light source, and the annular light source is composed of a plurality of the parallel light sources distributed in an annular shape.
[0013] In one embodiment, the fourth mounting plate has two ends, one end is fixed to the second coaxial light source, and the other end is parallel to the side of the direction from the first coaxial light source to the second coaxial light source and a rotation center and an arc hole are set, and the parallel light source is provided with a through hole corresponding to the rotation center and the arc hole, and the parallel light source rotates with the rotation center as the rotation center, and the arc hole is used to fix and maintain the rotation position of the parallel light source relative to the fourth mounting plate.
[0014] In one embodiment, the annular light source is a ring lamp having a plurality of the light-emitting units.
[0015] Compared with the prior art, the surface detection equipment provided by the utility model is provided with the two coaxial light sources and the annular light source. The coaxial light source illuminates the object to be tested from above and below, and the annular light source illuminates the object to be tested at 360 degrees around the object to be tested. The coaxial light source and the annular light source construct different lighting environments, and the camera obtains corresponding images, thereby improving the shooting effect, which is conducive to improving the detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a three-dimensional assembly structure of a surface detection device provided by the utility model;
[0017] Figure 2 for Figure 1 A schematic diagram of a three-dimensional assembly structure of the surface detection device shown in another angle;
[0018] Figure 3 for Figure 1 A schematic diagram of a three-dimensional assembly structure of the annular light source shown;
[0019] Figure 4 for Figure 1 A schematic diagram of a detection scenario of a surface detection device shown;
[0020] Figure 5 For application Figure 1 The schematic diagram of the flow chart of the detection method of the surface detection device shown. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In the present utility model, "at least one" means one or more, and "more than one" means two or more. The terms "first" and "second" are used only for descriptive purposes to distinguish objects such as substances from each other, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. For example, without departing from the scope of the embodiments of the present application, the first XX may also be referred to as the second XX, and similarly, the second XX may also be referred to as the first XX.
[0023] Please refer to Figure 1 and Figure 2 ,in, Figure 1 A schematic diagram of a three-dimensional assembly structure of a surface detection device provided by the utility model. Figure 2 for Figure 1 A schematic diagram of the three-dimensional assembly structure of the surface detection device shown in another angle. The surface detection device 100 provided by the utility model is used to detect the top surface and the bottom surface of the object to be detected, and obtain images of the top surface and the bottom surface of the object to be detected. The object to be detected is an item that needs to be surface detected, such as spare parts, such as capacitors, etc. The surface detection device 100 includes a first shooting mechanism 10 and a second shooting mechanism 20. The second shooting mechanism 20 and the second shooting mechanism 20 are arranged opposite to each other, and there is a shooting space 200 between the second shooting mechanism 20 and the second shooting mechanism 70 for accommodating the object to be detected.
[0024] The first shooting mechanism 10 includes a first camera 13 and a first coaxial light source 15. The first camera 13 and the first coaxial light source 15 are arranged in sequence along the direction from the first shooting mechanism 10 to the second shooting mechanism 20. The second shooting mechanism 20 includes an annular light source 21 having a plurality of light-emitting units, a second coaxial light source 23 and a second camera 25. Along the direction from the first shooting mechanism 10 to the second shooting mechanism 20, the annular light source 21, the second coaxial light source 23 and the second camera 25 are arranged in sequence, each of the light-emitting units can be independently controlled to light up, and the number of the light-emitting units is at least three. The shooting space 200 is between the annular light source 21 and the first coaxial light source 15 or the second coaxial light source 23, and the light-emitting surface of the annular light source 21 faces the shooting space 200. Preferably, the first camera 13, the first coaxial light source 15, the annular light source 21, the second coaxial light source 23 and the second camera 25 are coaxially arranged.
[0025] It should be noted that those skilled in the art can use existing fixing and / or positioning structures to maintain the relative positions of the first camera 13, the first coaxial light source 15, the annular light source 21, the second coaxial light source 23 and the second camera 25 as needed, and can use a fixture to clamp the object to be tested and fix it in the shooting space 200. It is only necessary to maintain the relative arrangement of each component to take pictures of the object to be tested in the shooting space 200. For example, the first camera 13, the first coaxial light source 15, the annular light source 21, the second coaxial light source 23 and the second camera 25 can be respectively provided with independent positioning structures to respectively fix the first camera 13, the first coaxial light source 15, the annular light source 21, the second coaxial light source 23 and the second camera 25.
[0026] In this embodiment, the surface detection device 100 also includes a mounting base 30, which includes a first end and a second end arranged opposite to each other. The first shooting mechanism 10 is fixed to the first end of the mounting base 30, and the second shooting mechanism 20 is fixed to the second end of the mounting base 30.
[0027] It should be noted that the first shooting mechanism 10 and the second shooting mechanism 20 can be directly or indirectly fixed to the mounting base 30. Furthermore, the first shooting mechanism 10 and the second shooting mechanism 20 can be fixed to the mounting base 30 by a lifting adjustment mechanism and / or a horizontal adjustment mechanism to adjust the distance between the first shooting mechanism 10 and the second shooting mechanism 20 in the height direction and the alignment relationship in the horizontal direction.
[0028] In this embodiment, the surface detection device 100 further includes a lifting mechanism 50, and the first photographing mechanism 10 is fixed to the first end of the mounting seat 10 through the lifting mechanism 50. The lifting mechanism 50 includes a fixed plate 51, a motor 52, a screw rod 53, a slider 54, a slide rail 55, a photoelectric sensor 56 and a positioning member 57. The fixed plate 51 is fixed to the first end of the mounting seat 10, and the motor 52, the slide rail 54 and the photoelectric sensor 56 are fixed to the fixed plate 51. The motor 52 drives the screw rod 53 to rotate, and the slider 54 moves up and down accordingly. One side of the slider 54 is slidably fixed to the slide rail 55, and the other side is fixed to the first coaxial light source 15. The positioning member 57 is fixed to the first photographing mechanism 10 corresponding to the photoelectric sensor 56 to position the lifting height of the first photographing mechanism 10.
[0029] The first coaxial light source 15 can be directly or indirectly fixed to the slider 54, and the first camera 13 can also be directly or indirectly fixed to the first coaxial light source 15. In this embodiment, the first shooting mechanism 10 further includes a first mounting plate 16 and a second mounting plate 17, and the first coaxial light source 15 is fixed to the slider 54 via the first mounting plate 16. The first camera 13 is fixed to the first coaxial light source 15 via the second mounting plate 17.
[0030] In other embodiments, the first camera may be fixed to the first coaxial light source via a lifting adjustment mechanism and / or a horizontal adjustment mechanism to adjust the distance between the first camera and the first coaxial light source in the height direction and the alignment relationship in the horizontal direction.
[0031] The second coaxial light source 23 can be directly or indirectly fixed to the second end of the mounting seat 30, and the annular light source 21 and the second camera 25 can also be directly or indirectly fixed to the second coaxial light source 23. In this embodiment, the second shooting mechanism 20 further includes a third mounting plate 26, a fourth mounting plate 27 and a fifth mounting plate 28, the second coaxial light source 23 is fixed to the mounting seat 30 via the third mounting plate 26, and the second camera 25 is fixed to the second coaxial light source 23 via the fourth mounting plate 27. The annular light source 21 is fixed to the second coaxial light source 23 via the fifth mounting plate 28.
[0032] The annular light source 21 may be an annular light having a plurality of light-emitting units, or may be composed of a plurality of parallel light sources distributed in an annular pattern, where one parallel light source is one light-emitting unit.
[0033] In this embodiment, the annular light source 21 is a parallel light source distributed in an annular shape, and the number of the parallel light sources is specifically four. Figure 3 , Figure 2 for Figure 1 The schematic diagram of the three-dimensional assembly structure of the surface detection device shown in another angle. The fourth mounting plate 28 has two ends, one end is fixed to the second coaxial light source 23, and the other end is parallel to the side of the direction from the first shooting mechanism 10 to the second shooting mechanism 20, and a rotation center 281 and an arc hole 283 are set. The parallel light source is provided with a through hole corresponding to the rotation center 281 and the arc hole 283. The parallel light source can be rotated around the rotation center 281. When rotating to different relative positions, it can be fixed by screws through the arc hole 283, so as to maintain the rotation position of the parallel light source relative to the fourth mounting plate 28.
[0034] It can be understood that, in the present embodiment, the rotation angle of the parallel light source is adjusted manually, and in other embodiments, a motor may be provided at the rotation center to adjust the rotation angle by the motor.
[0035] In other embodiments, the second camera and the annular light source may also be fixed to the second coaxial light source via a lifting adjustment mechanism and / or a horizontal adjustment mechanism to adjust the distance in the height direction and the horizontal alignment relationship between the second camera, the second coaxial light source and the annular light source.
[0036] The surface inspection device 100 further includes a control system, which is used to control the working states of the first photographing mechanism 10 and the second photographing mechanism 20 , and analyze images acquired by the first photographing mechanism 10 and the second photographing mechanism 20 .
[0037] The above describes the specific structure of the surface detection device 100 provided by the present invention. The following describes the detection method of the surface detection device in detail.
[0038] See also Figure 4 and Figure 5 ,in, Figure 4 for Figure 1 The schematic diagram of the detection scene of the surface detection device shown is as follows, Figure 5 Is applied to Figure 1 The schematic diagram of the flow chart of the detection method of the surface detection device shown. The surface detection method comprises:
[0039] 401. Placing the object to be tested in the shooting space;
[0040] 402. Light up n light sources in a light source set in turn according to a preset order to obtain n lighting environments corresponding to the light source set, wherein the light source set is a set of two coaxial light sources and a light-emitting units, where a≥3, n=2+a, and a and n are positive integers;
[0041] 403. Photograph the object to be measured under the n lighting environments by using the first camera and the second camera to obtain n first images and n second images;
[0042] 404. Confirm a first target image according to the n first images;
[0043] 405. Confirm a second target image according to the n second images.
[0044] When the object to be tested 300 is placed in the shooting space 200 of the surface detection device 100, the two coaxial light sources 15, 23 and the a light-emitting units of the annular light source 21 can illuminate the object to be tested 300 from different directions. When n light sources are turned on in turn, n different lighting environments can be constructed. Under n different lighting environments, the first camera 13 and the second camera 25 respectively take pictures of the top surface and the bottom surface of the object to be tested 300, and n different first images of the top surface and n different second images of the bottom surface can be obtained. Figure 4 The direction shown is used as an example to illustrate. Figure 4 When the light unit on the left side is lit, the light intensity on the left side of the object to be tested 300 is stronger than that on the right side. Figure 4 When the light-emitting unit on the right side is lit, the light intensity on the right side of the object to be tested 300 is stronger than that on the left side. When the light-emitting unit on the left side is lit and when the light-emitting unit on the right side is lit, the color display of the two first images taken by the first camera 13 is different, and the color display of the two second images taken by the second camera 25 is also different. Figure 4 In the figure, the number of the light-emitting units is four, then n=6. The two coaxial light sources 15, 23 and the four light-emitting units can construct six different lighting environments, so that the first camera 13 can capture and obtain six first images displayed in different colors, and the second camera 25 can capture and obtain six second images displayed in different colors.
[0045] In this embodiment, confirming the first target image according to the n first images specifically includes:
[0046] Converting n first images into n first pixel matrices;
[0047] Performing weighted averaging on the n first pixel matrices to obtain a first target pixel matrix;
[0048] The first target pixel matrix is converted into a first target image.
[0049] Specifically, setting the number of pixels of the first image to x*y, the first pixel matrix is an x*y matrix, and n first images can obtain n x*y matrices, and the elements at the same position in each x*y matrix are weighted averaged to obtain the pixel value at the corresponding position. For example, when n=6, the element values at the 1*1 position in the 6 x*y matrices are weighted averaged to obtain the pixel value at the 1*1 position of the first target pixel matrix. The first target pixel matrix can be obtained by weighted averaging each element in the first pixel matrix one by one.
[0050] In this embodiment, confirming the second target image according to the n second images specifically includes:
[0051] converting n second images into n second pixel matrices,
[0052] Perform weighted averaging on the n second pixel matrices to obtain a second target pixel matrix,
[0053] The second target pixel matrix is converted into a second target image.
[0054] It is understandable that it is also possible to extract image features of the first image and the second image, perform image enhancement, and input the trained neural network model to output the first target image and the second target image.
[0055] Compared with the prior art, the surface detection device 100 provided by the utility model is provided with the two coaxial light sources 15, 23 and the annular light source 21. The coaxial light sources 15, 23 illuminate the object to be tested from above and below, and the annular light source 21 illuminates the object to be tested 360 degrees around the object to be tested. The light-emitting units of the coaxial light sources 15, 23 and the annular light source 21 are lit in turn to construct n different lighting environments, and obtain images under corresponding different lighting environments, thereby improving shooting effects and detection effects.
[0056] The above descriptions are only some embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the utility model specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A surface detection device, characterized in that: include: Two cameras set opposite each other; Two coaxial light sources arranged opposite to each other are arranged between the two cameras; The annular light source includes a plurality of light-emitting units and is disposed between the two coaxial light sources. A shooting space is provided between the annular light source and one of the coaxial light sources. The light-emitting surface of the annular light source faces the shooting space, and the shooting space is used to accommodate the object to be measured.
2. The surface detection device according to claim 1, characterized in that: The two cameras, the two coaxial light sources and the annular light source are coaxially arranged.
3. The surface detection device according to claim 2, characterized in that: The two cameras are a first camera and a second camera, the two coaxial light sources are a first coaxial light source and a second coaxial light source, the surface detection device also includes a mounting base, the mounting base includes a first end and a second end arranged opposite to each other, the first camera is fixed to the first coaxial light source, the first coaxial light source is fixed to the first end of the mounting base, the second camera is fixed to the second coaxial light source, the second coaxial light source is fixed to the second end of the mounting base, the annular light source is fixed to the second coaxial light source, and the shooting space is between the annular light source and the first coaxial light source.
4. The surface detection device according to claim 3, characterized in that: It also includes a lifting mechanism, and the first coaxial light source is fixed to the first end of the mounting base through the lifting mechanism.
5. The surface detection device according to claim 4, characterized in that: The lifting mechanism includes a fixed plate, a motor, a lead screw, a slider and a slide rail. The fixed plate is fixed to the first end of the mounting base, the motor and the slide rail are fixed to the fixed plate, the motor drives the lead screw to rotate, and the slider moves up and down accordingly. One side of the slider is slidably fixed to the slide rail, and the other side is fixed to the first coaxial light source.
6. The surface detection device according to claim 5, characterized in that: It also includes a first mounting plate and a second mounting plate, the first coaxial light source is fixed to the slider via the first mounting plate, and the first camera is fixed to the first coaxial light source via the second mounting plate.
7. The surface detection device according to claim 3, characterized in that: It includes a third mounting plate, a fourth mounting plate and a fifth mounting plate, the second coaxial light source is fixed to the second end of the mounting base through the third mounting plate, the second camera is fixed to the second coaxial light source through the fourth mounting plate, and the annular light source is fixed to the second coaxial light source through the fifth mounting plate.
8. The surface detection device according to claim 7, characterized in that: The light emitting unit is a parallel light source, and the annular light source is composed of a plurality of the parallel light sources distributed in an annular manner.
9. The surface detection device according to claim 8, characterized in that: The fourth mounting plate has two ends, one end is fixed to the second coaxial light source, and the other end is parallel to the side of the direction from the first coaxial light source to the second coaxial light source and a rotation center and an arc hole are set, the parallel light source is corresponding to the rotation center and the arc hole. The parallel light source rotates with the rotation center as the rotation center, and the arc hole is used to fix the rotation position of the parallel light source relative to the fourth mounting plate.
10. The surface detection device according to claim 1, characterized in that: The annular light source is a ring lamp having a plurality of the light-emitting units.
