Information processing device
The information processing device addresses the challenge of identifying leaded component orientations by capturing imaging data at optimal shutter speeds and creating automatic front/back determination data, enhancing the precision of component placement on circuit boards.
Patent Information
- Application Number
- PCT/JP2025/018652
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-26
Smart Images

Figure JP2025018652_26112026_PF_FP_ABST
Abstract
Description
Information processing device
[0001] The present invention relates to an information processing device that processes imaging data of a component placed on a stage.
[0002] The following patent document describes an information processing device that processes imaging data of a component.
[0003] International Publication No. 2018 / 047252
[0004] An object of the present invention is to process imaging data of a component on a stage to appropriately identify the component on the stage.
[0005] In order to solve the above problem, the present specification provides: imaging data of a first surface of a component placed on a stage, captured at an optimal shutter speed among a plurality of imaging data obtained by imaging the first surface at a plurality of shutter speeds; and imaging data of a second surface of the component placed on the stage, which is different from the first surface, captured at the optimal shutter speed among a plurality of imaging data obtained by imaging the second surface at the plurality of shutter speeds. Based on the imaging data of the second surface captured at the optimal shutter speed among the plurality of imaging data, the present invention discloses an information processing device that determines whether there is a different portion between the first surface and the second surface.
[0006] According to the present disclosure, a first surface of a component placed on a stage is imaged at a plurality of shutter speeds, and a second surface of the component placed on the stage, which is different from the first surface, is imaged at the plurality of shutter speeds. Then, based on the imaging data of the first surface captured at the optimal shutter speed among the plurality of shutter speeds and the imaging data of the second surface captured at the optimal shutter speed among the plurality of shutter speeds, it is determined whether there is a different portion between the first surface and the second surface. Thereby, the difference between the first surface and the second surface can be recognized, and the component on the stage can be appropriately identified.
[0007] This is a perspective view of a component mounting machine. This is a perspective view of a component mounting device of a component mounting machine. This is a perspective view of a loose component supply device. This is a perspective view of a component supply unit. This is a transparent view of a component supply unit. This is a transparent view of a component supply unit. This is a perspective view of a component scattering device. This is a perspective view of a component scattering device. This is a perspective view of a component holding head. This is a diagram of a component receiving member in which electronic circuit components are stored. This is a block diagram of the control device of a component mounting machine. This is a diagram showing leaded components of the same shape scattered on a stage. This is a diagram showing an image of leaded components divided into 100 areas. This is a diagram showing a color map of the surface leaded components. This is a diagram showing a color map of the stage. This is a diagram for explaining a method for identifying the outline of a leaded component. This is a diagram for explaining a method for identifying the outline of a leaded component. This is a schematic diagram for detecting differences based on the surface outline and the back outline. This is a diagram showing the surface outline and the back outline for each shutter speed. This is a schematic diagram for detecting differences based on the surface outline and the back outline. This is a schematic diagram for detecting differences based on the surface image and the back image. This is a diagram showing the surface image and the back image for each shutter speed.
[0008] Hereinafter, embodiments of the present invention will be described in detail with reference to the figures, as embodiments for carrying out the present invention.
[0009] Figure 1 shows a component mounting machine 10. The component mounting machine 10 is a device for mounting components onto a circuit board 12. The component mounting machine 10 comprises a main unit 20, a substrate transport and holding device 22, a component mounting device 24, imaging devices 26 and 28, a component supply device 30, a loose component supply device 32, and a control device (see Figure 11) 34. The circuit board 12 can be a circuit board or a three-dimensional structured substrate, and the circuit board can be a printed wiring board or a printed circuit board.
[0010] The main body of the device 20 is composed of a frame 40 and a beam 42 suspended on the frame 40. The substrate transport and holding device 22 is located in the center of the frame 40 in the front-rear direction and has a transport device 50 and a clamping device 52. The transport device 50 is a device for transporting the circuit substrate 12, and the clamping device 52 is a device for holding the circuit substrate 12. As a result, the substrate transport and holding device 22 transports the circuit substrate 12 and also holds the circuit substrate 12 fixedly in a predetermined position. In the following description, the transport direction of the circuit substrate 12 is referred to as the X direction, the horizontal direction perpendicular to that direction is referred to as the Y direction, and the vertical direction is referred to as the Z direction. In other words, the width direction of the component mounting machine 10 is the X direction, and the front-rear direction is the Y direction.
[0011] The component mounting device 24 is mounted on the beam 42 and has two work heads 60 and 62 and a work head moving device 64. Each work head 60 and 62 has a suction nozzle (see Figure 2) 66, which holds the component. The work head moving device 64 also has an X-direction moving device 68, a Y-direction moving device 70, and a Z-direction moving device 72. The X-direction moving device 68 and the Y-direction moving device 70 move the two work heads 60 and 62 together to any position on the frame 40. In addition, as shown in Figure 2, each work head 60 and 62 is detachably mounted on sliders 74 and 76, and the Z-direction moving device 72 moves the sliders 74 and 76 individually in the vertical direction. In other words, the work heads 60 and 62 move individually in the vertical direction by the Z-direction moving device 72.
[0012] The imaging device 26 is mounted on the slider 74 with its orientation facing downwards and moves in the X, Y, and Z directions together with the work head 60. This allows the imaging device 26 to image any position on the frame 40. As shown in Figure 1, the imaging device 28 is positioned with its orientation facing upwards between the substrate transport and holding device 22 and the parts supply device 30 on the frame 40. This allows the imaging device 28 to image the parts held by the suction nozzles 66 of the work heads 60 and 62.
[0013] The parts supply device 30 is located at one end of the frame 40 in the front-rear direction. The parts supply device 30 includes a tray-type parts supply device 78 and a feeder-type parts supply device (not shown). The tray-type parts supply device 78 is a device that supplies parts in a state where they are placed on a tray. The feeder-type parts supply device is a device that supplies parts by tape feeder (not shown) or stick feeder (not shown).
[0014] The loose parts supply device 32 is located at the other end of the frame 40 in the front-rear direction. The loose parts supply device 32 is a device that aligns multiple parts that are scattered loosely and supplies the parts in an aligned state. In other words, it is a device that aligns multiple parts in any orientation to a predetermined orientation and supplies the parts in that predetermined orientation. The configuration of the parts supply device 32 will be described in detail below. The parts supplied by the parts supply device 30 and the loose parts supply device 32 include electronic circuit components, solar cell components, and power module components. Furthermore, electronic circuit components include parts with leads and parts without leads.
[0015] As shown in Figure 3, the loose parts supply device 32 includes a main body 80, a parts supply unit 82, an imaging device 84, and a parts transfer device 86.
[0016] The parts supply unit 82 includes a parts feeder 88, a parts scattering device (see Figure 4) 90, and a parts return device (see Figure 4) 92, with the parts feeder 88, parts scattering device 90, and parts return device 92 being integrally configured. The parts supply unit 82 is detachably mounted to the base 96 of the main body 80, and in the loose parts supply device 32, five parts supply units 82 are arranged in a single row in the X direction.
[0017] The parts feeder 88 is generally shaped like a rectangular box and is arranged to extend in the Y direction, as shown in Figures 4 and 5. The Y direction is described as the front-to-back direction of the parts feeder 88, and in the parts supply unit 82, the direction toward the side where the parts return device 92 is located is described as the front, and the direction toward the side where the parts feeder 88 is located is described as the rear.
[0018] The parts feeder 88 has openings on its top and front. The top opening serves as the parts input port 97, and the front opening serves as the parts discharge port 98. A slanted plate 104 is positioned below the input port 97 of the parts feeder 88. The slanted plate 104 is positioned so as to be inclined downward from the rear end face of the parts feeder 88 toward the center.
[0019] Furthermore, a conveyor device 106 is installed on the front side of the inclined plate 104, as shown in Figure 5. The conveyor device 106 is installed so as to be inclined upward from the front end of the inclined plate 104 toward the front of the parts feeder 88. The conveyor belt 112 of the conveyor device 106 rotates counterclockwise in Figure 5. In other words, the conveying direction by the conveyor device 106 is diagonally upward toward the front from the front end of the inclined plate 104.
[0020] Furthermore, an inclined plate 126 is provided below the front end of the conveyor device 106. The inclined plate 126 is positioned from the front end face of the parts feeder 88 toward the bottom of the conveyor device 106, with its rear end inclined diagonally downwards. In addition, an inclined plate 128 is provided below the inclined plate 126. The inclined plate 128 is inclined so that its front end is positioned downwards from below the central part of the conveyor device 106 toward the discharge port 98 of the parts feeder 88.
[0021] Furthermore, as shown in Figure 4, a pair of side frames 130 are assembled to the base 96. The pair of side frames 130 are positioned facing each other, parallel to each other, and extending in the Y direction. The distance between the pair of side frames 130 is slightly greater than the width dimension of the parts feeder 88, and the parts feeder 88 is detachably mounted between the pair of side frames 130.
[0022] The parts distribution device 90 includes a parts support member 150 and a parts support member moving device 152. The parts support member 150 is composed of a stage 156 and a pair of side wall portions 158. The stage 156 is generally a long plate shape and is positioned to extend forward from below the parts feeder 88 mounted between a pair of side frames 130. The upper surface of the stage 156 is generally horizontal and, as shown in Figure 5, is positioned with a small clearance from the front end of the inclined plate 128 of the parts feeder 88. The pair of side wall portions 158 are fixed upright on both sides of the longitudinal direction of the stage 156, as shown in Figure 4, and the upper ends of each side wall portion 158 extend upward from the upper surface of the stage 156.
[0023] Furthermore, the component support member moving device 152 slides the component support member 150 in the Y direction by the operation of the air cylinder (see Figure 11) 166. During this process, the component support member 150 moves between a stored state where it is stored below the component feeder 88 (see Figure 6) and an exposed state where it is exposed from below the component feeder 88 (see Figure 5).
[0024] As shown in Figure 7, the parts return device 92 includes a parts storage container 180 and a container swinging device 181. The parts storage container 180 is generally box-shaped, with an arc-shaped bottom. The parts storage container 180 is swingably held at the front end of the stage 156 of the parts support member 150 and swings when the container swinging device 181 is operated. During this time, the parts storage container 180 swings between a storage position with its opening facing upward (see Figure 7) and a return position with its opening facing the upper surface of the stage 156 of the parts support member 150 (see Figure 8).
[0025] As shown in Figure 3, the imaging device 84 includes a two-dimensional camera 290 and a camera moving device 292. The camera moving device 292 includes a guide rail 296 and a slider 298. The guide rail 296 is fixed to the main body 80 above the parts feeder 88 and extends in the width direction (X direction) of the loose parts feeder 32. The slider 298 is slidably mounted on the guide rail 296 and slides to any position by the operation of an electromagnetic motor (see Figure 11) 299. The two-dimensional camera 290 is mounted on the slider 298 facing downwards. Note that the two-dimensional camera 290 is not a three-dimensional camera or equipped with a three-dimensional image processing device that can detect height information, depth information, etc. of three-dimensional objects to be imaged, but rather a color camera that captures two-dimensional images in which height information, depth information, etc. of three-dimensional objects to be imaged cannot be detected. In other words, the two-dimensional camera 290 is a color camera that captures two-dimensional images of three-dimensional members projected onto the XY plane. Furthermore, the 2D camera 290 does not use a telecentric lens where the aperture diaphragm is at the focal point of the lens, but rather a general-purpose lens, that is, a lens with a field of view that is not 0 degrees.
[0026] As shown in Figure 3, the parts transfer device 86 includes a parts holding head moving device 300, a parts holding head 302, and two shuttle devices 304.
[0027] The component holding head moving device 300 includes an X-direction moving device 310, a Y-direction moving device 312, and a Z-direction moving device 314. The Y-direction moving device 312 has a Y-slider 316 positioned above the component supply unit 82 so as to extend in the X direction, and the Y-slider 316 moves to any position in the Y direction by being driven by an electromagnetic motor (see Figure 11) 319. The X-direction moving device 310 has an X-slider 320 positioned on the side of the Y-slider 316, and the X-slider 320 moves to any position in the X direction by being driven by an electromagnetic motor (see Figure 11) 321. The Z-direction moving device 314 has a Z-slider 322 positioned on the side of the X-slider 320, and the Z-slider 322 moves to any position in the Z direction by being driven by an electromagnetic motor (see Figure 11) 323.
[0028] As shown in Figure 9, the part holding head 302 includes a head body 330, a suction nozzle 332, a nozzle swivel device 334, and a nozzle rotation device 335. The head body 330 is integrally formed with the Z slider 322. The suction nozzle 332 holds the part and is detachably mounted on the lower end of the holder 340. The holder 340 is bendable on the support shaft 344, and the holder 340 bends 90 degrees upward when the nozzle swivel device 334 is operated. As a result, the suction nozzle 332 mounted on the lower end of the holder 340 swivels 90 degrees and is positioned in the swiveled position. In other words, the suction nozzle 332 swivels between the non-swiveled position and the swiveled position when the nozzle swivel device 334 is operated. Of course, it is also possible to position and stop it at an angle between the non-swiveled position and the swiveled position. The nozzle rotation device 335 rotates the suction nozzle 332 around its axis.
[0029] Furthermore, as shown in Figure 3, each of the two shuttle devices 304 includes a parts carrier 388 and a parts carrier moving device 390, and is fixed to the main body 80, arranged laterally in front of the parts supply unit 82. Five parts receiving members 392 are mounted on the parts carrier 388 in a single row in the lateral direction, and parts are placed on each of the parts receiving members 392.
[0030] The loose parts supply device 32 is capable of supplying various parts, and various types of parts receiving members 392 are available depending on the shape of the parts. Here, as an example of an electronic circuit component supplied by the loose parts supply device 32, we will describe a parts receiving member 392 that corresponds to a leaded component 410, as shown in Figure 10. The leaded component 410 consists of a block-shaped component body 412 and two leads 414 protruding from the bottom surface of the component body 412.
[0031] Furthermore, the component receiving member 392 has a component receiving recess 416 shaped to match the lead component 410. The component receiving recess 416 is a stepped recess and consists of a main body receiving recess 418 that opens on the upper surface of the component receiving member 392 and a lead receiving recess 420 that opens on the bottom surface of the main body receiving recess 418. The lead component 410 is then inserted into the component receiving recess 416 with the lead 414 facing downwards. As a result, the lead 414 is inserted into the lead receiving recess 420, and the lead component 410 is placed inside the component receiving recess 416 with the component body 412 inserted into the main body receiving recess 418.
[0032] Furthermore, as shown in Figure 3, the parts carrier moving device 390 is a plate-shaped longitudinal member and is positioned on the front side of the parts supply unit 82 so as to extend in the front-rear direction. A parts carrier 388 is slidably mounted on the upper surface of the parts carrier moving device 390 in the front-rear direction and slides to any position in the front-rear direction by the drive of an electromagnetic motor (see Figure 11) 430. When the parts carrier 388 slides toward the parts supply unit 82, it slides to a parts receiving position located within the movement range of the parts holding head 302 by the parts holding head moving device 300. On the other hand, when the parts carrier 388 slides toward the parts supply unit 82, it slides to a parts supply position located within the movement range of the work heads 60 and 62 by the work head moving device 64.
[0033] Furthermore, as shown in Figure 11, the control device 34 includes a central control device 450, a plurality of individual control devices (only one is shown in the figure) 452, and an image processing device 454. The central control device 450 is mainly composed of a computer and is connected to the substrate transport and holding device 22, the component mounting device 24, the imaging device 26, the imaging device 28, the component supply device 30, and the loose component supply device 32. In this way, the central control device 450 controls the substrate transport and holding device 22, the component mounting device 24, the imaging device 26, the imaging device 28, the component supply device 30, and the loose component supply device 32 in a centralized manner. The plurality of individual control devices 452 are mainly composed of computers and are provided corresponding to the substrate transport and holding device 22, the component mounting device 24, the imaging device 26, the imaging device 28, the component supply device 30, and the loose component supply device 32 (only the individual control device 452 corresponding to the loose component supply device 32 is shown in the figure).
[0034] The individual control device 452 of the loose parts supply device 32 is connected to the imaging device 84, the parts scattering device 90, the parts returning device 92, the parts holding head moving device 300, the parts holding head 302, and the shuttle device 304. This allows the individual control device 452 of the loose parts supply device 32 to control the imaging device 84, the parts scattering device 90, the parts returning device 92, the parts holding head moving device 300, the parts holding head 302, and the shuttle device 304. Furthermore, the image processing device 454 is connected to the two-dimensional camera 290 and processes the image data captured by the two-dimensional camera 290. This image processing device 454 is connected to the individual control device 452 of the loose parts supply device 32. As a result, the individual control device 452 of the loose parts supply device 32 acquires the image data captured by the two-dimensional camera 290.
[0035] Furthermore, the loose parts supply device 32 has a storage device 458. The storage device 458 is connected to an individual control device 452 and stores various information according to commands from the individual control device 452.
[0036] The component mounting machine 10 performs component mounting on the circuit board 12 held by the substrate transport and holding device 22, according to the configuration described above. Specifically, the circuit board 12 is transported to the work position and fixedly held there by the clamping device 52. Next, the imaging device 26 moves above the circuit board 12 and images the circuit board 12. This provides information regarding the error in the holding position of the circuit board 12. The component supply device 30 or the loose component supply device 32 supplies components at a predetermined supply position. The supply of components by the loose component supply device 32 will be explained in detail later. Then, either the work head 60 or 62 moves above the component supply position and holds the component with the suction nozzle 66. Subsequently, the work head 60 or 62 holding the component moves above the imaging device 28, and the imaging device 28 images the component held by the suction nozzle 66. This provides information regarding the error in the holding position of the component. Then, the work heads 60 and 62, which hold the components, move above the circuit board 12, correcting any errors in the holding position of the circuit board 12, errors in the holding position of the components, etc., and mounting the held components onto the circuit board 12.
[0037] Next, the supply of parts by the loose parts supply device 32 will be explained. In the loose parts supply device 32, lead parts 410 are fed into the input port 97 of the parts supplyer 88 by an operator, and the fed lead parts 410 are supplied in a state where they are placed on the parts receiving member 392 of the parts carrier 388 by the operation of the parts supply unit 82 and the parts transfer device 86.
[0038] In detail, the operator feeds multiple lead parts 410 of the same type, that is, multiple lead parts 410 of the same shape, into the input opening 97 on the top surface of the parts feeder 88. At this time, the parts support member 150 is moved below the parts feeder 88 by the operation of the parts support member moving device 152 and is in a stored state (see Figure 6). When the parts support member 150 is stored, the parts storage container 180, which is located at the front end of the parts support member 150, is located in front of the parts feeder 88 and is in a position with the opening of the parts storage container 180 facing upward (storage position).
[0039] The lead parts 410 fed into the input port 97 of the parts feeder 88 fall onto the inclined plate 104 of the parts feeder 88 and roll down to the lower front end of the inclined plate 104. At this point, the lead parts 410 that have rolled down to the lower front end of the inclined plate 104 are piled up between the lower front end of the inclined plate 104 and the lower rear end of the conveyor device 106. The conveyor belt 112 of the conveyor device 106 then rotates counterclockwise in Figure 6. As a result, the lead parts 410 piled up between the inclined plate 104 and the conveyor belt 112 are transported diagonally upward by the conveyor belt 112.
[0040] The lead parts 410, transported by the conveyor belt 112, then fall onto the inclined plate 126 from the upper front end of the conveyor device 106. The lead parts 410 that have fallen onto the inclined plate 126 roll backward down the inclined plate 126 and fall onto the inclined plate 128. The lead parts 410 that have fallen onto the inclined plate 128 roll forward and are discharged from the front discharge port 98 of the parts feeder 88.
[0041] As a result, the lead parts 410 discharged from the discharge port 98 of the parts supply unit 88 are stored inside the parts storage container 180. When a predetermined amount of lead parts 410 has been discharged from the parts supply unit 88, that is, when the conveyor device 106 has operated for a certain amount of time, the conveyor device 106 stops. Next, the parts support member 150 moves forward from its stored position due to the operation of the parts support member moving device 152.
[0042] Then, when the component support member 150 has moved forward by a predetermined amount from its stored position, the container swinging device 181 of the component return device 92 is activated, causing the component storage container 180 to swing. As a result, the orientation of the component storage container 180 changes rapidly from an orientation with the opening facing upward (storage orientation) to an orientation with the opening facing the stage 156 (return orientation). At this time, the lead components 410 stored in the component storage container 180 are rapidly ejected toward the stage 156. As a result, lead components 410 of the same shape are scattered from the component storage container 180 onto the stage 156, as shown in Figure 12.
[0043] Note that although lead components 410 of the same shape are scattered on the stage 156, the lead components 410 are scattered on the stage 156 in approximately four postures. Specifically, in a first posture, the lead components 410 are scattered in a posture in which the surface from which the leads 414 extend faces sideways and the two leads 414 are arranged generally in the horizontal direction. Further, in a second posture, the lead components 410 are scattered in a posture in which the surface from which the leads 414 extend faces sideways and the two leads 414 are arranged generally in the vertical direction. Further, in a third posture, the lead components 410 are scattered in a posture in which the surface from which the leads 414 extend faces upward. Further, in a fourth posture, the lead components 410 are scattered in a posture in which two or more lead components 410 overlap each other. The four postures in which the lead components 410 are scattered are described as a lead component 410a in the first posture, a lead component 410b in the second posture, a lead component 410c in the third posture, and a lead component 410d in the fourth posture.
[0044] When the lead components 410 are scattered on the stage 156 as described above, the two-dimensional camera 290 of the imaging device 84 moves above the component support member 150 by the operation of the camera moving device 292. Then, the lead components 410 of the same shape scattered on the stage 156 are imaged by the two-dimensional camera 290. Since the viewing angle of the two-dimensional camera 290, that is, the imaging range, is wider than that of the stage 156, the two-dimensional camera 290 captures the entire stage 156, that is, all the lead components 410 scattered on the stage 156 at once. That is, the two-dimensional camera 290 captures all the lead components 410 scattered on the stage 156 at once while keeping them within the imaging range. When the two-dimensional camera 290 images the lead components 410 on the stage 156, the LED light 294 irradiates light toward the upper surface of the stage 156. Then, based on the imaging data captured by the two-dimensional camera 290, the individual control device 452 identifies the lead component to be picked up by a pattern matching method.
[0045] Specifically, the individual control unit 452 identifies the outline of the lead component 410 based on the image data of the lead component 410 captured by the two-dimensional camera 290, and calculates the shape of the upper surface of the lead component 410, that is, the shape from a viewpoint above the lead component 410. Meanwhile, the storage device 458 stores reference data corresponding to the outline of the lead component 410a in the first orientation.
[0046] The individual control unit 452 then calculates the shape of the top surface of the lead component 410 based on the image data of the lead component 410 captured by the two-dimensional camera 290, and determines whether the calculated shape of the top surface of the lead component 410 matches the reference data stored in the storage device 458. If the calculated shape of the top surface of the lead component 410 matches the reference data, the individual control unit 452 sets the lead component 410 that matches the shape of the top surface as the component to be picked up.
[0047] In other words, the lead component 410a in the first position is set as the component to be picked up, while the lead component 410b in the second position, the lead component 410c in the third position, and the lead component 410d in the fourth position are not set as components to be picked up. This is because, in the case of the lead component 410b in the second position, the upper surface area is small, making it impossible to properly hold the lead component 410b with the suction nozzle 332. Also, in the case of the lead component 410c in the third position, the lead 414 is arranged on the upper surface, and the lead 414 gets in the way, making it impossible to properly hold the lead component 410c with the suction nozzle 332. Furthermore, in the case of the lead component 410d in the fourth position, the upper surface of the lead component 410d is not horizontal, or for other reasons, making it impossible to properly hold the lead component 410d with the suction nozzle 332.
[0048] Then, the individual control device 452 calculates position information of the lead component 410 set as a component to be picked up based on the imaging data. Next, based on the calculated position information of the component to be picked up, the component holding head 302 moves above the component to be picked up by the operation of the component holding head moving device 300, and the suction nozzle 332 suction-holds the component to be picked up. When the component to be picked up is suction-held by the suction nozzle 332, the suction nozzle 332 is located at a non-rotating position.
[0049] Next, after the suction nozzle 332 holds the lead component 410 which is the component to be picked up, the component holding head 302 moves above the component carrier 388. At this time, the component carrier 388 has moved to a component receiving position by the operation of the component carrier moving device 390. Further, when the component holding head 302 moves above the component carrier 388, the suction nozzle 332 rotates to a rotating position. The suction nozzle 332 is rotated by the operation of the nozzle rotating device 335 such that the leads 414 of the lead component 410 held by the suction nozzle 332 at the rotating position face downward in the vertical direction.
[0050] When the component holding head 302 moves above the component carrier 388, the component holding head 302 descends, and the lead component 410 with the leads 414 facing downward in the vertical direction is inserted into the component receiving recess 416 of the component receiving member 392. As a result, as shown in FIG. 10, the lead component 410 is placed on the component receiving member 392 with the leads 414 facing downward in the vertical direction.
[0051] Then, when the lead component 410 is placed on the component receiving member 392, the component carrier 388 moves to the component supply position by the operation of the component carrier moving device 390. Since the component supply position is located within the movement range of the work heads 60 and 62, the loose component supply device 32 supplies the lead component 410 to the component mounting machine 10 at this position. In this way, the individual control device 452 in the loose component supply device 32 identifies the component to be picked up from among the multiple lead components 410 scattered on the stage 156 based on reference data. The component holding head 302 then holds the lead component 410 identified as the component to be picked up, that is, the lead component in the first orientation, and places it on the component receiving member 392, thereby supplying the lead component 410.
[0052] In this way, the loose parts supply device 32 supplies lead parts by picking up lead parts in a first orientation from among a plurality of lead parts 410 scattered on the stage 156. The first orientation of the lead part to be picked up is the orientation in which the protruding surfaces of the leads 414 face sideways, and the two leads 414 are generally aligned horizontally. In the lead part 410a in this first orientation, as shown in Figure 12, the largest surface of the part body 412 of the lead part 410a faces upward. Since the part body 412 is generally rectangular in shape, the upward-facing surface of the part body of the lead part 410a in the first orientation consists of two types of surfaces: a first surface (hereinafter referred to as the "front surface") and a second surface (hereinafter referred to as the "back surface") that faces the first surface. Thus, if the suction nozzle 332 picks up lead components in a first orientation where the surface faces upward (hereinafter referred to as "surface lead components") and lead components in a first orientation where the back surface faces upward (hereinafter referred to as "back lead components") without distinguishing between them, there is a risk that the lead components 410a may not be properly attached to the circuit board 12.
[0053] More specifically, for example, the polarity arrangement of the multiple leads 414 in a given direction may differ between front-side leaded components and back-side leaded components. In such cases, if the suction nozzle 332 picks up the components without distinguishing between front-side and back-side leaded components, there is a risk that the leaded components will be mounted on the circuit board 12 with the polarity of the leads incorrect. Also, if the arrangement of the leads is not symmetrical, if the suction nozzle 332 picks up the components without distinguishing between front-side and back-side leaded components, there is a risk that multiple leads will not be able to be inserted into multiple through-holes in the circuit board 12.
[0054] In light of this, when identifying the lead component 410a in the first orientation, it is also necessary to determine whether it is a front-side lead component or a back-side lead component. Conventionally, the operator would detect the different parts on the front and back sides of the lead component 410a and register those parts as front / back determination data in the storage device 458. Then, when the individual control device 452 performed pattern matching of the lead component in the first orientation using reference data, it also used the front / back determination data registered in the storage device 458 to determine whether it was a front-side lead component or a back-side lead component (hereinafter referred to as "front / back determination").
[0055] However, it is burdensome for an operator to detect different parts on the front and back surfaces of the lead component 410a and register those parts in the storage device 458. Furthermore, because operators arbitrarily detect different parts on the front and back surfaces of the lead component 410a, the parts detected may differ from operator to operator. In such cases, the front / back determination results by the individual control device 452 may differ from operator to operator. In light of this, the individual control device 452 automatically creates front / back determination data and registers it in the storage device 458.
[0056] Specifically, before the parts supply operation is performed by the loose parts supply device 32, the operator places, for example, one leaded part 410 in the center of the stage 156. At this time, the operator places one leaded part 410 on the stage so that the direction in which the leads 414 of the leaded part 410 extend is in a predetermined direction. Then, the two-dimensional camera 290 images the leaded part 410 placed in the center of the stage. At this time, the operator places the leaded part on the stage with the front surface facing upwards, and the two-dimensional camera 290 images the leaded part 410. The operator also places the leaded part on the stage with the back surface facing upwards, and the two-dimensional camera 290 images the leaded part 410. In other words, the two-dimensional camera 290 images both the front-surface leaded part and the back-surface leaded part. Furthermore, the two-dimensional camera 290 images the leaded part 410 placed on the stage at multiple different shutter speeds. Specifically, the two-dimensional camera 290 images the lead component 410 at shutter speeds of 8000ms, 15000ms, 25000ms, 40000ms, and 70000ms. This creates image data of the front lead component for each of the five different shutter speeds, and image data of the back lead component for each of the five different shutter speeds. Note that ms is an abbreviation for milliseconds, which is the exposure time (open aperture time) of the camera, but since exposure time and shutter speed are correlated, exposure time and shutter speed are treated as the same concept in this specification.
[0057] Furthermore, the 2D camera 290 also images the stage 156 in the center where the lead component was imaged, that is, in the state where the lead component is not placed. In other words, the 2D camera 290 images the center of the stage 156 when the lead component is not placed on it. At this time, the 2D camera 290 images the stage 156 at shutter speeds of 8000ms, 15000ms, 25000ms, 40000ms, and 70000ms. As a result, imaging data of the stage 156 is created for each of the five different shutter speeds.
[0058] Next, the individual control device 452 divides the imaging data of each of the five types of surface leaded components into 100 areas arranged in 10 rows and 10 columns, for example, as shown in Figure 13. Then, the individual control device 452 extracts color information indicating the color contained in the imaging data of one type of surface leaded component for each area and creates the surface leaded component color map shown in Figure 14. The individual control device 452 extracts hue H, saturation S, and lightness V as color information. In the surface leaded component color map shown in Figure 14, the color information (H, S, V) for each of the 100 areas of one type of surface leaded component is recorded. Therefore, the individual control device 452 creates five types of surface leaded component color maps corresponding to the imaging data of the five types of surface leaded components.
[0059] Furthermore, the individual control unit 452 divides the imaging data of each of the five types of back-side leaded components into 100 areas of 10 rows and 10 columns, similar to the front-side leaded components. Then, similar to the front-side leaded components, the individual control unit 452 extracts color information indicating the color contained in the imaging data of one type of back-side leaded component for each area, and creates a back-side leaded component color map. In other words, the individual control unit 452 creates five types of back-side leaded component color maps corresponding to the imaging data of the five types of back-side leaded components.
[0060] Furthermore, the individual control device 452 divides the imaging data of each of the five types of stages 156 into 100 areas of 10 rows and 10 columns, similar to the front lead parts and back lead parts. Then, the individual control device 452 extracts color information indicating the color contained in the imaging data of one type of stage for each area, similar to the front lead parts and back lead parts, and creates the stage color map shown in Figure 15. In other words, the individual control device 452 creates five types of stage color maps corresponding to the imaging data of the five types of stages. Note that the five types of front lead part color maps, the five types of back lead part color maps, and the five types of stage color maps are collectively referred to as individual color maps.
[0061] In the above explanation, the individual control device 452 divides the imaging data into 100 areas when creating a single color map, but in reality, it divides it into more than 20,000 areas to create surface lead component color maps, etc.
[0062] In this way, when the individual control device 452 creates a single color map, it determines whether or not there are protruding parts as differences between the surface lead parts and the back lead parts. Specifically, the individual control device 452 identifies the outline of each of the five types of surface lead parts based on the five types of surface lead part color maps and the five types of stage color maps. At this time, the individual control device 452 compares one surface lead part color map with a stage color map taken at the same shutter speed as the surface lead part in that color map. In other words, for example, the individual control device 452 compares the surface lead part color map of a surface lead part taken at a shutter speed of 25,000 ms with the stage color map of stage 156 taken at a shutter speed of 25,000 ms.
[0063] In this process, the individual control device 452 compares the color information of the same area. That is, for example, the individual control device 452 compares the color information of area 1 of the surface lead component color map with the color information of area 1 of the stage color map. Then, as shown in Figure 16, the individual control device 452 compares the color information of the surface lead component color map with the color information of the stage color map area by area, starting from the leftmost area in the top row and moving towards the rightmost areas. That is, the individual control device 452 compares the color information of the leftmost area in the first row, and then compares the color information of the area to the right of the leftmost area in the first row. After the comparison of the color information of the areas in the first row is complete, the individual control device 452 compares the color information of the leftmost area in the second row. In this process, if the difference between the color information of the surface lead component color map and the color information of the stage color map for each area exceeds a threshold, the individual control device 452 identifies that area as the outline of a surface lead component. Then, when the individual control unit 452 identifies the area of the outline of the surface lead component, it finishes comparing the row of that area and compares the color information of the next row. In other words, when the individual control unit 452 identifies the Mth area of the Nth row as the outline of the surface lead component, it finishes comparing the color information of the Nth row and compares the color information of the first area of the N+1th row (the leftmost area). By comparing the color information in this way, the individual control unit 452 identifies the left outline of the surface lead component.
[0064] Furthermore, as shown in Figure 17, when the individual control unit 452 compares color information row by row from the left area to the right area, that is, when comparing color information in the direction of arrow 510a, it also compares color information in the upward direction, that is, in the direction of arrow 512a. In addition, when the individual control unit 452 compares color information in the direction of arrow 512a, it also compares color information in the left-right direction, that is, in the direction of arrow 514a. Furthermore, when the individual control unit 452 compares color information in the direction of arrow 510b, for example, it also compares color information in the direction of arrow 512b. Furthermore, when the individual control unit 452 compares color information in the direction of arrow 512b, it also compares color information in the direction of arrow 514b. Note that in this explanation, when comparing color information row by row from the left area to the right area, color information is also compared in the upward direction, but color information is also compared in the downward direction as well as the upward direction. In this way, by branching vertically and comparing color information, and then further branching horizontally after the vertical branching and comparing color information, the upper and lower outlines of the surface lead component can be identified. In particular, by branching vertically and then further branching horizontally and comparing color information, the outline can be appropriately identified even if the outline is inclined with respect to the row and column directions.
[0065] Furthermore, the individual control device 452 compares the color information row by row from the left area to the right area, and then compares the color information row by row from the rightmost area to the left area using the same method as described above. This identifies the right-side outline of the surface lead component. In this way, the individual control device 452 identifies the left, top, bottom, and right-side outlines of the surface lead component, thereby identifying the overall outline of the surface lead component. Note that when comparing color information area by area, the individual control device 452 remembers the position of the area where the color information comparison has been completed, and avoids repeating the color information comparison in an area where the color information comparison has already been completed.
[0066] In this way, when the individual control device 452 identifies the outline of one surface lead component, it identifies the outline of one back-side lead component using the same shutter speed as the outline of the surface lead component. That is, when the individual control device 452 identifies the outline of a surface lead component imaged at a shutter speed of 25,000 ms, it identifies the outline of a back-side lead component imaged at a shutter speed of 25,000 ms. The individual control device 452 identifies the outline of the back-side lead component by comparing the back-side lead component color map and the stage color map using the same method as described above. The outline of a surface lead component will be referred to as the surface outline, and the outline of a back-side lead component will be referred to as the back-side outline.
[0067] In this way, by comparing the surface lead component color map with the stage color map, or the back surface lead component color map with the stage color map, the outline of the surface or back surface can be appropriately identified. In other words, conventionally, the individual control device 452 identified the outline of the lead component using only the lead component's color map, without comparing the lead component's color map with the stage's color map. In such cases, it was not possible to appropriately recognize the boundary between the stage and the lead component due to color unevenness of the stage, the degree of light reflection on the stage, etc. However, by comparing the lead component's color map with the stage's color map, it becomes possible to recognize the boundary between the stage and the lead component while taking into account the color unevenness of the stage and the degree of light reflection on the stage. As a result, the outline of the lead component can be appropriately identified.
[0068] Furthermore, when the individual control device 452 identifies the front and back outlines with the same shutter speed (25000 ms), it detects whether there are any differences between the front and back outlines with the same shutter speed (25000 ms). At this time, the individual control device 452 determines whether there are any parts where one of the front outline and the back outline with the same shutter speed (25000 ms) penetrates the other. In other words, the individual control device 452 determines whether there are any parts where one of the front outline and the back outline with the same shutter speed (25000 ms) is located outside the other. Then, as shown in Figure 18, the individual control device 452 superimposes the front outline 520 and the back outline 522 with the same shutter speed (25000 ms). Furthermore, the front outline 520 at a shutter speed of 25,000 ms and the back outline 522 at a shutter speed of 25,000 ms are the same. Therefore, the front outline 520 at a shutter speed of 25,000 ms and the back outline 522 at a shutter speed of 25,000 ms in their superimposed state coincide (dotted line in Figure 18), and there are no parts where one of the front outlines at a shutter speed of 25,000 ms penetrates the other. Thus, the individual control device 452 determines that there are no differences between the front outline at a shutter speed of 25,000 ms and the back outline at a shutter speed of 25,000 ms.
[0069] Next, if the individual control device 452 determines that there are no differences between the surface outline at a shutter speed of 25,000 ms and the back surface outline at a shutter speed of 25,000 ms, it determines whether there are any differences between the surface outline at a shutter speed of 15,000 ms and the back surface outline at a shutter speed of 15,000 ms. In other words, the individual control device 452 compares the surface lead component color map of the surface lead component imaged at a shutter speed of 15,000 ms with the stage color map of the stage 156 imaged at a shutter speed of 15,000 ms to calculate the surface outline at a shutter speed of 15,000 ms. Furthermore, the individual control device 452 compares the back surface lead component color map of the back surface lead component imaged at a shutter speed of 15,000 ms with the stage color map of the stage 156 imaged at a shutter speed of 15,000 ms to calculate the back surface outline at a shutter speed of 25,000 ms. The individual control device 452 then determines whether there are any differences between the front outline at a shutter speed of 15,000 ms and the back outline at a shutter speed of 15,000 ms. As shown in Figure 19, the front outline at a shutter speed of 15,000 ms and the back outline at a shutter speed of 15,000 ms are the same. Therefore, the individual control device 452 determines that there are no differences between the front outline at a shutter speed of 15,000 ms and the back outline at a shutter speed of 15,000 ms.
[0070] Next, if the individual control device 452 determines that there are no differences between the surface outline at a shutter speed of 15,000 ms and the back surface outline at a shutter speed of 15,000 ms, it determines whether there are any differences between the surface outline at a shutter speed of 40,000 ms and the back surface outline at a shutter speed of 40,000 ms. In other words, the individual control device 452 compares the surface lead component color map of the surface lead component imaged at a shutter speed of 40,000 ms with the stage color map of the stage 156 imaged at a shutter speed of 40,000 ms to calculate the surface outline at a shutter speed of 40,000 ms. Also, the individual control device 452 compares the back surface lead component color map of the back surface lead component imaged at a shutter speed of 40,000 ms with the stage color map of the stage 156 imaged at a shutter speed of 40,000 ms to calculate the back surface outline at a shutter speed of 40,000 ms. The individual control device 452 then determines whether there are any differences between the front outline at a shutter speed of 40,000 ms and the back outline at a shutter speed of 40,000 ms. As shown in Figure 19, the front outline at a shutter speed of 40,000 ms and the back outline at a shutter speed of 40,000 ms are the same. Therefore, the individual control device 452 determines that there are no differences between the front outline at a shutter speed of 40,000 ms and the back outline at a shutter speed of 40,000 ms.
[0071] Next, if the individual control device 452 determines that there are no differences between the surface outline at a shutter speed of 40,000 ms and the back outline at a shutter speed of 40,000 ms, it determines whether there are any differences between the surface outline at a shutter speed of 8,000 ms and the back outline at a shutter speed of 8,000 ms. In other words, the individual control device 452 compares the surface lead component color map of the surface lead component, which was imaged at a shutter speed of 8,000 ms, with the stage color map of the stage 156, which was imaged at a shutter speed of 8,000 ms, and calculates the surface outline at a shutter speed of 8,000 ms. The individual control device 452 also compares the back lead component color map of the back lead component, which was imaged at a shutter speed of 8,000 ms, with the stage color map of the stage 156, which was imaged at a shutter speed of 8,000 ms, and calculates the back outline at a shutter speed of 8,000 ms. The individual control device 452 then determines whether there are any differences between the front outline at a shutter speed of 8000 ms and the back outline at a shutter speed of 8000 ms. As shown in Figure 19, the front outline at a shutter speed of 8000 ms and the back outline at a shutter speed of 8000 ms are the same. Therefore, the individual control device 452 determines that there are no differences between the front outline at a shutter speed of 8000 ms and the back outline at a shutter speed of 8000 ms.
[0072] Next, if the individual control device 452 determines that there is no difference between the surface outline at a shutter speed of 8000ms and the back outline at a shutter speed of 8000ms, it determines whether there is a difference between the surface outline at a shutter speed of 70000ms and the back outline at a shutter speed of 70000ms. In other words, the individual control device 452 compares the surface lead component color map of the surface lead component imaged at a shutter speed of 70000ms with the stage color map of the stage 156 imaged at a shutter speed of 70000ms to calculate the surface outline at a shutter speed of 70000ms. Also, the individual control device 452 compares the back lead component color map of the back lead component imaged at a shutter speed of 70000ms with the stage color map of the stage 156 imaged at a shutter speed of 70000ms to calculate the back outline at a shutter speed of 70000ms.
[0073] The individual control device 452 then determines whether there are any differences between the front outline line at shutter speed 70,000 ms and the back outline line at shutter speed 70,000 ms. At this time, the individual control device 452 determines whether there are any parts where one of the front outline line at shutter speed 70,000 ms and the back outline line at shutter speed 70,000 ms penetrates the other. In other words, the individual control device 452 determines whether there are any parts where one of the front outline line at shutter speed 70,000 ms and the back outline line at shutter speed 70,000 ms is located outside the other. Then, as shown in Figure 20, the individual control device 452 superimposes the front outline line 530 at shutter speed 70,000 ms and the back outline line 532 at shutter speed 70,000 ms. Note that the front outline line 530 at shutter speed 70,000 ms and the back outline line 532 at shutter speed 70,000 ms differ in some parts. Therefore, the surface outline 530 at shutter speed 70,000 ms and the back surface outline 532 at shutter speed 70,000 ms in the superimposed state generally coincide (dotted line in Figure 20), but a part of the back surface outline 532 at shutter speed 70,000 ms penetrates the surface outline 530 at shutter speed 70,000 ms (solid line in Figure 20). For this reason, the individual control device 452 determines that the part of the back surface outline 532 at shutter speed 70,000 ms that penetrates the surface outline 530 at shutter speed 70,000 ms is a difference portion 534. The individual control device 452 then registers the shape of this difference portion 534 as front / back determination data for the protruding portion in the storage device 458. Furthermore, the individual control device 452 also registers shutter speed 70,000 ms as a shutter speed for front / back determination of the protruding portion in the storage device 458.
[0074] In this way, by detecting differences in the outlines of the lead components based on image data of the front-facing lead components and the back-facing lead components captured at multiple different shutter speeds, it becomes possible to appropriately distinguish and recognize the front-facing lead components and the back-facing lead components.
[0075] In the above explanation, it is determined that there is a difference in the front outline at a shutter speed of 70,000 ms and the back outline at a shutter speed of 70,000 ms. However, there are cases where it is determined that there is no difference in all five different shutter speeds. In such cases, the protruding part front / back determination data and the shutter speed for protruding part front / back determination are not registered in the storage device 458, and the individual control device 452 determines whether there is a difference in the interior of either the front outline or the back outline.
[0076] Specifically, the individual control device 452 compares the five types of surface lead component map data and the five types of back-side lead component map data created earlier, using the same shutter speed, to determine whether there are any differences within the surface outline and the back-side outline. In this process, the individual control device 452 first compares the color information of the surface lead component map data at a shutter speed of 25,000 ms with the color information of the back-side lead component map data at a shutter speed of 25,000 ms within the same area. Then, for each of the multiple areas, the individual control device 452 determines whether the difference between the color information of the surface lead component map data at a shutter speed of 25,000 ms and the color information of the back-side lead component map data at a shutter speed of 25,000 ms is greater than or equal to a threshold. For example, if the color information of area 10 of the surface lead component map data is "V: 23" and the color information of area 50 of the back-side lead component map data is "V: 28", then the difference between them is "5 (= 28 - 23)". When the threshold is set to 50, the difference in color information for area 50 is determined not to exceed the threshold. For example, if the color information for area 50 of the surface lead component map data is "V: 20" and the color information for area 50 of the back lead component map data is "V: 80", the difference between them is "60 (= 80 - 20)". When the threshold is set to 50, the difference in color information for area 50 is determined to exceed the threshold. In the explanation of color information comparison, only the brightness V is compared, but in reality, the color information of hue H, saturation S, and brightness V are each compared, and the difference in color information is determined to be greater than or equal to the threshold if the difference in one of the color information values among hue H, saturation S, and brightness V is greater than or equal to the threshold.
[0077] The individual control device 452 then determines whether the difference between the color information of the surface lead component map data and the color information of the back surface lead component map data at a shutter speed of 25,000 ms is greater than or equal to a threshold in all areas, and identifies the set of areas where the difference is determined to be greater than or equal to the threshold as a difference area. For example, as shown in Figure 21, the image of the surface lead component (hereinafter referred to as the "surface image") 550 has no pattern, but the image of the back surface lead component (hereinafter referred to as the "back surface image") 552 has a pattern 554. Therefore, in the area of the pattern 554, the difference between the color information of the surface lead component map data and the color information of the back surface lead component map data is usually greater than or equal to a threshold, and the area of the pattern 554 is detected as a difference area. However, as shown in Figure 22, the pattern 554 is not captured in the back surface image at a shutter speed of 25,000 ms, and the surface image and back surface image at a shutter speed of 25,000 ms are the same. This is because the pattern 554 is not recognized as color information due to underexposure, overexposure, etc. Therefore, no cluster of areas where the difference between the color information of the surface lead component map data and the color information of the back surface lead component map data at a shutter speed of 25,000 ms exceeds a threshold is detected, and the individual control device 452 determines that there are no discrepancies at a shutter speed of 25,000 ms.
[0078] Next, if the individual control device 452 determines that there are no differences at a shutter speed of 25,000 ms, it determines the presence or absence of differences based on the front lead component map data and back lead component map data at a shutter speed of 15,000 ms. As shown in Figure 22, even at a shutter speed of 15,000 ms, the pattern 554 is not reflected in the back image due to underexposure, overexposure, etc., and the front image and back image at a shutter speed of 15,000 ms are the same. For this reason, no cluster of areas where the difference between the color information of the front lead component map data and the color information of the back lead component map data at a shutter speed of 15,000 ms exceeds a threshold is detected, and the individual control device 452 determines that there are no differences at a shutter speed of 15,000 ms.
[0079] Next, if the individual control device 452 determines that there are no differences at a shutter speed of 15,000 ms, it determines the presence or absence of differences based on the front lead component map data and back lead component map data at a shutter speed of 40,000 ms. As shown in Figure 22, at a shutter speed of 40,000 ms, the exposure time is appropriate, so the pattern 554 is captured in the back image, and the front image and back image at a shutter speed of 40,000 ms are different. For this reason, a collection of areas where the difference between the color information of the front lead component map data and the color information of the back lead component map data at a shutter speed of 40,000 ms is greater than or equal to a threshold is detected as a difference area 556, as shown in Figure 21. In other words, the individual control device 452 identifies a collection of areas where the difference between the color information of the front lead component map data and the color information of the back lead component map data at a shutter speed of 40,000 ms is greater than or equal to a threshold as a difference area 556. The individual control device 452 detects clusters of areas where the difference between the color information of the surface lead component map data and the color information of the back lead component map data is greater than or equal to a threshold. It identifies clusters of 3x3 or more areas as discrepancies 556. This allows for the extraction of large discrepancies 556.
[0080] In this manner, when the individual control device 452 identifies a collection of areas where the difference between the color information of the front lead component map data and the color information of the back lead component map data at a shutter speed of 40,000 ms is greater than or equal to a threshold as a difference area 556, it registers the position and color information of the difference area 556 as pattern area front / back determination data in the storage device 458. Furthermore, the individual control device 452 also registers the shutter speed of 40,000 ms as a shutter speed for pattern area front / back determination in the storage device 458.
[0081] In this way, by detecting the difference portion 556 inside the outline of the lead component based on surface lead component map data and back lead component map data of multiple different shutter speeds, it becomes possible to appropriately distinguish and recognize surface lead components and back lead components.
[0082] When detecting differences in the outline of the lead component's outer shape 534, the presence or absence of differences in the outline of the lead component's outer shape 534 is detected based on the outline of the lead component for each of five different shutter speeds (25000ms, 15000ms, 40000ms, 8000ms, and 70000ms). On the other hand, when detecting differences in the interior of the lead component's outer shape 556, the presence or absence of differences in the interior of the lead component's outer shape 556 is detected based on the color information of each of the color maps for three different shutter speeds (25000ms, 15000ms, and 40000ms). This is because the order of shutter speeds to be detected when the individual control device 452 detects differences in 534 and 556 is predetermined, and even if there are shutter speeds that are not targeted for detection when differences in 534 and 556 are detected, the device does not detect differences at the remaining shutter speeds.
[0083] More specifically, the order of shutter speeds targeted for detection when the individual control device 452 detects the difference parts 534 and 556 is pre-set to 25,000 ms, 15,000 ms, 40,000 ms, 8,000 ms, and 70,000 ms. Therefore, in the above explanation, the individual control device 452 detected the difference part 534 based on the outline of the lead part at a shutter speed of 70,000 ms, and thus detected the presence or absence of the difference part 534 based on the outline of the lead part at five different shutter speeds. On the other hand, the individual control device 452 detected the difference part 556 based on the color map of the lead part at a shutter speed of 40,000 ms, and thus detected the presence or absence of the difference part 556 based on the color map of the lead part at three different shutter speeds. Therefore, when the individual control unit 452 detects a difference 556 based on the color map of the lead component at a shutter speed of 40,000 ms, it does not detect the difference 556 based on the color map of the lead component at shutter speeds of 8,000 ms and 70,000 ms. In other words, when a difference 556 is detected, shutter speeds of 8,000 ms and 70,000 ms, which are not targeted for detection, remain. Therefore, the individual control unit 452 does not detect the difference 556 at the remaining shutter speeds of 8,000 ms and 70,000 ms. This makes it possible to save the time required to detect the difference 556 at shutter speeds of 8,000 ms and 70,000 ms, thereby shortening the detection time.
[0084] In this way, the individual control device 452 automatically creates front / back determination data in the loose parts supply device 32. This makes it possible to reduce the burden on the worker. Furthermore, the individual control device 452 creates the front / back determination data according to a predetermined algorithm. As a result, the problem of the front / back determination result differing from worker to worker is eliminated.
[0085] Furthermore, by performing the above-described process, before the parts supply operation is performed in the loose parts supply device 32, the data for determining the front / back side of the protruding part and the shutter speed for determining the front / back side of the protruding part, or the data for determining the front / back side of the patterned part and the shutter speed for determining the front / back side of the patterned part, are registered in the storage device 458. Then, when the parts supply operation is performed in the loose parts supply device 32, the individual control device 452 determines whether the lead parts in the first orientation scattered on the stage 156 are front lead parts or back lead parts, based on the various data registered in the storage device 458.
[0086] More specifically, when the protruding part front / back determination data and the shutter speed for protruding part front / back determination are registered in the storage device 458, the two-dimensional camera 290 images the lead parts scattered on the stage 156 using the shutter speed for protruding part front / back determination. Then, the individual control device 452 identifies the lead part in the first orientation based on the image data and reference data. Furthermore, the individual control device 452 determines whether or not the image data includes the protruding part front / back determination data. If the image data includes the protruding part front / back determination data, the individual control device 452 determines that the lead part in the first orientation to be determined is a back-side lead part. On the other hand, if the image data does not include the protruding part front / back determination data, the individual control device 452 determines that the lead part in the first orientation to be determined is a front-side lead part.
[0087] Furthermore, if pattern area front / back determination data and shutter speed for pattern area front / back determination are registered in the storage device 458, the two-dimensional camera 290 images the lead parts scattered on the stage 156 with the shutter speed for pattern area front / back determination. The individual control device 452 then identifies the lead part in the first orientation based on the image data and reference data. The individual control device 452 then determines whether or not the image data includes pattern area front / back determination data. If the image data includes pattern area front / back determination data, the individual control device 452 determines that the lead part in the first orientation to be determined is a back-side lead part. On the other hand, if the image data does not include pattern area front / back determination data, the individual control device 452 determines that the lead part in the first orientation to be determined is a front-side lead part.
[0088] In this way, the individual control device 452 can appropriately determine whether the lead components in the first orientation scattered on the stage 156 are front-side lead components or back-side lead components by determining this based on various data registered in the storage device 458.
[0089] Incidentally, stage 156 is an example of a stage. Lead component 410 is an example of a component. Individual control device 452 is an example of an information processing device.
[0090] In the embodiments described above, the following effects are achieved.
[0091] The two-dimensional camera 290 images the surface of the lead component 410 placed on the stage 156 at multiple shutter speeds. The two-dimensional camera 290 also images the back surface of the lead component 410 placed on the stage 156 at multiple shutter speeds. The individual control device 452 then determines whether there are any differences between the surface and back surfaces of the lead component based on the image data of the surface lead component captured at the optimal shutter speed among the multiple shutter speeds, and the image data of the back surface lead component captured at the optimal shutter speed among the multiple shutter speeds. This makes it possible to appropriately distinguish between the surface and back surface of the lead component.
[0092] Furthermore, the individual control device 452 compares the image data of the front lead component and the image data of the back lead component taken at the same shutter speed, from among the multiple image data of the front lead component and the multiple image data of the back lead component taken at multiple shutter speeds. Then, the individual control device 452 sets the shutter speed of the image data that allows for the determination of different parts on the front and back surfaces of the lead component as the optimal shutter speed. This makes it possible to appropriately determine the front and back surfaces of the lead component.
[0093] Furthermore, the individual control device 452 sequentially compares multiple image data of the front lead component and multiple image data of the back lead component, which were captured at multiple shutter speeds, using shutter speeds in a predetermined order. The individual control device 452 then sets the shutter speed of the image data that allows for the determination of different parts between the front lead component and the back lead component as the optimal shutter speed. In this process, even if there is remaining image data at shutter speeds for which the comparison of image data between the front lead component and the back lead component has not been completed, the individual control device 452 does not perform the comparison of the remaining image data between the front lead component and the back lead component. This reduces the calculation time for determining different parts between the front lead component and the back lead component.
[0094] Furthermore, the individual control device 452 determines whether there are any areas where the outlines of the front lead component and the back lead component differ, based on the image data of the front lead component captured at the optimal shutter speed and the image data of the back lead component captured at the optimal shutter speed. This makes it possible to appropriately determine areas where the outlines of the front lead component and the back lead component differ.
[0095] Furthermore, the individual control device 452 determines whether there are different parts inside the outlines of the front lead component and the back lead component based on the image data of the front lead component captured at the optimal shutter speed and the image data of the back lead component captured at the optimal shutter speed. This makes it possible to appropriately determine the different parts inside the outlines of the front lead component and the back lead component.
[0096] Furthermore, the individual control device 452 calculates the outline of the surface lead component by comparing the imaging data of the surface lead component placed on the stage 156 with the imaging data of the stage 156 without the lead component. The individual control device 452 also calculates the outline of the back-side lead component by comparing the imaging data of the back-side lead component placed on the stage 156 with the imaging data of the stage 156 without the lead component. This allows for the appropriate calculation of the outlines of both the surface and back-side lead components.
[0097] It should be noted that the present invention is not limited to the above embodiments, and can be implemented in various modified or improved forms based on the knowledge of those skilled in the art. Specifically, for example, in the above embodiments, the optimal shutter speed for the front lead component and the optimal shutter speed for the back lead component are the same, but the optimal shutter speed for the front lead component and the optimal shutter speed for the back lead component may be different.
[0098] Furthermore, in the above embodiment, the image data of the front lead component and the image data of the back lead component are sequentially compared at shutter speeds in a predetermined order, but they may be compared sequentially at shutter speeds in any order.
[0099] Furthermore, in the above embodiment, front / back determination data is created to determine the front and back surfaces of the lead component. However, the data is not limited to the front and back surfaces, and front / back determination data may also be created to determine a first surface of the lead component and a second surface different from the first surface.
[0100] Furthermore, in the above embodiment, hue H, saturation S, and lightness V are used as color information, but at least one of hue H, saturation S, and lightness V may be used. In addition, color information other than hue H, saturation S, and lightness V, such as luminance, may be used as color information.
[0101] Furthermore, in the above embodiment, the individual control device 452 of the component mounting machine 10 creates the front / back determination data, but an information processing device different from the component mounting machine 10 may also create the front / back determination data. The front / back determination data created by an information processing device different from the component mounting machine 10 is registered in the storage device 458.
[0102] Furthermore, although the present invention is applied to the leaded component 410 in the above embodiment, the present invention can be applied to various types of components. Specifically, for example, the present invention can be applied to components of solar cells, components of power modules, electronic circuit components without leads, and the like.
[0103] Furthermore, in the above embodiment, the presence or absence of a difference portion 534 in the outer shape of the lead component is determined first, and then the presence or absence of a difference portion 556 inside the outer shape of the lead component is determined. On the other hand, the presence or absence of a difference portion 556 inside the outer shape of the lead component may be determined first, and then the presence or absence of a difference portion 534 in the outer shape of the lead component may be determined.
[0104] This specification also discloses a technical concept in which "the information processing device described in claim 1" is changed to "the information processing device described in any one of claims 1 to 3" in claim 4 of the original application. Furthermore, this specification also discloses a technical concept in which "the information processing device described in claim 1" is changed to "the information processing device described in any one of claims 1 to 3" in claim 5 of the original application.
[0105] 156: Stage 410: Lead component (part) 452: Individual control device (information processing device)
Claims
1. An information processing device that determines the presence or absence of different parts between the first and second surfaces of a component placed on a stage, based on image data of the first surface captured at the optimal shutter speed from among multiple image data captured at multiple shutter speeds, and image data of the second surface, which is different from the first surface of the component placed on the stage, captured at the optimal shutter speed from among multiple image data captured at multiple shutter speeds.
2. The information processing apparatus according to claim 1, wherein the shutter speed of the image data that allows for the determination of different parts of the first surface and the second surface is set as the optimal shutter speed, by comparing the image data of the first surface and the image data of the second surface taken at the same shutter speed from among the plurality of image data of the first surface taken at the plurality of shutter speeds and the plurality of image data of the second surface taken at the plurality of shutter speeds.
3. The information processing apparatus according to claim 2, wherein the apparatus sequentially compares, among the plurality of image data of the first surface captured at the plurality of shutter speeds and the plurality of image data of the second surface captured at the plurality of shutter speeds, the image data of the first surface and the image data of the second surface captured at the plurality of shutter speeds at the same shutter speed in a predetermined order of shutter speeds, and sets the shutter speed of the image data that makes it possible to determine different parts of the first surface and the second surface as the optimal shutter speed, and in this case, even if there is remaining image data at shutter speeds for which the comparison between the image data of the first surface and the image data of the second surface has not been completed, the apparatus does not perform the comparison between the remaining image data of the first surface and the image data of the second surface.
4. The information processing apparatus according to claim 1, which determines whether or not there are parts of the first surface and the second surface that have different outlines, based on the imaging data of the first surface imaged at the optimal shutter speed and the imaging data of the second surface imaged at the optimal shutter speed.
5. The information processing apparatus according to claim 1, which determines whether or not there are different parts inside the outlines of the first surface and the second surface based on the imaging data of the first surface imaged at the optimal shutter speed and the imaging data of the second surface imaged at the optimal shutter speed.
6. The information processing apparatus according to claim 4 or 5, wherein the outline of the first surface is calculated by comparing imaging data of the first surface of the component placed on the stage with imaging data of the stage on which the component is not placed, and the outline of the second surface is calculated by comparing imaging data of the second surface of the component placed on the stage with imaging data of the stage on which the component is not placed.
