Image inspection device and image inspection method
The image inspection device and method correct angular deviations in the mirror rotor system to accurately determine the actual imaging angle, addressing the challenge of differentiating workpiece and imaging inclinations, thereby enhancing inspection precision.
Patent Information
- Application Number
- JP2024094229
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2025-12-23
AI Technical Summary
Existing image inspection technologies struggle to accurately determine the actual imaging angle of a workpiece due to structural inclinations in the mirror rotor, making it difficult to differentiate between inclination in the captured image and the workpiece's inclination itself.
An image inspection device and method utilizing a mirror rotor with rotatable mirrors, a shooting unit, alignment unit, drive unit, and imaging angle acquisition unit to determine the actual shooting angle by positioning the mirror rotor at predetermined settings and correcting for angular deviations using alignment units in the captured images.
Enables accurate determination of the actual imaging angle, allowing for precise evaluation of workpiece inclinations and enabling effective appearance inspections.
Smart Images

Figure 2025185814000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an image inspection device and an image inspection method for photographing a workpiece and performing inspection using the photographed image. [Background technology]
[0002] Conventionally, an image inspection device and an image inspection method for photographing and inspecting a workpiece are known (see, for example, Patent Document 1). In the image inspection device and image inspection method described in Patent Document 1, the workpiece is photographed by guiding subject light to a photographing unit using an annular mirror arranged around the workpiece. In the technology described in Patent Document 1, the workpiece is photographed as a single image around the central axis of the mirror.
[0003] In response to this, there is a demand for inspecting the appearance of a workpiece individually from one or more directions, and so technologies that enable photographing of the workpiece from any direction have been considered. One example of such a technology is a technique in which a mirror rotating body that can rotate around the workpiece guides subject light to an imaging unit, thereby photographing the workpiece from a direction according to the position of the mirror rotating body. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2003-240728 Summary of the Invention [Problem to be solved by the invention]
[0005] Here, in the above-mentioned technology, the set angle on the drive side of the mirror rotor is used as the imaging angle for the workpiece, but the actual imaging angle may include an inclination angle due to the structure of the mirror rotor, etc., and it is currently difficult to grasp this. For this reason, it is difficult to evaluate whether the inclination of the workpiece shown in a certain captured image is due to the imaging angle or the inclination of the workpiece itself, and there is a demand for technology that can determine the actual imaging angle.
[0006] Therefore, the present invention focuses on the above-mentioned problems and aims to provide an image inspection device and an image inspection method that can determine the actual shooting angle for a workpiece. [Means for solving the problem]
[0007] In order to solve the above problem, the image inspection device is characterized by comprising: a mirror rotor having one or more mirrors rotatable around a predetermined axis, which reflects subject light from a workpiece placed as an inspection target on the axis and guides it to a shooting position; a shooting unit which is installed at the shooting position and receives the subject light to photograph the workpiece; an alignment unit which is installed on the mirror rotor so as to rotate together with the mirror rotor around the axis and be photographed together with the workpiece, and which serves as a reference for positioning the workpiece; a drive unit which drives the mirror rotor to rotate around the axis; an imaging processing unit which drives the drive unit to rotate the mirror rotor and causes the imaging unit to photograph the workpiece when the mirror rotor is positioned at a predetermined setting angle; and an imaging angle acquisition unit which acquires the actual shooting angle of the captured image corresponding to the setting angle based on the alignment unit which appears in the captured image.
[0008] In addition, in order to solve the above problem, the image inspection method is characterized by comprising a work placement process for placing the work on the axis of the above-mentioned image inspection device, a photographing process process for driving the mirror rotor to rotate with the drive unit and causing the photographing unit to photograph the work when the mirror rotor is positioned at a predetermined setting angle, and a photographing angle acquisition process for acquiring the actual photographing angle of the photographed image corresponding to the setting angle based on the alignment unit that appears in the photographed image. [Effects of the Invention]
[0009] According to the image inspection device and image inspection method described above, the actual imaging angle can be determined. [Brief explanation of the drawings]
[0010] [Figure 1] 1 is a perspective view showing an image inspection device according to an embodiment; [Figure 2] FIG. 2 is a perspective view of the mirror rotating body shown in FIG. 1 as seen from the workpiece side. [Figure 3] 3 is a plan view showing the state of the mirror rotating body shown in FIG. 2 rotated around an axis line serving as the center of rotation, as viewed from the direction of arrow V11 in FIG. 2. FIG. [Figure 4] 3 is a cross-sectional view taken along line V12-V12 in FIG. 2, illustrating how subject light from a workpiece is guided toward an imaging unit in the mirror rotating body shown in FIG. 2. FIG. [Figure 5] FIG. 10 is a schematic diagram showing images taken at four set angles from 0° to 135° lined up side by side. [Figure 6] FIG. 10 is a schematic diagram showing images taken at four set angles from 180° to 315° lined up side by side. [Figure 7] FIG. 10 is a diagram showing an alignment unit used to obtain the actual imaging angle. [Figure 8] 2 is a diagram showing how a mirror rotor is set to an initial setting angle of 0° for calculating angular deviation in the image inspection device shown in FIG. 1. FIG. [Figure 9]FIG. 9 is a schematic diagram showing how the angular deviation from the initial setting angle is calculated based on the initial captured image captured when the mirror rotor is positioned at the initial setting angle of 0° as shown in FIG. [Figure 10] 10A and 10B are schematic diagrams showing how actual shooting angles are calculated for images shot at each set angle following the initial shot image. [Figure 11] 2 is a schematic flowchart showing the flow of processing of an image inspection method executed using the image inspection device shown in FIG. 1. [Figure 12] 2 is a schematic diagram showing how the image inspection device shown in FIG. 1 is used in a part assembly operation for a connector terminal of a terminal-attached electric wire. DETAILED DESCRIPTION OF THE INVENTION
[0011] An embodiment of an image inspection device and an image inspection method will be described below.
[0012] FIG. 1 is a perspective view showing an image inspection device according to one embodiment.
[0013] The image inspection device 1 of this embodiment is a device that takes an electric wire with terminals W1 shown in Fig. 2 and subsequent figures as a workpiece to be inspected, photographs the electric wire from multiple angles around the wire, and performs an appearance inspection based on the photographed images. This image inspection device 1 first includes an apparatus frame 11, a mirror rotating body 12, an imaging unit 13, a driving unit 14, and a processing unit 15.
[0014] The device frame 11 is a frame portion that supports the mirror rotor 12, the photographing unit 13, and the drive unit 14, and includes a base portion 111, a mirror rotation holder 112, and a photographing holder 113. The base portion 111 is a rectangular flat plate, and the mirror rotation holder 112 and the photographing holder 113 are installed on the upper surface of the base portion 111 in the longitudinal direction D11, in that order from the workpiece side. The mirror rotation holder 112 is a rectangular flat plate that is erected on the upper surface of the base portion 111 with its long side extending in the erecting direction D12, and the mirror rotor 12 and the motor 141 of the drive unit 14 are held on the workpiece side of the front and back surfaces of the mirror rotation holder 112. Furthermore, a rotation transmission mechanism 142 of the drive unit 14 is held on the opposite surface of the mirror rotation holder 112. The imaging holding part 113 is a part that holds the imaging part 13 at an imaging position P11, which is on the opposite side of the mirror rotor 12 across the mirror rotation holding part 112. The imaging holding part 113 includes a rectangular flat plate part 113a that is fixed to the base part 111 along its longitudinal direction D11, and a pair of holding legs 113b that are erected at both ends of the plate part 113a and that hold the imaging part 13.
[0015] The mirror rotator 12 has one or more mirrors rotatably mounted around a predetermined axis X11 along the longitudinal direction D11 of the base portion 111, and is a component that reflects subject light from a workpiece placed as an inspection target on the axis X11 and guides it to an imaging position P11. As described above, the mirror rotator 12 is rotatably held on the workpiece-side surface of the mirror rotation holder 112. This mirror rotator 12 will be described in detail later with reference to a separate drawing.
[0016] The photographing unit 13 is installed at the photographing position P11, and is a part that receives subject light from the workpiece and photographs the workpiece, and is equipped with a camera 131 and a photographing lens 132. The camera 131 is held by the holding leg 113b on the side of the photographing holding unit 113 that is farther from the mirror rotation holding unit 112, and is the part that photographs. The photographing lens 132 has a roughly cylindrical appearance, and one end side is held by the camera 131, and the middle part is held by the holding leg 113b on the mirror rotation holding unit 112 side of the photographing holding unit 113. This photographing lens 132 is a part that collects subject light from the mirror rotor 12 and sends it to the camera 131.
[0017] The drive unit 14 is a component that drives the mirror rotor 12 to rotate around the axis X11, which serves as the center of rotation, and includes a motor 141 and a rotation transmission mechanism 142. The motor 141 is a servo motor whose rotation can be controlled and is held above the mirror rotor 12 on the workpiece side of the mirror rotation holder 112. The rotation transmission mechanism 142 includes a small pulley 142a, a large pulley 142b, and a transmission belt 142c. The small pulley 142a is a pulley component that passes through the mirror rotation holder 112 and is connected to the rotation shaft of the motor 141. The large pulley 142b is a pulley component that is rotatable around the axis X11 of the mirror rotor 12, passes through the mirror rotation holder 112 and is connected to the mirror rotor 12, and has a larger diameter than the small pulley 142a. The transmission belt 142c is a belt component that connects the small pulley 142a and the large pulley 142b and transmits the rotation of the small pulley 142a to the large pulley 142b.
[0018] The processing unit 15 is a control part that is connected to the illumination unit 121, the photographing unit 13, and the driving unit 14 (to be described later) in the mirror rotating body 12 to control their operation, and also performs various processes based on the image photographed by the photographing unit 13. The processing unit 15 includes an imaging processing unit 151 and an imaging angle acquisition unit 152. The imaging processing unit 151 and the imaging angle acquisition unit 152 will be described in detail later with reference to separate drawings.
[0019] Next, the mirror rotor 12 will be described in detail.
[0020] FIG. 2 is a perspective view of the mirror rotor shown in FIG. 1 as seen from the workpiece side, and FIG. 3 is a plan view showing the mirror rotor shown in FIG. 2 as it rotates around an axis serving as the center of rotation, as viewed from the direction of arrow V11 in FIG. 2. FIG. 4 is a cross-sectional view taken along line V12-V12 in FIG. 2, showing how subject light from the workpiece is guided toward the imaging unit in the mirror rotor shown in FIG. 2. Note that FIG. 3 shows the circular connecting plate 142b-1 of the large pulley 142b, which is not shown in FIG. 2, behind the mirror rotor 12. FIG. 4 also shows the mirror rotation holder 112, the large pulley 142b including the circular connecting plate 142b-1, and a portion of the imaging lens 132 in the imaging unit 13, all of which are shown in FIG. 1, together with the mirror rotor 12.
[0021] First, the terminal-equipped electric wire W1 as the work in this embodiment is formed by crimping and connecting female connector terminals W13 to the ends of two electric wires W12 that are exposed in an untwisted state at the end of a twisted pair electric wire W11. The mirror rotating body 12 is provided with a rectangular work arrangement space 12a that surrounds an axis X11 that serves as the center of rotation of the mirror rotating body 12. The terminal-equipped electric wire W1 is arranged on the axis X11 with its electric wire axis aligned along the axis X11 so that the electric wire ends to which the connector terminals W13 are crimped and connected fit within the work arrangement space 12a.
[0022] The mirror rotor 12 is provided with an illumination unit 121 that irradiates illumination light L11 (FIGS. 3 and 4) toward the interior of the work placement space 12a from one of four inner surfaces surrounding the axis X11 in the work placement space 12a. The mirror rotor 12 is provided with a plurality of mirrors rotatable about the axis X11, including a half-mirror prism 122 and a pair of mirror prisms 123. The half-mirror prism 122 is a rectangular block-shaped prism component disposed between the illumination unit 121 and the work placement space 12a such that one of its outer surfaces is an inner surface of the work placement space 12a. A half mirror is formed on an inner diagonal surface of the half-mirror prism 122, which transmits the illumination light L11 from the illumination unit 121 into the work placement space 12a. Furthermore, the half-mirror prism 122 reflects reflected light L12, which is the illumination light L11 reflected by the terminal-attached electric wire W1 serving as the work, and guides the reflected light L12 to the imaging side as subject light. The illumination unit 121 is connected to the processing unit 15 via an illumination cable 121a (FIG. 1).
[0023] Reflected light L12 as subject light reflected by the half mirror prism 122 is reflected by one mirror prism 123 toward the axis X11, and is then reflected by another mirror prism 123 toward the shooting side along the axis X11. The reflected light L12 reflected by the last mirror prism 123 passes through the through hole 142b-2 of the large pulley 142b including the circular connecting plate 142b-1, enters the shooting lens 132 of the shooting unit 13, and is condensed toward the camera 131.
[0024] The driving unit 14 shown in FIG. 1 drives the mirror rotor 12 described above to rotate around an axis X11 on which the terminal-attached electric wire W1 (the workpiece) is disposed, in a clockwise rotation direction D13 as viewed from the workpiece side, as shown in FIG. 3. At this time, the driving unit 14 sends a signal representing the motor rotation angle of the motor 141 to the processing unit 15. The photographing processing unit 151 in the processing unit 15 causes the driving unit 14 to rotate the mirror rotor 12 and causes the photographing unit 13 to photograph the terminal-attached electric wire W1 when the mirror rotor 12 is positioned at a preset angle. The photographing processing unit 151 monitors the rotation angle θ11 of the mirror rotor 12 based on the motor rotation angle represented by the signal from the driving unit 14. The rotation angle θ11 of the mirror rotor 12 referred to here is the angle formed by a mirror reference axis X13, which is aligned with the irradiation direction D14 of the illumination light L11 at the mirror rotor 12, with respect to the apparatus reference axis X12 shown in FIG. 3. The apparatus reference axis X12 is an axis in the vertical direction that intersects with the axis X11 along the erection direction D12 of the mirror rotation holder 112 in the apparatus frame 11.
[0025] The photographing processing unit 151 causes the photographing unit 13 to photograph when the rotation angle θ11 of the mirror rotator 12 being monitored reaches a preset angle. In this embodiment, eight angles are set as this preset angle from 0° to 315° in increments of 45°.
[0026] FIG. 5 is a schematic diagram showing images taken at four set angles from 0° to 135° lined up, and FIG. 6 is a schematic diagram showing images taken at four set angles from 180° to 315° lined up.
[0027] As shown in FIGS. 5 and 6, the captured image G11 obtained by the imaging processing performed by the imaging processing unit 151 is a multi-plane image of the terminal-attached electric wire W1 as a workpiece viewed from eight angular directions around the axis X11. Here, the rotation angle θ11 of the mirror rotator 12 monitored by the imaging processing unit 151 is obtained by converting the motor rotation angle of the motor 141 recognized by the drive unit 14. The imaging processing unit 151 then performs imaging when the converted rotation angle θ11 of the mirror rotator 12 reaches one of the eight set angles described above, and obtains eight captured images using each set angle as a temporary imaging angle. At this time, the following angular misalignment may occur between the set angle of each captured image and the actual imaging angle. First, there is a possibility that rotational misalignment of the mirror rotator 12 in the drive unit 14 is included. Furthermore, even if this rotational misalignment is zero, there is a possibility that there is an angular misalignment between the rotation angle θ11 of the mirror rotator 12 and the imaging angle due to, for example, the prism arrangement of the mirror rotator 12. A combination of these factors may result in an angular misalignment between the set angle and the actual shooting angle. In this embodiment, the processing unit is provided with a shooting angle acquisition unit 152 that corrects such an angle misalignment and acquires the actual shooting angle of the captured image G11 that corresponds to the set angle. To acquire the actual shooting angle in this shooting angle acquisition unit 152, an alignment unit 16 (FIG. 2) provided on the mirror rotator 12 is used, as follows:
[0028] FIG. 7 is a diagram showing an alignment unit used to acquire the actual imaging angle. In FIG. 7, the alignment unit 16 is shown together with a bottom plate member 124 having a rectangular bottom surface 124a that faces the inner surface of the workpiece placement space 12a of the mirror rotor 12 and transmits the irradiation light L11, and a terminal-attached electric wire W1 as the workpiece. A pair of alignment units 16 are provided so as to be held by a pair of alignment holders 125 erected on a pair of side edges along the axis X11 of the bottom surface 124a of the bottom plate member 124. This pair of alignment units 16 rotates together with the mirror rotor 12 around the axis X11 and is photographed together with the terminal-attached electric wire W1 as shown in FIGS. 5 and 6 . This alignment unit 16 serves as a reference for positioning the workpiece in the photographed image G11. In this embodiment, the alignment unit 16 as a positioning reference is used to acquire the actual imaging angle by the imaging angle acquisition unit 152 as follows.
[0029] First, the imaging angle acquisition unit 152 calculates the angular deviation between the actual initial imaging angle and the initial imaging angle for an initial imaging image corresponding to a predetermined initial setting angle, based on the alignment portion 16 that appears in the initial imaging image. In this embodiment, the imaging angle acquisition unit 152 calculates the angular deviation between the actual initial imaging angle and the initial setting angle, based on the alignment portion 16 that appears in the initial imaging image. In this embodiment, the imaging angle acquisition unit 152 calculates the angular deviation by correcting the initial setting angle and the initial setting image.
[0030] Fig. 8 is a diagram showing how the mirror rotator is set to an initial setting angle of 0° for calculating the angle deviation in the image inspection device shown in Fig. 1. Fig. 8 shows a perspective view of the image inspection device 1 as seen from the mirror rotator 12 side.
[0031] First, in this embodiment, the image inspection device 1 is equipped with a removable angle adjustment jig 17 that positions the mirror rotor 12 at an initial setting angle of 0° around the axis X11 during installation. This angle adjustment jig 17 is a round bar-shaped member that is inserted from the side edge of the mirror rotation holder 112. A jig recess 142b-1a is formed on the periphery of the circular connecting plate 142b-1 of the large pulley 142b at a position that faces the insertion side of the angle adjustment jig 17 when the connected mirror rotor 12 is positioned at the initial setting angle of 0°. Then, by inserting the tip of the angle adjustment jig 17 into this jig recess 142b-1a, the mirror rotor 12 is positioned at the initial setting angle of 0° via the circular connecting plate 142b-1. In this state, the imaging unit 13 performs imaging to obtain an initial captured image, and the imaging angle acquisition unit 152 calculates the angle misalignment using this initial captured image.
[0032] Fig. 9 is a schematic diagram showing how the angular deviation from the initial setting angle is calculated based on an initial captured image taken with the mirror rotator positioned at the initial setting angle of 0° as shown in Fig. 8. In Fig. 9, the initial captured image G110 is shown with the peripheral portion of the alignment section 16 cut out.
[0033] As described above, a pair of alignment sections 16 are provided, sandwiching the axis X11 between them and the terminal-attached electric wire W1 as the workpiece. These alignment sections 16 are captured in this state in the captured image G11, including the initial captured image G110. The capture angle acquisition unit 152 calculates an initial angle deviation θ12, which is the angular deviation between the initial setting angle of 0° and the actual initial capture angle, based on the pair of alignment sections 16 captured in the initial captured image G110. First, the capture angle acquisition unit 152 determines an alignment line 161 connecting the pair of alignment sections 16 in the initial captured image G110. Here, the alignment section 16 has a round pin shape that appears as a circular image in the captured image G11 (initial captured image G110). The capture angle acquisition unit 152 determines the alignment line 161 as a line connecting the centers 162 of the alignment sections 16 captured as a pair of circular images in the initial captured image G110. At this time, the initial setting angle is 0°, and in the initial captured image G110, a line that crosses the image horizontally is the initial setting line G101 that corresponds to the initial setting angle. Then, the capturing angle acquisition unit 152 calculates the angle that the alignment line 161 makes with respect to the 0° initial setting line G101 as the initial angle deviation θ12 between the actual initial capturing angle and the initial setting angle. In this embodiment, since the initial setting angle is 0°, this initial angle deviation θ12 is the actual initial capturing angle itself. This initial angle deviation θ12 does not include rotational deviation in the drive unit 14, but only includes angle deviation due to the prism arrangement on the mirror rotator 12, etc.
[0034] After capturing the initial captured image G110 and calculating the initial angle deviation θ12, the angle adjustment jig 17 is removed, allowing the mirror rotator 12 to rotate. Then, under the processing of the image processing unit 151, seven captured images G11 are captured at set angles of 45° to 315° in 45° increments. Then, the actual capturing angles of the captured images G11 at each set angle are calculated as follows:
[0035] 10 is a schematic diagram showing how the actual photographing angles are calculated for photographed images at each set angle following the initial photographed image. In this figure, photographed image G11 photographed at a set angle of 45° is used as a representative example, and the photographed image G11 is shown with the peripheral portion of alignment section 16 cut out.
[0036] The set angle θ13 set for the rotation angle θ11 of the mirror rotor 12 shown in FIG. 3 is the angle between the horizontal initial setting line G101 shown in FIG. 9 and the set line G102 corresponding to the set angle θ13 in the captured image G11. In the example of FIG. 10, this set angle θ13 is 45°. The angular deviation θ14 between the actual shooting angle and the set angle θ13 is the angle between the alignment line 161 connecting the centers 162 of the alignment unit 16 and the set line G102. The angular deviation θ14 at this time may include not only the initial angular deviation θ12 shown in FIG. 9 but also a rotational deviation in the drive unit 14. However, in the drive unit 14 of this embodiment, which uses a servo motor as the motor 141, the angular deviation θ14 is negligibly small compared to the initial angular deviation θ12, and the angular deviation θ14 can be considered to be approximately equal to the initial angular deviation θ12. Therefore, in this embodiment, the actual shooting angle for each captured image G11 is calculated by correcting the set angle θ13 with the initial angle deviation θ12.
[0037] In this way, eight photographed images G11 including the initial photographed image G110 are acquired as a set with the actual photographing angles as a result of multi-plane photographing of the terminal-attached electric wire W1 as the workpiece. Then, the processing unit 15 performs inspection processing such as an appearance inspection based on these photographed images G11.
[0038] Next, an outline of an image inspection method executed using the image inspection device 1 described above will be described, although some of the description will overlap with the above.
[0039] FIG. 11 is a schematic flowchart showing the flow of processing of an image inspection method executed using the image inspection device shown in FIG.
[0040] First, a work placement step (S11) is performed in which a terminal-attached electric wire W1 as a work is placed on the axis X11 in the work placement space 12a of the mirror rotator 12 of the image inspection device 1. Next, an initial photographing processing step (S12) is performed in which an initial photographed image G110 is photographed under the processing of the photographing processing unit 151 with the mirror rotator 12 positioned at an initial setting angle of 0° by the angle adjustment jig 17. After that, an initial angle deviation acquisition step (S13) is performed in the photographing angle acquisition unit 152 in which an initial angle deviation θ12 is calculated based on the alignment unit 16 of the photographed initial photographed image G110. The initial angle deviation θ12 at this time is used as the actual initial photographing angle for the initial photographed image G110.
[0041] Next, the angle adjustment jig 17 is removed, and under the control of the photographing processing unit 151, an additional photographing processing step (S14) is executed in which photographed images G11 are taken at multiple set angles θ13 starting from 45°. In the additional photographing processing step (S14), the photographing processing unit 151 causes the driving unit 14 to rotate the mirror rotator 12, and causes the photographing unit 13 to photograph the terminal-attached electric wire W1 when the mirror rotator 12 is positioned at a preset set angle θ13. Subsequently, the photographing angle acquiring unit 152 executes a photographing angle acquiring step (S15) in which the actual photographing angle of the photographed image G11 corresponding to the set angle θ13 is acquired based on the alignment unit 16 shown in the photographed image G11. Specifically, in this photographing angle acquiring step (S15), the set angle θ13 of each photographed image G11 is corrected by the initial angle deviation θ12 acquired based on the alignment unit 16 in the initial angle deviation acquiring step (S13), thereby acquiring the actual photographing angle. Finally, an inspection processing step (S16) is executed in which the processing unit 15 performs processing such as an appearance inspection of the terminal-attached electric wire W1 based on the multiple captured images G11 including the initial captured image G110 obtained by the processing up to this point.
[0042] The image inspection device 1 of this embodiment is used for the following part attachment work to the connector terminal W13 of the terminal-attached electric wire W1.
[0043] FIG. 12 is a schematic diagram showing how the image inspection device shown in FIG. 1 is used in a part assembly operation for a connector terminal of a terminal-attached electric wire.
[0044] Some connector terminals W13 of the terminal-attached electric wire W1 have a shielding plate W14 attached to them after the terminal is crimped. As an assembly condition for this shielding plate W14, a restriction may be imposed that the rotational orientation of the connector terminal W13 about the axis X11 must be within ±5° of an ideal reference orientation. The reference orientation here refers to an orientation in which, when the mounting surface of the shielding plate W14 of the connector terminal W13 is defined as a work reference plane W131, this work reference plane W131 faces directly upward, toward the assembly side of the shielding plate W14. The image inspection device 1 of this embodiment is used to adjust the rotational orientation of the connector terminal W13 when such a restriction is imposed.
[0045] 12, first, a connector terminal W13 is crimped to manufacture a terminal-attached electric wire W1 (step S21). The terminal-attached electric wire W1 after the terminal crimping is placed as a work inside the work arrangement space 12a of the mirror rotator 12 in the image inspection device 1 (step S22). In step S22, the above-mentioned multi-plane photographing and a terminal appearance inspection using a plurality of photographed images G11 including the initial photographed image G110 are then performed, and the following terminal angle measurement is also performed. First, the terminal-attached electric wire W1 is placed inside the work arrangement space 12a so that, when the mirror rotator 12 is at an initial setting angle of 0°, the work reference plane W131 of the connector terminal W13 extends along the axis X11 and faces the illumination unit 121.
[0046] In this state, the photographing processing unit 151 performs the following front photographing control on the drive unit 14 and the photographing unit 13. In this front photographing control, photographed images are captured while changing the set angle around 0°. Furthermore, the photographing processing unit 151 calculates the width dimension of the intersection width d11 of the workpiece reference surface W131 with the axis X11 in each photographing. Then, the drive unit 14 and the photographing unit 13 are controlled so that a photographed image in which the workpiece reference surface W131 is captured with a maximum width d12 around 0° is captured as the front photographed image of the connector terminal W13. The front photographed image captured at this time is an image captured when the mirror rotator 12 is rotated to a position where the illumination unit 121 directly faces the workpiece reference surface W131 if the connector terminal W13 is tilted around the axis X11. As a result, the actual photographing angle when this front photographed image is captured can be considered to be the terminal front angle of the connector terminal W13 around the axis X11. In step S22, the imaging angle acquisition unit 152 executes a front angle acquisition process to acquire the actual imaging angle of the front image as the terminal front angle. The actual imaging angle is acquired by correcting the set angle of the front image using the initial angle deviation described above. The terminal front angle acquired in this manner represents the rotational orientation of the connector terminal W13 about the axis X11 when viewed from the direction of the axis X11.
[0047] The terminal front angle acquired by the image inspection device 1 in this way is sent to a terminal holding mechanism (not shown). The terminal holding mechanism that has received the terminal front angle uses the terminal front angle to perform a terminal angle correction process so that the rotational posture of the connector terminal W13 about the axis X11 falls within ±5° of the ideal reference posture (step S23). Finally, the shielding plate W14 is assembled toward the work reference plane W131 of the connector terminal W13 that has undergone the terminal angle correction process (step S24).
[0048] The image inspection device 1 and image inspection method according to the embodiment described above can achieve the following effects. That is, according to this embodiment, the alignment portion 16, which is captured together with the electric wire with terminal W1 in the captured image G11, is arranged to rotate together with the mirror rotator 12. Therefore, the alignment portion 16 itself captured in the captured image G11 contains image information relating to the rotation angle, i.e., the capturing angle G11. Then, according to this embodiment, the capturing angle acquisition unit 152 performs processing based on the alignment portion 16 in the captured image G11, thereby making it possible to determine the tilt of the electric wire with terminal W1 itself and the actual capturing angle at which it can be separated.
[0049] In this embodiment, the imaging angle acquisition unit 152 calculates an initial angle deviation θ12 between the actual initial imaging angle and the initial setting angle (0°) based on the alignment portion 16 that appears in the initial captured image G110. Then, the imaging angle acquisition unit 152 acquires the actual imaging angle by correction using this initial angle deviation θ12. According to this configuration, the actual imaging angle can be acquired with reduced processing load by correction using the initial angle deviation θ12.
[0050] Furthermore, in this embodiment, the photography processing unit 151 sets the set angle using as an initial setting angle the drive angle of the drive unit 14 when the mirror rotor 12 is positioned by the angle adjustment jig 17. According to this configuration, by positioning the mirror rotor 12 using the angle adjustment jig 17, the initial setting angle, that is, the set angle, can be stably set.
[0051] Furthermore, in this embodiment, the photographing angle acquisition unit 152 calculates the angle that an alignment line 161 connecting a pair of alignment portions 16 in the initial photographed image G110 makes with an initial setting line G101 corresponding to the initial setting angle (0°) as the initial angle deviation θ12. With this configuration, the alignment line 161 for calculating the initial angle deviation θ12 is obtained based on the pair of alignment portions 16 in the photographed image G11, so that the initial angle deviation θ12 can be calculated effectively.
[0052] Furthermore, in this embodiment, the imaging angle acquisition unit 152 obtains, as the alignment line 161, a line connecting the centers 162 of a pair of circular images that are images of the alignment line 161 in the initial captured image G110. With this configuration, the alignment line 161 is obtained based on the centers 162 of the pair of circular images, which are points that can be obtained accurately, and therefore the accuracy of the initial angle deviation θ12, and therefore the actual imaging angle, can be improved.
[0053] In this embodiment, the photographing processing unit 151 also performs front photographing control, which controls the drive unit 14 and the photographing unit so that the photographed image G11, in which the workpiece reference surface W131 is captured at the maximum width d12, is captured as a front photographed image. The photographing angle acquisition unit 152 also performs front angle acquisition processing, which acquires the actual photographing angle of the front photographed image as the terminal front angle about the axis X11 of the connector terminal W13 of the terminal-attached electric wire W1 as the work. With this configuration, the terminal front angle of the connector terminal W13 can be effectively acquired by using the actual photographing angle of the front photographed image in which the workpiece reference surface W131 is captured at the maximum width d12.
[0054] The above-described embodiments merely show typical examples of the image inspection device and image inspection method. The image inspection device and image inspection method are not limited to these, and can be implemented in various modifications.
[0055] For example, in the above-described embodiment, an image inspection device 1 is exemplified as an example of an image inspection device, which photographs a terminal-attached electric wire W1 in which a connector terminal W13 is crimped to the end of a twisted pair electric wire W11 as a workpiece and performs various inspections. However, the image inspection device is not limited to this, and may photograph and inspect a terminal-attached electric wire in which a connector terminal is crimped to the end of a single electric wire, other electric wires, or any member other than an electric wire as a workpiece.
[0056] Furthermore, in the above-described embodiment, as an example of an image inspection device, an image inspection device 1 that performs multi-plane imaging based on subject light from the rotating mirror rotor 12 while rotating the mirror rotor 12 is exemplified. However, the image inspection device is not limited to this, and may perform multi-plane imaging by stopping the mirror rotor at multiple set angles and performing imaging.
[0057] Furthermore, in the above-described embodiment, an image inspection device 1 that performs multi-plane imaging by capturing images at eight set angles in 45° increments is exemplified as an example of an image inspection device. However, the image inspection device is not limited to this, and may perform multi-plane imaging at an angle interval other than 45° and at a number other than eight, or may perform multi-plane imaging while changing the angle interval itself. Alternatively, the image inspection device may be positioned at one set angle by rotating a mirror rotor, and perform single-plane imaging at only that one set angle.
[0058] Furthermore, in the above-described embodiment, as an example of a mirror rotator, a mirror rotator 12 provided with one half mirror prism 122 and a pair of mirror prisms 123 is given. However, the mirror rotator is not limited to this, and as long as it has one or more mirrors, the number, shape, etc. of the mirrors are not limited to a specific number.
[0059] In the above-described embodiment, the imaging angle acquisition unit 152 is exemplified as an example of an imaging angle acquisition unit. The imaging angle acquisition unit 152 calculates the initial angle deviation θ12 based on the alignment unit 16 and acquires the actual imaging angle by correcting other set angles using the initial angle deviation θ12. However, the imaging angle acquisition unit is not limited to this. The imaging angle acquisition unit may calculate the angle deviation for each captured image individually based on the alignment unit 16 and correct the set angle using each of these individual deviations. However, as described above, the processing load can be reduced by limiting the calculation of the angle deviation based on the alignment unit 16 to the initial angle deviation θ12 and using this initial angle deviation θ12 to correct other set angles. In this embodiment, 0° is exemplified as an example of the initial setting angle. However, the initial setting angle is not limited to this, and any angle other than 0° can be used.
[0060] Furthermore, in the above-described embodiment, the image inspection device 1 equipped with the angle adjustment jig 17 that positions the mirror rotor 12 at an initial setting angle of 0° is exemplified as an example of an image inspection device. However, the image inspection device is not limited to this, and it is also possible not to use any jig for setting the initial setting angle. However, as described above, by using the angle adjustment jig 17, the initial setting angle, i.e., the set angle, can be stably set.
[0061] Furthermore, in the above-described embodiment, the imaging angle acquisition unit 152 is exemplified as an example of the imaging angle acquisition unit, which calculates the angle that the alignment line 161 connecting the pair of alignment units 16 makes with the setting line G101 as the angular misalignment. However, the imaging angle acquisition unit is not limited to this, and any specific acquisition method is acceptable as long as it acquires the actual imaging angle based on the alignment units shown in the captured image. However, as described above, by calculating the angle that the alignment line 161 makes with the setting line G101 as the angular misalignment, the angular misalignment can be effectively calculated.
[0062] Furthermore, in the above-described embodiment, as an example of an image inspection device, an image inspection device 1 is exemplified, which is provided with an alignment unit 16 that appears as a circular image in the captured image, and in which the imaging angle acquisition unit 152 determines an alignment line 161 that connects the centers 162 of a pair of circular images in the image. However, the image inspection device is not limited to this, and the image shape of the alignment unit when it appears in the image may be any shape, and the specific method of determining the alignment line is not limited to this. However, as described above, by the imaging angle acquisition unit 152 determining the alignment line 161 that connects the centers 162 of the circular images of the alignment unit 16, the accuracy of the actual imaging angle can be improved.
[0063] Furthermore, in the above-described embodiment, an example of an image inspection device is an image inspection device 1 that is used for assembling a shielding plate W14 to a connector terminal W13, in which the image capture processing unit 151 controls front image capture and the image capture angle acquisition unit 152 performs front angle acquisition processing. However, the image inspection device is not limited to this, and may be one that is not used for assembling the shielding plate W14, etc., and that only captures images of multiple or single sides of a workpiece and performs an appearance inspection. However, as described above, the above-described front image capture control and front angle acquisition processing make it possible to effectively acquire a terminal front angle of the connector terminal W13 that is suitable for assembling the shielding plate W14 to the connector terminal W13. [Explanation of symbols]
[0064] 1. Image inspection equipment 11 Device frame 12 Mirror Rotating Body 12a Work placement space 13 Photography Department 14 Drive unit 15 Processing section 16 Alignment section 17 Angle adjustment jig 111 Base part 112 Mirror rotation holder 113 Filming holding section 113a Plate section 113b retaining leg 121 Lighting Department 121a Lighting Cable 122 Half mirror prism 123 Mirror Prism 124 Bottom plate member 124a Bottom 125 Alignment holder 131 Camera 132 Camera Lens 141 Motor 142 Rotational Transmission Mechanism 142a Small pulley 142b Big pulley 142b-1 Circular connecting plate 142b-1a Jig recess 142b-2 Through hole 142c Transmission Belt 151 Photography processing section 152 Shooting angle acquisition unit 161 Alignment Line 162 center d11 Intersection width d12 maximum width D11 Longitudinal direction D12 Erecting direction D13 Rotation direction D14 Irradiation direction G11 captured image G110 initial image G101 Initial setting line G102 Setting Line L11 illumination light L12 reflected light P11 Shooting position S11 Work placement process S12 Initial photography processing process S13 Initial angle deviation acquisition process S14 Other photography processing processes S15 Shooting angle acquisition process S16 Inspection processing process W1 Wire with terminal W11 twisted pair wire W12 electric wire W13 connector terminal W14 shielding plate W131 Work reference surface X11 axis X12 Device reference axis X13 mirror reference axis θ11 rotation angle θ12 Initial angle deviation θ13 setting angle θ14 angle deviation
Claims
1. a mirror rotor having one or more mirrors rotatably provided around a predetermined axis, the mirror rotor reflecting subject light from a workpiece arranged as an inspection target on the axis and guiding the subject light to a photographing position; An imaging unit that is installed at the imaging position and receives the subject light to image the workpiece; an alignment unit that is provided on the mirror rotating body so as to rotate together with the mirror rotating body around the axis and be photographed together with the workpiece, and that serves as a reference for positioning the workpiece; a drive unit that drives the mirror rotor to rotate around the axis; an imaging processing unit that causes the driving unit to rotate the mirror rotating body and causes the imaging unit to photograph the workpiece when the mirror rotating body is positioned at a preset angle; an imaging angle acquisition unit that acquires an actual imaging angle of a captured image corresponding to the set angle based on the alignment portion that appears in the captured image; An image inspection device comprising:
2. The image inspection device described in claim 1, characterized in that the shooting angle acquisition unit calculates the angular deviation between the actual initial shooting angle and the initial setting angle for an initial shooting image corresponding to a predetermined initial setting angle based on the alignment portion that appears in the initial shooting image, and acquires the actual shooting angle by correcting the set angle with the angular deviation.
3. a detachable angle adjustment jig for positioning the mirror rotor at a predetermined initial angle around the axis when the mirror rotor is attached; 3. The image inspection device according to claim 2, wherein the imaging processing unit sets the set angle using the drive angle of the drive unit when the mirror rotor is positioned by the angle adjustment jig as the initial setting angle.
4. a pair of alignment portions are provided so as to sandwich the axis therebetween, The image inspection device described in claim 1, characterized in that the shooting angle acquisition unit calculates the angle that an alignment line connecting a pair of alignment sections in the captured image makes with respect to a setting line corresponding to the setting angle as an angular deviation between the actual shooting angle and the setting angle, and acquires the actual shooting angle by correcting the setting angle with the angular deviation.
5. the alignment portion has a shape that appears as a circular image in the captured image, 5. The image inspection device according to claim 4, wherein the imaging angle acquisition unit obtains, as the alignment line, a line connecting the centers of the pair of circular images in the captured image.
6. The workpiece is disposed on the axis so that a predetermined workpiece reference surface extends along the axis; The photographing processing unit photographs the photographed images while changing the set angle, calculates the width dimension of the intersection width of the work reference surface with the axis in the photographed images at each set angle, and also performs front photographing control to control the drive unit and the photographing unit so that the photographed image in which the work reference surface is captured at the maximum width is photographed as a front photographed image of the work, The image inspection device described in claim 1, characterized in that the shooting angle acquisition unit also performs a front angle acquisition process to acquire the actual shooting angle for the front image as a front angle around the axis of the work when the work is viewed from the direction of the axis.
7. a workpiece placement step of placing the workpiece on the axis in the image inspection device according to any one of claims 1 to 6; an imaging process step of causing the driving unit to rotate the mirror rotating body and causing the imaging unit to photograph the workpiece when the mirror rotating body is positioned at a preset angle; a photographing angle acquisition step of acquiring an actual photographing angle of a photographed image corresponding to the set angle based on the alignment portion shown in the photographed image; An image inspection method comprising:
Citation Information
Patent Citations
Method and apparatus for examining outer periphery of object to be examined
JP2003240728A
Cited By
Surface image acquisition method and surface image acquisition device for conical component
CN121994819A
Surface image acquisition method and surface image acquisition device for a conical member
CN121994819B