WO2021001996A1 - Component mounting system - Google Patents

Component mounting system Download PDF

Info

Publication number
WO2021001996A1
WO2021001996A1 PCT/JP2019/026655 JP2019026655W WO2021001996A1 WO 2021001996 A1 WO2021001996 A1 WO 2021001996A1 JP 2019026655 W JP2019026655 W JP 2019026655W WO 2021001996 A1 WO2021001996 A1 WO 2021001996A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
board
learning
mounting
component mounting
Prior art date
Application number
PCT/JP2019/026655
Other languages
French (fr)
Japanese (ja)
Inventor
光孝 稲垣
茂人 大山
春菜 成田
Original Assignee
株式会社Fuji
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社Fuji filed Critical 株式会社Fuji
Priority to PCT/JP2019/026655 priority Critical patent/WO2021001996A1/en
Priority to JP2021529658A priority patent/JP7257514B2/en
Publication of WO2021001996A1 publication Critical patent/WO2021001996A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages

Definitions

  • a component mounting line including one or a plurality of component mounting machines, an appearance inspection device installed on the board carry-out side of the component mounting line and determining the quality of the mounted state of each component mounted on the circuit board, and a component.
  • a component mounting system including a learning computer connected to a mounting line network and collecting and learning teacher data used for learning processing has been proposed (see, for example, Patent Document 1).
  • the control device of each component mounting machine is a reconstructed super-resolution processing unit that estimates a high-resolution image from a low-resolution image captured during production, and the learning result of the learning process of the learning computer during production.
  • It has a learning-type super-resolution processing unit that estimates a high-resolution image from a low-resolution image obtained by imaging a component based on the image.
  • the control device of each component mounting machine estimates a high-resolution image by reconstructive super-resolution processing and processes the estimated high-resolution image to recognize the component until the learning process of the learning computer is completed.
  • the control device of each component mounting machine switches to the learning type super-resolution processing to estimate the high-resolution image and processes the estimated high-resolution image to process the component. recognize.
  • control device of each component mounting machine switches to the reconstructive super-resolution processing when it is determined that the learning result of the teacher data needs to be updated during the execution period of the learning-type super-resolution processing.
  • a high-resolution image is estimated, and a learning result update request is sent to the learning computer.
  • the control device of each component mounting machine is reconstructed when the learning computer that receives the update request recollects the teacher data and relearns to update the learning result of the teacher data and completes the learning process. Switch from super-resolution processing to learning-type super-resolution processing.
  • the board after the mounting operation is imaged (the board after the component is mounted) and the image processing for recognizing the component is performed in the captured image to inspect the board after the component is mounted.
  • the inspection must be performed appropriately to ensure the quality of the board after component mounting.
  • the inspection is appropriately performed.
  • the main purpose is to ensure the quality of the board after mounting the components.
  • the present disclosure has taken the following measures to achieve the above-mentioned main purpose.
  • the component mounting system of the present disclosure is It is a component mounting system equipped with a plurality of component mounting machines that are lined up in the substrate transport direction and each has an imaging device that images a substrate.
  • the pre-component mounting board before the component mounting operation and the post-component mounting board after the mounting operation are imaged by the imaging device, and machine learning is performed based on the captured image of the pre-component mounting board. This is performed to acquire teacher data based on the captured image of the board after mounting the component, and machine learning is performed based on the acquired teacher data and the captured image of the board after mounting the component to generate learning data for component inspection.
  • Learning device and The component-mounted board is inspected by imaging the component-mounted board with the imaging device and performing image processing for recognizing the component in the captured image of the component-mounted board using the learning data for component inspection. Inspection equipment to be performed and The gist is to prepare.
  • the component mounting system of this disclosure includes a learning device and an inspection device.
  • the learning device images the pre-component mounting board and the post-component mounting board, performs machine learning based on the captured image of the pre-component mounting board, and acquires and acquires teacher data based on the captured image of the post-component mounting board.
  • Machine learning is performed based on the teacher data and the captured image of the board after mounting the components to generate learning data for component inspection.
  • the inspection device inspects the board after mounting the component by taking an image of the board after mounting the component and performing image processing for recognizing the component in the captured image of the board after mounting the component using the learning data for component inspection.
  • the recognition accuracy when recognizing the component from the captured image of the board after component mounting can be improved. Can be enhanced. As a result, the quality of the board can be ensured by appropriately inspecting the board after mounting the components.
  • FIG. 1 is a configuration diagram showing an outline of the configuration of the component mounting system 1 of the present embodiment.
  • FIG. 2 is an external perspective view of the component mounting machine 10.
  • FIG. 3 is an explanatory diagram showing an electrical connection relationship between the control device 60 and the management device 80 of the component mounting machine 10.
  • the left-right direction is the X-axis direction
  • the front-back direction is the Y-axis direction
  • the up-down direction is the Z-axis direction.
  • the component mounting system 1 includes a printing machine 2, a printing inspection machine 3, a plurality of (for example, 5) component mounting machines 10, and a management device 80 for managing the entire system. ..
  • the printing machine 2 prints solder on the substrate S to form a circuit pattern.
  • the printing inspection machine 3 inspects the state of the solder printed by the printing machine 2.
  • the plurality of component mounting machines 10 perform a mounting operation of mounting the components on the board and perform a mounting inspection of whether or not the components are mounted on the board.
  • the printing machine 2, the printing inspection machine 3, and the plurality of component mounting machines 10 are arranged side by side in the transport direction of the substrate S to form a production line.
  • the component mounting machine 10 has a component supply device 21 for supplying components, a substrate transfer device 22 for transporting a substrate, a head 40 having a suction nozzle for sucking the components, and an X-axis of the head 40. It includes a head moving device 30 that moves in the direction and the Y-axis direction, and a control device 60 (see FIG. 3) that controls the entire mounting machine.
  • the component mounting machine 10 images the parts camera 23 for capturing the suction posture of the component sucked by the suction nozzle, the nozzle station 24 accommodating the replacement suction nozzle, and the substrate S. It also has a mark camera 43 for this purpose.
  • the parts supply device 21 includes, for example, a tape reel around which carrier tape containing parts is wound at predetermined intervals, and a tape feeding mechanism that pulls out the carrier tape from the tape reel and sends it to a parts supply position by driving a drive motor. It is configured as a tape feeder.
  • the component supply device 21 (tape feeder) is detachably attached to a feeder stand (not shown) included in the component mounting machine 10.
  • the board transfer device 22 includes a pair of conveyor rails arranged at intervals in the Y-axis direction, and by driving the pair of conveyor rails, the board is moved from left to right (board transfer direction) in FIG. Transport.
  • the head moving device 30 includes a pair of X-axis guide rails 31, an X-axis slider 32, an X-axis actuator 33 (see FIG. 3), a pair of Y-axis guide rails 35, and a Y-axis. It includes a slider 36 and a Y-axis actuator 37 (see FIG. 3).
  • the pair of Y-axis guide rails 35 are installed on the upper stage of the housing 11 so as to extend parallel to each other in the Y-axis direction.
  • the Y-axis slider 36 is bridged over a pair of Y-axis guide rails 35 and moves in the Y-axis direction along the Y-axis guide rail 35 by being driven by the Y-axis actuator 37.
  • the pair of X-axis guide rails 31 are installed on the lower surface of the Y-axis slider 36 so as to extend parallel to each other in the X-axis direction.
  • the X-axis slider 32 is bridged over a pair of X-axis guide rails 31 and moves in the X-axis direction along the X-axis guide rail 31 by driving the X-axis actuator 33.
  • a head 40 is attached to the X-axis slider 32, and the head moving device 30 moves the head 40 in the X-axis direction and the Y-axis direction by moving the X-axis slider 32 and the Y-axis slider 36. ..
  • the head 40 includes a Z-axis actuator 41 (see FIG. 3) that moves the suction nozzle in the Z-axis (up and down) direction, and a ⁇ -axis actuator 42 (see FIG. 3) that rotates the suction nozzle around the Z-axis.
  • a Z-axis actuator 41 see FIG. 3
  • a ⁇ -axis actuator 42 see FIG. 3
  • the head 40 can apply a negative pressure to the suction port to suck the parts.
  • the head 40 can release the suction of the parts by applying the positive pressure to the suction port by communicating the positive pressure source with the suction port of the suction nozzle.
  • the control device 60 is configured as a microprocessor centered on the CPU 61, and includes a ROM 62, an HDD 63, a RAM 64, and an input / output interface 65 in addition to the CPU 61. These are electrically connected via a bus 66.
  • the control device 60 includes a position signal from the X-axis position sensor 34 that detects the position of the X-axis slider 32, a position signal from the Y-axis position sensor 38 that detects the position of the Y-axis slider 36, and a mark camera 43.
  • An image signal, an image signal from the parts camera 23, and the like are input via the input / output interface 65.
  • control device 60 a control signal to the component supply device 21, a control signal to the substrate transfer device 22, a drive signal to the X-axis actuator 33, a drive signal to the Y-axis actuator 37, and a Z-axis actuator 41.
  • the drive signal, the drive signal to the ⁇ -axis actuator 42, the control signal to the parts camera 23, the control signal to the mark camera 43, and the like are output via the input / output interface 65.
  • the control device 60 is connected to the management device 80 so as to be capable of bidirectional communication, and exchanges data and control signals with each other.
  • the management device 80 is, for example, a general-purpose computer, and includes a CPU 81, a ROM 82, an HDD 83, a RAM 84, an input / output interface 85, and the like, as shown in FIG. These are electrically connected via the bus 86.
  • An input signal is input to the management device 80 from an input device 87 such as a mouse or a keyboard via the input / output interface 85. Further, the image signal to the display 88 is output from the management device 80 via the input / output interface 85.
  • the HDD 83 stores the production job of the substrate S.
  • the management device 80 generates a production job based on the data input by the operator via the input device 87, and transmits the generated production job to each component mounting machine 10 to produce the production job for each component mounting machine 10. Instruct the start of.
  • FIG. 4 is a flowchart showing an example of the component mounting process executed by the CPU 61 of the control device 60. This process is executed when the management device 80 instructs the start of production with the production job. When the control device 60 is instructed to start production, the control device 60 performs the component mounting process according to the production job received from the management device 80.
  • the CPU 61 of the control device 60 first controls the board transfer device 22 so that the board S is carried in (step S100). Subsequently, the CPU 61 determines whether or not the learning process described later is being executed (step S110), and when it is determined that the learning process is being executed, the mark camera 43 is placed above the carried-in substrate S. The mark camera 43 is controlled so as to control the head moving device 30 and image the substrate S (step S120), and the process proceeds to step S130. As a result, an image of the board before the component is mounted (board image before component mounting) is acquired. On the other hand, when the CPU 61 determines that the learning process is not being executed (learned), the CPU 61 skips step S120 and proceeds to step S130.
  • the CPU 61 controls the head moving device 30 so that the suction nozzle comes above the component supply position of the component supply device 21, and performs a suction operation that controls the head 40 so as to suck the component to the suction nozzle (step). S130). Then, the CPU 61 controls the head moving device 30 so that the attracted component comes above the target mounting position of the substrate S (step S140), and controls the head 40 so that the component is mounted at the target mounting position of the substrate S. Perform the mounting operation (step S150). The process of step S140 is performed so that the attracted parts pass above the parts camera 23 and reach above the target mounting position.
  • the CPU 61 takes an image of the sucked component when it passes above the parts camera 23, calculates the suction deviation amount of the component based on the obtained image, and mounts the target based on the calculated suction deviation amount. Correct the position.
  • the CPU 61 controls the mark camera 43 so as to image the substrate S on which the components are mounted (step S160). As a result, an image of the board after the component is mounted (board image after component mounting) is acquired. Then, the CPU 61 controls the substrate transfer device 22 so that the substrate S is carried out (step S170), and ends this process.
  • the learning process is a process of creating learning data used for mounting inspection of parts, and in the present embodiment, the learning process is repeatedly executed by the management device 80 at predetermined time intervals.
  • FIG. 5 is a flowchart showing an example of the learning process executed by the CPU 81 of the management device 80. The learning process is repeatedly executed at predetermined time intervals while the above-mentioned component mounting process is being executed.
  • the CPU 81 of the management device 80 first determines whether or not the learning is incomplete (step S200). When the CPU 81 determines that the learning is incomplete, it determines whether or not the board image before component mounting has been acquired (step S210). As described above, the image of the board before mounting the component is acquired by taking an image of the board S with the mark camera 43 before mounting the component on the board S in step S120 of the component mounting process. When the CPU 81 determines that the board image before component mounting has been acquired, the CPU 81 generates learning data for component inspection by machine learning (for example, a support vector machine or the like) based on the board image before component mounting with no component as teacher data (step S220). ). Here, the learning data for component inspection is generated by pairing the input pre-mounting substrate image of the component and the output inspection result (without components) and obtaining the relationship between the substrate image and the inspection result.
  • machine learning for example, a support vector machine or the like
  • the CPU 81 determines whether or not the board image has been acquired after mounting the components (step S230).
  • the image of the board after mounting the components is acquired by taking an image of the board S with the mark camera 43 after mounting the components on the board S in step S160 of the component mounting process.
  • the CPU 81 determines that the board image after mounting the component has been acquired, the CPU 81 displays the board image after mounting the component on the display 88, accepts the input of the teacher data with or without the component (step S240), and waits for the teacher data to be input. (Step S250).
  • the operator determines whether or not the component to be inspected is shown in the board image after mounting the component displayed on the display 88, and if it is determined that the component is visible, the operator inputs "with component". If it is determined that the parts are not shown, enter "No parts".
  • the CPU 81 inputs the teacher data of the presence or absence of parts, the CPU 81 generates (updates) the learning data for parts inspection by the above-mentioned machine learning based on the input teacher data and the board image after mounting the parts (step S260), and the teacher data.
  • the acquisition number N of is incremented by a value of 1 (step S270).
  • the relationship between the board image and the inspection result is obtained by pairing the input board image after mounting the component and the output teacher data of the inspection result (presence or absence of the component input by the operator). Is done by.
  • the CPU 81 determines whether or not the acquisition number N of the teacher data is equal to or greater than the predetermined number Nref (step S280).
  • the predetermined number Nref is determined to be a necessary and sufficient number for ensuring the accuracy of the mounting inspection using the learning data.
  • the CPU 81 determines that the acquisition number N of the teacher data is less than the predetermined number Nref
  • the CPU 81 returns to step S210 and generates learning data for component inspection by machine learning based on the board image before component mounting and the board image after component mounting. The process of (updating) is repeated.
  • the CPU 81 determines in step S280 that the number of acquired teacher data N is equal to or greater than a predetermined number Nref in the iterative process, it determines that the learning has been completed (step S290), and ends this process.
  • step S300 determines whether or not the re-learning execution condition is satisfied.
  • step S310 determines whether or not the re-learning execution condition is satisfied.
  • the determination as to whether or not the re-learning condition is satisfied is performed by executing the re-learning execution condition success / failure determination process of FIG.
  • the CPU 81 of the management device 80 mounts on the board S whether or not there is a re-learning instruction from the operator (step S400), whether or not the lot of the board S has been switched (step S410). It is determined whether or not the lot of parts has been switched (step S420), whether or not a predetermined time has elapsed since the last learning (step S430), and whether or not the production job has been edited (step S440).
  • step S450 determines that the relearning execution condition is not satisfied (step S450), ends this process, and one of them is positive. If it is determined, it is determined that the re-learning execution condition is satisfied (step S460), and this process is terminated.
  • the reason for re-learning when the lot of the substrate S or the component is switched is that the image of the substrate S or the component may change before and after the switching. Further, the reason why the re-learning is performed when a predetermined time has elapsed since the previous learning is that the image of the substrate S and the parts may change with the aging of the production environment such as lighting. Further, when the production job is edited, it is relearned because the image of the part may change before and after the dimension, shape, mounting position, etc. of the part are edited.
  • the CPU 81 stores the lot information of the board S in advance in the HDD 83 in association with the board ID that identifies the board S, and when the board S is carried into the component mounting machine 10, it corresponds to the board ID of the board S.
  • the lot information is read out to determine whether or not the lot of the substrate S has been switched. Then, when the CPU 81 determines that the lot switching of the board S has occurred, the CPU 81 executes re-learning, and identifies the learning data for component inspection generated by the re-learning to identify the learning data (learning ID) and the board ID. Is stored in the HDD 83 in association with.
  • the CPU 81 stores the lot information of the component in advance in the HDD 83 in association with the component ID that identifies the component, and when the component is mounted on the substrate S carried into the component mounting machine 10, the component of the component is mounted. The lot information corresponding to the ID is read out to determine whether or not the lot of parts has been switched. Then, when the CPU 81 determines that the lot switching of the parts has occurred, the CPU 81 executes re-learning and stores the parts inspection learning data generated by the re-learning in the HDD 83 in association with the learning ID and the board ID. The learning data for component inspection stored in this way is used for the next inspection process.
  • FIG. 7 is a flowchart showing an example of the inspection process executed by the CPU 81 of the management device 80. This process is repeatedly executed at predetermined time intervals while the above-mentioned component mounting process is being executed.
  • the CPU 81 may execute the inspection process after waiting for the learning by the learning process described above to be completed, or if the learning data for component inspection is generated, the learning of the component is completed.
  • the inspection process may be executed without waiting (before the teacher data is available).
  • the CPU 81 of the management device 80 first determines whether or not the board image has been acquired after mounting the components (step S500) and whether or not the learning data for component inspection exists (step S510). Judge each. If it is determined that the board image has not been acquired after the component is mounted or the learning data for component inspection does not exist, the CPU 81 determines that the component inspection cannot be performed, and ends this process. On the other hand, when the CPU 81 determines that the component-mounted board image is acquired and the component inspection learning data exists, the CPU 81 recognizes the component in the component-mounted board image using the component inspection learning data (image). By performing the processing), a mounting inspection is performed to determine whether or not the component to be inspected is mounted on the substrate S (step S520).
  • the corresponding learning data for component inspection is read from the HDD 83 based on the identification information (board ID and component ID) of the board S and the component to be inspected, and the read learning data (recognition model) is used. It is performed depending on whether or not the component can be recognized from the board image after mounting the component.
  • the CPU 81 determines whether or not the recognition of the component is successful by the recognition process (step S530), and if it determines that the component recognition is successful, determines that the component is mounted normally (step S540). When the present process is terminated and it is determined that the recognition of the component has failed, it is determined that a mounting error has occurred (step S550), and the present process is terminated.
  • the mark camera 43 corresponds to the image pickup device
  • the component mounting machine 10 corresponds to the component mounting machine
  • the component mounting system 1 corresponds to the component mounting system
  • the CPU 81 of the management device 80 that executes the learning process serves as the learning device.
  • the CPU 81 of the management device 80 that executes the inspection process corresponds to the inspection device.
  • the HDD 83 of the management device 80 corresponds to the storage device.
  • the head 40 corresponds to the head
  • the head moving device 30 corresponds to the head moving device.
  • the CPU 81 of the management device 80 clears the learning history and initializes the acquisition number N of the teacher data to a value 0 when the re-learning condition is satisfied in the learning process.
  • Re-learning is performed by machine learning based on teacher data until the acquired number N becomes a predetermined number Nref or more.
  • the CPU 81 may perform additional learning to additionally acquire teacher data and update the learning data without clearing the learning history.
  • FIG. 8 is a flowchart showing a learning process of a modification executed by the CPU 81 of the management device 80.
  • the same step numbers as those of the learning process of the embodiment are assigned the same step numbers, and the description thereof will be omitted because they are duplicated.
  • step S300B when the CPU 81 determines that the learning is completed in step S200, it determines whether or not the additional learning condition is satisfied (step S300B). When the CPU 81 determines that the additional learning condition is not satisfied, the present process is terminated, and when it is determined that the additional learning condition is satisfied, the number N of teacher data acquisitions is set to a predetermined value ⁇ less than the predetermined number Nref. Decrement (step S320B), the process proceeds to step S210, and additional learning is performed. In the additional learning, the teacher data is additionally acquired and the parts are inspected until the acquired number N of the teacher data becomes the predetermined number Nref or more, that is, until the teacher data is newly acquired the predetermined value ⁇ , without clearing the learning history. This is done by updating the training data.
  • the determination as to whether or not the additional learning condition is satisfied is performed by executing the additional learning execution condition success / failure determination process shown in FIG.
  • the CPU 81 of the management device 80 determines whether or not there is an additional learning instruction from the operator (step S400B) and whether or not the lot of the substrate S is switched, as in the relearning execution condition success / failure determination process. (Step S410), whether the lot of parts to be mounted on the board S has been switched (step S420), whether a predetermined time has passed since the last learning (step S430), and whether the production job has been edited. (Step S440), respectively.
  • step S450B determines that the additional learning execution condition is not satisfied. If it is a specific determination, it is determined that the additional learning execution condition is satisfied (step S460B), and this process is terminated.
  • the CPU 81 inspects whether or not the component is actually mounted on the substrate S after the mounting operation is performed as a mounting inspection using the learning data for component inspection. did. However, the CPU 81 may inspect the substrate S for mounting deviation (deviation in the XY direction or deviation in the rotation direction) as a mounting inspection using the learning data.
  • the component mounting machine 10 includes a plurality of blocks (child boards) and mounts a board in which information (skip information) indicating whether or not to mount the components is set for each block, "no skip" is displayed. Parts are mounted on the set blocks, and parts are not mounted on the blocks for which "with skip” is set. Learning before mounting components on a board containing a plurality of blocks is performed for all blocks regardless of whether or not skipping is performed. On the other hand, learning after component mounting is performed only on the block for which no skip is set, and not for the block for which skip is set. As a result, only the mounted parts can be learned more reliably.
  • the component mounting system of the present disclosure is a component mounting system including a plurality of component mounting machines that are arranged in the substrate transport direction and each has an image pickup device that images a substrate, and performs a mounting operation for mounting components.
  • the image pickup device captures an image of the component mounting pre-board before the component mounting and the component mounting post-board after the component mounting operation, and machine learning is performed based on the captured image of the component mounting pre-board to perform machine learning.
  • a learning device that acquires teacher data based on the captured image of the above and generates learning data for component inspection by performing machine learning based on the acquired teacher data and the captured image of the board after mounting the component, and the component mounting.
  • An inspection device that inspects the post-component mounting substrate by imaging the rear substrate with the imaging device and performing image processing for recognizing the component in the captured image of the component mounting post-board using the learning data for component inspection. And, the gist is to prepare.
  • the component mounting system of this disclosure includes a learning device and an inspection device.
  • the learning device images the pre-component mounting board and the post-component mounting board, performs machine learning based on the captured image of the pre-component mounting board, and acquires and acquires teacher data based on the captured image of the post-component mounting board.
  • Machine learning is performed based on the teacher data and the captured image of the board after mounting the components to generate learning data for component inspection.
  • the inspection device inspects the board after mounting the component by taking an image of the board after mounting the component and performing image processing for recognizing the component in the captured image of the board after mounting the component using the learning data for component inspection.
  • the learning device images the pre-parts mounting board and the post-parts mounting board with the image pickup device, and before the component mounting.
  • Machine learning is performed based on the captured image of the board, and the teacher data based on the captured image of the board after mounting the component is reacquired, and the machine learning is performed based on the re-acquired teacher data and the captured image of the board after mounting the component.
  • Is performed to regenerate the learning data for component inspection and the regenerated learning data for component inspection is generated in association with the identification information of the board after mounting the component or the identification information of the component mounted on the board after mounting the component.
  • the inspection device Stored in a storage device, the inspection device images the board after mounting the component with the imaging device, and acquires identification information of the board after mounting the component or identification information of the component mounted on the board after mounting the component.
  • the learning data for component inspection corresponding to the acquired identification information is read from the storage device, and the read learning data for component inspection is used to perform image processing for recognizing the component in the captured image of the board after mounting the component. Therefore, the substrate may be inspected after mounting the components. By doing so, it is possible to maintain good recognition accuracy of the parts.
  • the re-learning conditions are as follows: when instructed by the operator, when the lot of the board is switched, when the lot of the parts to be mounted is switched, when a predetermined time has elapsed since the last learning was executed, or when production is performed. It may be a condition that is satisfied when the job is changed.
  • the learning device images the pre-component mounting board and the post-component mounting board with the imaging device, and mounts the component. Additional learning is performed based on the captured image of the front board, the teacher data based on the captured image of the board after mounting the component is reacquired, and the teacher data is added based on the reacquired teacher data and the captured image of the board after mounting the component. Learning may be performed to update the learning data for the component inspection. By doing so, it is possible to maintain good recognition accuracy of the parts.
  • the additional learning conditions are as follows: when instructed by the operator, when the lot of the board is switched, when the lot of the parts to be mounted is switched, when a predetermined time has elapsed since the last learning was executed, or when production is performed. It may be a condition that is satisfied when the job is changed.
  • the inspection device may determine whether or not the component to be inspected is mounted on the component mounting board as the inspection of the component mounting board.
  • the component mounting machine includes a head capable of collecting the component and a head moving device for moving the head, and the imaging device includes the head by the head moving device. It may be provided so as to be movable together with.
  • This disclosure can be used in the manufacturing industry of component mounting machines and component mounting systems.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Operations Research (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

This component mounting system is provided with a plurality of component mounting machines which are arranged in the conveying direction of a substrate and respectively have image capturing devices which capture images of the substrate. Furthermore, the component mounting system is provided with a learning device, and an inspection device. The learning device captures, by means of an image capturing device, images of a component-to-be mounted substrate and a component-mounted substrate, generates learning data of the component-to-be mounted substrate through machine learning on the basis of the captured image of the component-to-be mounted substrate, acquires teacher data based on the captured image of the component-mounted substrate, and generates learning data of the component-mounted substrate through machine learning on the basis of the teacher data and the captured image of the component-mounted substrate. The inspection device captures, by means of the image capturing device, an image of the component-mounted substrate, and performs inspection for the component-mounted substrate by performing image processing for recognizing the component in the captured image of the component-mounted substrate by using the learning data of the component-to-be mounted substrate and the component-mounted substrate.

Description

部品実装システムComponent mounting system
 本明細書は、部品実装システムについて開示する。 This specification discloses the component mounting system.
 従来より、1台又は複数台の部品実装機を含む部品実装ラインと、部品実装ラインの基板搬出側に設置され回路基板に実装した各部品の実装状態の良否を判定する外観検査装置と、部品実装ラインのネットワークに接続され学習処理に用いる教師データの収集及び学習を行なう学習用コンピュータと、を備える部品実装システムが提案されている(例えば、特許文献1参照)。各部品実装機の制御装置は、生産中に撮像対象を撮像した低解像度画像から高解像度画像を推定する再構成型超解像処理部と、生産中に学習用コンピュータの学習処理の学習結果に基づいて部品を撮像した低解像度画像から高解像度画像を推定する学習型超解像処理部とを有する。各部品実装機の制御装置は、学習用コンピュータの学習処理が完了するまでは再構成型超解像処理により高解像度画像を推定すると共に推定した高解像度画像を処理して部品を認識する。一方、各部品実装機の制御装置は、学習用コンピュータの学習処理が完了した後は、学習型超解像処理に切り替えて高解像度画像を推定すると共に推定した高解像度画像を処理して部品を認識する。また、各部品実装機の制御装置は、学習型超解像処理の実行期間中に、教師データの学習結果を更新する必要があると判断したときに、再構成型超解像処理に切り替えて高解像度画像を推定すると共に、学習結果の更新要求を学習用コンピュータへ送信する。そして、各部品実装機の制御装置は、更新要求を受信した学習用コンピュータが教師データを再収集すると共に再学習して教師データの学習結果を更新してその学習処理を完了すると、再構成型超解像処理から学習型超解像処理に切り替える。 Conventionally, a component mounting line including one or a plurality of component mounting machines, an appearance inspection device installed on the board carry-out side of the component mounting line and determining the quality of the mounted state of each component mounted on the circuit board, and a component. A component mounting system including a learning computer connected to a mounting line network and collecting and learning teacher data used for learning processing has been proposed (see, for example, Patent Document 1). The control device of each component mounting machine is a reconstructed super-resolution processing unit that estimates a high-resolution image from a low-resolution image captured during production, and the learning result of the learning process of the learning computer during production. It has a learning-type super-resolution processing unit that estimates a high-resolution image from a low-resolution image obtained by imaging a component based on the image. The control device of each component mounting machine estimates a high-resolution image by reconstructive super-resolution processing and processes the estimated high-resolution image to recognize the component until the learning process of the learning computer is completed. On the other hand, after the learning process of the learning computer is completed, the control device of each component mounting machine switches to the learning type super-resolution processing to estimate the high-resolution image and processes the estimated high-resolution image to process the component. recognize. In addition, the control device of each component mounting machine switches to the reconstructive super-resolution processing when it is determined that the learning result of the teacher data needs to be updated during the execution period of the learning-type super-resolution processing. A high-resolution image is estimated, and a learning result update request is sent to the learning computer. Then, the control device of each component mounting machine is reconstructed when the learning computer that receives the update request recollects the teacher data and relearns to update the learning result of the teacher data and completes the learning process. Switch from super-resolution processing to learning-type super-resolution processing.
特開2018-97731号公報Japanese Unexamined Patent Publication No. 2018-97731
 ところで、部品実装システムにおいて、実装動作を行なった後の基板(部品実装後基板)を撮像し、その撮像画像において部品を認識する画像処理を行なうことで当該部品実装後基板の検査を行なう場合、部品実装後基板の品質を確保するために、当該検査は適切に行なわれなければならない。 By the way, in the component mounting system, when the board after the mounting operation is imaged (the board after the component is mounted) and the image processing for recognizing the component is performed in the captured image to inspect the board after the component is mounted. The inspection must be performed appropriately to ensure the quality of the board after component mounting.
 本開示は、教師データに基づいて機械学習により生成される学習データを用いて部品実装後基板の撮像画像に画像処理を施して当該部品実装後基板の検査を行なう場合に、当該検査を適切に行なって部品実装後基板の品質を確保することを主目的とする。 In the present disclosure, when the image processing of the captured image of the board after mounting the component is performed using the learning data generated by machine learning based on the teacher data to inspect the board after mounting the component, the inspection is appropriately performed. The main purpose is to ensure the quality of the board after mounting the components.
 本開示は、上述の主目的を達成するために以下の手段を採った。 The present disclosure has taken the following measures to achieve the above-mentioned main purpose.
 本開示の部品実装システムは、
 基板搬送方向に並ぶと共に基板を撮像する撮像装置をそれぞれ有する複数の部品実装機を備える部品実装システムであって、
 部品を実装する実装動作を行なう前の部品実装前基板と前記実装動作を行なった後の部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて機械学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを取得すると共に該取得した教師データと前記部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを生成する学習装置と、
 前記部品実装後基板を前記撮像装置で撮像し、前記部品検査用の学習データを用いて前記部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで前記部品実装後基板の検査を行なう検査装置と、
 を備えることを要旨とする。
The component mounting system of the present disclosure is
It is a component mounting system equipped with a plurality of component mounting machines that are lined up in the substrate transport direction and each has an imaging device that images a substrate.
The pre-component mounting board before the component mounting operation and the post-component mounting board after the mounting operation are imaged by the imaging device, and machine learning is performed based on the captured image of the pre-component mounting board. This is performed to acquire teacher data based on the captured image of the board after mounting the component, and machine learning is performed based on the acquired teacher data and the captured image of the board after mounting the component to generate learning data for component inspection. Learning device and
The component-mounted board is inspected by imaging the component-mounted board with the imaging device and performing image processing for recognizing the component in the captured image of the component-mounted board using the learning data for component inspection. Inspection equipment to be performed and
The gist is to prepare.
 この本開示の部品実装システムは、学習装置と検査装置とを備える。学習装置は、部品実装前基板と部品実装後基板とを撮像し、部品実装前基板の撮像画像に基づいて機械学習を行ない、部品実装後基板の撮像画像に基づく教師データを取得すると共に取得した教師データと部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを生成する。検査装置は、部品実装後基板を撮像し、部品検査用の学習データを用いて部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで部品実装後基板の検査を行なう。このように、部品実装前基板および部品実装後基板のそれぞれの撮像画像に基づいて部品検査用の学習データを生成することで、部品実装後基板の撮像画像から部品を認識する際の認識精度を高めることができる。この結果、部品実装後基板の検査を適切に行なってその品質を確保することができる。 The component mounting system of this disclosure includes a learning device and an inspection device. The learning device images the pre-component mounting board and the post-component mounting board, performs machine learning based on the captured image of the pre-component mounting board, and acquires and acquires teacher data based on the captured image of the post-component mounting board. Machine learning is performed based on the teacher data and the captured image of the board after mounting the components to generate learning data for component inspection. The inspection device inspects the board after mounting the component by taking an image of the board after mounting the component and performing image processing for recognizing the component in the captured image of the board after mounting the component using the learning data for component inspection. In this way, by generating learning data for component inspection based on the captured images of the board before component mounting and the board after component mounting, the recognition accuracy when recognizing the component from the captured image of the board after component mounting can be improved. Can be enhanced. As a result, the quality of the board can be ensured by appropriately inspecting the board after mounting the components.
本実施形態の部品実装システム1の構成の概略を示す構成図である。It is a block diagram which shows the outline of the structure of the component mounting system 1 of this embodiment. 部品実装機10の外観斜視図である。It is an external perspective view of the component mounting machine 10. 部品実装機10の制御装置60と管理装置80との電気的な接続関係を示す説明図である。It is explanatory drawing which shows the electrical connection relationship between the control device 60 and the management device 80 of a component mounting machine 10. 部品実装処理の一例を示すフローチャートである。It is a flowchart which shows an example of a component mounting process. 学習処理の一例を示すフローチャートである。It is a flowchart which shows an example of a learning process. 再学習実行条件成否判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the relearning execution condition success / failure judgment processing. 検査処理の一例を示すフローチャートである。It is a flowchart which shows an example of an inspection process. 変形例の学習処理を示すフローチャートである。It is a flowchart which shows the learning process of a modification. 追加学習実行条件成否判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the additional learning execution condition success / failure judgment processing.
 次に、本開示の発明を実施するための形態について図面を参照しながら説明する。 Next, a mode for carrying out the invention of the present disclosure will be described with reference to the drawings.
 図1は、本実施形態の部品実装システム1の構成の概略を示す構成図である。図2は、部品実装機10の外観斜視図である。図3は、部品実装機10の制御装置60と管理装置80との電気的な接続関係を示す説明図である。なお、図1,2中、左右方向をX軸方向とし、前後方向をY軸方向とし、上下方向をZ軸方向とする。 FIG. 1 is a configuration diagram showing an outline of the configuration of the component mounting system 1 of the present embodiment. FIG. 2 is an external perspective view of the component mounting machine 10. FIG. 3 is an explanatory diagram showing an electrical connection relationship between the control device 60 and the management device 80 of the component mounting machine 10. In FIGS. 1 and 2, the left-right direction is the X-axis direction, the front-back direction is the Y-axis direction, and the up-down direction is the Z-axis direction.
 部品実装システム1は、図1に示すように、印刷機2と、印刷検査機3と、複数台(例えば5台)の部品実装機10と、システム全体を管理する管理装置80と、を備える。印刷機2は、基板S上にはんだを印刷して回路パターンを形成する。印刷検査機3は、印刷機2で印刷されたはんだの状態を検査する。複数の部品実装機10は、部品を基板に実装する実装動作を行なうと共に基板に部品が実装されたか否かの実装検査を行なう。印刷機2と印刷検査機3と複数の部品実装機10とは、基板Sの搬送方向に並べて設置されて生産ラインを構成する。 As shown in FIG. 1, the component mounting system 1 includes a printing machine 2, a printing inspection machine 3, a plurality of (for example, 5) component mounting machines 10, and a management device 80 for managing the entire system. .. The printing machine 2 prints solder on the substrate S to form a circuit pattern. The printing inspection machine 3 inspects the state of the solder printed by the printing machine 2. The plurality of component mounting machines 10 perform a mounting operation of mounting the components on the board and perform a mounting inspection of whether or not the components are mounted on the board. The printing machine 2, the printing inspection machine 3, and the plurality of component mounting machines 10 are arranged side by side in the transport direction of the substrate S to form a production line.
 部品実装機10は、図2に示すように、部品を供給する部品供給装置21と、基板を搬送する基板搬送装置22と、部品を吸着する吸着ノズルを有するヘッド40と、ヘッド40をX軸方向およびY軸方向に移動させるヘッド移動装置30と、実装機全体をコントロールする制御装置60(図3参照)と、を備える。また、部品実装機10は、これらの他に、吸着ノズルに吸着させた部品の吸着姿勢を撮像するためのパーツカメラ23や、交換用の吸着ノズルを収容するノズルステーション24、基板Sを撮像するためのマークカメラ43なども備えている。 As shown in FIG. 2, the component mounting machine 10 has a component supply device 21 for supplying components, a substrate transfer device 22 for transporting a substrate, a head 40 having a suction nozzle for sucking the components, and an X-axis of the head 40. It includes a head moving device 30 that moves in the direction and the Y-axis direction, and a control device 60 (see FIG. 3) that controls the entire mounting machine. In addition to these, the component mounting machine 10 images the parts camera 23 for capturing the suction posture of the component sucked by the suction nozzle, the nozzle station 24 accommodating the replacement suction nozzle, and the substrate S. It also has a mark camera 43 for this purpose.
 部品供給装置21は、例えば、所定間隔で部品を収容したキャリアテープが巻回されたテープリールと、駆動モータの駆動によりテープリールからキャリアテープを引き出して部品供給位置まで送り出すテープ送り機構と、を備えるテープフィーダとして構成される。この部品供給装置21(テープフィーダ)は、部品実装機10が備える図示しないフィーダ台に着脱可能に取り付けられる。 The parts supply device 21 includes, for example, a tape reel around which carrier tape containing parts is wound at predetermined intervals, and a tape feeding mechanism that pulls out the carrier tape from the tape reel and sends it to a parts supply position by driving a drive motor. It is configured as a tape feeder. The component supply device 21 (tape feeder) is detachably attached to a feeder stand (not shown) included in the component mounting machine 10.
 基板搬送装置22は、Y軸方向に間隔を空けて配置される一対のコンベアレールを備えており、一対のコンベアレールを駆動することにより基板を図1の左から右(基板搬送方向)へと搬送する。 The board transfer device 22 includes a pair of conveyor rails arranged at intervals in the Y-axis direction, and by driving the pair of conveyor rails, the board is moved from left to right (board transfer direction) in FIG. Transport.
 ヘッド移動装置30は、図2に示すように、一対のX軸ガイドレール31と、X軸スライダ32と、X軸アクチュエータ33(図3参照)と、一対のY軸ガイドレール35と、Y軸スライダ36と、Y軸アクチュエータ37(図3参照)と、を備える。一対のY軸ガイドレール35は、Y軸方向に互いに平行に延在するように筐体11の上段に設置される。Y軸スライダ36は、一対のY軸ガイドレール35に架け渡され、Y軸アクチュエータ37の駆動によりY軸ガイドレール35に沿ってY軸方向に移動する。一対のX軸ガイドレール31は、X軸方向に互いに平行に延在するようにY軸スライダ36の下面に設置される。X軸スライダ32は、一対のX軸ガイドレール31に架け渡され、X軸アクチュエータ33の駆動によりX軸ガイドレール31に沿ってX軸方向に移動する。X軸スライダ32にはヘッド40が取り付けられており、ヘッド移動装置30は、X軸スライダ32とY軸スライダ36とを移動させることで、ヘッド40をX軸方向とY軸方向とに移動させる。 As shown in FIG. 2, the head moving device 30 includes a pair of X-axis guide rails 31, an X-axis slider 32, an X-axis actuator 33 (see FIG. 3), a pair of Y-axis guide rails 35, and a Y-axis. It includes a slider 36 and a Y-axis actuator 37 (see FIG. 3). The pair of Y-axis guide rails 35 are installed on the upper stage of the housing 11 so as to extend parallel to each other in the Y-axis direction. The Y-axis slider 36 is bridged over a pair of Y-axis guide rails 35 and moves in the Y-axis direction along the Y-axis guide rail 35 by being driven by the Y-axis actuator 37. The pair of X-axis guide rails 31 are installed on the lower surface of the Y-axis slider 36 so as to extend parallel to each other in the X-axis direction. The X-axis slider 32 is bridged over a pair of X-axis guide rails 31 and moves in the X-axis direction along the X-axis guide rail 31 by driving the X-axis actuator 33. A head 40 is attached to the X-axis slider 32, and the head moving device 30 moves the head 40 in the X-axis direction and the Y-axis direction by moving the X-axis slider 32 and the Y-axis slider 36. ..
 ヘッド40は、吸着ノズルをZ軸(上下)方向に移動させるZ軸アクチュエータ41(図3参照)と、吸着ノズルをZ軸周りに回転させるθ軸アクチュエータ42(図3参照)とを備える。ヘッド40は、吸着ノズルの吸引口に負圧源を連通させることで、吸引口に負圧を作用させて部品を吸着することができる。また、ヘッド40は、吸着ノズルの吸引口に正圧源を連通させることで、吸引口に正圧を作用させて部品の吸着を解除することができる。 The head 40 includes a Z-axis actuator 41 (see FIG. 3) that moves the suction nozzle in the Z-axis (up and down) direction, and a θ-axis actuator 42 (see FIG. 3) that rotates the suction nozzle around the Z-axis. By communicating a negative pressure source with the suction port of the suction nozzle, the head 40 can apply a negative pressure to the suction port to suck the parts. Further, the head 40 can release the suction of the parts by applying the positive pressure to the suction port by communicating the positive pressure source with the suction port of the suction nozzle.
 制御装置60は、図3に示すように、CPU61を中心としたマイクロプロセッサとして構成されており、CPU61の他に、ROM62と、HDD63と、RAM64と、入出力インタフェース65とを備える。これらは、バス66を介して電気的に接続されている。制御装置60には、X軸スライダ32の位置を検知するX軸位置センサ34からの位置信号や、Y軸スライダ36の位置を検知するY軸位置センサ38からの位置信号、マークカメラ43からの画像信号、パーツカメラ23からの画像信号などが入出力インタフェース65を介して入力されている。一方、制御装置60からは、部品供給装置21への制御信号や、基板搬送装置22への制御信号、X軸アクチュエータ33への駆動信号、Y軸アクチュエータ37への駆動信号、Z軸アクチュエータ41への駆動信号、θ軸アクチュエータ42への駆動信号、パーツカメラ23への制御信号、マークカメラ43への制御信号などが入出力インタフェース65を介して出力されている。また、制御装置60は、管理装置80と双方向通信可能に接続されており、互いにデータや制御信号のやり取りを行っている。 As shown in FIG. 3, the control device 60 is configured as a microprocessor centered on the CPU 61, and includes a ROM 62, an HDD 63, a RAM 64, and an input / output interface 65 in addition to the CPU 61. These are electrically connected via a bus 66. The control device 60 includes a position signal from the X-axis position sensor 34 that detects the position of the X-axis slider 32, a position signal from the Y-axis position sensor 38 that detects the position of the Y-axis slider 36, and a mark camera 43. An image signal, an image signal from the parts camera 23, and the like are input via the input / output interface 65. On the other hand, from the control device 60, a control signal to the component supply device 21, a control signal to the substrate transfer device 22, a drive signal to the X-axis actuator 33, a drive signal to the Y-axis actuator 37, and a Z-axis actuator 41. The drive signal, the drive signal to the θ-axis actuator 42, the control signal to the parts camera 23, the control signal to the mark camera 43, and the like are output via the input / output interface 65. Further, the control device 60 is connected to the management device 80 so as to be capable of bidirectional communication, and exchanges data and control signals with each other.
 管理装置80は、例えば、汎用のコンピュータであり、図3に示すように、CPU81とROM82とHDD83とRAM84と入出力インタフェース85などを備える。これらは、バス86を介して電気的に接続されている。この管理装置80には、マウスやキーボード等の入力デバイス87から入力信号が入出力インタフェース85を介して入力されている。また、管理装置80からは、ディスプレイ88への画像信号が入出力インタフェース85を介して出力されている。HDD83は、基板Sの生産ジョブを記憶している。ここで、基板Sの生産ジョブには、各部品実装機10においてどの部品をどの順番で基板Sへ実装するか、また、そのように部品を実装した基板Sを何枚作製するかなどの生産スケジュールが含まれる。管理装置80は、オペレータが入力デバイス87を介して入力したデータに基づいて生産ジョブを生成し、生成した生産ジョブを各部品実装機10へ送信することで、各部品実装機10に対して生産の開始を指示する。 The management device 80 is, for example, a general-purpose computer, and includes a CPU 81, a ROM 82, an HDD 83, a RAM 84, an input / output interface 85, and the like, as shown in FIG. These are electrically connected via the bus 86. An input signal is input to the management device 80 from an input device 87 such as a mouse or a keyboard via the input / output interface 85. Further, the image signal to the display 88 is output from the management device 80 via the input / output interface 85. The HDD 83 stores the production job of the substrate S. Here, in the production job of the board S, the production of which parts are mounted on the board S in what order in each component mounting machine 10, and how many boards S on which the components are mounted are manufactured. Includes schedule. The management device 80 generates a production job based on the data input by the operator via the input device 87, and transmits the generated production job to each component mounting machine 10 to produce the production job for each component mounting machine 10. Instruct the start of.
 次に、こうして構成された本実施形態の部品実装システム1における部品実装機10の動作について説明する。特に、部品を基板Sに実装すると共に実装した部品の実装状態を検査する際の動作について説明する。図4は、制御装置60のCPU61により実行される部品実装処理の一例を示すフローチャートである。この処理は、管理装置80から生産ジョブを伴って生産開始が指示されたときに実行される。制御装置60は、生産開始が指示されると、管理装置80から受信した生産ジョブに従って部品実装処理を行なう。 Next, the operation of the component mounting machine 10 in the component mounting system 1 of the present embodiment configured in this way will be described. In particular, the operation when the component is mounted on the substrate S and the mounted state of the mounted component is inspected will be described. FIG. 4 is a flowchart showing an example of the component mounting process executed by the CPU 61 of the control device 60. This process is executed when the management device 80 instructs the start of production with the production job. When the control device 60 is instructed to start production, the control device 60 performs the component mounting process according to the production job received from the management device 80.
 部品実装処理が実行されると、制御装置60のCPU61は、まず、基板Sが搬入されるよう基板搬送装置22を制御する(ステップS100)。続いて、CPU61は、後述する学習処理が実行中であるか否かを判定し(ステップS110)、学習処理が実行中であると判定すると、搬入した基板Sの上方にマークカメラ43が来るようヘッド移動装置30を制御すると共に当該基板Sを撮像するようマークカメラ43を制御して(ステップS120)、ステップS130に進む。これにより、部品が実装される前の基板の画像(部品実装前基板画像)が取得される。一方、CPU61は、学習処理が実行中でない(学習済み)と判定すると、ステップS120をスキップして、ステップS130に進む。 When the component mounting process is executed, the CPU 61 of the control device 60 first controls the board transfer device 22 so that the board S is carried in (step S100). Subsequently, the CPU 61 determines whether or not the learning process described later is being executed (step S110), and when it is determined that the learning process is being executed, the mark camera 43 is placed above the carried-in substrate S. The mark camera 43 is controlled so as to control the head moving device 30 and image the substrate S (step S120), and the process proceeds to step S130. As a result, an image of the board before the component is mounted (board image before component mounting) is acquired. On the other hand, when the CPU 61 determines that the learning process is not being executed (learned), the CPU 61 skips step S120 and proceeds to step S130.
 次に、CPU61は、部品供給装置21の部品供給位置の上方に吸着ノズルが来るようにヘッド移動装置30を制御し、吸着ノズルに部品を吸着するようヘッド40を制御する吸着動作を行なう(ステップS130)。そして、CPU61は、吸着した部品が基板Sの目標実装位置の上方へ来るようにヘッド移動装置30を制御すると共に(ステップS140)、部品を基板Sの目標実装位置に実装するようヘッド40を制御する実装動作を行なう(ステップS150)。なお、ステップS140の処理は、吸着した部品がパーツカメラ23の上方を通過して目標実装位置の上方へ至るように行なわれる。CPU61は、吸着した部品がパーツカメラ23の上方を通過する際に当該部品を撮像し、得られた撮像画像に基づいて部品の吸着ずれ量を算出すると共に算出した吸着ずれ量に基づいて目標実装位置を補正する。CPU61は、こうして実装動作を行なうと、部品を実装した基板Sを撮像するようマークカメラ43を制御する(ステップS160)。これにより、部品が実装された後の基板の画像(部品実装後基板画像)が取得される。そして、CPU61は、当該基板Sが搬出されるよう基板搬送装置22を制御して(ステップS170)、本処理を終了する。 Next, the CPU 61 controls the head moving device 30 so that the suction nozzle comes above the component supply position of the component supply device 21, and performs a suction operation that controls the head 40 so as to suck the component to the suction nozzle (step). S130). Then, the CPU 61 controls the head moving device 30 so that the attracted component comes above the target mounting position of the substrate S (step S140), and controls the head 40 so that the component is mounted at the target mounting position of the substrate S. Perform the mounting operation (step S150). The process of step S140 is performed so that the attracted parts pass above the parts camera 23 and reach above the target mounting position. The CPU 61 takes an image of the sucked component when it passes above the parts camera 23, calculates the suction deviation amount of the component based on the obtained image, and mounts the target based on the calculated suction deviation amount. Correct the position. When the mounting operation is performed in this way, the CPU 61 controls the mark camera 43 so as to image the substrate S on which the components are mounted (step S160). As a result, an image of the board after the component is mounted (board image after component mounting) is acquired. Then, the CPU 61 controls the substrate transfer device 22 so that the substrate S is carried out (step S170), and ends this process.
 次に、学習処理について説明する。学習処理は、部品の実装検査に用いられる学習データを作成する処理であり、本実施形態では、管理装置80によって所定時間毎に繰り返し実行される。図5は、管理装置80のCPU81により実行される学習処理の一例を示すフローチャートである。学習処理は、上述した部品実装処理が実行されている間、所定時間毎に繰り返し実行される。 Next, the learning process will be described. The learning process is a process of creating learning data used for mounting inspection of parts, and in the present embodiment, the learning process is repeatedly executed by the management device 80 at predetermined time intervals. FIG. 5 is a flowchart showing an example of the learning process executed by the CPU 81 of the management device 80. The learning process is repeatedly executed at predetermined time intervals while the above-mentioned component mounting process is being executed.
 学習処理が実行されると、管理装置80のCPU81は、まず、学習が未完了であるか否かを判定する(ステップS200)。CPU81は、学習が未完了であると判定すると、部品実装前基板画像が取得されたか否かを判定する(ステップS210)。部品実装前基板画像は、上述したように、部品実装処理のステップS120において、基板Sに部品を実装する前に当該基板Sをマークカメラ43で撮像することにより取得される。CPU81は、部品実装前基板画像が取得されたと判定すると、部品無しを教師データとして部品実装前基板画像に基づいて機械学習(例えばサポートベクタマシン等)により部品検査用学習データを生成する(ステップS220)。ここで、部品検査用学習データの生成は、入力である部品実装前基板画像と出力である検査結果(部品無し)とをペアとして、基板画像と検査結果との関係を求めることにより行なわれる。 When the learning process is executed, the CPU 81 of the management device 80 first determines whether or not the learning is incomplete (step S200). When the CPU 81 determines that the learning is incomplete, it determines whether or not the board image before component mounting has been acquired (step S210). As described above, the image of the board before mounting the component is acquired by taking an image of the board S with the mark camera 43 before mounting the component on the board S in step S120 of the component mounting process. When the CPU 81 determines that the board image before component mounting has been acquired, the CPU 81 generates learning data for component inspection by machine learning (for example, a support vector machine or the like) based on the board image before component mounting with no component as teacher data (step S220). ). Here, the learning data for component inspection is generated by pairing the input pre-mounting substrate image of the component and the output inspection result (without components) and obtaining the relationship between the substrate image and the inspection result.
 次に、CPU81は、部品実装後基板画像が取得されたか否かを判定する(ステップS230)。部品実装後基板画像は、上述したように、部品実装処理のステップS160において、基板Sに部品を実装した後に当該基板Sをマークカメラ43で撮像することにより取得される。CPU81は、部品実装後基板画像が取得されたと判定すると、部品実装後基板画像をディスプレイ88に表示し、部品有無の教師データの入力を受け付け(ステップS240)、教師データが入力されるのを待つ(ステップS250)。オペレータは、ディスプレイ88に表示されている部品実装後基板画像中に検査対象となる部品が写っているか否かを判断し、部品が写っていると判断すれば、「部品有り」を入力し、部品が写っていないと判断すれば、「部品無し」を入力する。CPU81は、部品有無の教師データを入力すると、入力した教師データと部品実装後基板画像とに基づいて上述した機械学習により部品検査用学習データを生成(更新)すると共に(ステップS260)、教師データの取得数Nを値1だけインクリメントする(ステップS270)。部品検査用学習データの生成は、入力である部品実装後基板画像と出力である検査結果の教師データ(オペレータが入力した部品有無)とをペアとして、基板画像と検査結果との関係を求めることにより行なわれる。 Next, the CPU 81 determines whether or not the board image has been acquired after mounting the components (step S230). As described above, the image of the board after mounting the components is acquired by taking an image of the board S with the mark camera 43 after mounting the components on the board S in step S160 of the component mounting process. When the CPU 81 determines that the board image after mounting the component has been acquired, the CPU 81 displays the board image after mounting the component on the display 88, accepts the input of the teacher data with or without the component (step S240), and waits for the teacher data to be input. (Step S250). The operator determines whether or not the component to be inspected is shown in the board image after mounting the component displayed on the display 88, and if it is determined that the component is visible, the operator inputs "with component". If it is determined that the parts are not shown, enter "No parts". When the CPU 81 inputs the teacher data of the presence or absence of parts, the CPU 81 generates (updates) the learning data for parts inspection by the above-mentioned machine learning based on the input teacher data and the board image after mounting the parts (step S260), and the teacher data. The acquisition number N of is incremented by a value of 1 (step S270). To generate learning data for component inspection, the relationship between the board image and the inspection result is obtained by pairing the input board image after mounting the component and the output teacher data of the inspection result (presence or absence of the component input by the operator). Is done by.
 そして、CPU81は、教師データの取得数Nが所定数Nref以上であるか否かを判定する(ステップS280)。ここで、所定数Nrefは、学習データを用いた実装検査の精度を確保するために必要十分な数が定められる。CPU81は、教師データの取得数Nが所定数Nref未満であると判定すると、ステップS210に戻って、部品実装前基板画像や部品実装後基板画像に基づいて機械学習により部品検査用学習データを生成(更新)する処理を繰り返す。CPU81は、繰り返し処理においてステップS280で教師データの取得数Nが所定数Nref以上となったと判定すると、学習が完了したと判定して(ステップS290)、本処理を終了する。 Then, the CPU 81 determines whether or not the acquisition number N of the teacher data is equal to or greater than the predetermined number Nref (step S280). Here, the predetermined number Nref is determined to be a necessary and sufficient number for ensuring the accuracy of the mounting inspection using the learning data. When the CPU 81 determines that the acquisition number N of the teacher data is less than the predetermined number Nref, the CPU 81 returns to step S210 and generates learning data for component inspection by machine learning based on the board image before component mounting and the board image after component mounting. The process of (updating) is repeated. When the CPU 81 determines in step S280 that the number of acquired teacher data N is equal to or greater than a predetermined number Nref in the iterative process, it determines that the learning has been completed (step S290), and ends this process.
 CPU81は、ステップS200において学習が完了していると判定すると、再学習実行条件が成立しているか否かを判定する(ステップS300)。CPU81は、再学習実行条件が成立していないと判定すると、本処理を終了し、再学習実行条件が成立していると判定すると、ステップS220,S260の学習履歴をクリアすると共に(ステップS310)、教師データの取得数Nを値0に初期化して(ステップS320)、ステップS210に進む。これにより、教師データの取得数Nが所定数Nref以上となるまで、再度、部品実装前基板画像と部品無しの教師データとに基づく学習(再学習)と、部品実装後基板画像と当該部品実装後基板画像を見たオペレータが入力した部品有無の教師データとに基づく学習(再学習)が実行されて部品検査用学習データが再生成されることになる。 When the CPU 81 determines that the learning is completed in step S200, it determines whether or not the re-learning execution condition is satisfied (step S300). When the CPU 81 determines that the re-learning execution condition is not satisfied, the main process is terminated, and when it is determined that the re-learning execution condition is satisfied, the learning history of steps S220 and S260 is cleared and the learning history is cleared (step S310). , The number N of acquired teacher data is initialized to a value of 0 (step S320), and the process proceeds to step S210. As a result, until the number of acquired teacher data N becomes a predetermined number Nref or more, learning (re-learning) based on the pre-parts mounting board image and the teacher data without parts, and the post-part mounting board image and the component mounting are performed again. Learning (re-learning) based on the teacher data of the presence or absence of parts input by the operator who viewed the rear board image is executed, and the learning data for parts inspection is regenerated.
 ここで、再学習条件が成立しているか否かの判定は、図6の再学習実行条件成否判定処理を実行することにより行なわれる。再学習実行条件成否判定処理では、管理装置80のCPU81は、オペレータから再学習指示があるか否か(ステップS400)、基板Sのロットが切り替わったか否か(ステップS410)、基板Sに実装する部品のロットが切り替わったか否か(ステップS420)、前回学習してから所定時間が経過したか否か(ステップS430)、生産ジョブが編集されたか否か(ステップS440)、をそれぞれ判定する。CPU81は、ステップS400~S440のうちいずれもが否定的な判定であれば、再学習実行条件が成立していないと判定して(ステップS450)、本処理を終了し、いずれかが肯定的な判定であれば、再学習実行条件が成立していると判定して(ステップS460)、本処理を終了する。基板Sや部品のロットの切り替わりが発生した場合に再学習するのは、その切り替わり前後で基板Sや部品の写りが変化するおそれがあるからである。また、前回学習してから所定時間が経過した場合に再学習するのは、照明等の生産環境の経年変化に伴って、基板Sや部品の写りが変化するおそれがあるからである。さらに、生産ジョブが編集された場合に再学習するのは、部品の寸法や形状、実装位置等が編集されると、その前後で部品の写りが変化するおそれがあるからである。 Here, the determination as to whether or not the re-learning condition is satisfied is performed by executing the re-learning execution condition success / failure determination process of FIG. In the re-learning execution condition success / failure determination process, the CPU 81 of the management device 80 mounts on the board S whether or not there is a re-learning instruction from the operator (step S400), whether or not the lot of the board S has been switched (step S410). It is determined whether or not the lot of parts has been switched (step S420), whether or not a predetermined time has elapsed since the last learning (step S430), and whether or not the production job has been edited (step S440). If any of steps S400 to S440 is negative, the CPU 81 determines that the relearning execution condition is not satisfied (step S450), ends this process, and one of them is positive. If it is determined, it is determined that the re-learning execution condition is satisfied (step S460), and this process is terminated. The reason for re-learning when the lot of the substrate S or the component is switched is that the image of the substrate S or the component may change before and after the switching. Further, the reason why the re-learning is performed when a predetermined time has elapsed since the previous learning is that the image of the substrate S and the parts may change with the aging of the production environment such as lighting. Further, when the production job is edited, it is relearned because the image of the part may change before and after the dimension, shape, mounting position, etc. of the part are edited.
 CPU81は、基板Sを識別する基板IDと関連付けて当該基板Sのロット情報をHDD83に予め記憶しておき、部品実装機10に基板Sが搬入されると、当該基板Sの基板IDに対応するロット情報を読み出して基板Sのロットに切り替わりが発生したか否かを判定する。そして、CPU81は、基板Sのロットの切り替わりが発生したと判定すると、再学習を実行し、再学習により生成した部品検査用学習データをその学習データを識別する識別情報(学習ID)および基板IDと関連付けてHDD83に記憶する。また、CPU81は、部品を識別する部品IDと関連付けて当該部品のロット情報をHDD83に予め記憶しておき、部品実装機10に搬入された基板Sに部品が実装されると、当該部品の部品IDに対応するロット情報を読み出して部品のロットに切り替わりが発生したか否かを判定する。そして、CPU81は、部品のロットの切り替わりが発生したと判定すると、再学習を実行し、再学習により生成した部品検査用学習データをその学習IDおよび基板IDと関連付けてHDD83に記憶する。こうして記憶された部品検査用学習データは、次の検査処理に用いられる。 The CPU 81 stores the lot information of the board S in advance in the HDD 83 in association with the board ID that identifies the board S, and when the board S is carried into the component mounting machine 10, it corresponds to the board ID of the board S. The lot information is read out to determine whether or not the lot of the substrate S has been switched. Then, when the CPU 81 determines that the lot switching of the board S has occurred, the CPU 81 executes re-learning, and identifies the learning data for component inspection generated by the re-learning to identify the learning data (learning ID) and the board ID. Is stored in the HDD 83 in association with. Further, the CPU 81 stores the lot information of the component in advance in the HDD 83 in association with the component ID that identifies the component, and when the component is mounted on the substrate S carried into the component mounting machine 10, the component of the component is mounted. The lot information corresponding to the ID is read out to determine whether or not the lot of parts has been switched. Then, when the CPU 81 determines that the lot switching of the parts has occurred, the CPU 81 executes re-learning and stores the parts inspection learning data generated by the re-learning in the HDD 83 in association with the learning ID and the board ID. The learning data for component inspection stored in this way is used for the next inspection process.
 次に、部品検査用学習データを用いた部品の実装検査について説明する。図7は、管理装置80のCPU81により実行される検査処理の一例を示すフローチャートである。この処理は、上述した部品実装処理が実行されている間、所定時間毎に繰り返し実行される。ここで、CPU81は、上述した学習処理による学習が完了するのを待ってから検査処理を実行してもよいし、部品検査用学習データが生成されていれば、部品の学習が完了するのを待たず(教師データが揃う前)に検査処理を実行してもよい。 Next, the mounting inspection of parts using the learning data for parts inspection will be described. FIG. 7 is a flowchart showing an example of the inspection process executed by the CPU 81 of the management device 80. This process is repeatedly executed at predetermined time intervals while the above-mentioned component mounting process is being executed. Here, the CPU 81 may execute the inspection process after waiting for the learning by the learning process described above to be completed, or if the learning data for component inspection is generated, the learning of the component is completed. The inspection process may be executed without waiting (before the teacher data is available).
 検査処理が実行されると、管理装置80のCPU81は、まず、部品実装後基板画像が取得されたか否か(ステップS500)、部品検査用学習データが存在するか否か(ステップS510)、をそれぞれ判定する。CPU81は、部品実装後基板画像が取得されてないと判定したり、部品検査用学習データが存在しないと判定すると、部品検査を行なうことができないと判断し、本処理を終了する。一方、CPU81は、部品実装後基板画像が取得され、且つ、部品検査用学習データが存在すると判定すると、その部品検査用学習データを用いて部品実装後基板画像において部品を認識する認識処理(画像処理)を行なうことで検査対象となった部品が基板Sに実装されているか否かを判定する実装検査を行なう(ステップS520)。ここで、実装検査は、検査対象となった基板Sおよび部品の識別情報(基板IDおよび部品ID)に基づいて対応する部品検査用学習データをHDD83から読み出し、読み出した学習データ(認識モデル)を用いて部品実装後基板画像から部品が認識できるかどうかによって行なわれる。CPU81は、認識処理により部品の認識が成功したか否かを判定し(ステップS530)、部品の認識が成功したと判定すると、部品の実装が正常に行なわれたと判定して(ステップS540)、本処理を終了し、部品の認識が失敗したと判定すると、実装エラーが発生したと判定して(ステップS550)、本処理を終了する。 When the inspection process is executed, the CPU 81 of the management device 80 first determines whether or not the board image has been acquired after mounting the components (step S500) and whether or not the learning data for component inspection exists (step S510). Judge each. If it is determined that the board image has not been acquired after the component is mounted or the learning data for component inspection does not exist, the CPU 81 determines that the component inspection cannot be performed, and ends this process. On the other hand, when the CPU 81 determines that the component-mounted board image is acquired and the component inspection learning data exists, the CPU 81 recognizes the component in the component-mounted board image using the component inspection learning data (image). By performing the processing), a mounting inspection is performed to determine whether or not the component to be inspected is mounted on the substrate S (step S520). Here, in the mounting inspection, the corresponding learning data for component inspection is read from the HDD 83 based on the identification information (board ID and component ID) of the board S and the component to be inspected, and the read learning data (recognition model) is used. It is performed depending on whether or not the component can be recognized from the board image after mounting the component. The CPU 81 determines whether or not the recognition of the component is successful by the recognition process (step S530), and if it determines that the component recognition is successful, determines that the component is mounted normally (step S540). When the present process is terminated and it is determined that the recognition of the component has failed, it is determined that a mounting error has occurred (step S550), and the present process is terminated.
 ここで、実施形態の主要な要素と発明の開示の欄に記載した発明の主要な要素との対応関係について説明する。即ち、マークカメラ43が撮像装置に相当し、部品実装機10が部品実装機に相当し、部品実装システム1が部品実装システムに相当し、学習処理を実行する管理装置80のCPU81が学習装置に相当し、検査処理を実行する管理装置80のCPU81が検査装置に相当する。また、管理装置80のHDD83が記憶装置に相当する。また、ヘッド40がヘッドに相当し、ヘッド移動装置30がヘッド移動装置に相当する。 Here, the correspondence between the main elements of the embodiment and the main elements of the invention described in the column of disclosure of the invention will be described. That is, the mark camera 43 corresponds to the image pickup device, the component mounting machine 10 corresponds to the component mounting machine, the component mounting system 1 corresponds to the component mounting system, and the CPU 81 of the management device 80 that executes the learning process serves as the learning device. The CPU 81 of the management device 80 that executes the inspection process corresponds to the inspection device. Further, the HDD 83 of the management device 80 corresponds to the storage device. Further, the head 40 corresponds to the head, and the head moving device 30 corresponds to the head moving device.
 なお、本発明は上述した実施形態に何ら限定されることはなく、本開示の発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。 It is needless to say that the present invention is not limited to the above-described embodiment, and can be implemented in various embodiments as long as it belongs to the technical scope of the invention of the present disclosure.
 例えば、上述した実施形態では、管理装置80のCPU81は、学習処理において、再学習条件が成立したときには、学習履歴をクリアすると共に教師データの取得数Nを値0に初期化して、教師データの取得数Nが所定数Nref以上となるまで教師データに基づく機械学習によって再学習を行なうものとした。しかし、CPU81は、学習履歴をクリアすることなく、教師データを追加で取得して学習データを更新する追加学習を行なうものとしてもよい。図8は、管理装置80のCPU81により実行される変形例の学習処理を示すフローチャートである。なお、変形例の学習処理の各ステップのうち実施形態の学習処理と同一のステップについては同一のステップ番号を付し、その説明は重複するから省略する。変形例の学習処理では、CPU81は、ステップS200において学習が完了したと判定すると、追加学習条件が成立しているか否かを判定する(ステップS300B)。CPU81は、追加学習条件が成立していないと判定すると、本処理を終了し、追加学習条件が成立していると判定すると、教師データの取得数Nを所定数Nrefよりも少ない所定値αだけデクリメントして(ステップS320B)、ステップS210に進み、追加学習を行なう。追加学習は、学習履歴をクリアすることなく、教師データの取得数Nが所定数Nref以上となるまで、すなわち教師データが新たに所定値α取得されるまで、教師データを追加取得して部品検査用学習データを更新することによって行なわれる。 For example, in the above-described embodiment, the CPU 81 of the management device 80 clears the learning history and initializes the acquisition number N of the teacher data to a value 0 when the re-learning condition is satisfied in the learning process. Re-learning is performed by machine learning based on teacher data until the acquired number N becomes a predetermined number Nref or more. However, the CPU 81 may perform additional learning to additionally acquire teacher data and update the learning data without clearing the learning history. FIG. 8 is a flowchart showing a learning process of a modification executed by the CPU 81 of the management device 80. Of the steps of the learning process of the modified example, the same step numbers as those of the learning process of the embodiment are assigned the same step numbers, and the description thereof will be omitted because they are duplicated. In the learning process of the modified example, when the CPU 81 determines that the learning is completed in step S200, it determines whether or not the additional learning condition is satisfied (step S300B). When the CPU 81 determines that the additional learning condition is not satisfied, the present process is terminated, and when it is determined that the additional learning condition is satisfied, the number N of teacher data acquisitions is set to a predetermined value α less than the predetermined number Nref. Decrement (step S320B), the process proceeds to step S210, and additional learning is performed. In the additional learning, the teacher data is additionally acquired and the parts are inspected until the acquired number N of the teacher data becomes the predetermined number Nref or more, that is, until the teacher data is newly acquired the predetermined value α, without clearing the learning history. This is done by updating the training data.
 ここで、追加学習条件が成立しているか否かの判定は、図9の追加学習実行条件成否判定処理を実行することにより行なわれる。追加学習実行条件成否判定処理では、管理装置80のCPU81は、再学習実行条件成否判定処理と同様に、オペレータから追加学習指示があるか否か(ステップS400B)、基板Sのロットが切り替わったか否か(ステップS410)、基板Sに実装する部品のロットが切り替わったか否か(ステップS420)、前回学習してから所定時間が経過したか否か(ステップS430)、生産ジョブが編集されたか否か(ステップS440)、をそれぞれ判定する。CPU81は、ステップS400B,S410~S440のうちいずれもが否定的な判定であれば、追加学習実行条件が成立していないと判定して(ステップS450B)、本処理を終了し、いずれかが肯定的な判定であれば、追加学習実行条件が成立していると判定して(ステップS460B)、本処理を終了する。 Here, the determination as to whether or not the additional learning condition is satisfied is performed by executing the additional learning execution condition success / failure determination process shown in FIG. In the additional learning execution condition success / failure determination process, the CPU 81 of the management device 80 determines whether or not there is an additional learning instruction from the operator (step S400B) and whether or not the lot of the substrate S is switched, as in the relearning execution condition success / failure determination process. (Step S410), whether the lot of parts to be mounted on the board S has been switched (step S420), whether a predetermined time has passed since the last learning (step S430), and whether the production job has been edited. (Step S440), respectively. If any of steps S400B and S410 to S440 is negative, the CPU 81 determines that the additional learning execution condition is not satisfied (step S450B), terminates this process, and affirms any of them. If it is a specific determination, it is determined that the additional learning execution condition is satisfied (step S460B), and this process is terminated.
 上述した実施形態では、CPU81は、検査処理において、部品検査用学習データを用いた実装検査として、実装動作を行なった後の基板Sに実際に部品が実装されたか否かの検査を行なうものとした。しかし、CPU81は、学習データを用いた実装検査として、基板Sに対して部品に実装ずれ(XY方向のずれや回転方向のずれ)が生じているか否かの検査を行なうものとしてもよい。 In the above-described embodiment, in the inspection process, the CPU 81 inspects whether or not the component is actually mounted on the substrate S after the mounting operation is performed as a mounting inspection using the learning data for component inspection. did. However, the CPU 81 may inspect the substrate S for mounting deviation (deviation in the XY direction or deviation in the rotation direction) as a mounting inspection using the learning data.
 なお、部品実装機10は、複数のブロック(子基板)を含み、ブロック毎に部品を実装するか否かを示す情報(スキップ情報)が設定された基板を実装する場合、「スキップ無し」が設定されたブロックに対しては部品を実装し、「スキップ有り」が設定されたブロックについては部品を実装しない。こうした複数のブロックを含む基板への部品実装前の学習は、スキップ有り無しに拘わらず全てのブロックについて行なわれる。一方、部品実装後の学習は、スキップ無しが設定されたブロックに対してのみ行なわれ、スキップ有りが設定されたブロックに対しては行なわれない。これにより、より確実に実装された部品のみを学習することができる。 When the component mounting machine 10 includes a plurality of blocks (child boards) and mounts a board in which information (skip information) indicating whether or not to mount the components is set for each block, "no skip" is displayed. Parts are mounted on the set blocks, and parts are not mounted on the blocks for which "with skip" is set. Learning before mounting components on a board containing a plurality of blocks is performed for all blocks regardless of whether or not skipping is performed. On the other hand, learning after component mounting is performed only on the block for which no skip is set, and not for the block for which skip is set. As a result, only the mounted parts can be learned more reliably.
 以上説明したように、本開示の部品実装システムは、基板搬送方向に並ぶと共に基板を撮像する撮像装置をそれぞれ有する複数の部品実装機を備える部品実装システムであって、部品を実装する実装動作を行なう前の部品実装前基板と前記実装動作を行なった後の部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて機械学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを取得すると共に該取得した教師データと前記部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを生成する学習装置と、前記部品実装後基板を前記撮像装置で撮像し、前記部品検査用の学習データを用いて前記部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで前記部品実装後基板の検査を行なう検査装置と、を備えることを要旨とする。 As described above, the component mounting system of the present disclosure is a component mounting system including a plurality of component mounting machines that are arranged in the substrate transport direction and each has an image pickup device that images a substrate, and performs a mounting operation for mounting components. The image pickup device captures an image of the component mounting pre-board before the component mounting and the component mounting post-board after the component mounting operation, and machine learning is performed based on the captured image of the component mounting pre-board to perform machine learning. A learning device that acquires teacher data based on the captured image of the above and generates learning data for component inspection by performing machine learning based on the acquired teacher data and the captured image of the board after mounting the component, and the component mounting. An inspection device that inspects the post-component mounting substrate by imaging the rear substrate with the imaging device and performing image processing for recognizing the component in the captured image of the component mounting post-board using the learning data for component inspection. And, the gist is to prepare.
 この本開示の部品実装システムは、学習装置と検査装置とを備える。学習装置は、部品実装前基板と部品実装後基板とを撮像し、部品実装前基板の撮像画像に基づいて機械学習を行ない、部品実装後基板の撮像画像に基づく教師データを取得すると共に取得した教師データと部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを生成する。検査装置は、部品実装後基板を撮像し、部品検査用の学習データを用いて部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで部品実装後基板の検査を行なう。このように、部品実装前基板および部品実装後基板のそれぞれの撮像画像に基づいて学習データを生成することで、部品実装後基板の撮像画像から部品を認識する際の認識精度を高めることができる。この結果、部品実装後基板の検査を適切に行なってその品質を確保することができる。 The component mounting system of this disclosure includes a learning device and an inspection device. The learning device images the pre-component mounting board and the post-component mounting board, performs machine learning based on the captured image of the pre-component mounting board, and acquires and acquires teacher data based on the captured image of the post-component mounting board. Machine learning is performed based on the teacher data and the captured image of the board after mounting the components to generate learning data for component inspection. The inspection device inspects the board after mounting the component by taking an image of the board after mounting the component and performing image processing for recognizing the component in the captured image of the board after mounting the component using the learning data for component inspection. In this way, by generating learning data based on the captured images of the board before component mounting and the board after component mounting, it is possible to improve the recognition accuracy when recognizing the component from the captured image of the board after component mounting. .. As a result, the quality of the board can be ensured by appropriately inspecting the board after mounting the components.
 こうした本開示の部品実装システムにおいて、前記学習装置は、所定の再学習条件が成立した場合には、前記部品実装前基板と前記部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて機械学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを再取得すると共に該再取得した教師データと前記部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを再生成し、前記部品実装後基板の識別情報または該部品実装後基板に実装された部品の識別情報と関連付けて前記再生成した部品検査用の学習データを記憶装置に記憶し、前記検査装置は、前記部品実装後基板を前記撮像装置で撮像し、前記部品実装後基板の識別情報または該部品実装後基板に実装された部品の識別情報を取得すると共に該取得した識別情報に対応する部品検査用の学習データを前記記憶装置から読み出し、該読み出した部品検査用の学習データを用いて前記部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで前記部品実装後基板の検査を行なうものとしてもよい。こうすれば、部品の認識精度を良好に維持することができる。ここで、前記再学習条件は、オペレータにより指示された場合、基板のロットが切り替わった場合、実装する部品のロットが切り替わった場合、前回に学習を実行してから所定時間が経過した場合または生産ジョブが変更された場合に成立する条件であるものとしてもよい。 In such a component mounting system of the present disclosure, when a predetermined re-learning condition is satisfied, the learning device images the pre-parts mounting board and the post-parts mounting board with the image pickup device, and before the component mounting. Machine learning is performed based on the captured image of the board, and the teacher data based on the captured image of the board after mounting the component is reacquired, and the machine learning is performed based on the re-acquired teacher data and the captured image of the board after mounting the component. Is performed to regenerate the learning data for component inspection, and the regenerated learning data for component inspection is generated in association with the identification information of the board after mounting the component or the identification information of the component mounted on the board after mounting the component. Stored in a storage device, the inspection device images the board after mounting the component with the imaging device, and acquires identification information of the board after mounting the component or identification information of the component mounted on the board after mounting the component. The learning data for component inspection corresponding to the acquired identification information is read from the storage device, and the read learning data for component inspection is used to perform image processing for recognizing the component in the captured image of the board after mounting the component. Therefore, the substrate may be inspected after mounting the components. By doing so, it is possible to maintain good recognition accuracy of the parts. Here, the re-learning conditions are as follows: when instructed by the operator, when the lot of the board is switched, when the lot of the parts to be mounted is switched, when a predetermined time has elapsed since the last learning was executed, or when production is performed. It may be a condition that is satisfied when the job is changed.
 また、本開示の部品実装システムにおいて、前記学習装置は、所定の追加学習条件が成立した場合には、前記部品実装前基板と前記部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて追加学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを再取得すると共に該再取得した教師データと前記部品実装後基板の撮像画像とに基づいて追加学習を行なって前記部品検査用の学習データを更新するものとしてもよい。こうすれば、部品の認識精度を良好に維持することができる。ここで、前記追加学習条件は、オペレータにより指示された場合、基板のロットが切り替わった場合、実装する部品のロットが切り替わった場合、前回に学習を実行してから所定時間が経過した場合または生産ジョブが変更された場合に成立する条件であるものとしてもよい。 Further, in the component mounting system of the present disclosure, when a predetermined additional learning condition is satisfied, the learning device images the pre-component mounting board and the post-component mounting board with the imaging device, and mounts the component. Additional learning is performed based on the captured image of the front board, the teacher data based on the captured image of the board after mounting the component is reacquired, and the teacher data is added based on the reacquired teacher data and the captured image of the board after mounting the component. Learning may be performed to update the learning data for the component inspection. By doing so, it is possible to maintain good recognition accuracy of the parts. Here, the additional learning conditions are as follows: when instructed by the operator, when the lot of the board is switched, when the lot of the parts to be mounted is switched, when a predetermined time has elapsed since the last learning was executed, or when production is performed. It may be a condition that is satisfied when the job is changed.
 さらに、本開示の部品実装システムにおいて、前記検査装置は、前記部品実装後基板の検査として、前記部品実装後基板に検査対象の部品が実装されているか否かを判定するものとしてもよい。 Further, in the component mounting system of the present disclosure, the inspection device may determine whether or not the component to be inspected is mounted on the component mounting board as the inspection of the component mounting board.
 また、本開示の部品実装システムにおいて、前記部品実装機は、前記部品を採取可能なヘッドと、前記ヘッドを移動させるヘッド移動装置と、を備え、前記撮像装置は、前記ヘッド移動装置によって前記ヘッドと共に移動可能に設けられているものとしてもよい。 Further, in the component mounting system of the present disclosure, the component mounting machine includes a head capable of collecting the component and a head moving device for moving the head, and the imaging device includes the head by the head moving device. It may be provided so as to be movable together with.
 本開示は、部品実装機や部品実装システムの製造産業などに利用可能である。 This disclosure can be used in the manufacturing industry of component mounting machines and component mounting systems.
 1 部品実装システム、2 印刷機、3 印刷検査機、10 部品実装機、11 筐体、21 部品供給装置、22 基板搬送装置、23 パーツカメラ、24 ノズルステーション、30 ヘッド移動装置、31 X軸ガイドレール、32 X軸スライダ、33 X軸アクチュエータ、34 X軸位置センサ、35 Y軸ガイドレール、36 Y軸スライダ、37 Y軸アクチュエータ、38 Y軸位置センサ、40 ヘッド、41 Z軸アクチュエータ、42 θ軸アクチュエータ、43 マークカメラ、60 制御装置、61 CPU、62 ROM、63 HDD、64 RAM、65 入出力インタフェース、66 バス、80 管理装置、81 CPU、82 ROM、83 HDD、84 RAM、85 入出力インタフェース、86 バス、87 入力デバイス、88 ディスプレイ、S 基板。 1 Parts mounting system, 2 Printing machine, 3 Printing inspection machine, 10 Parts mounting machine, 11 Housing, 21 Parts supply device, 22 Board transfer device, 23 Parts camera, 24 Nozzle station, 30 Head moving device, 31 X-axis guide Rail, 32 X-axis slider, 33 X-axis actuator, 34 X-axis position sensor, 35 Y-axis guide rail, 36 Y-axis slider, 37 Y-axis actuator, 38 Y-axis position sensor, 40 head, 41 Z-axis actuator, 42 θ Axis actuator, 43 mark camera, 60 control device, 61 CPU, 62 ROM, 63 HDD, 64 RAM, 65 input / output interface, 66 bus, 80 management device, 81 CPU, 82 ROM, 83 HDD, 84 RAM, 85 input / output Interface, 86 bus, 87 input device, 88 display, S board.

Claims (7)

  1.  基板搬送方向に並ぶと共に基板を撮像する撮像装置をそれぞれ有する複数の部品実装機を備える部品実装システムであって、
     部品を実装する実装動作を行なう前の部品実装前基板と前記実装動作を行なった後の部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて機械学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを取得すると共に該取得した教師データと前記部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを生成する学習装置と、
     前記部品実装後基板を前記撮像装置で撮像し、前記部品検査用の学習データを用いて前記部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで前記部品実装後基板の検査を行なう検査装置と、
     を備える部品実装システム。
    It is a component mounting system equipped with a plurality of component mounting machines that are lined up in the substrate transport direction and each has an imaging device that images a substrate.
    The pre-component mounting board before the component mounting operation and the post-component mounting board after the mounting operation are imaged by the imaging device, and machine learning is performed based on the captured image of the pre-component mounting board. This is performed to acquire teacher data based on the captured image of the board after mounting the component, and machine learning is performed based on the acquired teacher data and the captured image of the board after mounting the component to generate learning data for component inspection. Learning device and
    The component-mounted board is inspected by imaging the component-mounted board with the imaging device and performing image processing for recognizing the component in the captured image of the component-mounted board using the learning data for component inspection. Inspection equipment to be performed and
    A component mounting system equipped with.
  2.  請求項1に記載の部品実装システムであって、
     前記学習装置は、所定の再学習条件が成立した場合には、前記部品実装前基板と前記部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて機械学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを再取得すると共に該再取得した教師データと前記部品実装後基板の撮像画像とに基づいて機械学習を行なって部品検査用の学習データを再生成し、前記部品実装後基板の識別情報または該部品実装後基板に実装された部品の識別情報と関連付けて前記再生成した部品検査用の学習データを記憶装置に記憶し、
     前記検査装置は、前記部品実装後基板を前記撮像装置で撮像し、前記部品実装後基板の識別情報または該部品実装後基板に実装された部品の識別情報を取得すると共に該取得した識別情報に対応する部品検査用の学習データを前記記憶装置から読み出し、該読み出した部品検査用の学習データを用いて前記部品実装後基板の撮像画像において部品を認識する画像処理を行なうことで前記部品実装後基板の検査を行なう、
     部品実装システム。
    The component mounting system according to claim 1.
    When a predetermined relearning condition is satisfied, the learning device takes an image of the pre-component mounting board and the post-component mounting board with the imaging device, and machine learning is performed based on the captured image of the pre-component mounting board. Is performed, and the teacher data based on the captured image of the board after mounting the component is reacquired, and machine learning is performed based on the re-acquired teacher data and the captured image of the board after mounting the component to perform learning data for component inspection. Is regenerated, and the regenerated learning data for component inspection is stored in the storage device in association with the identification information of the board after mounting the component or the identification information of the component mounted on the board after mounting the component.
    The inspection device images the board after mounting the component with the imaging device, acquires the identification information of the board after mounting the component or the identification information of the component mounted on the board after mounting the component, and obtains the acquired identification information. After the component is mounted, the corresponding learning data for component inspection is read from the storage device, and the read learning data for component inspection is used to perform image processing for recognizing the component in the captured image of the board after the component is mounted. Inspect the board,
    Component mounting system.
  3.  請求項2に記載の部品実装システムであって、
     前記再学習条件は、オペレータにより指示された場合、基板のロットが切り替わった場合、実装する部品のロットが切り替わった場合、前回に学習を実行してから所定時間が経過した場合または生産ジョブが変更された場合に成立する条件である、
     部品実装システム。
    The component mounting system according to claim 2.
    The re-learning conditions are specified by the operator, the lot of the board is switched, the lot of the parts to be mounted is switched, the predetermined time has passed since the last learning was executed, or the production job is changed. It is a condition that is satisfied when it is done,
    Component mounting system.
  4.  請求項1ないし3いずれか1項に記載の部品実装システムであって、
     前記学習装置は、所定の追加学習条件が成立した場合には、前記部品実装前基板と前記部品実装後基板とを前記撮像装置で撮像し、前記部品実装前基板の撮像画像に基づいて追加学習を行ない、前記部品実装後基板の撮像画像に基づく教師データを再取得すると共に該再取得した教師データと前記部品実装後基板の撮像画像とに基づいて追加学習を行なって前記部品検査用の学習データを更新する、
     部品実装システム。
    The component mounting system according to any one of claims 1 to 3.
    When a predetermined additional learning condition is satisfied, the learning device takes an image of the pre-component mounting board and the post-component mounting board with the imaging device, and additional learning is performed based on the captured image of the pre-component mounting board. , And re-acquire the teacher data based on the captured image of the board after mounting the component, and perform additional learning based on the re-acquired teacher data and the captured image of the board after mounting the component to learn for the component inspection. Update the data,
    Component mounting system.
  5.  請求項4に記載の部品実装システムであって、
     前記追加学習条件は、オペレータにより指示された場合、基板のロットが切り替わった場合、実装する部品のロットが切り替わった場合、前回に学習を実行してから所定時間が経過した場合または生産ジョブが変更された場合に成立する条件である、
     部品実装システム。
    The component mounting system according to claim 4.
    The additional learning conditions are specified by the operator, the lot of the board is switched, the lot of the parts to be mounted is switched, the predetermined time has passed since the last learning was executed, or the production job is changed. It is a condition that is satisfied when it is done,
    Component mounting system.
  6.  請求項1ないし5いずれか1項に記載の部品実装システムであって、
     前記検査装置は、前記部品実装後基板の検査として、前記部品実装後基板に検査対象の部品が実装されているか否かを判定する、
     部品実装システム。
    The component mounting system according to any one of claims 1 to 5.
    The inspection device determines whether or not a component to be inspected is mounted on the component-mounted board as an inspection of the component-mounted board.
    Component mounting system.
  7.  請求項1ないし6いずれか1項に記載の部品実装システムであって、
     前記部品実装機は、前記部品を採取可能なヘッドと、前記ヘッドを移動させるヘッド移動装置と、を備え、
     前記撮像装置は、前記ヘッド移動装置によって前記ヘッドと共に移動可能に設けられている、
     部品実装システム。
    The component mounting system according to any one of claims 1 to 6.
    The component mounting machine includes a head capable of collecting the component and a head moving device for moving the head.
    The image pickup device is provided so as to be movable together with the head by the head moving device.
    Component mounting system.
PCT/JP2019/026655 2019-07-04 2019-07-04 Component mounting system WO2021001996A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2019/026655 WO2021001996A1 (en) 2019-07-04 2019-07-04 Component mounting system
JP2021529658A JP7257514B2 (en) 2019-07-04 2019-07-04 Component mounting system and learning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/026655 WO2021001996A1 (en) 2019-07-04 2019-07-04 Component mounting system

Publications (1)

Publication Number Publication Date
WO2021001996A1 true WO2021001996A1 (en) 2021-01-07

Family

ID=74100816

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/026655 WO2021001996A1 (en) 2019-07-04 2019-07-04 Component mounting system

Country Status (2)

Country Link
JP (1) JP7257514B2 (en)
WO (1) WO2021001996A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1041700A (en) * 1996-07-25 1998-02-13 Sanyo Electric Co Ltd Method and device for setting mounting route of electronic part mounting equipment
JP2011145958A (en) * 2010-01-15 2011-07-28 Canon Inc Pattern identification device and method of controlling the same
JP2017033979A (en) * 2015-07-29 2017-02-09 ファナック株式会社 Packaging tact, component mounter for reducing power consumption, and machine learning device
JP2018025481A (en) * 2016-08-10 2018-02-15 オムロン株式会社 Surface mounting line survey instrument and quality management system
JP2018097731A (en) * 2016-12-15 2018-06-21 株式会社Fuji Image processing system and image processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1041700A (en) * 1996-07-25 1998-02-13 Sanyo Electric Co Ltd Method and device for setting mounting route of electronic part mounting equipment
JP2011145958A (en) * 2010-01-15 2011-07-28 Canon Inc Pattern identification device and method of controlling the same
JP2017033979A (en) * 2015-07-29 2017-02-09 ファナック株式会社 Packaging tact, component mounter for reducing power consumption, and machine learning device
JP2018025481A (en) * 2016-08-10 2018-02-15 オムロン株式会社 Surface mounting line survey instrument and quality management system
JP2018097731A (en) * 2016-12-15 2018-06-21 株式会社Fuji Image processing system and image processing method

Also Published As

Publication number Publication date
JPWO2021001996A1 (en) 2021-01-07
JP7257514B2 (en) 2023-04-13

Similar Documents

Publication Publication Date Title
JP7127075B2 (en) board working system
JP6622801B2 (en) Guide device and guide system
WO2004049775A1 (en) Substrate working system including unit for judging propriety of working program and program for judging propriety of working program
CN106255402B (en) Component mounting system and component mounting method for component mounting system
JP2023126381A (en) system
EP3806607A1 (en) Component mounting system and method for instructing disposition of component supply unit
JP2019175914A (en) Image management method and image management device
WO2021001996A1 (en) Component mounting system
JP2023054189A (en) Board work system
WO2021001995A1 (en) Component mounting system
WO2022003772A1 (en) Component mounting system
CN114830848B (en) Component mounting line
WO2021014615A1 (en) Mounting device and method for controlling mounting device
WO2024069783A1 (en) Control device, mounting device, management device and information processing method
JP6377136B2 (en) Anti-substrate working machine, anti-substrate working system, and anti-substrate working method
US20230371224A1 (en) Management device, management method, and work device
WO2023195173A1 (en) Component mounting system and image classification method
JP7261303B2 (en) Mounting equipment, mounting system, and inspection mounting method
WO2022269679A1 (en) Control method for component mounting system, and component mounting system
WO2023139789A1 (en) Preparation device, mounting device, mounting system, and information processing method
JP7503789B2 (en) Component mounting error management device and component mounting device
CN114026975B (en) Component mounting apparatus
JP7470908B2 (en) Component mounting system, component mounting method, and component mounting device
US20230389251A1 (en) Component mounting system
US20230413501A1 (en) Management device and management method, and work device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19936206

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021529658

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19936206

Country of ref document: EP

Kind code of ref document: A1