Recognition device and recognition method

The recognition device optimizes shutter speed to minimize missing images, enhancing image recognition accuracy by using projectors, a measurement camera, and an image analysis unit to select the optimal shutter speed.

JP7562858B2Active Publication Date: 2024-10-07FUJI CORP

Patent Information

Application Number
JP2023529416
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-25
Publication Date
2024-10-07
Estimated Expiration
2041-06-25

AI Technical Summary

Technical Problem

Existing recognition devices do not account for the varying rate of missing images in imaging data based on shutter speed, which affects the accuracy of image recognition.

Method used

A recognition device that varies shutter speed between a lower and upper limit to minimize the percentage of missing images in imaging data, using projectors to irradiate light, a measurement camera to capture images, and an image analysis unit to calculate and select the optimal shutter speed based on image comparison and missing image percentage.

Benefits of technology

The device automatically selects a shutter speed that ensures a low percentage of missing images, improving image recognition accuracy and stability without operator intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562858000001
    Figure 0007562858000001
  • Figure 0007562858000002
    Figure 0007562858000002
  • Figure 0007562858000003
    Figure 0007562858000003
Patent Text Reader

Abstract

An image analysis unit 62 executes: instruction processing (S10-S18) for instructing a measurement camera 53 to capture images of an electronic component 80 while varying the shutter speed thereof between a prescribed lower limit speed and a prescribed upper limit speed; calculation processing (S20-S30) for comparing images of lower surfaces 82a of respective leads 82, which are included in each of a plurality of imaging data sets acquired from the measurement camera 53 in accordance with the instruction processing, and ideal images of the lower surfaces 82a of the respective leads 82, which are included in ideal imaging data, and calculating, for each of the plurality of imaging data sets, the ratio of the images of the lower surfaces 82a of the respective leads 82 that are missing with respect to the ideal images; detection processing (S40) for detecting, among the plurality of missing ratios calculated in the calculation processing, imaging data for which the missing ratio is equal to or less than a prescribed first threshold; and selection processing (S44) for selecting the shutter speed used for capturing the imaging data detected in the detection processing.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a recognition device and a recognition method for recognizing the state of a predetermined characteristic portion of a component mounted on a board. [Background technology]

[0002] Patent Document 1 describes a recognition device that captures images of the tips of the leads of a lead component multiple times at different shutter speeds using an imaging device to create multiple pieces of imaging data, determines whether the position of the lead tip can be recognized based on each of the multiple pieces of imaging data, and determines as an optimal shutter speed a shutter speed between the fastest and slowest shutter speeds used during imaging according to imaging data that is determined to be recognizable. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. WO2018 / 047252 A1 Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, the rate at which the image of the created imaging data is lost varies depending on the shutter speed at the time of capturing the image. Therefore, when performing image recognition based on the imaging data, in order to improve the accuracy of the image recognition, imaging data with a smaller rate of image loss is required. Therefore, as the shutter speed at which the imaging data is created, it is required to select a shutter speed at which the rate of image loss is equal to or less than a predetermined threshold.

[0005] However, the recognition device described in Patent Document 1 does not take into consideration the fact that the rate at which images are lost in the created imaging data varies depending on the shutter speed used during imaging.

[0006] An object of the present disclosure is to provide a recognition device and a recognition method that make it possible to select a shutter speed at which the rate of image loss in the created imaging data is equal to or lower than a predetermined threshold. [Means for solving the problem]

[0007] In order to achieve the above object, the recognition device of the present disclosure is a recognition device that recognizes a state of a predetermined characteristic part of a component mounted on a board, the recognition device including the predetermined characteristic part, the recognition device including a light source that irradiates light onto a component including the predetermined characteristic part, an imaging device that images the component receiving the light irradiated by the light source, and an image analysis device that performs image analysis of imaging data captured by the imaging device and acquired from the imaging device to recognize the state of the predetermined characteristic part of the component, and the image analysis device executes the following steps: an instruction process that instructs the imaging device to image the component while varying its shutter speed between a predetermined lower limit speed and a predetermined upper limit speed; a calculation process that compares images of the predetermined characteristic part included in each of multiple imaging data acquired from the imaging device in accordance with the instruction process with an ideal image of the predetermined characteristic part included in ideal imaging data, and calculates a missing ratio of the image of the predetermined characteristic part compared to the ideal image for each of the multiple imaging data; a detection process that detects imaging data having a missing ratio equal to or less than a predetermined first threshold value from the multiple missing ratios calculated by the calculation process; and a selection process that selects the shutter speed used for capturing the imaging data detected by the detection process. Effect of the Invention

[0008] According to the present disclosure, it is possible to select a shutter speed at which the rate of image loss in the created imaging data is equal to or less than a predetermined first threshold value. [Brief description of the drawings]

[0009] [Figure 1] 1 is a plan view showing an entire component mounter according to an embodiment of the present disclosure. [Diagram 2] 1 is a block diagram showing a control device of a component mounter to which the recognition device is applied; [Diagram 3]4 is a schematic diagram showing the positional relationship between a suction nozzle and a measurement unit. FIG. [Figure 4] FIG. 1 is a diagram showing an inspection surface of an electronic component whose shape has been measured; [Diagram 5] 5 is an enlarged view of a portion of image data captured at different shutter speeds, the portion corresponding to region A in FIG. 4. [Figure 6] 3 is a flowchart showing the procedure of a shutter speed selection process executed by an image analysis unit in FIG. 2. [Figure 7] 7 is a flowchart showing a continuation of the shutter speed selection process in FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. FIG. 1 shows a component mounter 1. The component mounter 1 is a device for performing mounting work of electronic components on a circuit board 70. As shown in FIG. 1, the component mounter 1 includes a board transport device 10, a component supply device 20, a component transfer device 30, a component camera 41, a board camera 42, a recognition device 50, and a control device 60. In the following description, the horizontal width direction (left-right direction in FIG. 1) of the component mounter 1 is defined as the X-axis direction, the horizontal length direction (up-down direction in FIG. 1) of the component mounter 1 is defined as the Y-axis direction, and the vertical direction perpendicular to the X-axis and Y-axis (front-back direction in FIG. 1) is defined as the Z-axis direction.

[0011] The board transport device 10 is configured with a belt conveyor or the like, and sequentially transports the circuit board 70 in a transport direction. The board transport device 10 positions the circuit board 70 at a predetermined position within the component mounter 1. Then, the board transport device 10 transports the circuit board 70 out of the component mounter 1 after the mounting process is performed by the component mounter 1.

[0012] The component supplying device 20 supplies electronic components to be mounted on the circuit board 70. The component supplying device 20 has a plurality of slots arranged side by side in the X-axis direction. A feeder 21 is removably set in each of the plurality of slots. The component supplying device 20 feeds and moves the carrier tape using the feeder 21, and supplies electronic components at a take-out section located on the tip side of the feeder 21 (upper side in FIG. 1).

[0013] Furthermore, the component supplying device 20 supplies relatively large electronic components, such as lead components, in a state where they are arranged on a tray 22. The component supplying device 20 stores a plurality of trays 22 in a storage shelf 23 that is partitioned in the vertical direction, and pulls out a desired tray 22 according to the mounting process to supply electronic components, such as lead components.

[0014] The component transfer device 30 is configured to be movable in the X-axis and Y-axis directions. The component transfer device 30 is disposed from the rear side (upper side in FIG. 1) in the longitudinal direction of the component mounter 1 to above the component supply device 20 on the front side. The component transfer device 30 includes a head drive device 31, a movable stage 32, and a mounting head 33. The head drive device 31 is configured to be capable of moving the movable stage 32 in the X-axis and Y-axis directions by a linear motion mechanism.

[0015] The mounting head 33 is a holding device that is detachably provided on the moving stage 32 of the head driving device 31 and holds electronic components. The mounting head 33 also supports a plurality of suction nozzles 34 (see FIG. 3) that are detachably provided on a plurality of nozzle holders. The mounting head 33 supports each of the suction nozzles 34 so as to be rotatable around an R axis that is parallel to the Z axis and so as to be movable up and down.

[0016] The lifting position (position in the Z-axis direction), angle, and negative pressure supply state of each of the suction nozzles 34 relative to the mounting head 33 are controlled. When negative pressure is supplied to the suction nozzles 34, the suction nozzles 34 suck up and hold electronic components supplied at the take-out section of the feeder 21 and electronic components supplied by the tray 22. With this configuration, the mounting head 33 of this embodiment holds electronic components by suction.

[0017] The component camera 41 and the board camera 42 are digital imaging devices having imaging elements such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). The component camera 41 and the board camera 42 capture images of the range that falls within the camera's field of view based on a control signal from a control device 60 that is communicatively connected, and transmit the captured image data to the control device 60.

[0018] The component camera 41 is fixed to the base of the component mounter 1 so that its optical axis is in the vertical direction (Z-axis direction), and is configured to be able to capture images from below the component transfer device 30. More specifically, the component camera 41 is configured to be able to capture images of the underside of the electronic component held by the suction nozzle 34. In particular, the lens unit of the component camera 41 is set to focus on an object at a certain distance from the imaging element. Also, the camera field of view of the lens unit of the component camera 41 is set to a size that can accommodate all of the suction nozzles 34 supported by the mounting head 33.

[0019] The board camera 42 is provided on the movable stage 32 of the component transfer device 30 so that its optical axis faces downward in the vertical direction (Z-axis direction). The board camera 42 is configured to be able to capture an image of the circuit board 70. The control device 60 acquires the captured image data from the board camera 42 and recognizes the positioning state of the circuit board 70 by the board transport device 10, for example by recognizing a positioning mark attached to the board through image processing. The control device 60 then corrects the position of the movable stage 32 in accordance with the positioning state of the circuit board 70, and controls the mounting process to mount the electronic components.

[0020] The recognition device 50 measures the three-dimensional position (spatial position indicated by three-dimensional coordinates) of a measurement point set on an electronic component. Note that the recognition device 50 is configured including an image analysis unit 62 included in the next control device 60, and therefore a detailed description of the recognition device 50 will be given later.

[0021] The control device 60 is mainly composed of a CPU, various memories, a display, and a control circuit. The control device 60 controls a mounting process for mounting electronic components on a circuit board 70 based on imaging data acquired by imaging with the component camera 41 and the board camera 42, and a result of a judgment on the suitability of the electronic components by a recognition device 50 described later. As shown in Fig. 2, the control device 60 has an input / output interface 67 connected to the mounting control unit 61, the image analysis unit 62, and the storage device 66 via a bus. A motor control circuit 68 and an imaging control circuit 69 are connected to the input / output interface 67.

[0022] The mounting control unit 61 controls the position of the mounting head 33 and the operation of the suction mechanism via the motor control circuit 68. More specifically, the mounting control unit 61 inputs information output from various sensors provided in the component mounter 1 and the results of various recognition processes. Then, the mounting control unit 61 sends a control signal to the motor control circuit 68 based on the control program stored in the storage device 66, the information from the various sensors, and the results of image processing and recognition processing. This controls the position and rotation angle of the suction nozzle 34 supported by the mounting head 33.

[0023] The image analysis unit 62 constitutes the recognition device 50 described below, and will be described in detail in the description of the configuration of the recognition device 50. The storage device 66 is composed of an optical drive device such as a hard disk device, or a flash memory, etc. This storage device 66 stores a control program for operating the component mounter 1, image data transferred from the component camera 41 and the board camera 42 to the control device 60 via a bus or a communication cable, temporary data of image processing by the recognition device 50, etc. The input / output interface 67 is interposed between the CPU or storage device 66 and each control circuit 68, 69, and converts data formats and adjusts signal strength.

[0024] The motor control circuit 68 is used to control each axis motor provided in the component transfer device 30 based on a control signal from the mounting control unit 61. This positions the mounting head 33 in each axial direction. In addition, by controlling the motor for each axis, the lift position (Z-axis direction position) and rotation angle of a specified suction nozzle 34 are determined.

[0025] The imaging control circuit 69 controls imaging by the component camera 41, the board camera 42, and the measurement camera 53 of the recognition device 50, based on an imaging control signal sent by the control device 60. The imaging control circuit 69 also acquires imaging data obtained by imaging by the component camera 41, the board camera 42, and the measurement camera 53, and stores the data in the storage device 66 via the input / output interface 67.

[0026] The recognition device 50 is a device that judges the suitability of electronic components. In this embodiment, the recognition device 50 is incorporated to form a part of the component mounter 1. The recognition device 50 judges the suitability of electronic components held by suction to the suction nozzles 34 of the component transfer device 30.

[0027] Here, the electronic component that is the subject of the suitability judgment by the recognition device 50 is an electronic component having a component body and a plurality of electrodes. The electrodes of the electronic component are provided on the component body, and are electrically connected to lands on the circuit board 70 after the electronic component is placed on the circuit board 70. Specifically, the electrodes are leads of a lead component, or protruding terminals of a chip component. In the following description, the electronic component 80 that is the subject of the suitability judgment is described as being the above-mentioned lead component.

[0028] As shown in FIG. 3, the electronic component 80 has a component body 81 and a plurality of leads 82 corresponding to the electrode portions. Here, the outer surface of the component body 81 and the outer surfaces of the plurality of leads 82 facing the opposite side (vertically downward) from the mounting head 33 side of the electronic component 80 held by the mounting head 33 are defined as the "inspection surface". That is, as shown in FIG. 3, in a state where the electronic component 80 is held by suction in a proper posture, that is, in a state where the body upper surface of the component body 81 is the suction surface 81a suctioned by the suction nozzle 34, the body lower surface 81b of the component body 81 and the lead lower surface 82a of the lead 82 are the "inspection surface". On the other hand, in a state where the electronic component 80 is held upside down, that is, in a state where the body lower surface 81b is the suction surface, the body upper surface of the component body 81 and the lead upper surface of the lead 82 are the "inspection surface".

[0029] The recognition device 50 measures the three-dimensional positions of measurement points set on the electronic component 80. In this embodiment, the recognition device 50 measures the three-dimensional position of each measurement point by measuring the three-dimensional shape of the inspection surface indicated by three-dimensional coordinates (hereinafter also simply referred to as the "three-dimensional shape").

[0030] The recognition device 50 has two projectors 51, 52 and a measurement camera 53 that acquire imaging data used to measure a three-dimensional shape, and an image analysis unit 62 (see FIG. 2) that constitutes a part of the control device 60. The two projectors 51, 52 and the measurement camera 53 are fixed to a base of the component mounter 1. The two projectors 51, 52 are arranged at positions shifted by 90° around the optical axis of the measurement camera 53, and are devices that project predetermined pattern light onto an object to be measured for its three-dimensional shape.

[0031] Each of the two projectors 51 and 52 generates a predetermined pattern light by using slits or transmissive liquid crystal from the light source, and projects the pattern light onto an object by a projection lens. In this embodiment, the pattern light projected by the projectors 51 and 52 is a striped pattern whose brightness changes in a sine wave shape.

[0032] The measurement camera 53 is a digital camera having an imaging element, similar to the component camera 41. As shown in Fig. 3, the measurement camera 53 is disposed at a specified distance Lp from the projector 51 (52) in the arrangement direction of the pattern light, and captures the pattern light projected onto the target object. The measurement camera 53 captures an image based on a control signal from the control device 60 connected so as to be able to communicate with the measurement camera 53, and transmits the captured image data to the control device 60.

[0033] The image analysis unit 62 measures the three-dimensional shape of the object based on a plurality of pieces of imaging data acquired by imaging the measurement camera 53. In this embodiment, the image analysis unit 62 measures the three-dimensional shape of the object by a phase shift method using a plurality of pieces of imaging data corresponding to each pattern light. Note that the phase shift method is well known, so a detailed description of the method will be omitted.

[0034] FIG. 4 shows the three-dimensional shape of the electronic component 80 visualized by the image analysis unit 62, and the height (Z coordinate) of each part is indicated by the brightness (shading in FIG. 4) of the part. FIG. 5 is an enlarged view of a part corresponding to the region A of the three-dimensional shape of the electronic component 80 in FIG. 4. FIG. 5(a) and FIG. 5(b) are different in that they are visualized based on imaging data captured at different shutter speeds. In FIG. 5(a) and FIG. 5(b), the regions 82a11-82a14 and 82a21-82a24 surrounded by dashed lines are regions in which visualized images of the lower surfaces 82a of the four leads 82 included in the regions A1 and A2, respectively. In other words, it is ideal that the visualized images of the lower surfaces 82a of the four leads 82 are present throughout the entire regions 82a11-82a14 and 82a21-82a24. However, in both the regions 82a11-82a14 in FIG. 5(a) and the regions 82a21-82a24 in FIG. 5(b), the visualized images of the lower surfaces 82a of the four leads 82 are not present throughout the entire region, and image loss occurs. However, the image loss rate in the regions 82a21-82a24 in FIG. 5(b) is smaller than the image loss rate in the regions 82a11-82a14 in FIG. 5(a). This image loss rate varies depending on the shutter speed when capturing the original imaging data. The smaller the image loss rate, the higher the accuracy of image recognition, so it is necessary to select a shutter speed that minimizes the image loss rate.

[0035] 6 and 7 show the steps of the shutter speed selection process executed by the image analysis unit 62, particularly the CPU. Hereinafter, in the explanation of each process step, the step will be abbreviated as "S." The shutter speed selection process is appropriately executed before starting component mounting, when changing the component to be mounted, or when the recognition device 50 including the measurement camera 53 has changed over time.

[0036] 6, first, the CPU sets the shutter speed of the measurement camera 53 to an initial value (S10). In this embodiment, the shutter speed is changed in multiple steps between a predetermined lower limit speed and a predetermined upper limit speed to capture an image of the component, so the initial value is, for example, the predetermined lower limit speed. The predetermined lower limit speed may be the slowest shutter speed that can be set in the measurement camera 53, or may not be the slowest shutter speed, but may be a shutter speed faster than the slowest shutter speed. Before the process proceeds to S10, that is, before the shutter speed selection process is executed, or immediately after the process of S10, the CPU causes the suction nozzle 34 to pick up the electronic component 80 to be measured, and positions the mounting head 33 in each axial direction, thereby moving the electronic component 80 to a measurement position above the measurement camera 53.

[0037] Next, the CPU instructs the measurement camera 53 to capture an image at the set shutter speed (S12). In response to this instruction, the measurement camera 53 captures an image of the inspection surface of the electronic component 80 at the set shutter speed, and the CPU acquires the generated image data from the measurement camera 53, binarizes the image data, and stores the image data in the storage device 66 (see FIG. 2) (S14). The image data acquired from the measurement camera 53 has an integer value, for example, any one of 0 to 255, that is, a brightness value, for each pixel. Binarization is a process in which a pixel having a brightness value exceeding a predetermined threshold is set to "1" and a pixel having a brightness value equal to or less than the predetermined threshold is set to "0". After binarization, a pixel that has become "0" is determined to be a missing pixel, and a pixel that has become "1" is determined to be a non-missing pixel. This makes it easier to determine a missing pixel than to determine the image data before binarization. Note that in S14, the image data to be binarized is image data directly acquired from the measurement camera 53, but in reality, it is data indicating a three-dimensional shape after visualization based on the image data directly acquired from the measurement camera 53. The reason for describing it this way is to avoid complicating the explanation.

[0038] Next, the CPU judges whether or not to end the imaging by the measurement camera 53 (S16). This judgement is made by judging whether or not the shutter speed has been changed to the above-mentioned predetermined upper limit speed. In this judgement, if the shutter speed has not been changed to the predetermined upper limit speed, that is, if the imaging by the measurement camera 53 is not to be ended (S16: NO), the CPU changes the current shutter speed to a shutter speed after increasing it by a predetermined interval (S18), and then returns the process to the above-mentioned S12. Thereafter, the CPU continues the process of instructing the measurement camera 53 to capture an image (S12) while sequentially changing the shutter speed (S18), binarizing the imaging data acquired from the measurement camera 53 in response to this, and storing it in the storage device 66 (S14) until the shutter speed reaches the predetermined upper limit speed. Then, when the shutter speed reaches the predetermined upper limit speed, the CPU judges that the imaging by the measurement camera 53 is to be ended (S16: YES), and proceeds to the process to S20. The predetermined increment by which the speed is increased in S18 may be constant from the predetermined lower limit speed to the predetermined upper limit speed, or may be varied in several steps along the way.

[0039] In S20, the CPU reads out one of the plurality of binarized imaging data stored in S14 from the storage device 66. In the following S22, the CPU compares an image of the characteristic part of the read imaging data with an image of the characteristic part of the ideal imaging data. Here, it goes without saying that the ideal imaging data to be compared is the binarized ideal imaging data. In this embodiment, the characteristic part is a part of the inspection surface where height measurement is to be performed, specifically, the lower surface 82a of each lead 82. When the electronic component 80 to be measured and its inspection surface are determined, and the measurement position of the electronic component 80 above the measurement camera 53 is determined, information for identifying the characteristic part, such as the coordinates and size of the characteristic part in the imaging data acquired from the measurement camera 53, is determined. Therefore, if information for identifying the characteristic part in the imaging data is stored in advance in the storage device 66, in S22, the CPU can identify the characteristic part of the imaging data based on the read information, and easily compare an image included in the identified characteristic part of the read imaging data with an image included in the identified characteristic part of the ideal imaging data.

[0040] Next, the CPU calculates the ratio of missing images of the imaged feature portion of the read-out image data to the imaged feature portion of the ideal image data (S24). Now, the imaged data to be processed is the imaged data shown in FIG. 5(a). However, FIG. 5(a) shows only the imaged data included in the region A1, which is a part of the entire image data. In FIG. 5(a), the identified feature portions are the regions 82a11-82a14. In FIG. 5(a), the dark portions included in the imaged data, i.e., the portions where the image is not missing, correspond to "1" after binarization, and the light portions, i.e., the portions where the image is missing, correspond to "0" after binarization, so that the missing image ratios in each of the regions 82a11-82a14 are calculated as values ​​between 20% and 50%. Note that the identified feature portions are not only the regions 82a11-82a14 but also cover the entire region corresponding to each lower surface 82a of all the leads 82, so that the missing image ratios are calculated for each of the entire regions. When the feature portion thus identified spans multiple regions in the imaging data, the loss ratio is calculated for each region, so that multiple loss ratios are calculated. When multiple loss ratios are calculated, in this embodiment, the CPU further calculates an average value of the calculated multiple loss ratios.

[0041] Next, the CPU stores the calculated loss ratio in the storage device 66 (S26). At this time, if there are multiple calculated loss ratios, their average is calculated as described above, and in S26, the CPU stores the calculated average loss ratio. In addition, the CPU stores the shutter speed of the imaging data on which the loss ratio is calculated, in association with the loss ratio.

[0042] Next, the CPU judges whether the loss ratio has been calculated for all the stored imaging data (S28). In this judgment, if imaging data for which the loss ratio has not been calculated still remains in the storage device 66 (S28: NO), the CPU changes the imaging data to be read to the next imaging data (S30), and then returns the process to the above S20. Thereafter, the CPU reads imaging data (S20) while sequentially changing the imaging data to be read (S30), calculates the loss ratio of the specified feature part based on the read imaging data (S22, S24), and stores the calculated loss ratio in the storage device 66 (S26) until there is no imaging data stored in the storage device 66. Then, when there is no imaging data for which the loss ratio has not been calculated in the storage device 66 (S28: YES), the CPU advances the process to S40 in FIG. 7.

[0043] In S40, the CPU detects the minimum missing ratio among the multiple missing ratios stored in the storage device 66. FIG. 5(b) shows imaging data captured at a shutter speed different from that of FIG. 5(a) as described above. Since the missing ratio of the image in each of the regions 82a21-82a24 in FIG. 5(b) is calculated as a value between several percent and 10%, if the missing ratio of the image of the specified characteristic part other than the regions 82a21-82a24 in the imaging data also has a similar tendency, the missing ratio (average value) of the image of the specified characteristic part in the imaging data is smaller than the missing ratio (average value) of the imaging data in FIG. 5(a). In this way, the missing ratio of the image of the characteristic part identified by the imaging data varies, so it is possible to detect the minimum missing ratio.

[0044] Next, the CPU judges whether the detected minimum missing ratio is equal to or greater than a predetermined value (an example of a "predetermined second threshold value") (S42). The predetermined value is the maximum value of the missing ratio of the image of the characteristic part that is acceptable for the image analysis unit 62 to perform image analysis of the characteristic part identified based on the imaging data. Therefore, in S42, the CPU judges whether the missing ratio of the image of the characteristic part exceeds the allowable range for performing image analysis of the characteristic part even if it is minimum. In the judgment in S42, if the detected minimum missing ratio is less than the predetermined value (S42: NO), that is, if the minimum value of the missing ratio of the image of the characteristic part is within the allowable range for performing image analysis of the characteristic part, the CPU selects the shutter speed when the imaging data for which the minimum missing ratio was calculated was captured (S44). As described above, the storage device 66 also stores the shutter speed in association with the calculated missing ratio, so in S44, the CPU reads out and selects the shutter speed associated with the detected minimum missing ratio. The selected shutter speed is stored in the storage device 66 as the shutter speed of the measurement camera 53 when component mounting begins. After the process of S44, the CPU ends the shutter speed selection process.

[0045] On the other hand, in the judgment of S42, if the detected minimum loss ratio is equal to or greater than the predetermined value (S42: YES), that is, if the minimum value of the loss ratio of the image of the characteristic part exceeds the allowable range for performing image analysis of the characteristic part, the CPU issues a notice to warn the operator (S46). The notice is issued, for example, by displaying a warning message on the display included in the recognition device 50. Alternatively, the notice may be issued by generating a sound. Also, the notice may be issued simultaneously by display and sound.

[0046] Next, the CPU inquires of the operator whether to change the conditions and execute the process from S12 again (S48). As with the warning notification in S46, the inquiry method may be a method of displaying on a display, a method of announcing a voice, or a method of both displaying and announcing. If the operator refuses to execute the process again with the changed conditions in response to the inquiry in S48 (S48: NO), the CPU ends the shutter speed selection process. On the other hand, if the operator agrees to execute the process again with the changed conditions (S48: YES), the CPU changes the conditions according to the operator's instructions (S50), and then returns the process to S12 (FIG. 6). Specifically, the change in conditions may be made by changing the predetermined lower limit speed and the predetermined upper limit speed to other predetermined values, changing the predetermined interval width increased in S18 to other predetermined values, or changing the illumination conditions such as the illumination intensity and the illumination angle.

[0047] As described above, the recognition device 50 of this embodiment is a recognition device that recognizes the state of the underside 82a of each lead 82 of the electronic component 80 mounted on the circuit board 70. The recognition device 50 includes projectors 51, 52 that irradiate light onto the electronic component 80 including the underside 82a of each lead 82, a measurement camera 53 that images the electronic component 80 that has received the light irradiated by the projectors 51, 52, and an image analysis unit 62 that performs image analysis on the image data captured by the measurement camera 53 and acquired from the measurement camera 53, and recognizes the state of the underside 82a of each lead 82 of the electronic component 80. Then, the image analysis unit 62 executes an instruction process (S10 to S18) for instructing the measurement camera 53 to capture an image of the electronic component 80 while varying the shutter speed in multiple stages between a predetermined lower limit speed and a predetermined upper limit speed, a calculation process (S20 to S30) for comparing images of the underside 82a of each lead 82 contained in each of the multiple pieces of imaging data acquired from the measurement camera 53 in accordance with the instruction process with an ideal image of the underside 82a of each lead 82 contained in the ideal imaging data, and calculating, for each of the multiple pieces of imaging data, a missing portion ratio at which the image of the underside 82a of each lead 82 is missing from the ideal image, a detection process (S40) for detecting the imaging data with the smallest missing portion ratio among the multiple missing portion ratios calculated by the calculation process, and a selection process (S44) for selecting the shutter speed used to capture the imaging data detected by the detection process.

[0048] In this way, the recognition device 50 of this embodiment makes it possible to select a shutter speed that minimizes the rate at which images in the created imaging data are lost. In addition, because the shutter speed is selected automatically, it is possible to eliminate the need for the operator to select the shutter speed himself. This allows the operator to use the freed time for other purposes, thereby enabling more effective use of time. Furthermore, because the shutter speed is selected automatically, the selection of the shutter speed is stable and does not vary from operator to operator.

[0049] Incidentally, in this embodiment, the circuit board 70 is an example of a "board." The projectors 51 and 52 are an example of a "light source." The measurement camera 53 is an example of an "imaging device." The electronic component 80 is an example of a "component." The lower surface 82a of each lead 82 is an example of a "predetermined feature." The image analysis unit 62 is an example of an "image analysis device."

[0050] In this embodiment, the minimum loss rate is detected in S40, and the shutter speed when the imaging data for which the minimum loss rate is calculated in S44 is selected is selected, but this is not limited to the above. A threshold value for the loss rate (one example of a "predetermined first threshold value") may be determined in advance based on an allowable loss rate, and a shutter speed when imaging data with a loss rate equal to or less than the predetermined threshold may be selected. In this case, if it is calculated that the loss rate of certain imaging data is equal to or less than the predetermined threshold, the shutter speed when the imaging data was captured may be selected, and the detection process for the remaining imaging data may be stopped.

[0051] In the present embodiment, the part is imaged while varying the shutter speed in multiple steps between a predetermined lower limit speed and a predetermined upper limit speed, and the detection process is executed after the image is captured at all steps, but this is not limited to the above. After the image is captured at a certain shutter speed, the image data may be subjected to the above-mentioned processes of S22 to S26, and then the image may be captured at the next shutter speed. In this case, after the image is captured at a certain shutter speed, the loss ratio of the image data may be calculated, and if it is detected that the loss ratio is equal to or less than a predetermined threshold, the shutter speed at which the image data was captured may be selected, and the image capture at the remaining shutter speed steps may be stopped, and if it is detected that the loss ratio is greater than the predetermined threshold, the image capture at the next shutter speed step may be instructed.

[0052] The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit of the present invention.

[0053] (1) In the above embodiment, the recognition device 50 is included in the component mounter 1, but this is not limiting, and at least the image analysis unit 62 of the recognition device 50 may be provided outside the component mounter 1. Specifically, for example, it is conceivable that a PC is connected to the component mounter 1, and the shutter speed selection process (FIGS. 6 and 7) performed by the image analysis unit 62 is executed by the PC.

[0054] (2) In the above embodiment, the components that are the targets of recognition by the recognition device 50 are the electronic components 80 that are actually mounted on the circuit board 70 by the component mounter 1, and the imaging data that the recognition device 50 uses as the basis for image recognition is imaged by the measurement camera 53 in the process of mounting the electronic components 80. However, this is not limiting, and imaging data of components sucked up by nozzles provided on the component data creation device, which is not incorporated in the mounting line, may be obtained using an imaging device provided on an external component data creation device, and the recognition device provided in the component data creation device (or another device connected to the component data creation device) may analyze the images.

[0055] (3) In the above embodiment, the lower surface 82a of each lead 82 of the electronic component 80 is used as the feature for calculating the image loss ratio. However, it goes without saying that this is not limited to this.

[0056] (4) In the above embodiment, the image used by the recognition device 50 for image recognition is a three-dimensional image visualized by a phase shift method, but the method used for visualizing the three-dimensional image is not limited to the phase shift method. Also, the image is not limited to a three-dimensional image, and may be a two-dimensional image, that is, the imaging data itself acquired by the measurement camera 53. [Explanation of symbols]

[0057] 1...component mounter, 33...mounting head, 34...suction nozzle, 50...recognition device, 51, 52...projector, 53...measurement camera, 60...control device, 61...mounting control unit, 62...image analysis unit, 66...storage device, 67...input / output interface, 68...motor control circuit, 69...imaging control circuit, 70...circuit board, 80...electronic component, 82...lead, 82a...underside.

Claims

1. A recognition device for recognizing a state of a predetermined characteristic portion of a component mounted on a board, comprising: The recognition device includes: a light source that irradiates the part including the predetermined feature with light; an imaging device that images the component receiving the light irradiated by the light source; an image analyzing device that performs image analysis on image data acquired by the imaging device and recognizes a state of the predetermined characteristic portion of the component; Equipped with The image analysis device includes: an instruction process for instructing the imaging device to capture an image of the component while varying the shutter speed between a predetermined lower limit speed and a predetermined upper limit speed; a calculation process of comparing an image of the predetermined characteristic part included in each of a plurality of pieces of imaging data acquired from the imaging device in response to the instruction process with an ideal image of the predetermined characteristic part included in ideal imaging data, and calculating a missing ratio of the image of the predetermined characteristic part to the ideal image for each of the plurality of imaging data; a detection process for detecting imaging data having a missing ratio equal to or less than a first threshold value from among the plurality of missing ratios calculated by the calculation process; a selection process for selecting a shutter speed used for capturing the imaging data detected by the detection process; Run recognition device.

2. The image analysis device includes: a warning issuing process for issuing a warning when the loss ratio calculated by the calculation process for the imaging data detected by the detection process is equal to or greater than a predetermined second threshold value; Execute The recognition device according to claim 1 .

3. The image analysis device includes: A binarization process for binarizing the imaging data acquired from the imaging device Run In the calculation process, an image of the predetermined characteristic part included in the imaging data after the binarization process is compared with an ideal image of the predetermined characteristic part included in ideal imaging data after the binarization, and a missing ratio of the image of the predetermined characteristic part to the ideal image is calculated. The recognition device according to claim 1 or 2.

4. The image analysis device includes: A three-dimensional image generation process for generating a three-dimensional image based on the imaging data acquired from the imaging device Run performing image analysis on the three-dimensional image generated by the three-dimensional image generation process to recognize the state of the predetermined characteristic portion of the part; The recognition device according to any one of claims 1 to 3.

5. A method for recognizing a state of a predetermined characteristic portion of a component mounted on a board, comprising the steps of: The recognition method includes: an image analysis step of imaging the part including the predetermined characteristic portion with an imaging device that images the part receiving light irradiated by a light source that irradiates light onto the part, analyzing the image data acquired from the imaging device, and recognizing the state of the predetermined characteristic portion of the part; Including, In the image analysis step, an instruction process for instructing the imaging device to capture an image of the component while varying the shutter speed between a predetermined lower limit speed and a predetermined upper limit speed; a calculation process of comparing an image of the predetermined characteristic part included in each of a plurality of pieces of imaging data acquired from the imaging device in response to the instruction process with an ideal image of the predetermined characteristic part included in ideal imaging data, and calculating a missing ratio of the image of the predetermined characteristic part to the ideal image for each of the plurality of imaging data; a detection process for detecting imaging data having a missing ratio equal to or less than a first threshold value from among the plurality of missing ratios calculated by the calculation process; a selection process for selecting a shutter speed used for capturing the imaging data detected by the detection process; Run Recognition method.

Citation Information

Patent Citations

  • Component mounting machine

    WO2014184855A1

  • Recognition device

    WO2018047252A1

  • Illumination condition specifying device and illumination condition specifying method

    WO2018055757A1

Cited By

  • Component mounting machine

    WO2026120698A1