COMPONENT-MOUNTING MACHINE AND COMPONENT-MOUNTING METHOD
20240008237 ยท 2024-01-04
Assignee
Inventors
Cpc classification
International classification
Abstract
A component mounting machine includes a suction tool configured to pick up the component at a pickup height distant from a reference height by a distance indicated by an offset amount; a moving mechanism configured to move the suction tool to the pickup height; an attempt section configured to perform an attachment operation a predetermined count number; a first calculation section configured to calculate a suction rate indicating a ratio of successfully picking up the component by the suction tool during the attachment operation of the predetermined count number; and an updating section configured to update the offset amount within a predetermined range by adding or subtracting a predetermined distance to or from the offset amount when the suction rate is less than a determination value, and further repeat the attempt section and the first calculation section.
Claims
1. A component mounting machine for executing an attachment operation for attaching a component to a board, the component mounting machine comprising: a suction tool configured to pick up the component at a pickup height distant from a reference height by a distance indicated by an offset amount; a moving mechanism configured to move the suction tool to the pickup height; an attempt section configured to perform the attachment operation a predetermined count number, a first calculation section configured to calculate a suction rate indicating a ratio of successfully picking up the component by the suction tool during the attachment operation of the predetermined count number, and an updating section configured to update the offset amount within a predetermined range by adding or subtracting a predetermined distance to or from the offset amount when the suction rate is less than a determination value, and further repeat the attempt section and the first calculation section.
2. The component mounting machine according to claim 1, further comprising: a first continuation section configured to fix the pickup height to a height distant from the reference height by a distance indicated by the offset amount and continue the attachment operation when the suction rate is larger than the determination value.
3. The component mounting machine according to claim 1, wherein the updating section subsequently performs the subtraction to subsequently update the offset amount between an initial value of the offset amount and a minimum value of the predetermined range, and then subsequently performs the addition to subsequently update the offset amount between the initial value of the offset amount and a maximum value of the predetermined range.
4. The component mounting machine according to claim 3, further comprising: a memory; a storage section configured to store the suction rate and the offset amount in association with each other in the memory, each time the attempt section performs the attachment operation the predetermined count number, and a second continuation section configured to perform processing on behalf of the updating section when the offset amount matches the maximum value of the predetermined range or exceeds the maximum value, when the suction rate is less than the determination value, wherein the second continuation section fixes the pickup height to a height distant from the reference height by a distance indicated by the offset amount stored in association with a best suction rate in the memory, and continues the attachment operation.
5. The component mounting machine according to claim 4, further comprising: a camera configured to capture an image of a state where the suction tool picks up the component; an acquiring section configured to acquire data indicating a posture of the component based on the image; and a second calculation section configured to calculate a standard deviation of data indicating the posture of the component based on the attachment operation performed in the attempt section for the predetermined count number as a population, wherein the storage section stores the standard deviation by being associated with the suction rate and the offset amount, and the second continuation section fixes the pickup height to a height distant from the reference height by a distance determined based on the suction rate, the offset amount, and the standard deviation stored in the storage section and continues the attachment operation, when there are multiple best suction rates.
6. A component mounting method for changing a pickup height distant from a reference height by a distance indicated by an offset amount during execution of an attachment operation in a component mounting machine in which pickup of a component is performed by a suction tool that is moved to the pickup height each time the attachment operation is performed for attaching the component to a board, the component mounting method comprising: an attempting step of performing the attachment operation a predetermined count number, a calculating step of calculating a suction rate indicating a ratio of successfully picking up the component by the suction tool during the attachment operation of the predetermined count number, and an updating step of updating the offset amount within a predetermined range by adding or subtracting a predetermined distance to or from the offset amount when the suction rate is less than a determination value, and repeating the attempting step and the calculating step.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
DESCRIPTION OF EMBODIMENTS
[0032] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the drawings. However, in the drawings, a portion of the configuration is omitted, and the dimensional ratio or the like of each illustrated portion is not always accurate. In the drawings, reference sign D1 represents an X-axis direction that is a left-right direction. Reference sign D2 represents a Y-axis direction that is a front-rear direction. Reference sign D3 represents a Z-axis direction that is an up-down direction.
[0033] As illustrated in
[0034] Each of mounting machines 16a and 16b has the same configuration. Hereinafter, in a case where each of mounting machines 16a and 16b is collectively referred to without being distinguished from each other, it will be referred to as mounting machine 16. Mounting machine 16 includes mounting machine main body 20, conveyance device 22, moving device 24, supply device 26, mounting head 28, imaging device 29, and the like. Mounting machine 16 performs an attachment operation for attaching electronic component 58 (see
[0035] Mounting machine main body 20 has frame section 30 and beam section 32. Beam section 32 is bridged above frame section 30. Tape feeder support table 77 is provided at an end portion on the front side of frame section 30.
[0036] Conveyance device 22 includes two conveyor devices 40 and 42 and board holding device 48 (see
[0037] Moving device 24 includes a Y-axis direction slide mechanism, an X-axis direction slide mechanism, and the like (not illustrated). The Y-axis direction slide mechanism includes a pair of guide rails extending in Y-axis direction D2, a slider, Y-axis motor 62 (see
[0038] Supply device 26 is a feeder-type supply device and is provided at an end portion on the front side of frame section 30. Supply device 26 includes multiple tape feeders 70. Tape feeder 70 is supported by tape feeder support table 77. Tape feeder 70 feeds and supplies electronic component 58 to a downstream side of tape feeder 70 by drawing and unsealing the taped component wound on reel 72 in response to the driving of feed device 78 (see
[0039] Mounting head 28 includes four suction nozzle shafts (not illustrated), positive and negative pressure supply device 52 (
[0040] Nozzle lifting and lowering device 54 lifts and lowers the suction nozzle shaft in the up-down direction, that is, in Z-axis direction D3. Nozzle rotation device 56 revolves the suction nozzle shaft around the axial center of mounting head 28. Specifically, nozzle rotation device 56 intermittently rotates the suction nozzle shaft at every predetermined stop position. In addition, the nozzle lifting and lowering device lifts and lowers the suction nozzle shaft at a predetermined lifting and lowering position, which is one of the four stopping positions. Nozzle rotation device 56 rotates the suction nozzle shaft about the axial center thereof. As a result, mounting head 28 can change the position of electronic component 58 picked up by suction nozzle 50 in the up-down direction, and the orientation of electronic component 58 in the horizontal plane view.
[0041] Imaging device 29 includes parts camera 34 and the like. Parts camera 34 is disposed in frame section 30 in a state of being directed upward between conveyance device 22 and supply device 26.
[0042] Next, an attachment operation of mounting machine 16 will be described. Circuit board 44 is conveyed to a predetermined position by conveyor devices 40 and 42, and is fixed by board holding device 48. Meanwhile, moving device 24 moves mounting head 28 to supply device 26. Next, mounting head 28 causes suction nozzle 50 to be in a state where suction nozzle 50 is lowered above the supply position of supply device 26 until the lower end face thereof reaches pickup height 301 (see
[0043] Subsequently, moving device 24 moves mounting head 28 that has picked up electronic component 58 with suction nozzle 50 to a position above parts camera 34. Next, image 150 (see
[0044] Next, moving device 24 moves mounting head 28 to a position above the attachment position of circuit board 44. Next, mounting head 28 lowers suction nozzle 50 to a position in the vicinity of circuit board 44, and electronic component 58 is released from suction nozzle 50. When mounting head 28 attaches multiple electronic components 58 in the same manner as in the case of the pickup of electronic components 58, the rotation of the suction nozzle shaft (that is, suction nozzle 50) by nozzle rotation device 56 to the lifting and lowering position, and the lifting and lowering of the suction nozzle shaft (that is, suction nozzle 50) at the lifting and lowering position by nozzle lifting and lowering device 54 are repeated. Further, by repeating a series of attachment operations from the pickup to the release of electronic component 58 by mounting head 28, multiple electronic components 58 are attached to circuit board 44.
[0045] A control system configuration of mounting machine 16 will be described with reference to
[0046] In addition to the above-described configuration, conveyance device 22 includes drive circuit 132 for driving conveyor motor 46, drive circuit 133 for driving board holding device 48, and the like. In addition to the above-described configuration, moving device 24 includes drive circuit 134 for driving X-axis motor 64, drive circuit 135 for driving Y-axis motor 62, and the like.
[0047] In addition to the above-described configuration, mounting head 28 includes drive circuit 136 for driving positive and negative pressure supply device 52, drive circuit 137 for driving nozzle lifting and lowering device 54, drive circuit 138 for driving nozzle rotation device 56, and the like. In addition to the above-described configuration, supply device 26 includes drive circuit 131 for driving feed device 78 and the like.
[0048] In addition to the above-described configuration, imaging device 29 includes imaging control circuit 139 for controlling parts camera 34 and the like.
[0049] In addition to the above-described configuration, control device 140 includes EEPROM 144, image processing section 145 and the like. EEPROM 144 stores various data necessary for executing the attachment operation. Control device 140 acquires data necessary for the attachment operation from EEPROM 144 in addition to ROM 143 described above. Image processing section 145 can perform image processing according to a well-known technology. Image processing section 145 processes, for example, image data of image 150 captured by parts camera 34, and causes control device 140 to acquire data such as pick-up posture of electronic component 58.
[0050] Next, referring to
[0051] Therefore, pickup height 301 is set at a position distant from reference height 303 by a distance indicated by offset amount in the up-down direction (that is, Z-axis direction D3). Reference height 303 is set, for example, to a position in the up-down direction (that is, the position in Z-axis direction D3) occupied by a portion picked up by suction nozzle 50 among one or multiple upper faces of electronic component 58 at the supply position of supply device 26. Offset amount is a variable that changes between minimum value 309 and maximum value 311 of predetermined range 307 by subtracting or adding predetermined distance 305 to initial value 0. In the examples illustrated in
[0052] First, as illustrated in
[0053] The determination as to whether suction nozzle 50 succeeds in pickup of electronic component 58 or fails is made, for example, by image processing section 145 performing image processing on the image data of image 150 captured by parts camera 34. In this case, it is determined whether suction nozzle 50 succeeded in the pickup of electronic component 58 or failed in accordance with the position or the orientation of electronic component 58 in image 150. However, when image 150 in which only suction nozzle 50 is projected is captured, it is determined that suction nozzle 50 has failed to pick up electronic component 58.
[0054] In a case where suction rate is larger than determination value (see
[0055] In a case where suction rate is larger than determination value , pickup height 301 is fixed to the current height, that is, a height distant from reference height 303 by the distance indicated by offset amount , and the subsequent attachment operations are repeated. On the other hand, in a case where suction rate is determination value or less, offset amount is updated by further subtracting predetermined distance 305 from offset amount . Thereafter, the attachment operation of predetermined count number N is repeated at pickup height 301 in a case where offset a is updated.
[0056] Thereafter, in the same manner, repetition of update of offset amount by the subtraction of predetermined distance 305 and the attachment operation of predetermined count number N is performed until suction rate is larger than determination value and pickup height 301 is fixed to the current height.
[0057] However, as illustrated in
[0058] As illustrated in
[0059] In a case where suction rate is larger than determination value , pickup height 301 is fixed to the current height, that is, a height distant from reference height 303 by the distance indicated by offset amount , and the subsequent attachment operations are repeated. On the other hand, in a case where suction rate is determination value or less, offset amount is updated by adding predetermined distance 305 to offset amount . Thereafter, the attachment operation of predetermined count number N is repeated at pickup height 301 in a case where offset amount is updated.
[0060] Thereafter, in the same manner, the repetition of the update of offset amount by the addition of predetermined distance 305 and the attachment operation of predetermined count number N is performed until suction rate is larger than determination value and pickup height 301 is fixed to the current height.
[0061] However, as illustrated in
[0062] As illustrated in
[0063] Pick-up posture is calculated by image processing section 145 performing image processing on the image data of image 150 captured by parts camera 34, that is, the image data of image 150 of electronic component 58 in a state of being picked up by suction nozzle 50. As illustrated in
[0064] The image data of image 150 in which suction nozzle 50 fails to pick up electronic component 58 and only electronic component 58 is projected is excluded from the population to obtain standard deviation . In addition, the determination as to whether suction nozzle 50 has succeeded in or failed to pick up electronic component 58 which is described above may be performed using X-direction deviation X, Y-direction deviation Y, and Q-direction deviation Q as the determination material.
[0065] In data table 152 of EEPROM 144, in a case where there is only one highest suction rate , pickup height 301 is changed to a height obtained by offset amount associated with highest suction rate , and the subsequent attachment operations are repeated. That is, pickup height 301 is fixed to a height distant from reference height 303 by a distance indicated by offset amount associated with highest suction rate . On the other hand, in a case where there are multiple highest suction rates , pickup height 301 is changed to, for example, a height obtained by offset amount specified based on pick-up posture in addition to suction rate , and the subsequent attachment operations are repeated. That is, pickup height 301 is fixed to a height distant from reference height 303 by a distance indicated by an offset amount specified based on suction rate R and pick-up posture . This specification may be performed by processing programmed in advance, or may be performed by an input operation or the like by an operator of mounting machine 16.
[0066] Examples illustrated in
[0067] First, as illustrated in
[0068] In a case where suction rate is larger than determination value , pickup height 301 is fixed to the current height, that is, the height distant from reference height 303 by the distance indicated by offset amount , (that is, numerical value A of initial value 0), and the subsequent attachment operations are repeated. On the other hand, in a case where suction rate is determination value or less, offset amount is updated by subtracting predetermined distance 305 from offset amount . Thereafter, the attachment operation of predetermined count number N is repeated at pickup height 301 in a case where offset amount is updated.
[0069] Thereafter, in the same manner as in the examples illustrated in
[0070] However, as illustrated in
[0071] As illustrated in
[0072] As illustrated in
[0073] In a case where suction rate is larger than determination value , pickup height 301 is fixed to the current height, that is, a height distant from reference height 303 by the distance indicated by offset amount , and the subsequent attachment operations are repeated. On the other hand, in a case where suction rate R is determination value or less, offset amount is updated by adding predetermined distance 305 to offset amount . Thereafter, the attachment operation of predetermined count number N is repeated at pickup height 301 in a case where offset amount is updated.
[0074] Thereafter, in the same manner as in the examples illustrated in
[0075] However, as illustrated in
[0076] As illustrated in
[0077] Further, in this case, when suction rate R is not larger than determination value , the update of offset amount is stopped, and the subsequent attachment operations are repeated after pickup height 301 is changed based on the stored contents of data table 152 provided in EEPROM 144, similarly to the examples illustrated in
[0078] In mounting machine 16, for example, the change of pickup height 301 which is described above is performed by executing a control program for implementing first component mounting method 200 illustrated in flowcharts of
[0079] The execution timings of first component mounting method 200 include, for example, when the attachment operation is started by mounting machine 16, when the support of tape feeder 70 is performed again in tape feeder support table 77, and the like. This also applies to the execution timings of second component mounting method 202 and third component mounting method 204 described later.
[0080] First, processing in step 10 (abbreviated as S) is performed. When this processing is performed, any numerical value set by the operator of mounting machine 16 through an input operation or the like has already been substituted for PickupOffsetZ (variable). PickupOffsetZ (variable) is used in a case where pickup height 301 is fixed to a height desired by the operator. In such a case, pickup height 301 is fixed to a height distant from reference height 303 by a distance indicated by PickupOffsetZ (variable). However, in the flowchart of first component mounting method 200, PickupOffsetZ (variable) is ignored.
[0081] In the processing of S10, 0 mm is substituted for AutoPickupOffsetZ (variable). AutoPickupOffsetZ (variable) corresponds to offset amount which is described above. The 0 mm corresponds to initial value 0 of offset amount which is described above. Further, in the processing of S10, pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by a distance indicated by AutoPickupOffsetZ (variable). That is, as in the case illustrated in
[0082] In addition, with the pickup of 5000 points, image capturing of 5000 points is also performed. The image capturing of 5000 points means that the capturing of image 150 by parts camera 34 is performed 5000 times by repeatedly performing the attachment operation of predetermined count number N. This also applies to the pickup of 5000 points in each processing of S30, S32, S38, and S40 described later.
[0083] In the processing of S12, it is determined whether suction rate calculated by performing the pickup of immediately preceding 5000 points is 99.9% or less. 99.9% corresponds to determination value which is described above. Here, in a case where suction rate is larger than 99.9% (S12: NO), the processing of S14 is performed. In the processing of S14, pickup height 301 is fixed to the current height, and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by first component mounting method 200 is completed. On the other hand, in a case where suction rate is 99.9% or less (S12: YES), the processing of S16 is performed. In order to enable suction rate to be determined to be 99.9%, pickup of at least 1000 points (repetition of the attachment operation 250 times) may be performed.
[0084] In the processing of S16, it is determined whether the treatment of AutoPickupOffsetZ (variable) is the first time. The treatment of AutoPickupOffsetZ (variable) means setting pickup height 301 to the height obtained by substituted or updated AutoPickupOffsetZ (variable) when the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed. Here, in a case where the treatment of AutoPickupOffsetZ (variable) is the first time (S16: YES), the processing of S18 is performed.
[0085] In the processing of S18, pick-up posture 1 of 5000 points is calculated and stored in EEPROM 144, pick-up posture 1 of 5000 points means pick-up posture in a case where the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed for the first time. Accordingly, the numerals in pick-up posture 1 indicate the order in which the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed. In EEPROM 144, in addition to pick-up posture 1 in the same manner as data table 152 illustrated in
[0086] In the processing of S20, 0.05 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S20, pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by AutoPickupOffsetZ (variable). The processing of S20 corresponds to a case where AutoPickupOffsetZ (variable) is updated by subtracting 0.05 mm from AutoPickupOffsetZ (variable), that is, a case illustrated in the above-described
[0087] On the other hand, in a case where the treatment of AutoPickupOffsetZ (variable) is performed two or larger times (S16: NO), the processing of S22 is performed. In the processing of S22, pick-up posture i at the pickup of immediately preceding 5000 points is calculated. Further, in the processing of S22, suction rate i and pick-up posture i at the pickup of immediately preceding 5000 points are stored in EEPROM 144. A numeral indicating the order in which the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed is substituted for subscript i of suction rate i and pick-up posture i. Also, in the processing of S22, in EEPROM 144, in addition to suction rate si and pick-up posture i, in the same manner as in data table 152 illustrated in
[0088] In the processing of S24, it is determined whether AutoPickupOffsetZ (variable) is 0 mm or less. Here, in a case where AutoPickupOffsetZ (variable) is larger than 0 mm (S24: NO), the processing of S34 which is described later is performed. On the other hand, in a case where AutoPickupOffsetZ (variable) is 0 mm or less (S24: YES), the processing of S26 is performed.
[0089] In the processing of S26, it is determined whether AutoPickupOffsetZ (variable) is 0.3 mm. The 0.3 mm corresponds to minimum value 309 of predetermined range 307 which is described above. Here, in a case where AutoPickupOffsetZ (variable) is 0.3 mm (S26: YES), the processing of S34 which is described later is performed. On the other hand, in a case where AutoPickupOffsetZ (variable) is 0 mm or less and larger than 0.3 mm (S26: NO), the processing of S28 is performed.
[0090] In the processing of S28, AutoPickupOffsetZ (variable) is changed by 0.05 mm. In other words, by subtracting 0.05 mm from AutoPickupOffsetZ (variable), AutoPickupOffsetZ (variable) is updated. Further, in the processing of S28, it is determined whether updated AutoPickupOffsetZ (variable) is 0.3 mm or larger.
[0091] Here, in a case where updated AutoPickupOffsetZ (variable) is 0.3 mm or larger (S28: YES), the processing of S30 is performed. In the processing of S30, the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by AutoPickupOffsetZ (variable). Thereafter, the processing of S12 illustrated in
[0092] On the other hand, in a case where updated AutoPickupOffsetZ (variable) is less than 0.3 mm (S28: NO), the processing of S32 is performed. In a case where updated AutoPickupOffsetZ (variable) is less than 0.3 mm (S28: NO), for example, there is a case illustrated in
[0093] In the processing of S32, 0.3 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S32, the pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by the distance indicated by AutoPickupOffsetZ (variable). That is, as illustrated in the above-described
[0094] Also, in the processing of S34, it is determined whether AutoPickupOffsetZ (variable) is +0.1 mm. The +0.1 mm corresponds to maximum value 311 of predetermined range 307 described above. Here, in a case where AutoPickupOffsetZ (variable) is +0.1 mm (S34: YES), the processing of S42 which is described later is performed. On the other hand, in a case where AutoPickupOffsetZ (variable) is less than +0.1 mm (S34: NO), the processing of S36 is performed.
[0095] In the processing of S36, AutoPickupOffsetZ (variable) is changed by +0.05 mm. In other words, AutoPickupOffsetZ (variable) is updated by adding 0.05 mm to AutoPickupOffsetZ (variable). However, in a case where 0.05 mm is first added to AutoPickupOffsetZ (variable), AutoPickupOffsetZ (variable) is updated by substituting the sum of 0 mm and +0.05 mm that are substituted for the processing of S10 which is described above. In other words, AutoPickupOffsetZ (variable) is updated by adding 0.05 mm to 0 mm which is the initial value of AutoPickupOffsetZ (variable). Such a case corresponds to the case illustrated in
[0096] Here, when updated AutoPickupOffsetZ (variable) is +0.1 mm or less (S36: YES), the processing of S38 is performed. In the processing of S38, the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by AutoPickupOffsetZ (variable). Thereafter, the processing of S12 illustrated in
[0097] On the other hand, in a case where updated AutoPickupOffsetZ (variable) is larger than +0.1 mm (S36: NO), the processing of S40 is performed. In a case where updated AutoPickupOffsetZ (variable) is larger than +0.1 mm (S36: NO), for example, there is a case illustrated in the above-described
[0098] In the processing of S40, +1.0 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S40, the pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by the distance indicated by AutoPickupOffsetZ (variable). That is, as illustrated in
[0099] On the other hand, in the processing of S42, the update of AutoPickupOffsetZ (variable) is stopped, and after pickup height 301 is changed to the optimal height based on the stored content of data table 152 of EEPROM 144, the subsequent attachment operations are repeated as described above. In other words, in a case where there is only one highest suction rate in data table 152 of EEPROM 144, pickup height 301 is changed to the height obtained by AutoPickupOffsetZ (variable) associated with highest suction rate , and the subsequent attachment operations are repeated. On the other hand, in a case where there are multiple highest suction rates , pickup height 301 is changed to, for example, the height obtained by AutoPickupOffsetZ (variable) specified based on pick-up posture in addition to suction rate , and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by second component mounting method 202 is completed.
[0100] In mounting machine 16, for example, the change of pickup height 301 which is described above is performed by executing a control program for implementing second component mounting method 202 illustrated in the flowcharts of
[0101] First, processing of S50 is performed. When this processing is performed, a numerical value of 0.3 mm or larger and +0.1 mm or less is already in a state of being substituted for PickupOffsetZ (variable) by setting by the operator of mounting machine 16 with input operation or the like. PickupOffsetZ (variable) is used in a case where pickup height 301 is fixed to a height desired by the operator. In such a case, pickup height 301 is fixed to a height distant from reference height 303 by a distance indicated by PickupOffsetZ (variable).
[0102] However, in the flowchart of second component mounting method 202, PickupOffsetZ (variable) is changed by overwriting regardless of the input operation of the operator or the like. Therefore, it is preferable that the control program for implementing second component mounting method 202 is executed in a state not known to the operator of mounting machine 16. PickupOffsetZ (variable) corresponds to offset amount which is described above. In the flowchart of second component mounting method 202, the number appended to PickupOffsetZ (variable) indicates the number of times PickupOffsetZ (variable) is overwritten.
[0103] In the processing of S50, 0 mm is substituted for AutoPickupOffsetZ (variable).
[0104] In the processing of S52, an initial value is substituted for PickupOffsetZ(1) (variable). PickupOffsetZ (variable) is overwritten with PickupOffsetZ(1)(variable). The initial value is a numerical value substituted for PickupOffsetZ (variable) in the processing of S50 which is described above. The initial value corresponds to initial value 0 of offset amount which is described above. In addition, in the processing of S52, the pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by the distance indicated by overwritten PickupOffsetZ (variable). That is, as in the case illustrated in the above-described
[0105] In addition, with the pickup of 5000 points, image capturing of 5000 points is also performed. This also applies to the pickup of 5000 points in each processing of S64, S74, S76, S82, and S84 which is described later. The image of 5000 points is the same as in the case of first component mounting method 200 illustrated in the flowcharts in
[0106] In the processing of S54, it is determined whether suction rate calculated by performing the pickup of immediately preceding 5000 points is 99.9% or less. 99.9% corresponds to determination value which is described above. Here, in a case where suction rate is larger than 99.9% (S54: NO), the processing of S56 is performed. In the processing of S56, pickup height 301 is fixed to the current height, and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by second component mounting method 202 is completed. On the other hand, in a case where suction rate is 99.9% or less (S54: YES), the processing of S58 is performed. In order to enable suction rate S to be determined to be 99.9%, the pickup of at least 1000 points (repetition of the attachment operation 250 times) may be performed in the same manner as in the case of first component mounting method 200 illustrated in the flowcharts of
[0107] In the processing of S58, it is determined whether the treatment of AutoPickupOffsetZ (variable) is the first time. The treatment of AutoPickupOffsetZ (variable) means setting pickup height 301 to the height obtained by PickupOffsetZ (variable) overwritten by the calculation using AutoPickupOffsetZ (variable) when the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) are performed. In the flowchart of second component mounting method 202, the number of treatments of AutoPickupOffsetZ (variable) is the same as the number appended to PickupOffsetZ (variable), that is, the number of times PickupOffsetZ (variable) is overwritten. Here, in a case where the treatment of AutoPickupOffsetZ (variable) is the first time (S58: YES), the processing of S60 is performed.
[0108] In the processing of S60, pick-up posture 1 of 5000 points is calculated. Further, in the processing of S60, pick-up posture 1 of 5000 points is stored in EEPROM 144, pick-up posture 1 of 5000 points means pick-up posture in a case where the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed for the first time. Accordingly, the numerals in pick-up posture 1 indicate the order in which the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed. In addition, in the flowchart of second component mounting method 202, the number in pick-up posture 1 also represents a number appended to PickupOffsetZ (variable), that is, the number of times PickupOffsetZ (variable) is overwritten. In EEPROM 144, in addition to pick-up posture 1, in the same manner as data table 152 illustrated in above-described
[0109] In the processing of S62, 0.05 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S62, PickupOffsetZ (variable) is overwritten with PickupOffsetZ(2) (variable) obtained by adding AutoPickupOffsetZ (variable) to PickupOffsetZ(1) (variable). As a result, PickupOffsetZ (variable) is updated. Further, in the processing of S62, it is determined whether PickupOffsetZ(2) (variable) is 0.3 mm or larger. The 0.3 mm corresponds to minimum value 309 of predetermined range 307 which is described above.
[0110] Here, in a case where PickupOffsetZ(2)(variable) is less than 0.3 mm (S62: NO), processing of S76 in
[0111] In the processing of S64, the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by overwritten PickupOffsetZ (variable). The processing of S64 corresponds to a case where PickupOffsetZ (variable) is updated by subtracting 0.05 mm from PickupOffsetZ (variable), that is, a case illustrated in the above-described
[0112] On the other hand, in a case where the treatment of AutoPickupOffsetZ (variable) is performed two or larger times (S58: NO), processing of S66 is performed. In the processing of S66, suction rate i at the pickup of immediately preceding 5000 points is calculated. Further, in the processing of S66, suction rate Pi and pick-up posture i at the pickup of immediately preceding 5000 points are stored in EEPROM 144. In EEPROM 144, in addition to suction rate Pi and pick-up posture i, in the same manner as data table 152 illustrated in
[0113] In the processing of S68, it is determined whether PickupOffsetZ (variable) is 0 mm or less. Here, in a case where PickupOffsetZ (variable) is larger than 0 mm (S68: NO), processing of S78 which is described later is performed. On the other hand, in a case where PickupOffsetZ (variable) is 0 mm or less (68: YES), processing of S70 is performed.
[0114] In the processing of S70, it is determined whether PickupOffsetZ (variable) is 0.3 mm. Here, in a case where PickupOffsetZ (variable) is 0.3 mm (S70: YES), processing of S78 which is described later is performed. On the other hand, in a case where PickupOffsetZ (variable) is 0 mm or less and larger than 0.3 mm (S70: NO), processing of S72 is performed.
[0115] In the processing of S72, 0.05 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S72, PickupOffsetZ (variable) is overwritten with PickupOffsetZ(i+1) (variable) obtained by adding AutoPickupOffsetZ (variable) to PickupOffsetZ(i) (variable). As a result, PickupOffsetZ (variable) is updated. Further, in the processing of S72, it is determined whether PickupOffsetZ(i+1) (variable) is 0.3 mm or larger.
[0116] Here, in a case where PickupOffsetZ(i+1) (variable) is 0.3 mm or larger (S72: YES), the processing of S74 is performed. In the processing of S74, the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by PickupOffsetZ (variable). Thereafter, the processing of S54 illustrated in
[0117] On the other hand, in a case where PickupOffsetZ(i+1)(variable) is less than 0.3 mm (S72: NO), the processing of S76 is performed. In a case where PickupOffsetZ(i+1) (variable) is less than 0.3 mm (S72: NO), for example, there is a case illustrated in
[0118] In the processing of S76, 0.3 mm is substituted for PickupOffsetZ (variable). Further, in the processing of S76, the pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by the distance indicated by PickupOffsetZ (variable). That is, as illustrated in the above-described
[0119] On the other hand, in the processing of S78, it is determined whether PickupOffsetZ (variable) is +0.1 mm. The +0.1 mm corresponds to maximum value 311 of predetermined range 307 described above. Here, in a case where PickupOffsetZ (variable) is +0.1 mm (S78: YES), processing of S86 which is described later is performed. On the other hand, in a case where PickupOffsetZ (variable) is less than +0.1 mm (S78: NO), processing of S80 is performed.
[0120] In the processing of S80, +0.05 mm is substituted for AutoPickupOffsetZ (variable). Further, in the processing of S80, PickupOffsetZ (variable) is overwritten with PickupOffsetZ(i+1) (variable) obtained by adding AutoPickupOffsetZ (variable) to PickupOffsetZ(i) (variable). As a result, PickupOffsetZ (variable) is updated. However, in a case where AutoPickupOffsetZ (variable) of +0.05 mm is added for the first time, PickupOffsetZ(i+1) (variable) is obtained by substituting the sum of the initial value to be substituted for the processing of S52 which is described above and AutoPickupOffsetZ (variable) of +0.05 mm. In other words. PickupOffsetZ (variable) is updated by adding 0.05 mm to the initial value of PickupOffsetZ (variable). Such a case corresponds to the case illustrated in
[0121] Here, in a case where PickupOffsetZ(i+1) (variable) is +0.1 mm or less (S80: YES), processing of S84 is performed. In the processing of S84, the pickup of 5000 points (that is, the repetition of the attachment operation 1250 times) is performed at pickup height 301 distant from reference height 303 by the distance indicated by PickupOffsetZ (variable). Thereafter, the processing of S54 illustrated in
[0122] On the other hand, in a case where PickupOffsetZ(i+1) (variable) is larger than +0.1 mm (S80: NO), processing of S84 is performed. In a case where PickupOffsetZ(i+1) (variable) is larger than +0.1 mm (S80: NO), for example, there is a case illustrated in
[0123] In the processing of S84, +0.1 mm is substituted for PickupOffsetZ (variable). Further, in the processing of S84, the pickup of 5000 points is performed at pickup height 301 distant from reference height 303 by the distance indicated by PickupOffsetZ (variable). That is, as illustrated in
[0124] On the other hand, in the processing of S86, the update of PickupOffsetZ (variable) by the overwriting is stopped, and after pickup height 301 is changed to the optimal height based on the stored content of data table 152 of EEPROM 144, the subsequent attachment operations are repeated as described above. In other words, in a case where there is only one highest suction rate pi in data table 152 of EEPROM 144, pickup height 301 is changed to the height obtained by PickupOffsetZ (variable) associated with highest suction rate , and the subsequent attachment operations are repeated. On the other hand, in a case where there are multiple highest suction rates , pickup height 301 is changed to, for example, the height obtained by PickupOffsetZ (variable) specified based on pick-up posture in addition to suction rate , and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by second component mounting method 202 is completed.
[0125] In mounting machine 16, for example, the change of pickup height 301 which is described above is performed by executing a control program for implementing third component mounting method 204 illustrated in the flowcharts in
[0126] First, processing of S100 is performed. In the processing of S100, initial value 0 is substituted for offset amount . Offset amount at this time is illustrated in, for example, the above-described
[0127] In the processing of S104, suction rate and pick-up posture are calculated. Further, as illustrated in
[0128] In the processing of S106, it is determined whether suction rate is determination value or less. Here, when suction rate is larger than determination value (S106: NO), the first continuation processing of S108 is performed. In the first continuation processing of S108, pickup height 301 is fixed to the current height, and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by second component mounting method 202 is completed. On the other hand, in a case where suction rate is determination value or less (S106: YES), processing of S110 illustrated in
[0129] In the processing of S110, it is determined whether offset amount is initial value 0 or less. Here, in a case where offset amount is larger than initial value 0 (S110: NO), processing of S122 which is described later is performed. On the other hand, in a case where offset amount is initial value 0 or less (S110: YES), processing in step S112 is performed.
[0130] In the processing of S112, it is determined whether offset amount is equal to minimum value 309 of predetermined range 307. Here, in a case where offset amount is equal to minimum value 309 of predetermined range 307 (S112: YES), the processing of S120 which is described later is performed. On the other hand, in a case where offset amount is initial value 0 or less but larger than minimum value 309 of predetermined range 307 (S112: NO), processing of S114 is performed.
[0131] In the processing of S114, offset amount is updated by subtracting predetermined distance 305 from offset amount . Offset amount at this time is illustrated in, for example, the above-described
[0132] In the processing of S116, it is determined whether updated offset amount is minimum value 309 or larger of predetermined range 307. Here, in a case where updated offset amount is minimum value 309 or larger of predetermined range 307 (S116: YES), the processing of S102 illustrated in
[0133] In the processing of S118, minimum value 309 of predetermined range 307 is substituted for offset amount . Offset amount in this case is illustrated in, for example,
[0134] On the other hand, in the processing of S120, 1 is substituted for variable i. Thereafter, processing of S124 illustrated in
[0135] In the processing of S124, it is determined whether updated offset amount is equal to maximum value 311 of predetermined range 307. Here, in a case where updated offset amount is equal to maximum value 311 of predetermined range 307 (S124: YES), the second continuation processing of S136 which is described later is performed. On the other hand, in a case where updated offset amount is larger than initial value 0 but less than maximum value 311 of predetermined range 307 (S124: NO), processing of S126 is performed.
[0136] In the processing of S126, it is determined whether variable i is 1. Here, in a case where variable i is 1 (S126: YES), processing of S128 is performed. In the processing of S128, offset amount is updated by substituting the sum of initial value 0 and predetermined distance 305 for offset amount . Offset amount at this time is illustrated in, for example,
[0137] On the other hand, in a case where variable i is 2 or larger (S126: NO), processing of S130 is performed. In the processing of S130, offset amount is updated by adding predetermined distance 305 to offset amount . Offset amount at this time is illustrated in, for example,
[0138] In the processing of S132, it is determined whether updated offset amount is maximum value 311 or less of predetermined range 307. Here, in a case where updated offset amount is maximum value 311 or less of predetermined range 307 (S132: YES), the processing of S102 illustrated in
[0139] In the processing of S134, maximum value 311 of predetermined range 307 is substituted for offset amount . Offset amount in this case is illustrated in, for example,
[0140] On the other hand, in the second continuation processing of S136, the update of offset amount is stopped, and after pickup height 301 is changed to the optimal height based on the stored content of data table 152 of EEPROM 144, the subsequent attachment operations are repeated as described above. In other words, in a case where there is only one highest suction rate in data table 152 of EEPROM 144, pickup height 301 is changed to the height obtained by offset amount associated with highest suction rate , and the subsequent attachment operations are repeated. On the other hand, in a case where there are multiple highest suction rates , pickup height 301 is changed to, for example, a height obtained by offset amount specified based on pick-up posture in addition to suction rate , and the subsequent attachment operations are repeated. As a result, the change of pickup height 301 by third component mounting method 204 is completed.
[0141] In the flowchart of third component mounting method 204, when offset amount is regarded as AutoPickupOffsetZ (variable), the flowchart of third component mounting method 204 corresponds to the flowchart of first component mounting method 200 illustrated in
[0142] As described in detail above, mounting machine 16 of the present embodiment can find pickup height 301 suitable for the attachment operation based on the suction rate , which is the statistical probability that an event in which the pickup of electronic component 58 is successful occurs, and perform the attachment operation at found pickup height 301, during repeating the attachment operation for attaching electronic component 58 picked up by suction nozzle 50 to circuit board 44 at pickup height 301.
[0143] In the present embodiment, mounting machine 16 is an example of the component mounting machine. Parts camera 34 is an example of the camera. Circuit board 44 is an example of the board. Suction nozzle 50 is an example of the suction tool. Nozzle lifting and lowering device 54 is an example of the moving mechanism. Electronic component 58 is an example of the component. EEPROM 144 is an example of the memory. First component mounting method 200, second component mounting method 202, and the third component mounting method are examples of the component mounting method. X-direction deviation X, Y-direction deviation Y, and Q-direction deviation Q are examples of data indicating the component posture.
[0144] In the flowchart of first component mounting method 200, each processing of S10, S20, S30, S32, S38, and S40 is an example of the attempt section, the acquiring section, and the attempting step. The processing of S12 is an example of the first calculation section and the calculating step. The processing of S14 is an example of the first continuation section and the continuing step. Each processing of S18 and S22 is an example of the storage section and the second calculation section. Each processing of S28 and S36 is an example of the updating section and the updating step. The processing of S42 is an example of the second continuation section.
[0145] In the flowchart of second component mounting method 202, each processing of S52, S64, S74, S76, S82, and S84 is an example of the attempt section, the acquiring section, and the attempting step. The processing of S54 is an example of the first calculation section and the calculating step. The processing of S56 is an example of the first continuation section and the continuing step. Each processing of S60 and S66 is an example of the storage section and the second calculation section. Each processing of S62, S72, and S80 is an example of the updating section and the updating step. The processing of S86 is an example of the second continuation section.
[0146] In the flowchart of third component mounting method 204, the processing of S102 is an example of the attempt section, the acquiring section, and the attempting step. The processing of S104 is an example of the first calculation section, the storage section, the second calculation section, and the calculating step. The first continuation processing of S108 is an example of the first continuation section and the continuing step. Each processing of S114, S128, and S130 is an example of the updating section and the updating step. The second continuation processing of S136 is an example of the second continuation section.
[0147] The present disclosure is not limited to the above-described embodiments, and various changes may occur without departing from the gist thereof. For example, each of component mounting methods 200, 202, and 204 may be repeatedly executed without a lapse of time, or may be executed again with a lapse of a predetermined time period.
[0148] In third component mounting method 204, contrary to the embodiments which are described above, offset amount may be first subsequently updated from initial value 0 of offset amount to maximum value 311 of predetermined range 307 at intervals of predetermined distance 305, and then subsequently updated from initial value 0 of offset amount to minimum value 309 of predetermined range 307 at intervals of predetermined distance 305. This also applies to AutoPickupOffsetZ (variable) in first component mounting method 200 and PickupOffsetZ (variable) in second component mounting method 202.
[0149] In third component mounting method 204, each time the subtraction in the processing of S114 or the addition in the processing of S128 and S130 is performed, offset amount or the predetermined distance to be added or subtracted to or from initial value 0 thereof may be changed. This also applies to 0.05 mm that is added or subtracted to or from AutoPickupOffsetZ (variable) in first component mounting method 200. For example, each time the addition or subtraction is performed, the numerical value to be added or subtracted to or from AutoPickupOfFsetZ (variable) is changed to 0.03 mm, 0.06 mm, 0.05 mm, 0.04 mm, . . . . Further, this also applies to 0.05 mm and +0.05 mm to be substituted for AutoPickupOffsetZ (variable) in second component mounting method 202. For example, each time AutoPickupOffsetZ (variable) is substituted, it is changed to 0.04 mm, 0.05 mm, 0.03 mm, 0.06 mm, . . . , or to +0.06 mm, +0.04 mm, +0.05 mm, +0.03 mm, . . . .
REFERENCE SIGNS LIST
[0150] 16: mounting machine. 34: parts camera, 44: circuit board, 50: suction nozzle, 54: nozzle lifting and lowering device, 58: electronic component, 114: EEPROM, 150: image, 200: first component mounting method, 202: second component mounting method, 204: third component mounting method, 301: pickup height, 303: reference height, 305: predetermined distance, 307: predetermined range, 309: minimum value of predetermined range, 311: maximum value of predetermined range, N: predetermined count number, S108: first continuation processing, S136: second continuation processing, : offset amount, 0: initial value of offset amount, : suction rate, : determination value, X: X-direction deviation, Y: Y-direction deviation, Q: Q-direction deviation, : standard deviation