Hole detection device, hole detection equipment and hole detection method
Through the image collector and mirror technology, the indirect detection of the workpiece hole structure is realized, which solves the problem of time-consuming, laborious and damage of manual inspection, improves the detection efficiency and accuracy, and is suitable for a variety of hole structures.
Patent Information
- Application Number
- CN202410147211.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, manual inspection of the hole structure on the workpiece is time-consuming and labor-intensive, and can easily cause damage to the hole structure and affect the product qualification rate.
A hole detection device is provided, which includes an image collector, a reflector, and a reflector driving member. The image collector reflects the image of the hole structure through the mirror, thereby avoiding directly extending into the hole. It combines the transmission member and the Light source to achieve multi-angle detection.
It improves detection efficiency and accuracy, avoids damage to the hole structure, has a wide range of applications, and is suitable for a variety of hole diameters, including small-diameter threaded holes.
Smart Images

Figure CN118533055A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of hole detection, and in particular to a hole detection device, a hole detection equipment and a hole detection method. Background Art
[0002] An electronic product is often assembled from multiple workpieces. Due to installation requirements, the workpieces will be provided with hole structures, such as pin holes, threaded holes, etc. Before assembly, it is generally necessary to inspect the hole structures on the workpieces to ensure the quality of subsequent assembly. In the prior art, manual inspection is often used to inspect the hole structures on the workpieces. Some hole structures have a small diameter, and manual inspection is time-consuming and labor-intensive. In addition, during manual inspection, a go / no-go gauge is generally used to inspect the hole structure. During inspection, it is easy to cause damage to the hole structure, for example, scratching the threads of the threaded hole, affecting the product qualification rate. Summary of the invention
[0003] Based on this, the present invention provides a hole detection device, which includes:
[0004] An image collector, used to directly or indirectly acquire an image of the hole structure of the workpiece;
[0005] A reflector, comprising a connection seat, a first reflector and a second reflector, wherein the connection seat is rotatably connected to the image collector, the first reflector and the second reflector are respectively fixed to the connection seat, and the first reflector is arranged in parallel with the second reflector, the first reflector is used to reflect the image of the hole structure, and the second reflector is used to reflect the image reflected by the first reflector to the image collector; and
[0006] A reflector driving element is used to drive the reflector to rotate around the optical axis of the image collector at a preset angle so that the first reflector reflects an image of the hole structure at a preset viewing angle.
[0007] Further, the hole detection device also includes a transmission member;
[0008] The transmission member is used to transmit the driving force output by the reflector driving member to the connecting seat.
[0009] Further, the transmission member includes a first gear portion and a second gear portion that are transmission-connected;
[0010] The first gear part is fixed to the output end of the reflector driving part;
[0011] The second gear part is fixed to the connecting seat, and the axis of the second gear part and the optical axis of the image collector are located on the same straight line.
[0012] Further, the hole detection device also includes a first light source;
[0013] The first light source is fixed to the connecting base.
[0014] Furthermore, the first light source includes a plurality of light-emitting parts, and the plurality of light-emitting parts are used to emit light simultaneously or separately to illuminate the hole structure.
[0015] Further, the hole detection device also includes a second light source and a second light source driver;
[0016] The second light source is connected to the output end of the second light source driver and is located between the reflector and the workpiece;
[0017] Driven by the second light source driving member, the second light source can move along the Z axis to approach or move away from the workpiece.
[0018] Further, the hole detection device also includes a processor;
[0019] The processor is electrically connected to the image collector and is used to detect the hole structure through the image acquired by the image collector.
[0020] The present invention provides a hole detection device, comprising any one of the above-mentioned hole detection devices.
[0021] Furthermore, the workpiece has a plurality of hole structures; and the hole detection device further comprises:
[0022] A fixing fixture, used for fixing the workpiece;
[0023] a transport module connected to the fixed fixture and used to move the fixed fixture along the X-axis and / or the Y-axis to move the workpiece closer to or farther from the detection device; and
[0024] A lifting module, connected to the detection device, and used to move the detection device along the Z axis;
[0025] The fixing fixture and / or the detection device can rotate around the X-axis and / or the Y-axis so that a hole structure of the workpiece is aligned with the detection device.
[0026] The present invention provides a hole detection method, which is applied to any of the above-mentioned hole detection devices or any of the above-mentioned hole detection equipment, and the method comprises:
[0027] Controlling the optical axis of the image collector and the axis of the hole structure of the workpiece to be located on the same straight line or in parallel;
[0028] Controlling the image collector to directly acquire a front image of the hole structure of the workpiece, and detecting the appearance and the hole bottom diameter of the hole structure based on the acquired front image;
[0029] Controlling the image collector to indirectly acquire an image of the hole structure of the workpiece at a current viewing angle through the reflector, and detecting the appearance of the hole structure based on the acquired image at the current viewing angle;
[0030] The reflector is controlled to rotate around the optical axis of the image collector at a preset angle, and the image collector is controlled to indirectly obtain an image of the hole structure of the workpiece at a current viewing angle through the reflector, and the appearance of the hole structure is detected based on the obtained image of the current viewing angle.
[0031] Compared with the prior art, the beneficial features of the present invention are: the hole detection device, hole detection equipment and hole detection method, the image collector can not only directly obtain the image of the hole structure of the workpiece, but also indirectly obtain the image of the hole structure of the workpiece. When the image collector indirectly obtains the image of the hole structure of the workpiece, the first reflector is used to reflect the image of the hole structure, and the second reflector is used to reflect the image reflected by the first reflector to the image collector. It is easy to use and there is no need to extend the hole detection device into the hole structure. It can not only avoid damaging the hole structure, but also has a wide range of applications. Moreover, the reflector driving member can also drive the reflector to rotate around the optical axis of the image collector by a preset angle, so that the first reflector reflects the image of the hole structure at a preset viewing angle. By driving the reflector to rotate the preset angle, the image collector can indirectly capture images of the hole structure at a variety of different viewing angles. It is easy to use and improves detection efficiency and detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the structure of the hole detection device of the present invention;
[0033] Figure 2 It is a schematic diagram of the structure of the hole detection device of the present invention;
[0034] Figure 3 It is a schematic diagram of the local structure of the hole detection device of the present invention;
[0035] Figure 4 It is a schematic diagram of the local structure of the hole detection device of the present invention;
[0036] Figure 5 It is a schematic diagram of the second connecting arm in the hole detection device of the present invention being retracted until the second reflector is away from the image collector;
[0037] Figure 6 It is a schematic diagram of the second connecting arm in the hole detection device of the present invention rotating until the second reflector is away from the image collector;
[0038] Figure 7 It is a schematic diagram of the structure of the first light source in the hole detection device of the present invention;
[0039] Figure 8It is a schematic diagram of the structure of the hole detection device of the present invention;
[0040] Fig. 9 It is a schematic diagram of the assembly structure of the fixed fixture and the fixed fixture rotating module in the hole detection device of the present invention;
[0041] Fig.10 It is a schematic diagram of the assembly structure of the fixed fixture and the fixed fixture rotating module in the hole detection device of the present invention;
[0042] Fig.11 It is a schematic diagram of the assembly structure of the fixed fixture and the fixed fixture rotating module in the hole detection device of the present invention, wherein the Y-axis rotating driving member of the fixed fixture is not shown;
[0043] Fig.12 It is a schematic diagram of the cross-sectional structure of a workpiece in the hole detection device of the present invention;
[0044] Fig.13 It is a schematic diagram of the assembly structure of the hole detection device and the rotating module of the hole detection device in the hole detection equipment of the present invention;
[0045] Fig.14 It is a schematic diagram of the assembly structure of the hole detection device and the rotating module of the hole detection device in the hole detection equipment of the present invention;
[0046] Fig.15 A front appearance image of a hole structure acquired by an image collector in the hole detection method of the present invention;
[0047] Fig.16 for Fig.15 Image of the pore bottom of the pore structure shown;
[0048] Fig.17 for Fig.15 Side appearance image of the pore structure shown;
[0049] Fig.18 for Fig.15 Side appearance image of the pore structure shown;
[0050] Fig.19 for Fig.15 Side appearance image of the pore structure shown;
[0051] Fig. 20 A front appearance image of a hole structure acquired by an image collector in the hole detection method of the present invention;
[0052] Fig.21 for Fig. 20 Image of the pore bottom of the pore structure shown;
[0053] Fig. 22 for Fig. 20 Side appearance image of the pore structure shown;
[0054] Fig.23 for Fig. 20 Side appearance image of the pore structure shown;
[0055] Fig.24 for Fig. 20 Side appearance image of the pore structure shown;
[0056] Fig.25 for Fig. 20 Side appearance image of the pore structure shown;
[0057] Among them: Among them: 1-workpiece (101-hole structure (1011-axis of hole structure), 102-positioning hole, 103-first surface, 104-second surface), 2-frame, 3-fixed fixture (3a-fixed fixture, 3b-fixed fixture, 3c-fixed fixture, 301-positioning seat, 302-positioning pin, 303-clamping member), 4-handling module (401-X-axis moving drive member (4011-output end of X-axis moving drive member), 402-Y-axis moving drive member (4 021-output end of the Y-axis moving drive member)), 5-hole detection device (501-fixed seat, 502-image collector (5021-optical axis), 503-reflector (5031-connecting seat (50311-cover body), 5032-first reflector, 5033-second reflector, 5034-first connecting arm, 5035-second connecting arm), 504-reflector driving member, 505-first gear part, 506-second gear part, 507-first light source (5071- Light-emitting part), 508-second light source, 509-second light source driver), 6-lifting module (601-output end of lifting module), 7-Y-axis slide rail, 8-Y-axis slider, 9-fixed fixture rotation module (901-fixed fixture X-axis rotation driver (9011-fixed fixture X-axis rotation driver output end, 9012-fixed fixture X-axis rotation driver output end axis), 902-fixed fixture Y-axis rotation driver (9021-fixed fixture Y-axis rotation driver output end End, 9022-the axis line of the output end of the Y-axis rotation driving member of the fixed fixture)), 10-the detection device rotation module (1001-the detection device X-axis rotation driving member (10011-the output end of the X-axis rotation driving member of the detection device, 10012-the axis line of the output end of the X-axis rotation driving member of the detection device), 1002-the detection device Y-axis rotation driving member (10021-the output end of the Y-axis rotation driving member of the detection device, 10022-the axis line of the output end of the Y-axis rotation driving member of the detection device)). DETAILED DESCRIPTION
[0058] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0059] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0061] Please refer to Figure 1 and Figure 2 The hole detection device 5 of the embodiment of the present invention can be used to detect the hole structure 101 of the workpiece 1, and does not need to extend into the hole structure 101. The hole detection device 5 includes a fixed seat 501, an image collector 502, a reflector 503 and a reflector driving member 504. The image collector 502 is fixed to the fixed seat 501. The image collector 502 can be used to directly obtain the image of the hole structure 101 of the workpiece 1. The image collector 502 can also be used to indirectly obtain the image of the hole structure 101 of the workpiece 1. The reflector 503 includes a connecting seat 5031, a first reflector 5032 and a second reflector 5033. The connecting seat 5031 is rotatably connected to the image collector 502. The first reflector 5032 and the second reflector 5033 are respectively fixed to the connecting seat 5031, and the mirror surface of the first reflector 5032 and the mirror surface of the second reflector 5033 are arranged in parallel. The first reflector 5032 is used to reflect the image of the hole structure 101, and the second reflector 5033 is used to reflect the image reflected by the first reflector 5032 to the image collector 502. That is to say, the image collector 502 indirectly obtains the image of the hole structure 101 of the workpiece 1 by the image collector 502 through the first reflector 5032 and the second reflector 5033. The reflector driving member 504 is fixed to the fixed seat 501, and the reflector driving member 504 is used to drive the reflector 503 to rotate around the optical axis 5021 of the image collector 502 by a preset angle, so that the first reflector 5032 reflects the image of the hole structure 101 at a preset viewing angle, so that the image collector 502 can indirectly obtain images of the hole structure 101 of the workpiece 1 at multiple different angles, such as Figures 17 to 19 As shown, or as Figure 22 to Figure 25shown.
[0062] It can be understood that when the reflector 503 rotates around the optical axis 5021 of the image collector 502 at a preset angle, the first reflector 5032 and the second reflector 5033 can rotate around the optical axis 5021 of the image collector 502 at a preset angle together with the connecting seat 5031, so as to reflect images at different angles to the image collector 502. Figures 17 to 19 As shown, or as Figure 22 to Figure 25 shown.
[0063] Please refer to Figure 1 and Figure 2 In the hole detection device 5 of the embodiment of the present invention, the image collector 502 can not only directly obtain the image of the hole structure 101 of the workpiece 1, but also indirectly obtain the image of the hole structure 101 of the workpiece 1. When the image collector 502 indirectly obtains the image of the hole structure 101 of the workpiece 1, the first reflector 5032 is used to reflect the image of the hole structure 101, and the second reflector 5033 is used to reflect the image reflected by the first reflector 5032 to the image collector 502. It is easy to use, and the images of the hole structure 101 at different angles can be obtained without inserting the hole detection device 5 into the hole structure 101. It can not only avoid damaging the hole structure 101, but also has a wide range of applications. It can be used to detect hole structures 101 of various diameters, even small diameter hole structures 101 can be detected, for example, it can be used to detect threaded holes, and the model of the threaded holes can be M1.5 threaded holes. It can be understood that the hole detection device 5 can also be used to detect hole structures 101 with smaller diameters or other sizes, which is not limited here. The reflector driver 504 can also drive the reflector 503 to rotate around the optical axis 5021 of the image collector 502 at a preset angle. By driving the reflector 503 to rotate at a preset angle, the first reflector 5032 can reflect the image of the hole structure 101 at a preset viewing angle, so that the image collector 502 can indirectly capture images of the hole structure 101 at multiple different viewing angles. It is easy to use and has a more comprehensive detection. The hole structure 101 can be detected quickly and without blind spots, thereby improving detection efficiency and detection accuracy. The reflector 503 can rotate 360 degrees infinitely around the optical axis 5021 of the image collector 502, clearly reflecting the image of the hole structure 101 to the image collector 502, making it more convenient and flexible to use.
[0064] In some preferred embodiments, please refer to Figure 3 and Figure 4, the mirror surface of the first reflector 5032 is arranged toward the hole structure 101, and the mirror surface of the first reflector 5032 and the axis of the hole structure 101 have a first angle α. When the first reflector 5032 rotates relative to the hole structure 101, the image reflected by the first reflector 5032 will change, and the image of the hole structure 101 can be reflected from different viewing angles. The mirror surface of the second reflector 5033 is arranged toward the image collector 502, and the mirror surface of the second reflector 5033 and the optical axis 5021 of the image collector 502 have a second angle β, and the angle of the second angle β is equal to the angle of the first angle α. When the first reflector 5032 and the second reflector 5033 rotate synchronously relative to the hole structure 101, the images of the hole structure 101 at different viewing angles can be reflected to the image collector 502 through the first reflector 5032 and the second reflector 5033 in sequence, so that the image collector 502 can indirectly capture images of the hole structure 101 at multiple different viewing angles.
[0065] Please refer to Figure 3 and Figure 4 , Figure 3 The first reflector 5032 and the second reflector 5033 shown in FIG. 5 are rotated 180 degrees to the position where the first reflector 5032 and the second reflector 503 ... second reflector 5033 is rotated 180 degrees to the position where the second reflector 50 Figure 4 Position shown. Figure 3 and Figure 4 The dashed line with an arrow in the middle is the reflection path used to illustrate the image.
[0066] As an example, the optical axis 5021 of the image collector 502 may be located on the same straight line as the axis 1011 of the hole structure 101. The optical axis 5021 of the image collector 502 may also be parallel to the axis 1011 of the hole structure 101.
[0067] In some examples, the reflector driver 504 is a motor. It is understandable that in other embodiments, the reflector driver 504 may also be other driving mechanisms, which will not be described in detail here.
[0068] In some examples, the reflector driver 504 may be built into the fixing base 501 to make the structure more compact.
[0069] In other examples, the reflector driver 504 may also be Figure 1 and Figure 2 As shown, being arranged outside the fixing seat 501 can make the structure more intuitive and facilitate maintenance and replacement of parts.
[0070] In some examples, the connection base 5031 is rotatably mounted outside the image collector 502. Driven by the reflector driving member 504, the connection base 5031 can rotate relative to the image collector 502, thereby driving the first reflector 5032 and the second reflector 5033 fixed to the connection base 5031 to rotate relative to the image collector 502 at the same time. When detecting the hole structure 101, the image collector 502 and the workpiece 1 can remain stationary, and the image collector 502 can indirectly obtain images of the hole structure 101 at different viewing angles by only controlling the rotation of the reflector 503, which is convenient to use.
[0071] It is understandable that, in other embodiments, the connection base 5031 may not be directly connected to the image collector 502. The connection base 5031 may be rotatably connected to the fixed base 501, as long as the connection base 5031 can synchronously drive the first reflector 5032 and the second reflector 5033 to rotate relative to the hole structure 101, so that the image collector 502 can obtain images of the hole structure 101 at different viewing angles through the first reflector 5032 and the second reflector 5033.
[0072] As an example, in order to protect the first reflector 5032 and the second reflector 5033, the lower end of the connection base 5031 may be formed with a cover 50311, and the lower end of the cover 50311 is open. The first reflector 5032 and the second reflector 5033 are fixed in the cover 50311, thereby protecting the first reflector 5032 and the second reflector 5033.
[0073] Further, in order to enable the image collector 502 to obtain the image of the hole structure 101 of the workpiece 1 through the first reflector 5032 and the second reflector 5033, and the image collector 502 can also directly obtain the image of the hole structure 101 of the workpiece 1, the reflector 503 also includes a first connecting arm 5034 and a second connecting arm 5035. One end of the first connecting arm 5034 is connected to the cover body 50311, and the other end of the first connecting arm 5034 is fixed to the first reflector 5032. One end of the second connecting arm 5035 is connected to the cover body 50311, and the other end of the second connecting arm 5035 is fixed to the second reflector 5033. By supporting the first reflector 5032 by the first connecting arm 5034 and supporting the second reflector 5033 by the second connecting arm 5035, the obstruction of the field of view of the image collector 502 can be reduced as much as possible.
[0074] In some examples, when it is necessary to directly obtain an image of the hole structure 101 of the workpiece 1, the focal length of the image collector 502 is adjusted so that the image collector 502 can directly obtain an image of the hole structure 101 of the workpiece 1. When it is necessary to indirectly obtain an image of the hole structure 101 of the workpiece 1, the focal length of the image collector 502 is adjusted so that the image collector 502 can obtain an image of the hole structure 101 of the workpiece 1 through the reflector 503. This can achieve fast switching, is easy to use, shortens the detection time, and improves the detection efficiency.
[0075] In other examples, the second connecting arm 5035 can be retracted. When it is necessary to directly obtain an image of the hole structure 101 of the workpiece 1, the second connecting arm 5035 can drive the second reflector 5033 to retract. Figure 5 , so that the second reflector 5033 is away from the image collector 502. If it is necessary to indirectly obtain the image of the hole structure 101 of the workpiece 1, the second connecting arm 5035 can drive the second reflector 5033 to extend, so that the image collector 502 can obtain the image of the hole structure 101 of the workpiece 1 through the reflector 503. Please refer to Figure 3 and Figure 4 As an example, the reflector 503 may further include a driving mechanism for driving the second connecting arm 5035 to extend and retract. The driving mechanism may be a cylinder or other driving mechanisms, which will not be described in detail herein.
[0076] In other examples, the second connecting arm 5035 can rotate. When it is necessary to directly obtain an image of the hole structure 101 of the workpiece 1, the second connecting arm 5035 can drive the second reflector 5033 to rotate. Figure 6 , so that the second reflector 5033 is away from the image collector 502. If it is necessary to indirectly obtain the image of the hole structure 101 of the workpiece 1, the second connecting arm 5035 can drive the second reflector 5033 to rotate, so that the image collector 502 can obtain the image of the hole structure 101 of the workpiece 1 through the reflector 503. Please refer to Figure 3 and Figure 4 As an example, the reflector 503 may further include a driving mechanism for driving the second connecting arm 5035 to rotate. The driving mechanism may be a cylinder or other driving mechanisms, which will not be described in detail herein.
[0077] It is understandable that, in some examples, the first connecting arm 5034 may also be retractable or rotatable, which will not be elaborated here.
[0078] In some preferred embodiments, please refer to Figure 1 and Figure 2The hole detection device 5 further includes a transmission member. The transmission member transmission-connects the reflector driver 504 and the connection seat 5031 , and is used to transmit the driving force output by the reflector driver 504 to the connection seat 5031 .
[0079] In some more preferred embodiments, please refer to Figure 1 and Figure 2 The transmission member includes a first gear portion 505 and a second gear portion 506 that are in transmission connection. The first gear portion 505 is fixed to the output end of the reflector driving member 504. The second gear portion 506 is fixed to the connecting seat 5031, and the axis of the second gear portion 506 is coaxially arranged with the optical axis 5021 of the image collector 502. When the reflector driving member 504 is working, the first gear portion 505 rotates synchronously with the output end of the reflector driving member 504, driving the second gear portion 506 meshing with the first gear portion 505 to rotate. Under the action of the second gear portion 506, the connecting seat 5031 rotates synchronously with the second gear portion 506, thereby driving the first reflector 5032 and the second reflector 5033 fixed to the connecting seat 5031 to rotate synchronously.
[0080] It is understandable that in other embodiments, the transmission member may also be other structures, as long as the transmission member can be used to transmit the driving force output by the reflector driver 504 to the connecting seat 5031 .
[0081] In some preferred embodiments, the hole detection device 5 further includes a first light source 507. The first light source 507 is fixed to the connection base 5031, and the first light source 507 can be used to illuminate the hole structure 101, so that the image acquired by the image collector 502 is clearer.
[0082] As an example, the first light source 507 can be fixed inside the cover body 50311 or fixed at the opening at the lower end of the cover body 50311.
[0083] In some examples, the first light source 507 may be located on a side of the first reflector 5032 and the second reflector 5033 away from the image collector 502, that is, the first light source 507 is located between the second reflector 5033 and the workpiece 1. In other examples, the first light source 507 may also be located on a side of the first reflector 5032 and the second reflector 5033 close to the image collector 502, that is, the first light source 507 is located between the second reflector 5033 and the image collector 502. In other examples, the first light source 507 may also surround the first reflector 5032 and the second reflector 5033. The present application does not limit the specific position of the first light source 507, as long as the first light source 507 can make the image acquired by the image collector 502 clearer.
[0084] In some preferred embodiments, please refer to Figure 7The first light source 507 includes a plurality of light emitting parts 5071, and all the light emitting parts 5071 can emit light simultaneously to illuminate the hole structure 101. All the light emitting parts 5071 can also emit light separately to illuminate the hole structure 101. It is sufficient to ensure that the light emitting parts 5071 can make the image acquired by the image collector 502 clearer.
[0085] For some examples, see Figure 7 The first light source 507 is constructed as a ring light source. The first light source 507 is divided into a plurality of light-emitting parts 5071 along its circumference. All light-emitting parts 5071 are connected in sequence, and the structure is simple and easy to install. Furthermore, the first light source 507 can be coaxially arranged with the image collector 502 to make the illumination more uniform.
[0086] In other examples, the first light source 507 includes a plurality of independent light-emitting units 5071, each of which is fixed to a connecting seat 5031, and all of the light-emitting units 5071 can be evenly spaced around the optical axis 5021 of the image collector 502, so as to facilitate the individual replacement of a damaged light-emitting unit 5071 and save repair costs.
[0087] It can be understood that, in other embodiments, the first light source 507 may also include only one light-emitting portion 5071 , and the light-emitting portion 5071 may be in a ring shape or may have other structures.
[0088] In some preferred embodiments, please refer to Fig.13 and Fig.14 The hole detection device 5 further includes a second light source 508. The second light source 508 can be connected to the fixing base 501, and the second light source 508 can be used to illuminate the hole structure 101, so that the image acquired by the image collector 502 is clearer.
[0089] It is understandable that the second light source 508 can be used simultaneously with the first light source 507, or only the first light source 507 can be used, or only the second light source 508 can be used. For example, when the hole structure 101 is a blind hole, it is difficult to see the structure inside the hole. The first light source 507 and the second light source 508 can be used simultaneously to increase the brightness inside the hole structure 101, so that the image acquired by the image collector 502 is clearer.
[0090] In some more preferred embodiments, please refer to Fig.13 and Fig.14, the hole detection device 5 may further include a second light source driver 509. The second light source driver 509 is fixed to the fixing seat 501. The second light source 508 may be connected to the output end of the second light source driver 509. The second light source 508 may be located between the reflector 503 and the workpiece 1. Driven by the second light source driver 509, the second light source 508 may move along the Z axis to approach the workpiece 1, or move along the Z axis away from the workpiece 1, and adjust the distance between the second light source 508 and the workpiece 1, so that the image acquired by the image collector 502 is clearer.
[0091] In some preferred embodiments, the hole detection device 5 further includes a processor (not shown). The processor is electrically connected to the image collector 502 , and the processor is used to detect the hole structure 101 through the image acquired by the image collector 502 .
[0092] In some examples, after receiving the image acquired by the image collector 502 , the processor can use a deep learning network model to process the image, detect whether the hole structure 101 is qualified, and obtain a detection result of the hole structure 101 .
[0093] It is understandable that the processor may also process the image in other ways to detect whether the hole structure 101 is qualified, which is not limited here and will not be described in detail.
[0094] In other embodiments, the size of the pore structure 101 in the image acquired by the image collector 502 may be larger than the actual size of the pore structure 101. After the image collector 502 acquires the image of the pore structure 101, manual recognition may be used to determine whether the pore structure 101 is qualified.
[0095] As an example, the image collector 502 may be a camera.
[0096] In one example, the camera may have 10 megapixels.
[0097] It is understandable that the image collector 502 may also be other image acquisition devices, which will not be described in detail here.
[0098] In some preferred embodiments, the hole detection device 5 may further include a display (not shown), which is electrically connected to the processor. After the processor detects the image, the display may be used to display the image and the detection result corresponding to the image, such as Figures 15 to 25 As shown. As an example, the test result can be "OK" or "NG". If the test result is "OK", it means that the hole structure 101 shown in the image is qualified. Figures 15 to 25 If the test result is "NG", it means that the hole structure 101 shown in the image is unqualified.
[0099] Please refer to Figure 8 , the hole detection device of the embodiment of the present invention is used to detect the hole structure 101 of the workpiece 1. The workpiece 1 can be provided with one hole structure 101 or multiple hole structures 101. The hole detection device of the embodiment of the present invention can be used to detect all the hole structures 101 of the workpiece 1 one by one. The hole detection device includes: a frame 2, a fixed fixture 3, a transport module 4, a hole detection device 5 and a lifting module 6. The fixed fixture 3 is used to fix the workpiece 1 on the hole detection device. The transport module 4 is fixed to the frame 2, and the fixed fixture 3 is connected to the transport module 4. The transport module 4 can be used to move the fixed fixture 3 along the X axis. The transport module 4 can also be used to move the fixed fixture 3 along the Y axis. The hole detection device 5 can be used to detect the hole structure 101 of the workpiece 1. The lifting module 6 is fixed to the frame 2, and the hole detection device 5 is connected to the lifting module 6. The lifting module 6 can be used to move the hole detection device 5 along the Z axis. The fixed fixture 3 and / or the hole detection device 5 can rotate around the X axis and / or the Y axis.
[0100] The hole detection device of the embodiment of the present invention is provided with a fixed fixture 3 for fixing a workpiece 1, a hole detection device 5 for detecting a hole structure 101 of the workpiece 1, a transport module 4 for moving the fixed fixture 3 along the X-axis and / or the Y-axis, and a lifting module 6 for moving the hole detection device 5 along the Z-axis, and the fixed fixture 3 and / or the hole detection device 5 can also rotate around the X-axis and / or the Y-axis to align a hole structure 101 of the workpiece 1 with the hole detection device 5. When in use, the fixed fixture 3 can drive the workpiece 1 to move, or rotate, or move and rotate, and the hole detection device 5 can be moved, or rotated, or moved and rotated to align any hole structure 101 of the workpiece 1 with the hole detection device 5, so that all the hole structures 101 of the workpiece 1 are detected one by one by one through a hole detection device 5, the structure is simple, the detection cost and the equipment footprint are reduced, the use is convenient, the detection efficiency is improved, and the hole detection device 5 does not directly contact the hole structure 101, and will not cause damage to the hole structure 101, thereby improving the product qualification rate.
[0101] It is understandable that the hole structure 101 of the workpiece 1 can be a threaded hole or a smooth hole. The hole structure 101 of the workpiece 1 can be a blind hole or a through hole. The present application does not limit the specific structure of the hole structure 101.
[0102] As an example, the transport module 4 may include an X-axis moving driver 401 and a Y-axis moving driver 402. The X-axis moving driver 401 is used to drive the fixed fixture 3 to move along the X-axis. The Y-axis moving driver 402 is used to drive the fixed fixture 3 to move along the Y-axis.
[0103] Further, the Y-axis moving driver 402 can be fixed to the frame 2 , the X-axis moving driver 401 can be fixed to the output end 4021 of the Y-axis moving driver 402 , and the fixing fixture 3 can be connected to the output end 4011 of the X-axis moving driver 401 .
[0104] Furthermore, the hole detection device may further include a Y-axis slide rail 7 extending along the Y-axis. The Y-axis slide rail 7 is slidably matched with the output end 4021 of the Y-axis moving driver 402. When the Y-axis moving driver 402 drives the X-axis moving driver 401 to move along the Y-axis with the output end 4021 of the Y-axis moving driver 402, the output end 4021 of the Y-axis moving driver 402 slides on the Y-axis slide rail 7, so that the fixed fixture 3 can move more smoothly.
[0105] In one example, there may be two Y-axis slide rails 7 , which are disposed on both sides of the Y-axis moving drive member 402 , so as to further enable the fixed fixture 3 to move more smoothly.
[0106] As an example, a Y-axis slider 8 may be fixed to the bottom of the output end 4021 of the Y-axis moving driving member 402. The Y-axis slider 8 is slidably matched with the Y-axis slide rail 7.
[0107] In one example, the Y-axis moving driving member 402 may be a slide. It is understandable that the Y-axis moving driving member 402 may also be other driving mechanisms, as long as the Y-axis moving driving member 402 can drive the fixed fixture 3 to move along the Y-axis.
[0108] Similarly, the X-axis moving driving member 401 may be a slide, or other driving mechanisms, as long as the X-axis moving driving member 401 can drive the fixed fixture 3 to move along the X-axis.
[0109] Similarly, the lifting module 6 can be a slide, or other driving mechanism, as long as the lifting module 6 can drive the hole detection device 5 to move along the Z axis. The hole detection device 5 can be connected to the output end 601 of the lifting module 6.
[0110] In some preferred embodiments, please refer to Figure 8 The fixed fixture 3 is rotatably connected to the transport module 4, and the fixed fixture 3 can rotate around the X-axis and / or the Y-axis relative to the transport module 4. The hole detection device 5 is rotatably connected to the lifting module 6, and the hole detection device 5 can rotate around the X-axis and / or the Y-axis relative to the lifting module 6. When in use, the hole detection device 5 can be aligned with any hole structure 101 of the workpiece 1 by moving and rotating the fixed fixture 3 and moving and rotating the hole detection device 5. By moving the fixed fixture 3 and the hole detection device 5 at the same time, the time required for alignment can be shortened and the detection efficiency can be improved.
[0111] In some examples, the hole detection device may include a fixed jig rotation module 9. The fixed jig rotation module 9 can be used to drive the fixed jig 3 to rotate around the X-axis, the fixed jig rotation module 9 can also be used to drive the fixed jig 3 to rotate around the Y-axis, and the fixed jig rotation module 9 can also be used to drive the fixed jig 3 to rotate around the X-axis and around the Y-axis. The fixed jig rotation module 9 may include a fixed jig X-axis rotation driver 901 and a fixed jig Y-axis rotation driver 902. The fixed jig X-axis rotation driver 901 can be used to drive the fixed jig 3 to rotate around the X-axis. The fixed jig Y-axis rotation driver 902 can be used to drive the fixed jig 3 to rotate around the Y-axis. The fixed jig X-axis rotation driver 901 is connected to the transport module 4. The fixed jig Y-axis rotation driver 902 is connected to the output end 9011 of the fixed jig X-axis rotation driver 901, and the output end 9021 of the fixed jig Y-axis rotation driver 902 is connected to the fixed jig 3.
[0112] It should be understood that the fixed fixture 3 rotates around the X-axis means that the fixed fixture 3 can rotate around the axis 9012 of the output end 9011 of the fixed fixture X-axis rotation driving member 901, for example, Fig.11 As shown (wherein the fixed jig Y-axis rotation drive member 902 is not shown), the fixed jig 3 can rotate around the axis 9012 of the output end 9011 of the fixed jig X-axis rotation drive member 901 to the position shown in the fixed jig 3a, the fixed jig 3 can rotate around the axis 9012 of the output end 9011 of the fixed jig X-axis rotation drive member 901 to the position shown in the fixed jig 3b, the fixed jig 3 can rotate around the axis 9012 of the output end 9011 of the fixed jig X-axis rotation drive member 901 to the position shown in the fixed jig 3c, and the fixed jig 3 can also rotate around the axis 9012 of the output end 9011 of the fixed jig X-axis rotation drive member 901 to other positions. Similarly, the rotation of the fixed jig 3 around the Y-axis means that the fixed jig 3 can rotate around the axis 9022 of the output end 9021 of the fixed jig Y-axis rotation drive member 902.
[0113] As an example, the fixed fixture X-axis rotation driving member 901 can be a motor. It is understandable that the fixed fixture X-axis rotation driving member 901 can also be other driving mechanisms, as long as the fixed fixture X-axis rotation driving member 901 can drive the fixed fixture 3 to rotate around the X-axis.
[0114] As an example, the fixed fixture Y-axis rotation driving member 902 can be a motor. It is understandable that the fixed fixture Y-axis rotation driving member 902 can also be other driving mechanisms, as long as the fixed fixture X-axis rotation driving member 901 can drive the fixed fixture 3 to rotate around the Y-axis.
[0115] For some examples, see Fig.13 and Fig.14, the hole detection device may include a detection device rotating module 10. The detection device rotating module 10 may be used to drive the hole detection device 5 to rotate around the X-axis, the detection device rotating module 10 may also be used to drive the hole detection device 5 to rotate around the Y-axis, and the detection device rotating module 10 may also be used to drive the hole detection device 5 to rotate around the X-axis and around the Y-axis. The detection device rotating module 10 may include a detection device X-axis rotation driver 1001 and a detection device Y-axis rotation driver 1002. The detection device X-axis rotation driver 1001 may be used to drive the hole detection device 5 to rotate around the X-axis. The detection device Y-axis rotation driver 1002 may be used to drive the hole detection device 5 to rotate around the Y-axis. The detection device X-axis rotation driver 1001 is connected to the lifting module 6. The detection device Y-axis rotation driver 1002 is connected to the output end 10011 of the detection device X-axis rotation driver 1001, and the output end 10021 of the detection device Y-axis rotation driver 1002 is connected to the hole detection device 5.
[0116] It should be understood that the hole detection device 5 rotates around the X-axis, which means that the hole detection device 5 can rotate around the axis 10012 of the output end 10011 of the detection device X-axis rotation drive 1001. Similarly, the hole detection device 5 rotates around the Y-axis, which means that the hole detection device 5 can rotate around the axis 10022 of the output end 10021 of the detection device Y-axis rotation drive 1002.
[0117] As an example, the detection device X-axis rotation drive 1001 can be a motor. It is understandable that the detection device X-axis rotation drive 1001 can also be other driving mechanisms, as long as the detection device X-axis rotation drive 1001 can drive the hole detection device 5 to rotate around the X-axis.
[0118] As an example, the detection device Y-axis rotation drive 1002 can be a motor. It is understandable that the detection device Y-axis rotation drive 1002 can also be other driving mechanisms, as long as the detection device X-axis rotation drive 1001 can drive the hole detection device 5 to rotate around the Y-axis.
[0119] It is understandable that when the detection device rotating module 10 is not provided, the fixing seat 501 can be directly fixed to the output end 601 of the lifting module 6. When the detection device rotating module 10 is provided, the fixing seat 501 can be fixed to the output end 10021 of the detection device Y-axis rotating drive member.
[0120] In some examples, the optical axis 5021 of the image collector 502 can be perpendicular to the axis 10022 of the output end 10021 of the Y-axis rotation driver 1002 of the detection device, and the axis 10022 of the output end 10021 of the Y-axis rotation driver 1002 of the detection device can be perpendicular to the axis 10012 of the output end 10011 of the X-axis rotation driver 1001 of the detection device.
[0121] In some preferred embodiments, the hole detection device may include a fixed fixture rotating module 9 and a detection device rotating module 10 at the same time, and the fixed fixture rotating module 9 includes a fixed fixture X-axis rotating drive 901 and a fixed fixture Y-axis rotating drive 902, and the detection device rotating module 10 includes a detection device X-axis rotating drive 1001 and a detection device Y-axis rotating drive 1002. When in use, the fixed fixture 3 and the hole detection device 5 can be moved and rotated to align the hole detection device 5 with any hole structure 101 of the workpiece 1. By moving the fixed fixture 3 and the hole detection device 5 at the same time, the alignment time can be shortened and the detection efficiency can be improved.
[0122] As an example, the rack 2 has a loading and unloading area and a detection area arranged relatively. Figure 8 , the fixed jig 3 is located in the loading and unloading area. After the operator fixes the workpiece 1 on the fixed jig 3, the transport module 4 drives the fixed jig 3 to move toward the hole detection device 5 to the detection area, and then the fixed jig rotation module 9 drives the fixed jig 3 to rotate, and at the same time the detection device rotation module 10 drives the hole detection device 5 to rotate, so that one hole structure 101 of the workpiece 1 is aligned with the hole detection device 5. After the hole detection device 5 detects the hole structure 101, the other hole structure 101 of the workpiece 1 is aligned with the hole detection device 5. The method for aligning the other hole structure 101 of the workpiece 1 with the hole detection device 5 can be to move, rotate, or both move and rotate at least one of the fixed jig 3 and the hole detection device 5. For example, the lifting module 6 can drive the hole detection device 5 to rise, and then the fixed jig rotation module 9 drives the fixed jig 3 to rotate, so that the other hole structure 101 of the workpiece 1 is aligned with the hole detection device 5. After the hole detection device 5 detects the hole structure 101 , the next hole structure 101 of the workpiece 1 is aligned with the hole detection device 5 , and so on, until all the hole structures 101 are detected.
[0123] It should be understood that when the fixed jig rotating module 9 drives the fixed jig 3 to rotate, and the detection device rotating module 10 drives the hole detection device 5 to rotate, the alignment time can be shortened. For example, if the workpiece 1 is driven to rotate only by the fixed jig 3, the hole structure 101 to be detected needs to be rotated 90 degrees around the direction a to be aligned with the hole detection device 5. In other words, if only the hole detection device 5 is rotated, the hole detection device 5 needs to be rotated 90 degrees around the opposite direction of the direction a to be aligned with the hole structure 101 to be detected. Therefore, rotating the fixed jig 3 and the hole detection device 5 at the same time can make the hole structure 101 to be detected rotate 45 degrees around the direction a, and make the hole detection device 5 rotate 45 degrees around the opposite direction of the direction a. When the fixed jig 3 and the hole detection device 5 are rotated into place, the hole structure 101 to be detected is aligned with the hole detection device 5, which shortens the alignment time.
[0124] It is understandable that when a hole structure 101 of the workpiece 1 is detected as unqualified, the detection of the workpiece 1 can be stopped, and other undetected hole structures 101 of the workpiece 1 are no longer detected. Alternatively, when a hole structure 101 of the workpiece 1 is detected as unqualified, the detection can be suspended, and the hole structure 101 can be detected by manual identification to determine whether it is qualified. If it is qualified, the hole detection device can be used to detect other undetected hole structures 101. If it is unqualified, the detection of the workpiece 1 can be stopped, and other undetected hole structures 101 of the workpiece 1 are no longer detected.
[0125] It is understandable that, in other embodiments, the hole detection device 5 may include only the fixed fixture rotating module 9, or only the detection device rotating module 10. The fixed fixture rotating module 9 may include one or two driving members of the fixed fixture X-axis rotating driver 901 and the fixed fixture Y-axis rotating driver 902, and the detection device rotating module 10 may include one or two driving members of the detection device X-axis rotating driver 1001 and the detection device Y-axis rotating driver 1002, as long as it is ensured that the hole detection device 5 can be aligned with any hole structure 101 of the workpiece 1.
[0126] In some preferred embodiments, please refer to Fig. 9 and Fig.10 The fixing fixture 3 includes a positioning seat 301, a positioning pin 302 and a clamping member 303. The positioning seat 301 is connected to the transport module 4. The positioning pin 302 is convexly arranged on the positioning seat 301, and the positioning pin 302 is used to cooperate with the positioning hole 102 of the workpiece 1 to position the workpiece 1 on the positioning seat 301. The clamping member 303 is connected to the positioning seat 301, and the clamping member 303 is used to fix the workpiece 1 on the positioning seat 301.
[0127] For further information, please refer to Fig. 9When the hole detection device is provided with a fixed fixture rotating module 9, the positioning seat 301 can be fixed to the output end 9021 of the fixed fixture Y-axis rotating driving member 902.
[0128] In some examples, the workpiece 1 has a first surface 103 and a second surface 104 that are arranged opposite to each other, and at least one positioning hole 102 is opened on the first surface 103 of the workpiece 1. When the workpiece 1 is installed on the fixing fixture 3, the positioning pin 302 can be inserted into the corresponding positioning hole 102 to position the workpiece 1 on the fixing fixture 3 to prevent the workpiece 1 from moving relative to the fixing fixture 3 in the subsequent process. After the workpiece 1 is positioned on the fixing fixture 3, the clamping member 303 is pressed against the second surface 104 of the workpiece 1, so that the workpiece 1 is fixed to the positioning seat 301, and the installation of the workpiece 1 is completed. The fixing fixture 3 has a simple structure, is easy to operate, has high versatility, and can fully expose the hole structure 101. Furthermore, the first surface 103 and the second surface 104 of the workpiece 1 can also be non-exterior surfaces to prevent the fixing fixture 3 from damaging the workpiece 1 when the workpiece 1 is installed on the fixing fixture 3.
[0129] As an example, the clamping member 303 may be Figures 9 to 11 In the quick clamp shown, the clamping member 303 may also be a spinning cylinder, and the clamping member 303 may also be other structures, as long as the clamping member 303 can clamp and release the workpiece 1.
[0130] In some more preferred embodiments, please refer to Fig.10 There are three positioning pins 302, and the axes of the three positioning pins 302 are parallel and not coplanar. Not only is the structure simple, but the workpiece 1 can also be effectively positioned to prevent the workpiece 1 from rotating or flipping.
[0131] It is understandable that in other embodiments, there can be one positioning pin 302, or there can be two positioning pins 302, or there can be at least four positioning pins 302, as long as the workpiece 1 can be effectively positioned and the workpiece 1 will not rotate or flip relative to the fixed fixture 3 after the clamping member 303 clamps the workpiece 1.
[0132] In some examples, the axis of the positioning pin 302 is perpendicular to the axis 9022 of the output end 9021 of the fixed fixture Y-axis rotation drive member 902, and the axis 9022 of the output end 9021 of the fixed fixture Y-axis rotation drive member 902 is perpendicular to the axis 9012 of the output end 9011 of the fixed fixture X-axis rotation drive member 901.
[0133] In some preferred embodiments, the fixed fixture 3 and the output end 9021 of the fixed fixture Y-axis rotation driving member 902 are detachably fixed, which is convenient for replacing the fixed fixture 3 to adapt to various workpieces 1, thereby improving the versatility of the hole detection device. For example, the fixed fixture 3 and the output end 9021 of the fixed fixture Y-axis rotation driving member 902 can be fixed by screws.
[0134] It is understood that in some other embodiments, please refer to Fig.13 and Fig.14 The hole detection device 5 may not include the reflector 503 and the reflector driving member 504, and the appearance of the hole structure 101 can be photographed from multiple perspectives by moving and rotating the hole detection device 5 or the fixed fixture 3.
[0135] The hole detection method of this embodiment can be applied to any of the above-mentioned hole detection devices including the reflector 503, and can also be applied to any of the above-mentioned hole detection devices 5 including the reflector 503. The hole detection method of this embodiment can be used to sequentially detect multiple hole structures 101 of the workpiece 1, and the detection method of each hole structure 101 can be the same.
[0136] The following is an example of a detection method for a hole structure 101. The hole detection method at least includes steps S10 to S40:
[0137] S10, controlling the optical axis 5021 of the image collector 502 and the axis of the hole structure 101 of the workpiece 1 to be located on the same straight line or in parallel.
[0138] It is understandable that the optical axis 5021 of the image collector 502 may be located on the same straight line as the axis of the hole structure 101 of the workpiece 1. Figure 3 and Figure 4 As shown. The optical axis 5021 of the image collector 502 may also be parallel to the axis of the hole structure 101 of the workpiece 1. It is sufficient to ensure that the image collector 502 can directly or indirectly acquire the image of the hole structure 101 of the workpiece 1.
[0139] S20, controlling the image collector 502 to directly acquire a front image of the hole structure 101 of the workpiece 1, and detecting the front appearance and the hole bottom diameter of the hole structure 101 based on the acquired front image.
[0140] In some preferred embodiments, the front image may include a front appearance image and a hole bottom image, and step S20 may specifically include step S21 and step S22:
[0141] Step S21, controlling the image collector 502 to directly acquire the front appearance image of the hole structure 101 of the workpiece 1, such as Fig.15 and Fig. 20As shown, the front appearance of the hole structure 101 is detected based on the acquired front appearance image.
[0142] As an example, the front appearance of the hole structure 101 can be detected by judging whether the hole structure 101 shown in the image has burrs, foreign matter or other defects. For example, if the hole structure 101 is a threaded hole, it can also be judged whether the threaded hole has screw threads, whether the screw threads have defects, etc. If the hole structure 101 shown in the image has no burrs, foreign matter or other defects, then the front appearance of the hole structure 101 is judged to be qualified. Fig.15 and Fig. 20 If the hole structure 101 shown in the image has burrs, foreign matter or other defects, the front appearance of the hole structure 101 is judged to be unqualified.
[0143] Step S22, controlling the image collector 502 to directly acquire the hole bottom image of the hole structure 101 of the workpiece 1, such as Fig.16 and Fig.21 As shown, the hole bottom diameter of the hole structure 101 is detected based on the acquired hole bottom image.
[0144] As an example, detecting the hole bottom diameter of the hole structure 101 may be to determine whether the hole bottom diameter of the hole structure 101 shown in the image is within a qualified size range. If the hole bottom diameter of the hole structure 101 shown in the image is within a qualified size range, then the hole bottom diameter of the hole structure 101 is determined to be qualified, such as Fig.16 and Fig.21 If the hole bottom diameter of the hole structure 101 shown in the image is not within the qualified size range, it is determined that the hole bottom diameter of the hole structure 101 is unqualified.
[0145] In some embodiments, before detecting the hole bottom diameter of the hole structure 101 based on the acquired hole bottom image, the process may further include: acquiring a valid circle based on the acquired hole bottom image, thereby improving the detection accuracy.
[0146] As an exemplary embodiment, obtaining a valid circle based on the acquired hole bottom image includes that the processor may fit and restore a real circle by using a Houghcircle algorithm in Opencv based on the acquired hole bottom image.
[0147] S30, controlling the image collector 502 to indirectly acquire the image of the hole structure 101 of the workpiece 1 at the current viewing angle through the reflector 503, and detecting the side appearance of the hole structure 101 based on the acquired image at the current viewing angle.
[0148] S40, control the reflector 503 to rotate around the optical axis 5021 of the image collector 502 by a preset angle, and control the image collector 502 to indirectly obtain the image of the hole structure 101 of the workpiece 1 at the current viewing angle through the reflector 503, and detect the side appearance of the hole structure 101 based on the obtained image of the current viewing angle.
[0149] It is to be understood that the present application does not limit the specific value of the preset angle. In some examples, the image acquired in step S40 and the image acquired in step S30 are at different viewing angles.
[0150] As an example, the preset angle may be 30 degrees, the preset angle may be 60 degrees, the preset angle may be 90 degrees, the preset angle may be 120 degrees, the preset angle may be 180 degrees, or the preset angle may be other angles.
[0151] It is understandable that, in some embodiments, after controlling the reflector 503 to rotate around the optical axis 5021 of the image collector 502 by a preset angle, step S20 may be repeated to detect the front appearance and the bottom diameter of the hole structure 101 again.
[0152] In some preferred embodiments, after step S40, the hole detection method may further include:
[0153] Repeat step S40 until the first reflector 5032 and the second reflector 5033 rotate back to the initial position. The initial position refers to the position of the first reflector 5032 and the second reflector 5033 in steps S20 to S30, that is, the position of the first reflector 5032 and the second reflector 5033 before the reflector 503 rotates.
[0154] In some preferred embodiments, in order to detect the appearance of the hole structure 101 more uniformly and comprehensively, the preset angle may be 360 / N degrees. Every time the reflector 503 rotates around the optical axis 5021 of the image collector 502 by a preset angle, the image collector 502 is controlled to indirectly obtain the image of the hole structure 101 of the workpiece 1 at the current viewing angle through the reflector 503, and the side appearance of the hole structure 101 is detected based on the image obtained at the current viewing angle, until the reflector 503 rotates 360 degrees around the optical axis 5021 of the image collector 502, then the image acquisition is stopped and the detection is completed.
[0155] It can be understood that the angles at which the reflective member 503 rotates around the optical axis 5021 of the image collector 502 each time may be equal or unequal.
[0156] For an example, see Figures 15 to 19, the preset angles are 180 degrees and 90 degrees. When the hole detection method is used to detect the hole structure 101, the image collector 502 acquires the image of the hole structure 101 5 times in total. Among them, the image collector 502 directly acquires the image of the hole structure 101 2 times, which are Fig.15 The front appearance image shown and Fig.16 The image collector 502 indirectly acquires three images of the hole structure 101, which are Fig.17 The side appearance image shown, Fig.18 The side appearance image shown and Fig.19 The image collector 502 acquires the side appearance image. Fig.15 The front appearance image shown, Fig.16 The bottom image and Fig.17 After the side appearance image is shown, the reflector 503 rotates 180 degrees around the optical axis 5021 of the image collector 502 and then stops rotating. Then the image collector 502 obtains the following Fig.18 The image collector 502 acquires the side appearance image. Fig.18 After the side appearance image is shown, the reflector 503 rotates 90 degrees around the optical axis 5021 of the image collector 502 and then stops rotating. Then the image collector 502 obtains the following Fig.19 Side appearance image shown.
[0157] In another example, see Figure 20 to Figure 25 , the preset angle is 90 degrees. When the hole detection method is used to detect the hole structure 101, the image collector 502 acquires the image of the hole structure 101 6 times in total. Among them, the image collector 502 directly acquires the image of the hole structure 101 2 times, which are Fig. 20 The front appearance image shown and Fig.21 The image collector 502 indirectly acquires four images of the hole structure 101, which are Fig. 22 The side appearance image shown, Fig.23 The side appearance image shown, Fig.24 The side appearance image shown and Fig.25 The image collector 502 acquires the side appearance image. Fig. 20 The front appearance image shown, Fig.21 The bottom image and Fig. 22 After the side appearance image is shown, the reflector 503 rotates 90 degrees around the optical axis 5021 of the image collector 502 and then stops rotating. Then the image collector 502 obtains the following Fig.23 The image collector 502 acquires the side appearance image. Fig.23After the side appearance image is shown, the reflector 503 rotates 90 degrees around the optical axis 5021 of the image collector 502 and then stops rotating. Then the image collector 502 obtains the following Fig.24 The image collector 502 acquires the side appearance image. Fig.24 After the side appearance image is shown, the reflector 503 rotates 90 degrees around the optical axis 5021 of the image collector 502 and then stops rotating. Then the image collector 502 obtains the following Fig.25 The image collector 502 acquires the side appearance image. Fig.25 After the side appearance image is obtained, the reflector 503 rotates 90 degrees around the optical axis 5021 of the image collector 502 to return to the initial position.
[0158] It is understandable that, whenever the image collector 502 acquires an image, the processor detects the hole structure 101 based on the image acquired by the image collector 502. Alternatively, after the image collector 502 acquires all images, the processor detects the hole structure 101 based on each image acquired by the image collector 502 in sequence.
[0159] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. Hole detection device, It is characterized in that It includes: An image collector, used to directly or indirectly acquire an image of the hole structure of the workpiece; A reflector, comprising a connection seat, a first reflector and a second reflector, wherein the connection seat is rotatably connected to the image collector, the first reflector and the second reflector are respectively fixed to the connection seat, and the first reflector is arranged in parallel with the second reflector, the first reflector is used to reflect the image of the hole structure, and the second reflector is used to reflect the image reflected by the first reflector to the image collector; and A reflector driving element is used to drive the reflector to rotate around the optical axis of the image collector at a preset angle so that the first reflector reflects an image of the hole structure at a preset viewing angle.
2. The hole detection device according to claim 1, It is characterized in that The hole detection device also includes a transmission member; The transmission member is used to transmit the driving force output by the reflector driving member to the connecting seat.
3. The hole detection device according to claim 2, It is characterized in that The transmission member comprises a first gear portion and a second gear portion which are transmission-connected; The first gear part is fixed to the output end of the reflector driving part; The second gear part is fixed to the connecting seat, and the axis of the second gear part and the optical axis of the image collector are located on the same straight line.
4. The hole detection device according to claim 1, It is characterized in that The hole detection device also includes a first light source; The first light source is fixed to the connecting base.
5. The hole detection device according to claim 4, It is characterized in that The first light source includes a plurality of light emitting parts, and the plurality of light emitting parts are used to emit light simultaneously or separately to illuminate the hole structure.
6. The hole detection device according to claim 1, It is characterized in that The hole detection device also includes a second light source and a second light source driver; The second light source is connected to the output end of the second light source driver and is located between the reflector and the workpiece; Driven by the second light source driving member, the second light source can move along the Z axis to approach or move away from the workpiece.
7. The hole detection device according to claim 1, It is characterized in that The hole detection device also includes a processor; The processor is electrically connected to the image collector and is used to detect the hole structure through the image acquired by the image collector.
8. Hole detection equipment, It is characterized in that Comprising a hole detection device as described in any one of claims 1 to 7.
9. The hole detection device according to claim 8, It is characterized in that The workpiece has a plurality of hole structures; the hole detection device further comprises: A fixing fixture, used for fixing the workpiece; a transport module connected to the fixed fixture and used to move the fixed fixture along the X-axis and / or the Y-axis to move the workpiece closer to or farther from the detection device; and A lifting module, connected to the detection device, and used to move the detection device along the Z axis; The fixing fixture and / or the detection device can rotate around the X-axis and / or the Y-axis so that a hole structure of the workpiece is aligned with the detection device.
10. Hole detection method, It is characterized in that Applied to the hole detection device according to any one of claims 1 to 7 or applied to the hole detection equipment according to any one of claims 8 to 9, the method comprises: Controlling the optical axis of the image collector and the axis of the hole structure of the workpiece to be located on the same straight line or in parallel; Controlling the image collector to directly acquire a front image of the hole structure of the workpiece, and detecting the appearance and the hole bottom diameter of the hole structure based on the acquired front image; Controlling the image collector to indirectly acquire an image of the hole structure of the workpiece at a current viewing angle through the reflector, and detecting the appearance of the hole structure based on the acquired image at the current viewing angle; The reflector is controlled to rotate around the optical axis of the image collector at a preset angle, and the image collector is controlled to indirectly obtain an image of the hole structure of the workpiece at a current viewing angle through the reflector, and the appearance of the hole structure is detected based on the obtained image of the current viewing angle.
