Patent Description:
Conventionally, a component mounting machine for detecting the coplanarity of a lead in an electronic component including a main body and multiple leads protruding laterally from a side surface of the main body (degree to which tip end portions of multiple leads are located on the same plane) has been proposed (refer to, for example, Patent Literature <NUM>). The component mounting machine is provided with a camera for coplanarity detection whose position is fixed in a state of being inclined toward the electronic component held by a holding device and in a direction toward the bottom surface from an upper surface as the optical axis approaches the electronic component with respect to the bottom surface of the component main body, and a planar light source provided at a position corresponding to the camera. The component mounting machine stops the holding device while the electronic component is taken out and moved to a printed wiring board, and images the electronic component by the camera. The component mounting machine rotates the electronic component to image all the leads on the four sides, performs image processing on the captured image data, and detects the coplanarity.

<CIT> relates to coplanarity detection of leads on components. Each component is imaged from below or above wherein mirrors are located besides the component with an angle of <NUM>° to the imaging direction such that each image also includes images of the sides of the component. From the images of the sides of the component, the length of the longest of the leads (in side view) is determined.

<CIT> relates to coplanarity detection of leads on components. A point-like light source illuminates a row of leads on the component and the size of the shadow from the leads is detected behind the components. As the light source is point-like, the light and the shadow thrown from the first lead in the row is divergent. Therefore the height of the component is varied such that the tips of the leads behind the first lead can also be detected (c.

However, in the component mounting machine described above, a dedicated camera is required to detect the state (coplanarity) of the lead, which leads to an increase in the size and cost of the device.

It is a main object of the present disclosure to provide a component mounting machine capable of appropriately determining the states of multiple leads protruding laterally from a main body of a component with a simple configuration.

The present disclosure adopts the following means to achieve the main object described above.

The component mounting machine of the present disclosure holds a component and mounts the component on a board, and it is a gist to include a head having a holding member configured to hold the component from an upper surface side, a moving device configured to move the head, an imaging device configured to image the component held by the holding member from a direction perpendicular to a bottom surface, and a control device configured to control the head and the moving device so that the component held by the holding member is mounted on the board after performing image processing for processing a captured image of the component imaged by the imaging device, in which when mounting a component having a main body and multiple leads protruding laterally from a side surface of the main body, the control device measures each of lengths of images of the multiple leads extracted from the captured image, and performs a first determination of abnormality in which it is determined as abnormal in a case where at least one of the measured lengths of the images of the leads is not within an allowable range.

The control device of the component mounting machine according to the present disclosure controls the head and the moving device so that the component held by the holding member is mounted on the board after performing image processing for processing a captured image of the component imaged by the imaging device. In addition, when mounting a component having a main body and multiple leads protruding laterally from a side surface of the main body, the control device measures each of lengths of images of the multiple leads extracted from the captured image, and performs a first determination of abnormality that it is determined as abnormal in a case where at least one of the lengths of the images of the leads is not within an allowable range. In the component having multiple leads protruding laterally from the side surface of the main body, when lead floating occurs in any of multiple leads, the length of the image of the lead extracted from the captured image in a case where the component is imaged from the direction perpendicular to the bottom surface of the main body is longer than that in which the lead floating does not occur. Accordingly, when it is determined that there is an abnormality in a case where at least one of the lengths of the images of the leads is not within the allowable range, the state of the leads can be appropriately determined. In addition, since the imaging device is also used as a device used for image processing performed before mounting the component, the component mounting machine does not need to include a dedicated imaging device for determining the state of the lead. As a result, with a simple configuration, it is possible to provide the component mounting machine capable of appropriately determining the states of multiple leads protruding laterally from the main body of the component.

Next, embodiments of the present invention will be described using examples.

<FIG> is a configuration view schematically illustrating a configuration of component mounting machine <NUM> of the present embodiment. <FIG> is a top view of component mounting machine <NUM>. <FIG> is a block diagram illustrating an electrical connection relationship between control device <NUM> of component mounting machine <NUM> and management device <NUM>. <FIG> is a configuration view schematically illustrating a configuration of optical sensor <NUM>. In <FIG>, the left-right direction is the X-axis direction, the front-rear (depth) direction is the Y-axis direction, and the up-down direction is the Z-axis direction.

As illustrated in <FIG>, component mounting machine <NUM> is provided with component supply device <NUM>, board conveyance device <NUM>, head moving device <NUM>, head <NUM>, optical sensor <NUM>, and control device <NUM> (refer to <FIG>). In addition to these, component mounting machine <NUM> also is provided with part camera <NUM>, mark camera <NUM>, discard box <NUM>, and the like. Multiple component mounting machines <NUM> are arranged side by side in the board conveyance direction (X-axis direction) to form a production line. The production line is managed by management device <NUM>.

Component supply device <NUM> is provided with tape feeder <NUM> and tray feeder <NUM> provided at a front end portion of base plate <NUM> of component mounting machine <NUM>. Tape feeder <NUM> is disposed so as to be arranged side by side in the left-right direction (X-axis direction), and supplies the component by drawing a tape in which the components are accommodated in each of multiple recessed portions formed at predetermined intervals in the longitudinal direction from a reel in the front-rear direction (Y-axis direction). Tray feeder <NUM> supplies the component by feeding a tray in which the components are accommodated in each of multiple recessed portions formed in a lattice shape in the front-rear direction (Y-axis direction). Tray feeder <NUM> is used, for example, when supplying relatively large electronic components (IC components) such as a small outline package (SOP) and a quad flat package (QFP).

Board conveyance device <NUM> is provided with a pair of conveyor rails disposed on base plate <NUM> at intervals in the front-rear direction (Y-axis direction). Board conveyance device <NUM> conveys board S from the left to the right in <FIG> (board conveyance direction) by driving a pair of conveyor rails.

As illustrated in <FIG>, head moving device <NUM> is provided with a pair of X-axis guide rails <NUM>, X-axis slider <NUM>, X-axis actuator <NUM> (refer to <FIG>), a pair of Y-axis guide rails <NUM>, Y-axis slider <NUM>, and Y-axis actuator <NUM> (refer to <FIG>). The pair of Y-axis guide rails <NUM> are disposed on an upper stage of housing <NUM> so as to extend parallel to each other in the Y-axis direction. Y-axis slider <NUM> is spanned by the pair of Y-axis guide rails <NUM>. Y-axis actuator <NUM> moves Y-axis slider <NUM> in the Y-axis direction along Y-axis guide rail <NUM>. The pair of X-axis guide rails <NUM> are disposed on a front surface of Y-axis slider <NUM> so as to extend parallel to each other in the X-axis direction. X-axis slider <NUM> is spanned by the pair of X-axis guide rails <NUM>. X-axis actuator <NUM> moves X-axis slider <NUM> in the X-axis direction along X-axis guide rail <NUM>. Head <NUM> is attached to X-axis slider <NUM>. Head moving device <NUM> moves head <NUM> in the X-axis direction and the Y-axis direction by moving X-axis slider <NUM> and Y-axis slider <NUM>.

As illustrated in <FIG>, head <NUM> is provided with Z-axis actuator <NUM> and θ-axis actuator <NUM>. Z-axis actuator <NUM> moves suction nozzle <NUM> in the up-down direction (Z-axis direction). In addition, θ-axis actuator <NUM> rotates suction nozzle <NUM> around the Z-axis. Although not illustrated, the suction port of suction nozzle <NUM> selectively communicates with the negative pressure source, the positive pressure source, and the air introduction port by a solenoid valve. Head <NUM> can pick up the component by the negative pressure acting on the suction port by causing the suction port of suction nozzle <NUM> to abut on the upper surface of the component in a state where the suction port of suction nozzle <NUM> is in communication with the negative pressure source. In addition, by causing the suction port of suction nozzle <NUM> to communicate with the positive pressure source, head <NUM> can release the pickup of the component by positive pressure acting on the suction port.

Part camera <NUM> is disposed between component supply device <NUM> and board conveyance device <NUM> of base plate <NUM>. When a component picked up by suction nozzle <NUM> passes above part camera <NUM>, part camera <NUM> images the bottom surface of the component from a direction perpendicular to the bottom surface of the component. The captured image imaged by part camera <NUM> is output to control device <NUM>. Control device <NUM> performs an image processing for recognizing a component on the captured image of part camera <NUM>, which enables device <NUM> to perform; a determination whether the component is picked up by suction nozzle <NUM>, a determination whether the picked up component is normal, a determination whether the amount of each of the positional deviations (Δx, Δy, Δθ) in the X-axis direction, the Y-axis direction, and the θ-axis direction of the picked up component are within an allowable range, and the like.

Mark camera <NUM> is attached to X-axis slider <NUM>. Mark camera <NUM> images a mark affixed to the surface of board S from a direction perpendicular to the surface. The captured image imaged by mark camera <NUM> is output to control device <NUM>. Control device <NUM> confirms the position of board S by performing image processing for recognizing the mark on the captured image of mark camera <NUM>.

Discard box <NUM> is intended to discard a component that is a target of the abnormality when an abnormality occurs in the picked up component.

Optical sensor <NUM> is used to determine whether an abnormality occurs in any of leads <NUM> in a case where component <NUM> having rectangular main body <NUM> and multiple leads <NUM> protruding in a gull-wing shape (L-shape) from a side surface of main body <NUM> is to be mounted, such as SOP or QFP. The abnormality of lead <NUM> may include lead floating in which lead <NUM> is bent toward the outside of main body <NUM>, and lead breakage in which lead <NUM> is bent toward the inside of main body <NUM>. Any of these abnormalities cannot cause all of leads <NUM> protruding from the side surface of main body <NUM> to uniformly contact board S (solder), which causes a defective product to be generated.

As illustrated in <FIG>, optical sensor <NUM> is disposed between component supply device <NUM> and board conveyance device <NUM> of base plate <NUM> and at a position adjacent to part camera <NUM>. As illustrated in <FIG>, optical sensor <NUM> is provided with light projector <NUM> provided on support base <NUM>, and light receiver <NUM> provided on support base <NUM> so as to face light projector <NUM> with a predetermined space therebetween. Alignment marks <NUM> and <NUM> for aligning the position of component <NUM> with the detection position of optical sensor <NUM> are attached to the upper surface of each support base <NUM> and <NUM>. Marks <NUM> and <NUM> may be omitted.

In a case of determining the state of lead <NUM> using optical sensor <NUM>, control device <NUM> aligns component <NUM> so that the optical axis (refer to dashed lines in <FIG>) directed from light projector <NUM> to light receiver <NUM> is parallel to the arrangement direction of multiple leads <NUM> protruding from one side surface of main body <NUM> and passes through tip end portions of multiple leads <NUM>, as illustrated in <FIG>, in a state where component <NUM> is picked up by suction nozzle <NUM>. The alignment of component <NUM> is performed by driving and controlling X-axis actuator <NUM> and Y-axis actuator <NUM> of head moving device <NUM>, and driving and controlling Z-axis actuator <NUM> and θ-axis actuator <NUM> of head <NUM> to move suction nozzle <NUM> that picks up component <NUM> in the XY-axis direction and rotate suction nozzle <NUM> in the θ-axis direction. Subsequently, control device <NUM> drives and controls light projector <NUM> so that light is projected from light projector <NUM> toward light receiver <NUM>. As a result, a part of the light from light projector <NUM> is shielded by the tip end portions of multiple leads <NUM>, and the remaining light is received by light receiver <NUM>. Here, in a case where the lead floating or the like occurs in a part of multiple leads <NUM> protruding from one side surface of main body <NUM> so that a normal lead and an abnormal lead are mixed, apparent thickness W in the side view of multiple leads <NUM> is increased as compared with a case where all of multiple leads <NUM> are normal. The greater the degree of lead floating and the like, the thicker thickness W. As thickness W increases, the shielding rate of the light from light projector <NUM> by multiple leads <NUM> increases, so that the amount of light received by light receiver <NUM> decreases. Accordingly, control device <NUM> can determine apparent thickness W of multiple leads <NUM> in the side view based on the amount of light received by light receiver <NUM>, and can determine the states of multiple leads <NUM> based on thickness W. That is, control device <NUM> determines thickness W based on a light-receiving signal from light receiver <NUM>, determines that any of multiple leads <NUM> protruding from one side surface of main body <NUM> is normal when thickness W is within the allowable range, and determines that at least one of multiple leads <NUM> is abnormal when thickness W is not within the allowable range. In a case where component <NUM> is configured as QFP in which multiple leads protrude from each of the four side surfaces of the main body, control device <NUM> determines the states of all the leads protruding from the four side surfaces by irradiating light from light projector <NUM> to the tip end portions of multiple leads protruding from the corresponding side surfaces at each of rotational positions while rotating component <NUM> by <NUM>°. In addition, in a case where component <NUM> is configured as SOP or SSOP in which multiple leads protrude from each of two facing side surfaces of the main body, control device <NUM> determines the states of all the leads protruding from the two side surfaces by irradiating light from light projector <NUM> to the tip end portions of multiple leads protruding from the corresponding side surfaces at each of rotational positions while rotating component <NUM> by <NUM>°.

Here, as illustrated in <FIG>, optical sensor <NUM> effectively functions in a case where it is determined whether an abnormality occurs in a part of multiple leads 102a protruding from one side surface of main body 101a in component 100a in which main body 101a is relatively thin and the height of the lead is low. However, as illustrated in <FIG>, optical sensor <NUM> may not function effectively in a case where it is determined whether a similar abnormality occurs in component 100b in which main body 101b is relatively thick and the height of the lead is high (length of a rising edge portion of the lead is long). That is, in component 100b having a high height of the lead, even when lead 102b slightly floats or breaks, since the tip end portion of lead 102b deviates from the light projection range of light projector <NUM>, as illustrated in <FIG>, <FIG>, it is difficult for control device <NUM> to determine apparent thickness W of multiple leads 102b in the side view based on the amount of light received from light receiver <NUM>.

As illustrated in <FIG>, control device <NUM> is configured as a microprocessor centered on CPU <NUM>, and is provided with ROM <NUM>, HDD <NUM>, RAM <NUM>, and input and output interface <NUM>, in addition to CPU <NUM>. These are electrically connected to one another via bus <NUM>. Various detection signals are input to control device <NUM> via input and output interface <NUM>. Examples of the various detection signals input to control device <NUM> include a position signal from X-axis position sensor <NUM> that senses the position of X-axis slider <NUM>, a position signal from Y-axis position sensor <NUM> that senses the position of Y-axis slider <NUM>, a position signal from Z-axis position sensor <NUM> that senses the position of suction nozzle <NUM> in the Z-axis direction, and a position signal from θ-axis position sensor <NUM> that sense the position of suction nozzle <NUM> in the θ-axis direction. In addition, the various signals input to control device <NUM> include an image signal from part camera <NUM>, an image signal from mark camera <NUM>, and the light-receiving signal from light receiver <NUM> of optical sensor <NUM>. On the other hand, various control signals are output from control device <NUM> via input and output interface <NUM>. Examples of the various control signals output from control device <NUM> include a control signal to component supply device <NUM> and a control signal to board conveyance device <NUM>. In addition, the various control signals output from control device <NUM> include a drive signal to X-axis actuator <NUM>, a drive signal to Y-axis actuator <NUM>, a drive signal to Z-axis actuator <NUM>, and a drive signal to θ-axis actuator <NUM>. Furthermore, the various control signals output from control device <NUM> include a control signal to part camera <NUM>, a control signal to mark camera <NUM>, and a drive signal to light projector <NUM> of optical sensor <NUM>. In addition, control device <NUM> is connected to management device <NUM> so as to be capable of bidirectional communication, and exchanges data and control signals with each other.

For example, management device <NUM> is a general-purpose computer, and is provided with CPU <NUM>, ROM <NUM>, HDD <NUM>, RAM <NUM>, input and output interface <NUM>, and the like, as illustrated in <FIG>. These are electrically connected to one another via bus <NUM>. An input signal from input device <NUM> such as a mouse and a keyboard is input to management device <NUM> via input and output interface <NUM>. In addition, an image signal to display <NUM> is output from management device <NUM> via input and output interface <NUM>. HDD <NUM> stores a production job of board S. Here, the production job of board S includes a production schedule such as which components are mounted on board S in which order in each component mounting machine <NUM>, and how many sheets of board S on which the components are mounted in this manner are prepared. Management device <NUM> generates a production job based on various types of data input by an operator via input device <NUM>, transmits the generated production job to each component mounting machine <NUM>, and thus instructs each component mounting machine <NUM> to start production.

Next, an operation of component mounting machine <NUM> of the present embodiment configured as described above will be described. In particular, an operation when component <NUM> having lead <NUM> protruding laterally from main body <NUM> is mounted will be described. <FIG> is a flowchart illustrating an example of component mounting processing executed by CPU <NUM> of control device <NUM>. This processing is executed when the start of production is instructed by the operator. Control device <NUM> receives the production job transmitted from management device <NUM>, and executes the component mounting processing based on the received production job.

When the component mounting processing is executed, CPU <NUM> of control device <NUM> first drives and controls head moving device <NUM> so that suction nozzle <NUM> moves above the component supply position to which component <NUM> is supplied from component supply device <NUM> (tray feeder <NUM>) (S100), and performs the pickup operation to cause suction nozzle <NUM> to pick up component <NUM> (S110). Here, specifically, the pickup operation is performed by driving and controlling Z-axis actuator <NUM> so that suction nozzle <NUM> descends until the tip end (suction port) of suction nozzle <NUM> abuts on the upper surface of component <NUM>, and driving and controlling the solenoid valve so that the negative pressure acts on the suction port of suction nozzle <NUM>. Subsequently, CPU <NUM> drives and controls head moving device <NUM> so that component <NUM> picked up by suction nozzle <NUM> moves above part camera <NUM> (S120), and images component <NUM> with part camera <NUM> (S130).

When component <NUM> is imaged, CPU <NUM> performs image processing for recognizing component <NUM> in the obtained captured image (S140). CPU <NUM> calculates the length (length L of lead) of each lead <NUM> from the image of each lead <NUM> in recognized component <NUM> (S150), and determines whether length L of the lead of all of leads <NUM> of component <NUM> is within the allowable range (S160). Here, part camera <NUM> images component <NUM> from a direction perpendicular to the bottom surface of component <NUM>. Accordingly, length L of the lead is the length of the image of lead <NUM> as viewed from the bottom surface side of component <NUM>. As described above, lead <NUM> protrudes in a gull-wing shape (L-shape) from the side surface of main body <NUM>. Therefore, as illustrated in <FIG>, the image of the lead where the lead floating bending toward the outside of main body <NUM> occurs is longer than usual. On the other hand, the image of the lead where the lead breakage bending inside main body <NUM> occurs is shorter than usual. Accordingly, when it is determined that the length of the image of lead <NUM> in the image imaged by part camera <NUM>, it is possible to determine whether the lead floating or the lead breakage occurs. The length of such an image of the lead is remarkably expressed with respect to the occurrence of lead floating or lead breakage, as the height of the lead of the component is higher. Accordingly, the determination of the state of lead <NUM> using part camera <NUM> effectively functions for component 100b in which main body 101b is thick and the height of the lead is high, whereas the determination does not effectively function for component 100a in which main body 101a is thin and the height of the lead is low. When it is determined that length L of the lead of at least one of leads <NUM> is not within the allowable range, CPU <NUM> determines that there is an abnormality in lead <NUM> of component <NUM>, and drives and controls head moving device <NUM> so that component <NUM> picked up by suction nozzle <NUM> moves above discard box <NUM> (S170). CPU <NUM> discards component <NUM> to discard box <NUM> by acting positive pressure on the suction port of suction nozzle <NUM> (S180), and returns to Step S100 in order to pick up new component <NUM>.

When it is determined in Step S160 that length L of the lead of any of leads <NUM> is within the allowable range, CPU <NUM> further drives and controls head moving device <NUM> so that component <NUM> picked up by suction nozzle <NUM> moves to the detection position of optical sensor <NUM> in order to determine the state of lead <NUM> using optical sensor <NUM> (S190). This processing is performed as follows. That is, CPU <NUM> confirms a pickup position of component <NUM> by the image processing performed on the captured image of component <NUM> by part camera <NUM> in Step S140. Subsequently, CPU <NUM> drives and controls head moving device <NUM> so that mark camera <NUM> moves above marks <NUM> and <NUM> attached to support bases <NUM> and <NUM>, so that marks <NUM> and <NUM> are imaged by mark camera <NUM>. Next, CPU <NUM> confirms the detection position of optical sensor <NUM> (position of the optical axis of light projector <NUM>) based on the obtained captured image. CPU <NUM> drives and controls head moving device <NUM> so that the tip end portions of multiple leads <NUM> protruding from one side surface of component <NUM> moves to the detection position based on the pickup position of component <NUM>, the detection position of optical sensor <NUM>, and the size of component <NUM> input in advance.

When component <NUM> is moved to the detection position of optical sensor <NUM>, CPU <NUM> sequentially projects light from light projector <NUM> to the tip end portions of multiple leads <NUM> protruding from each of the side surfaces of main body <NUM> of component <NUM> as described above (S200), and determines apparent thickness W in the side view of multiple leads <NUM> based on the amount of light received by light receiver <NUM> (S210). CPU <NUM> determines whether any of apparent thicknesses W of multiple leads <NUM> protruding from each of the side surfaces are within the allowable range (S220). As described above, the determination of the state of lead <NUM> using optical sensor <NUM> effectively functions for component 100a in which main body 101a is thin and the height of the lead is low, whereas the determination does not effectively function for component 100b in which main body 101b is thick and the height of the lead is high. Accordingly, by using both the determination using part camera <NUM> and the determination using optical sensor <NUM>, the state of lead <NUM> can be more accurately determined regardless of the height of the lead. As a result, the state of lead <NUM> can be more accurately determined without requiring a dedicated camera. When it is determined that at least one of thicknesses W is not within the allowable range, CPU <NUM> drives and controls head moving device <NUM> so that component <NUM> picked up by suction nozzle <NUM> moves above discard box <NUM> (S170). CPU <NUM> discards component <NUM> to discard box <NUM> (S180), and returns to Step S100 in order to pick up new component <NUM>.

When it is determined in Step S220 that any of thickness W is within the allowable range, CPU <NUM> drives and controls head moving device <NUM> so that component <NUM> picked up by suction nozzle <NUM> moves above the mounting position of board S (S230), performs the mounting operation for mounting component <NUM> on board S (S240), and terminates the present processing. Here, specifically, the mounting operation is performed by driving and controlling Z-axis actuator <NUM> so that suction nozzle <NUM> descends until component <NUM> picked up by suction nozzle <NUM> abuts on board S, and driving and controlling the solenoid valve so that the positive pressure acts on the suction port of suction nozzle <NUM>.

Here, the correspondence relationship between the main elements of the embodiments and the main elements of the invention described in the disclosure section of the invention will be described. That is, suction nozzle <NUM> corresponds to a holding member, head <NUM> corresponds to a head, head moving device <NUM> corresponds to a moving device, part camera <NUM> corresponds to an imaging device, and control device <NUM> corresponds to a control device. In addition, light projector <NUM> corresponds to a light projecting section, light receiver <NUM> corresponds to a light receiving section, and optical sensor <NUM> corresponds to an optical sensor.

It goes without saying that the present invention is not limited to the above-described embodiments, and can be implemented in various aspects without departing from the technical scope of the appended claims.

For example, in the above embodiment, when determining the state of lead <NUM> protruding from the side surface of main body <NUM> of component <NUM>, CPU <NUM> first executes the determination using part camera <NUM>, and in a case where there is no abnormality in the determination, executes the determination using optical sensor <NUM>. However, CPU <NUM> may first execute the determination using optical sensor <NUM>, and may execute the determination using part camera <NUM> in a case where there is no abnormality in the determination.

In addition, in the above embodiment, when determining the state of lead <NUM> protruding from the side surface of main body <NUM> of component <NUM>, CPU <NUM> uses both the determination using part camera <NUM> and the determination using optical sensor <NUM>. However, CPU <NUM> may input component data including the height of the lead of the component in advance, and select to execute one of the determinations using part camera <NUM> and the determination using optical sensor <NUM>, which is suitable for the component to be determined, based on the input component data (height of the lead). In a case where only a component having a high height of the lead is mounted on component mounting machine <NUM>, optical sensor <NUM> may be omitted.

As described above, a component mounting machine of the present disclosure holds a component and mounts the component on a board, and it is a gist to include a head having a holding member configured to hold the component from an upper surface side, a moving device configured to move the head, an imaging device configured to image the component held by the holding member from a direction perpendicular to a bottom surface, and a control device configured to control the head and the moving device so that the component held by the holding member is mounted on the board after performing image processing for processing a captured image of the component imaged by the imaging device, in which when mounting a component having a main body and multiple leads protruding laterally from a side surface of the main body, the control device measures each of lengths of images of the multiple leads extracted from the captured image, and performs a first determination of abnormality in which it is determined as abnormal in a case where at least one of the measured lengths of the images of the leads is not within an allowable range.

In such a component mounting machine of the present disclosure, the machine may further include an optical sensor having a light projecting section and a light receiving section disposed so as to face each other with a predetermined space therebetween, in which the control device may control the moving device so that the component held by the holding member moves to a detection position where light is projected from the light projecting section toward tip end portions of the multiple leads with an optical axis parallel to an arrangement direction of the multiple leads, measure a thickness of the multiple leads in a side view based on a state where the light is received by the light receiving section, and perform a second determination of abnormality in which it is determined as abnormal in a case where the measured thickness is not within an allowable range. By using both the determination using the imaging device and the determination using the optical sensor, it is possible to appropriately determine the state of the lead even for multiple types of components having different height of the leads. In this case, the control device may perform the second determination of abnormality in a case where it is not determined as abnormal in the first determination of abnormality. Furthermore, in this case, when performing the second determination of abnormality, the control device may acquire a holding position of the component by the holding member by the image processing, input the size of the component, and control the moving device so that the component held by the holding member moves to the detection position based on the obtained holding position and the input size of the component. As a result, it is possible to more accurately move the component to the detection position of the optical sensor based on the holding position of the component obtained by the image processing.

It goes without saying that the present disclosure is not limited to the above-described embodiments, and can be implemented in various aspects without departing from the technical scope of the appended claims.

The present invention can be applied in the manufacturing industry for the component mounting machine or the like.

Claim 1:
A component mounting machine (<NUM>) that is configured to hold a component (<NUM>) and mount the component (<NUM>) on a board, the machine comprising:
a head (<NUM>) having a holding member configured to hold the component (<NUM>) from an upper surface side;
a moving device configured to move the head (<NUM>);
an imaging device configured to image the component (<NUM>) held by the holding member from a direction perpendicular to a bottom surface; and
a control device (<NUM>) configured to control the head (<NUM>) and the moving device so that the component (<NUM>) held by the holding member is mounted on the board after performing image processing for processing a captured image of the component (<NUM>) imaged by the imaging device, wherein
when mounting a component (<NUM>) having a main body (<NUM>) and multiple leads (<NUM>) protruding laterally from a side surface of the main body (<NUM>), the control device (<NUM>) measures each of lengths of images of the
multiple leads (<NUM>) extracted from the captured image, and performs a first determination of abnormality in which it is determined as abnormal in a case where at least one of the measured lengths of the images of the leads (<NUM>) is not within an allowable range,
wherein the component mounting machine (<NUM>) further comprises:
an optical sensor (<NUM>) having a light projecting section (<NUM>) and a light receiving section (<NUM>) disposed so as to face each other with a predetermined space there between, wherein
the control device (<NUM>) is configured to control the moving device so that the component (<NUM>) held by the holding member moves to a detection position where light is projected from the light projecting section (<NUM>) toward tip end portions of the multiple leads (<NUM>) with an optical axis parallel to an arrangement direction of the multiple leads (<NUM>), measures a thickness of the multiple leads (<NUM>) in a side view based on a state where the light is received by the light receiving section (<NUM>), and performs a second determination of abnormality in which it is determined as abnormal in a case where the measured thickness is not within an allowable range,, wherein
the control device (<NUM>) is configured to perform the second determination of abnormality in a case where it is not determined as abnormal in the first determination of abnormality.