Inspection method and position detection method
The method simplifies robotic connector inspection by using a second connector mark for precise position detection, overcoming the challenges of complex recognition programs and shape variations, ensuring efficient and accurate connector operations.
Patent Information
- Application Number
- JP2023073111
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-11-08
AI Technical Summary
Existing robotic inspection methods require complex recognition programs tailored to the shape of connectors, making parameter adjustment difficult and prone to errors in connector recognition due to variations in shape, gloss, and color.
An inspection method using a robot to insert a first connector into a second connector, with a placement step for a second connector mark, a position detection step using an imaging device, and a removal step, allowing for accurate detection of connector positions through image recognition without the need for customized programs.
Facilitates easy and precise detection of connector positions, reducing the complexity of program creation and parameter adjustment, enabling smooth insertion and removal of connectors with high accuracy and efficiency.
Smart Images

Figure 2024158152000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection method and a position detection method. [Background technology]
[0002] Patent document 1 discloses a robot device that performs the steps of grasping a first connector with a robot and inserting it into a second connector, resonating the first connector and the second connector while the first connector is inserted into the second connector, and adjusting the insertion depth of the first connector based on the resonant frequency. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-012784 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the robot device of Patent Document 1, when detecting the position of the second connector by image recognition, it is necessary to create a recognition program that matches the shape of the second connector. Therefore, it is necessary to have skills to create a recognition program, and it is difficult to adjust the parameters. Even if a recognition program can be created, it may not be possible to properly recognize the second connector depending on the shape, gloss, color, etc. of the second connector. [Means for solving the problem]
[0005] The inspection method of the present invention is an inspection method that performs an inspection including an operation of inserting a first connector into a second connector using a robot, A placement step of placing a second connector mark on the second connector; a position detection step of capturing an image of the second connector mark by an imaging device and detecting a position of the second connector based on the captured image data; a removing step of removing the second connector mark from the second connector; and an insertion / removal step of holding the first connector with the robot and repeatedly inserting and removing the first connector into and from the second connector.
[0006] The position detection method of the present invention is a position detection method for detecting a position of a second connector into which a first connector is inserted, comprising: A placement step of placing a second connector mark on the second connector; The method includes a position detection step of capturing an image of the second connector mark with an imaging device and detecting the position of the second connector based on the obtained image data. [Brief description of the drawings]
[0007] [Figure 1] 1 is a configuration diagram of a robot system according to a first embodiment. [Diagram 2] FIG. 2 is a plan view showing a cable used in the inspection. [Diagram 3] 1 is a rear view of an electronic device to be inspected; [Figure 4] FIG. 13 is a perspective view showing a second connector mark used in inspection. [Diagram 5] 1 is a flowchart showing an inspection process. [Figure 6] FIG. 13 is a diagram for explaining an inspection process. [Figure 7] FIG. 13 is a diagram for explaining an inspection process. [Figure 8] FIG. 13 is a diagram for explaining an inspection process. [Figure 9] FIG. 11 is a configuration diagram of a robot system according to a second embodiment. [Figure 10] FIG. 11 is a perspective view showing a gripping jig used in an inspection performed by a robot system according to a third embodiment. [Figure 11] FIG. 11 is an exploded perspective view of the holding jig shown in FIG. [Figure 12] FIG. 13 is a perspective view showing a state in which the gripping jig is gripped by a tool. [Figure 13] FIG. 13 is a perspective view showing a gripping jig used in an inspection performed by a robot system according to a fourth embodiment. [Figure 14] FIG. 13 is a diagram for explaining an inspection process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An inspection method and a position detection method according to the present invention will be described in detail below with reference to the embodiments shown in the accompanying drawings.
[0009] First Embodiment FIG. 1 is a configuration diagram of a robot system according to a first embodiment. FIG. 2 is a plan view showing a cable used in the inspection. FIG. 3 is a rear view of an electronic device to be inspected. FIG. 4 is a perspective view showing a second connector mark used in the inspection. FIG. 5 is a flowchart showing the inspection process. FIGS. 6 to 8 are views for explaining the inspection process.
[0010] The robot system 1 shown in FIG. 1 includes a robot 2 that inserts and removes a held cable 9 into and from an electronic device 8, and a control device 3 that controls the driving of the robot 2.
[0011] The robot 2 is a six-axis vertical articulated robot having six drive axes. Such a robot 2 has a base 21, a robot arm 22 rotatably connected to the base 21, a tool 23 attached to the tip of the robot arm 22, a force sensor 24 as a force detection unit disposed between the robot arm 22 and the tool 23, and an imaging device 25 disposed on the tool 23.
[0012] The robot arm 22 is configured with six arms 221, 222, 223, 224, 225, and 226 connected to rotate freely, and includes six joints J1, J2, J3, J4, J5, and J6. Of these six joints J1 to J6, the joints J2, J3, and J5 are bending joints, and the joints J1, J4, and J6 are torsion joints. Each of the joints J1, J2, J3, J4, J5, and J6 is provided with a motor and an encoder (not shown). During operation of the robot system 1, the control device 3 executes feedback control for each of the joints J1 to J6 to make the rotation angle of the joints J1 to J6 indicated by the output of the encoder coincide with a target position.
[0013] Moreover, tool 23 has a pair of claws that open and close, and clamps and holds cable 9 between the pair of claws. However, the configuration of tool 23 is not particularly limited as long as it can hold cable 9. For example, tool 23 may be configured to hold cable 9 by suction.
[0014] Furthermore, the force sensor 24 has three detection axes perpendicular to each other, and can independently detect a translational force (axial force) along each detection axis and a rotational force (torque) around each detection axis. Such a force sensor 24 detects a force applied to the cable 9 held by the tool 23. However, the configuration of the force sensor 24 is not particularly limited as long as it can detect a force applied to the cable 9 held by the tool 23. Furthermore, the force sensor 24 may be omitted.
[0015] Moreover, the imaging device 25 is, for example, a 3D camera (stereo camera). The control device 3 can identify the position (three-dimensional coordinates) of an object in the image data by performing image recognition processing on the image data captured by the imaging device 25. However, the configuration of the imaging device 25 is not particularly limited as long as it can exert the same function.
[0016] The control device 3 controls the driving of the robot 2. The control device 3 is composed of, for example, a computer, and has a processor (CPU) for processing information, a memory communicatively connected to the processor, and an external interface for connecting to an external device. Various programs executable by the processor are stored in the memory, and the processor can read and execute the programs stored in the memory.
[0017] Although the robot system 1 has been briefly described above, the configuration thereof is not particularly limited. For example, the robot 2 does not have to be a six-axis vertical articulated robot, and may be, for example, a horizontal articulated robot (SCARA robot).
[0018] Next, an inspection method using the robot system 1 will be described. The content of the inspection performed by this inspection method is not particularly limited as long as it includes the operation of inserting the first connector 92 into the second connector 81 using the robot 2, but in this embodiment, the cable 9 is repeatedly inserted and removed from the electronic device 8 to evaluate the insertion and removal durability of the electronic device 8. This makes it possible to simply and accurately evaluate the strength of the electronic device 8, in particular the strength of the second connector 81 itself and the strength of the portion supporting the second connector 81.
[0019] In the inspection of this embodiment, a cable 9 is used as shown in FIG. 2. The cable 9 has three cables 9A, 9B, and 9C. The cable 9 is a real cable that can be actually used, and has a flexible cable body 91 and a first connector 92 arranged at one end of the cable body 91. By using the real cable 9 in this way, the actual usage state can be reproduced, and the accuracy and reliability of the inspection can be improved. However, the cable 9 may be a full-scale model (mockup). The cable body 91 may be omitted from the cable 9. In the following, for convenience of explanation, the first connector 92 of the cable 9A is also referred to as the "first connector 92A", the first connector 92 of the cable 9B is also referred to as the "first connector 92B", and the first connector 92 of the cable 9C is also referred to as the "first connector 92C".
[0020] 3, the electronic device 8 has a second connector 81 on its rear surface into which the first connector 92 is inserted. The second connector 81 has a second connector 81A into which the first connector 92A is inserted, a second connector 81B into which the first connector 92B is inserted, and a second connector 81C into which the first connector 92C is inserted. The electronic device 8 is fixed by a fixing member (not shown) so as not to be displaced when the first connectors 92A, 92B, and 92C are inserted and removed. The electronic device 8 is not particularly limited, and examples thereof include a projector, a printer, a personal computer, a display, and a robot controller.
[0021] In this embodiment, the first connector 92 is a male connector, and the second connector 81 is a female connector. However, without being limited thereto, the first connector 92 may be a female connector, and the second connector 81 may be a male connector. In addition, the standard of the connector is not particularly limited, and may be any standard, for example, USB Type A, USB Type C, USB mini, USB micro, HDMI (registered trademark), VGA, LAN, etc. In this embodiment, the first connector 92A and the second connector 81A are HDMI, the first connector 92B and the second connector 81B are VGA, and the first connector 92C and the second connector 81C are USB Type A.
[0022] 4, the inspection of this embodiment uses a mark 5 for the second connector to be inserted into the second connector 81. The mark 5 for the second connector is imaged by the imaging device 25 and subjected to image recognition processing by the control device 3. The mark 5 for the second connector includes a mark 5A for the second connector 81A, a mark 5B for the second connector 81B, and a mark 5C for the second connector 81C.
[0023] The mark 5 for the second connector has an insertion portion 51 to be inserted into the second connector 81, a mark portion 52 to be image-recognized, and an abutting portion 53 provided in the insertion portion 51 and abutting a predetermined portion of the second connector 81 when the mark 5 for the second connector is inserted into the second connector 81. The mark 5 for the second connector can be correctly positioned with respect to the second connector 81 by inserting the insertion portion 51 into the second connector 81 until the abutting portion 53 abuts a predetermined portion of the second connector 81. The positional relationship between the mark 5 for the second connector and the second connector 81 in the correctly positioned state is known in advance and is stored in a recognition program held by the control device 3. Therefore, the control device 3 can detect the position of the mark 5 for the second connector from image data acquired by the imaging device 25 based on the recognition program, thereby detecting the position of the second connector 81.
[0024] The mark portion 52 is configured to be more easily recognized as an image than the second connector 81. Specifically, the mark portion 52 has a color and gloss that are easily recognized as an image. The mark portion 52 is made of, for example, a resin material, and has a sufficiently reduced gloss compared to the second connector 81 made of a metal material. In addition, the mark portion 52 is colored in a color different from the back surface of the electronic device 8. Therefore, reflection is suppressed, and image data in which the mark portion 52 and its outline are clear can be obtained. Therefore, the position of the second connector 81 can be detected more accurately than when the position of the second connector 81 is detected based on image data obtained by directly imaging the second connector 81. In addition, the mark portion 52 is configured to be not too small or too large so that image recognition does not take too much time.
[0025] Also, the mark portion 52 has a three-dimensional shape. Furthermore, the side surface of the mark portion 52 is inclined in a tapered shape, and appears in the image data captured by the imaging device 25. Therefore, the amount of information related to the mark portion 52 increases, and accordingly the image of the mark portion 52 can be recognized with higher accuracy. Therefore, the position of the second connector 81 can be detected with higher accuracy by using the second connector mark 5.
[0026] The marks 5A, 5B, and 5C for the second connector have different mark portions 52. Therefore, the marks 5A, 5B, and 5C for the second connector can be easily distinguished by image recognition. Also, each mark portion 52 has an asymmetric shape in the up-down direction, so that the orientation of the second connector 81 can be distinguished.
[0027] The second connector mark 5 has been described above. Here, when the second connector 81 is directly imaged as in the conventional method, it is necessary to create a recognition program and adjust parameters for each of the second connectors 81A, 81B, and 81C. In contrast, according to the method of detecting the position of the second connector 81 using the second connector mark 5 as in the present embodiment, the positions of the second connectors 81A, 81B, and 81C are detected using a common identification program, and the positions of the second connectors 81A, 81B, and 81C can be detected from the result. In other words, the second connector mark 5 is configured so that a common identification program can be used. Therefore, it is not necessary to create a different identification program for each of the second connectors 81. Furthermore, since the second connector mark 5 is designed to be easily image-recognized, the parameter adjustment work is also easy. Therefore, even a person who does not have sufficient program creation skills can detect the position of the second connector 81 with high accuracy.
[0028] 5, the inspection method includes an arrangement step S1 of arranging a mark 5 for the second connector on the second connector 81, a position detection step S2 of detecting the position of the second connector 81, a removal step S3 of removing the mark 5 for the second connector from the second connector 81, an insertion / removal step S4 of repeatedly inserting and removing the first connector 92 into and from the second connector 81, and an inspection step S5 of inspecting the state of the second connector 81, that is, evaluating the insertion / removal durability. Note that, within this inspection method, a method for detecting the position of the second connector 81 will also be described.
[0029] <Placement step S1> In the arrangement step S1, as shown in Fig. 6, the mark 5 for the second connector is inserted into the second connector 81. That is, the mark 5A for the second connector is inserted into the second connector 81A, the mark 5B for the second connector is inserted into the second connector 81B, and the mark 5C for the second connector is inserted into the second connector 81C. At this time, the insertion portion 51 is inserted into the second connector 81 until the abutting portion 53 abuts, and the mark 5 for the second connector is correctly positioned with respect to the second connector 81. Note that the insertion of the mark 5 for the second connector into the second connector 81 may be performed, for example, by the robot 2, by a robot other than the robot 2, or by an operator.
[0030] <Position detection step S2> 7, in the position detection step S2, the control device 3 first moves the robot 2 so that the mark 5A for the second connector is positioned within the field of view of the imaging device 25, and captures an image of the mark 5A for the second connector with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to detect the position of the mark 5A for the second connector, and further detects the position of the second connector 81A based on the position of the mark 5A for the second connector.
[0031] As described above, the mark 5A for the second connector is configured to be more easily image-recognized than the second connector 81A, so by detecting the position of the second connector 81A via the position of the mark 5A for the second connector, the position of the second connector 81 can be detected more accurately than when the position of the second connector 81A is directly detected. Also, as described above, by disposing the imaging device 25 on the robot 2, the imaging device 25 can be moved by moving the robot 2, and the mark 5A for the second connector can be imaged more reliably regardless of the position of the second connector 81. Therefore, this step can be performed more reliably.
[0032] Next, the control device 3 moves the robot 2 so that the mark 5B for the second connector is positioned within the field of view of the imaging device 25, and captures an image of the mark 5B for the second connector with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to determine the position of the mark 5B for the second connector, and further determines the position of the second connector 81B based on the position of the mark 5B for the second connector.
[0033] Next, the control device 3 moves the robot 2 so that the mark 5C for the second connector is positioned within the field of view of the imaging device 25, and captures an image of the mark 5C for the second connector with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to determine the position of the mark 5C for the second connector, and further determines the position of the second connector 81C based on the position of the mark 5C for the second connector.
[0034] In this manner, the positions of all the second connectors 81A, 81B, and 81C are detected. In this manner, the marks 5A, 5B, and 5C for the second connector are sequentially imaged, so that the marks 5A, 5B, and 5C for the second connector can be positioned at the center of the image. Since the aberration is suppressed toward the center of the image, the positions can be detected more accurately by image recognition. However, the position detection step S2 is not particularly limited. For example, the robot 2 may be moved so that all the marks 5A, 5B, and 5C for the second connector are positioned within the field of view of the imaging device 25, and the marks 5A, 5B, and 5C for the second connector may be simultaneously imaged by the imaging device 25. This reduces the number of times imaging is performed, so that this step can be performed in a shorter time.
[0035] <Removal step S3> In the removal step S3, the mark 5 for the second connector is pulled out from the second connector 81. That is, the mark 5A for the second connector is pulled out from the second connector 81A, the mark 5B for the second connector is pulled out from the second connector 81B, and the mark 5C for the second connector is pulled out from the second connector 81C. Note that the pulling out of the mark 5 for the second connector may be performed by the robot 2, a robot other than the robot 2, or a worker, for example.
[0036] <Insertion / removal step S4> In the insertion / removal step S4, first, as shown in Fig. 8, the control device 3 moves the robot 2 so that the first connector 92A is positioned within the field of view of the imaging device 25, and captures an image of the first connector 92A with the imaging device 25. Then, the control device 3 detects the position of the first connector 92A by performing image recognition processing on the image data acquired by the imaging device 25. Next, the control device 3 moves the robot 2 based on the detected position, and grips a predetermined position of the first connector 92A with the tool 23.
[0037] Next, the control device 3 moves the robot 2 to repeat the insertion and removal of the first connector 92A into the second connector 81A a predetermined number of times. Specifically, first, the robot 2 is moved based on the position of the second connector 81A obtained in the position detection step S2 and the position of the first connector 92A obtained in this step, and the first connector 92A is inserted into the second connector 81A. Next, the control device 3 moves the robot 2 to move the first connector 92A backward along its central axis and pull it out from the second connector 81A.
[0038] In addition, due to a detection error of the position of the first connector 92A or the second connector 81A, a shift in the gripping position of the first connector 92A, etc., the first connector 92A may hit the second connector 81A during insertion, preventing further insertion. Therefore, the control device 3 detects the presence or absence of contact and the contact state between the first connector 92A and the second connector 81A based on the force detected by the force sensor 24, and proceeds with this step while fine-tuning the position of the first connector 92A based on the detection result. This allows the first connector 92A to be inserted into the second connector 81A smoothly and with a higher probability. Also, during this step, excessive force is unlikely to be applied to the first connector 92A and the second connector 81A, and damage or deformation of these connectors can be effectively suppressed.
[0039] This completes the first insertion / removal. After the second insertion / removal, for example, the first connector 92A can be moved back and forth between the position of the first connector 92A when the first insertion is completed and the position of the first connector 92A when the first removal is completed, thereby allowing the repeated insertion / removal to be performed smoothly. Note that the number of times the first connector 92A is inserted and removed is not particularly limited as long as it is at least one.
[0040] When the control device 3 has completed inserting and removing the first connector 92A into and from the second connector 81A, it grips a predetermined position of the first connector 92B with the tool 23, as it did with the first connector 92A, and repeats the insertion and removal of the first connector 92B into and from the second connector 81B a predetermined number of times. When the control device 3 has completed inserting and removing the first connector 92B into and from the second connector 81B, it grips a predetermined position of the first connector 92C with the tool 23, as it did with the first connector 92A, and repeats the insertion and removal of the first connector 92C into and from the second connector 81C a predetermined number of times.
[0041] <Inspection step S5> In inspection step S5, the condition of the second connector 81 itself and the condition of the portion of the electronic device 8 that holds the second connector 81 are checked to evaluate durability against insertion and removal of the first connector 92. The evaluation may be performed, for example, by the control device 3 capturing an image of the second connector 81 with the imaging device 25 and processing the image data, or by another inspection robot. Also, the evaluation may be performed visually by an operator.
[0042] The inspection method has been described above. According to such an inspection method, the position of the second connector 81 can be detected simply and accurately, so that the first connector 92 can be smoothly inserted and removed from the second connector 81. Therefore, the time required for the inspection can be shortened.
[0043] The robot system 1 of this embodiment has been described above. The inspection method using such a robot system 1 is an inspection method that uses a robot 2 to perform an inspection including an operation of inserting a first connector 92 into a second connector 81, and includes an arrangement step S1 of arranging a mark for the second connector 5 on the second connector 81, a position detection step S2 of capturing an image of the mark for the second connector 5 with an imaging device 25 and detecting the position of the second connector 81 based on the obtained image data, a removal step S3 of removing the mark for the second connector 5 from the second connector 81, and an insertion / removal step S4 of gripping the first connector 92 with the robot 2 and repeatedly inserting and removing the first connector 92 into and from the second connector 81. According to this method, by configuring the mark for the second connector 5 to be suitable for image recognition, it becomes easier to create an identification program and adjust parameters compared to a case where the position of the second connector 81 is detected based on image data obtained by directly capturing an image of the second connector 81. Therefore, even a person who does not have sufficient program creation skills can detect the position of the second connector 81 with high accuracy.
[0044] As described above, the imaging device 25 is disposed on the robot 2. Therefore, the imaging device 25 can be moved by moving the robot 2, and the image of the second connector mark 5 disposed on the second connector 81 can be captured more reliably, regardless of the arrangement of the second connector 81.
[0045] As described above, the second connector mark 5 has a three-dimensional mark portion 52. This allows the mark portion 52 to be image-recognized with higher accuracy.
[0046] As described above, the side surface of the mark portion 52 is tapered, which allows the mark portion 52 to be image-recognized with higher accuracy.
[0047] As described above, in the inspection method, a plurality of second connectors 81 are arranged, and in the arrangement step S1, different second connector marks 5 are inserted into the plurality of second connectors 81. This makes it possible to distinguish the plurality of second connectors 81 based on the inserted second connector marks 5.
[0048] As described above, the position detection method is a position detection method for detecting the position of the second connector 81 into which the first connector 92 is inserted, and includes an arrangement step S1 of arranging the mark for the second connector 5 on the second connector 81, and a position detection step S2 of imaging the mark for the second connector 5 with the imaging device 25 and detecting the position of the second connector 81 based on the obtained image data. According to this method, by configuring the mark for the second connector 5 to be suitable for image recognition, it becomes easier to create an identification program and adjust parameters compared to the case where the position of the second connector 81 is detected based on image data obtained by directly imaging the second connector 81. Therefore, even a person who does not have sufficient program creation skills can detect the position of the second connector 81 with high accuracy.
[0049] <Second embodiment> FIG. 9 is a configuration diagram of a robot system according to the second embodiment.
[0050] The robot system 1 according to this embodiment is similar to the robot system 1 according to the first embodiment, except for the arrangement of the imaging device 25. In the following description, the robot system 1 according to this embodiment will be described with a focus on the differences from the first embodiment, and a description of the similarities will be omitted. In the drawings of this embodiment, the same reference numerals are used to designate the same components as those in the above-described embodiment.
[0051] As shown in FIG. 9, in the robot system 1 of this embodiment, the imaging device 25 is not disposed on the robot 2, but is disposed, for example, directly above the working space and fixed at a predetermined position.
[0052] The second embodiment as described above can also achieve the same effects as the first embodiment described above.
[0053] <Third embodiment> Fig. 10 is a perspective view showing a gripping jig used in an inspection performed by a robot system according to a third embodiment. Fig. 11 is an exploded perspective view of the gripping jig shown in Fig. 10. Fig. 12 is a perspective view showing a state in which the gripping jig is gripped by a tool.
[0054] The robot system 1 according to this embodiment is similar to the robot system 1 according to the first embodiment described above, except that a gripping jig 7 is attached to the first connector 92 during inspection. In the following description, the robot system 1 according to this embodiment will be described mainly with respect to differences from the first embodiment described above, and description of similar points will be omitted. In addition, in each drawing of this embodiment, the same reference numerals are used for configurations similar to those of the above-mentioned embodiment.
[0055] 10, the inspection in this embodiment uses a holding jig 7 attached to a cable 9. The holding jig 7 includes a holding jig 7A attached to the first connector 92A, a holding jig 7B attached to the first connector 92B, and a holding jig 7C attached to the first connector 92C.
[0056] 10 and 11, the holding jig 7A has a base 72 that holds the first connector 92A, a spacer 71 that is interposed between the base 72 and the first connector 92A, and a tubular locking portion 73 that is inserted into the base 72. In addition, the spacer 71 is divided into spacer pieces 711 and 712, and the base 72 is divided into base pieces 721 and 722.
[0057] In such a holding jig 7A, first, the spacer 71 is assembled by sandwiching the body of the first connector 92A between the spacer pieces 711, 712. The spacer 71 has a positioning portion 713 that positions the first connector 92A. This allows the first connector 92A to be placed at a predetermined position relative to the spacer 71, and also makes it possible to prevent the first connector 92A from shifting after positioning. The configuration of the positioning portion 713 can be designed appropriately according to the body shape of the first connector 92A, and in this embodiment, it has a configuration having a convex portion that engages with a narrowing of the body.
[0058] Next, the spacer 71 is sandwiched between the base pieces 721, 722 to assemble the base 72. The base 72 has a positioning portion 723 that positions the spacer 71. This allows the spacer 71 to be placed at a predetermined position relative to the base 72, and also prevents the spacer 71 from shifting after positioning. The configuration of the positioning portion 723 can be designed appropriately according to the shape of the spacer 71. The positioning portion 723 in this embodiment is formed at the tip of the base 72, and has a recess into which the spacer 71 is fitted.
[0059] Next, the locking portion 73 is inserted into the base portion 72, thereby maintaining the assembled state of the spacer 71 and the base portion 72. The base portion 72 has a positioning portion 724 for positioning the locking portion 73. This allows the locking portion 73 to be placed at a predetermined position relative to the base portion 72. The configuration of the positioning portion 724 can be appropriately designed according to the shape of the locking portion 73, and in this embodiment, it has a wall portion against which the locking portion 73 abuts. This completes the assembly of the gripping jig 7A. With this configuration, the gripping jig 7A can be easily attached to the first connector 92A. Note that, when the gripping jig 7A is attached, the tip portion of the first connector 92A, specifically the entire male terminal, protrudes from the tip of the gripping jig 7A.
[0060] The gripping jig 7A also has a first connector mark 6 arranged on the upper surface of the locking portion 73. The first connector mark 6, like the second connector mark 5, has a configuration suitable for image recognition. Specifically, the first connector mark 6 has a color and luster that are easy to recognize. The first connector mark 6 also has a three-dimensional shape, and its side surface is inclined in a tapered shape. This allows the first connector mark 6 to be image-recognized with high accuracy. Such a first connector mark 6 may be formed integrally with the locking portion 73, or may be formed separately and joined by an adhesive or the like.
[0061] The base 72 also has a gripping portion 725 that is gripped by the tool 23 of the robot 2. The gripping portion 725 has a shape narrowed by a pair of cutout portions formed on both side surfaces of the base 72. Then, as shown in Fig. 12, in the insertion / removal step S4, the claw portions of the tool 23 are inserted into the cutout portions to clamp the gripping portion 725, thereby making it possible to grip the gripping jig 7A in a stable posture.
[0062] Moreover, the gripping portion 725 is located on the base end side of the first connector mark 6, that is, rearward in the insertion direction. This increases the separation distance D between the tool 23 and the first connector 92A when the gripping portion 725 is gripped by the tool 23, and for example, the first connector 92A can be inserted into the second connector 81A that is located so far back that the first connector 92A cannot be inserted when the first connector 92A is directly gripped by the tool 23. This improves the workability of the inspection. However, the arrangement of the gripping portion 725 is not particularly limited.
[0063] The gripping jig 7A has been described above. The relative positional relationship between the first connector mark 6 and the gripping portion 725 (offset amount from the first connector mark 6) in a state where the gripping jig 7A is attached to the first connector 92A, and the relative positional relationship between the first connector mark 6 and the first connector 92A (offset amount from the first connector mark 6) are known in advance, and these relationships are stored in an identification program held by the control device 3. Therefore, the control device 3 can detect the position of the first connector mark 6 from the image data acquired by the imaging device 25, and can detect the positions of the gripping portion 725 and the first connector 92A from the position. In this way, by detecting the positions of the gripping portion 725 and the first connector 92A using the first connector mark 6, clearer image recognition is possible compared to the case where the first connector 92A is directly imaged, and the positions of the gripping portion 725 and the first connector 92A can be detected with high accuracy.
[0064] 10, the gripping jig 7B has the same configuration as the gripping jig 7A, and includes a base 72 that holds the first connector 92B, a spacer 71 interposed between the base 72 and the first connector 92B, a tubular locking portion 73 inserted into the base 72, and a mark for the first connector 6 arranged on the upper surface of the locking portion 73. The gripping jig 7C has the same configuration as the gripping jig 7A, and includes a base 72 that holds the first connector 92C, a spacer 71 interposed between the base 72 and the first connector 92C, a tubular locking portion 73 inserted into the base 72, and a mark for the first connector 6 arranged on the upper surface of the locking portion 73. In the following, for ease of explanation, the first connector mark 6 on the holding jig 7A will be referred to as the "first connector mark 6A," the first connector mark 6 on the holding jig 7B will be referred to as the "first connector mark 6B," and the first connector mark 6 on the holding jig 7C will be referred to as the "first connector mark 6C."
[0065] As described above, the first connectors 92A, 92B, and 92C have different standards, and accordingly, the body shapes are also different from one another. Therefore, the shapes of the parts, particularly the spacer 71 and the base 72, of the holding jigs 7A, 7B, and 7C are different from one another accordingly. However, the shape of the holding part 725 is the same for the holding jigs 7A, 7B, and 7C. This allows the same tool 23 to properly hold all of the holding jigs 7A, 7B, and 7C. Therefore, for example, the time and effort required for replacing the tool 23 during the inspection is eliminated, and the inspection can be performed efficiently.
[0066] In addition, the first connector marks 6A, 6B, and 6C have three-dimensional shapes different from one another, which makes it possible to easily distinguish the first connectors 92A, 92B, and 92C by image recognition.
[0067] The gripping jig 7 has been described above. However, the configuration of the gripping jig 7 is not particularly limited as long as it can be attached to the first connector 92. For example, the spacer 71 may be omitted. Also, the mark 6 for the first connector may be disposed on the base 72. Also, the constituent material of the gripping jig 7 is not particularly limited, and it may be composed of, for example, various resin materials, various metal materials, etc.
[0068] As in the first embodiment described above, the inspection method of this embodiment includes an arrangement step S1 of arranging a mark 5 for the second connector on the second connector 81, a position detection step S2 of detecting the position of the second connector 81, a removal step S3 of removing the mark 5 for the second connector from the second connector 81, an insertion / removal step S4 of repeatedly inserting and removing the first connector 92 into and from the second connector 81, and an inspection step S5 of inspecting the state of the second connector 81. Note that, since the inspection method of this embodiment is the same as that of the first embodiment described above except for the insertion / removal step S4, only the insertion / removal step S4 will be described below.
[0069] <Insertion / removal step S4> In the insertion / removal step S4, first, the control device 3 moves the robot 2 so that the mark 6A for the first connector is positioned within the field of view of the imaging device 25, and captures an image of the mark 6A for the first connector with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to detect the position of the mark 6A for the first connector, and further detects the positions of the gripper 725 and the first connector 92A from the position of the mark 6A for the first connector. Next, the control device 3 moves the robot 2 based on the obtained position, and grips the gripper 725 of the gripping jig 7A with the tool 23. Thereafter, similarly to the first embodiment described above, the insertion and removal of the first connector 92A into the second connector 81A is repeated a predetermined number of times.
[0070] Next, similarly to the first connector 92A, the control device 3 repeats insertion and removal of the first connector 92B into the second connector 81B a predetermined number of times, and repeats insertion and removal of the first connector 92C into the second connector 81C a predetermined number of times.
[0071] According to this method, since the first connector mark 6A has a configuration suitable for image recognition, clearer image recognition is possible compared to when the first connector 92A is directly imaged, and the positions of the gripping portion 725 and the first connector 92A can be detected with higher accuracy. Therefore, the detection error is reduced, and this step can be performed more smoothly.
[0072] The third embodiment as described above can also achieve the same effects as the first embodiment described above.
[0073] <Fourth embodiment> Fig. 13 is a perspective view showing a gripping jig used in the inspection performed by the robot system according to the fourth embodiment Fig. 14 is a view for explaining the inspection process.
[0074] The robot system 1 according to this embodiment is similar to the robot system 1 according to the third embodiment, except that the first connector mark 6 also serves as the second connector mark 5. In the following description, the robot system 1 according to this embodiment will be described with a focus on the differences from the first embodiment, and a description of the similarities will be omitted. In each drawing of this embodiment, the same reference numerals are used for the same configurations as those in the above-mentioned embodiments.
[0075] 13, in this embodiment, the mark 6 for the first connector also serves as the mark 5 for the second connector. This allows the number of members used for inspection to be reduced. In addition, by arranging the mark 6 for the first connector, which also serves as the mark 5 for the second connector, on the holding jig 7, it becomes easier to arrange the mark 5 for the second connector on the first connector 92.
[0076] As in the first embodiment described above, the inspection method of this embodiment includes an arrangement step S1 of arranging a mark 5 for the second connector 81 on the second connector 81, a position detection step S2 of detecting the position of the second connector 81, a removal step S3 of removing the mark 5 for the second connector from the second connector 81, an insertion / removal step S4 of repeatedly inserting and removing the first connector 92 into and from the second connector 81, and an inspection step S5 of inspecting the state of the second connector 81. Note that, except for the arrangement step S1, position detection step S2, and removal step S3, this embodiment is similar to the third embodiment described above, and therefore only the arrangement step S1, position detection step S2, and removal step S3 will be described below.
[0077] <Placement step S1> In the arrangement step S1, first, the gripping jig 7 is attached to the first connector 92. That is, the gripping jig 7A is attached to the first connector 92A, the gripping jig 7B is attached to the first connector 92B, and the gripping jig 7C is attached to the first connector 92C. Next, as shown in FIG. 14, the first connector 92 is inserted into the second connector 81. That is, the first connector 92A is inserted into the second connector 81A, the first connector 92B is inserted into the second connector 81B, and the first connector 92C is inserted into the second connector 81C. Note that the insertion of the first connector 92 into the second connector 81 may be performed, for example, by the robot 2, by a robot other than the robot 2, or by a worker.
[0078] <Position detection step S2> In the position detection step S2, first, the control device 3 moves the robot 2 so that the mark for the first connector 6A is positioned within the field of view of the imaging device 25, and captures an image of the mark for the first connector 6A with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to detect the position of the mark for the first connector 6A, and detects the position of the second connector 81A based on the position of the mark for the first connector 6A. According to this method, it is possible to correct the positional deviation (deviation between the position detected by image recognition and the actual position) between the mark for the first connector 6A and the first connector 92A while detecting the position of the second connector 81A.
[0079] Next, the control device 3 moves the robot 2 so that the mark for the first connector 6B is positioned within the field of view of the imaging device 25, and captures an image of the mark for the first connector 6B with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to determine the position of the mark for the first connector 6B, and further determines the position of the second connector 81B based on the position of the mark for the first connector 6B.
[0080] Next, the control device 3 moves the robot 2 so that the mark 6C for the first connector is positioned within the field of view of the imaging device 25, and captures an image of the mark 6C for the first connector with the imaging device 25. Then, the control device 3 performs image recognition processing on the image data acquired by the imaging device 25 to determine the position of the mark 6C for the first connector, and further determines the position of the second connector 81C based on the position of the mark 6C for the first connector.
[0081] <Removal step S3> In the removal step S3, the mark 6 for the first connector is pulled out from the second connector 81. That is, the first connector 92A is pulled out from the second connector 81A, the first connector 92B is pulled out from the second connector 81B, and the first connector 92C is pulled out from the second connector 81C. Note that the pulling out of the first connectors 92A, 92B, and 92C may be performed by, for example, the robot 2, a robot other than the robot 2, or an operator.
[0082] As described above, in the arrangement step S1 of this embodiment, the mark 6 for the first connector, which also serves as the mark 5 for the second connector, is arranged on the first connector 92, and the first connector 92 is inserted into the second connector 81, thereby arranging the mark 6 for the first connector, which also serves as the mark 5 for the second connector, on the second connector 81. This makes it possible to correct the positional deviation between the mark 6 for the first connector and the first connector 92 while detecting the position of the second connector 81.
[0083] As described above, the marks 6 for the first connector, which also serve as the marks 5 for the second connector, are arranged on the holding jig 7 attached to the first connector 92. This makes it easy to arrange the marks 6 for the first connector on the first connector 92.
[0084] The fourth embodiment as described above can also achieve the same effects as the first embodiment described above.
[0085] The inspection method and position detection method of the present invention have been described above based on the illustrated embodiment, but the present invention is not limited to this. The configuration of each part can be replaced with any configuration having a similar function. In addition, any other configuration or process may be added to the present invention. [Explanation of symbols]
[0086] 1...robot system, 2...robot, 21...base, 22...robot arm, 221...arm, 222...arm, 223...arm, 224...arm, 225...arm, 226...arm, 23...tool, 24...force sensor, 25...imaging device, 3...control device, 5...mark for second connector, 5A...mark for second connector, 5B...mark for second connector, 5C...mark for second connector, 51...insertion portion, 52...mark portion, 53...butting portion, 6...mark for first connector, 6A...mark for first connector, 6B...mark for first connector, 6C...mark for first connector, 7...gripping tool, 7A...gripping tool, 7B...gripping tool, 7C...gripping tool, 71...spacer, 711...spacer piece, 712... Spacer piece, 713...positioning portion, 72...base, 721...base piece, 722...base piece, 723...positioning portion, 724...positioning portion, 725...gripping portion, 73...locking portion, 8...electronic device, 81...second connector, 81A...second connector, 81B...second connector, 81C...second connector, 9...cable, 9A...cable, 9B...cable, 9C...cable, 91...cable body, 92...first connector, 92A...first connector, 92B...first connector, 92C...first connector, D...separation distance, J1...joint, J2...joint, J3...joint, J4...joint, J5...joint, J6...joint, S1...placement step, S2...position detection step, S3...removal step, S4...insertion / removal step, S5...inspection step
Claims
1. 1. An inspection method for performing an inspection including an operation of inserting a first connector into a second connector using a robot, comprising: a positioning step of positioning a second connector mark on the second connector; a position detection step of capturing an image of the second connector mark by an imaging device and detecting a position of the second connector based on the captured image data; a removing step of removing the second connector mark from the second connector; and an insertion / removal step of holding the first connector with the robot and repeatedly inserting and removing the first connector into and from the second connector.
2. The inspection method according to claim 1 , wherein the imaging device is disposed on the robot.
3. The inspection method according to claim 1 , wherein the second connector mark has a mark portion having a three-dimensional shape.
4. 4. The inspection method according to claim 3, wherein the side surface of the mark portion is inclined in a tapered shape.
5. The inspection method according to claim 1 , wherein in the placing step, the mark for the second connector is placed on the first connector, and the mark for the second connector is placed on the second connector by inserting the first connector into the second connector.
6. The inspection method according to claim 5 , wherein the second connector mark is disposed on a holding jig that is attached to the first connector.
7. A plurality of the second connectors are arranged, The inspection method according to claim 1 , wherein in the arranging step, different second connector marks are inserted into a plurality of the second connectors.
8. 1. A position detection method for detecting a position of a second connector into which a first connector is inserted, comprising: a positioning step of positioning a second connector mark on the second connector; a position detection step of capturing an image of the second connector mark with an imaging device and detecting the position of the second connector based on the obtained image data.
Citation Information
Patent Citations
Inspection device determining state at insertion of connector and robot device comprising the inspection device
JP2021012784A
