WO2020066823A1 - Teaching position setting method and teaching position setting device - Google Patents

Teaching position setting method and teaching position setting device Download PDF

Info

Publication number
WO2020066823A1
WO2020066823A1 PCT/JP2019/036703 JP2019036703W WO2020066823A1 WO 2020066823 A1 WO2020066823 A1 WO 2020066823A1 JP 2019036703 W JP2019036703 W JP 2019036703W WO 2020066823 A1 WO2020066823 A1 WO 2020066823A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
teaching position
insertion hole
teaching
operations
Prior art date
Application number
PCT/JP2019/036703
Other languages
French (fr)
Japanese (ja)
Inventor
俊満 木村
Original Assignee
川崎重工業株式会社
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 川崎重工業株式会社 filed Critical 川崎重工業株式会社
Priority to CN201980049552.2A priority Critical patent/CN112512756A/en
Priority to JP2020548584A priority patent/JPWO2020066823A1/en
Publication of WO2020066823A1 publication Critical patent/WO2020066823A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • 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/04Mounting of components, e.g. of leadless components

Definitions

  • the present invention relates to a teaching position setting method and a teaching position setting device.
  • Patent Literature 1 discloses a technique of updating and learning a teaching position when a lead cannot be inserted during practical use of board assembly. In this technique, an insertion operation is attempted at a plurality of positions near a teaching position. The average value of the inserted one or more position data is set as a new teaching position.
  • the average value of the plurality of positions may be located at a position distant from the center of the position range, and even if updated, it may not be inserted in a subsequent operation. Therefore, it is necessary to repeat trial and error of the insertion operation, and unless it is repeated, the teaching position cannot be brought close to the center of the insertable range.
  • an object of the present invention is to provide a method and an apparatus that can easily bring a teaching position closer to the center of a position range where insertion is possible when automatically inserting a first component into a second component.
  • a teaching position setting method includes: A method for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component, A component lowering step of gripping the first component, moving the first component to a current teaching position and lowering the first component toward the insertion hole of the second component, And correcting the current teaching position when the first component cannot be inserted into the insertion hole in the component lowering step,
  • the correcting step includes: An exploring step of repeating a series of operations of horizontally moving the grasped first component from the current teaching position and descending toward the second component until the first component can be inserted into the insertion hole; An initial insertion position obtaining step of obtaining a position at which the electronic component can be inserted into the insertion hole in the searching step as an actual initial insertion position, Based on the current teaching position and the actual initial insertion position, to obtain a temporary center position, a temporary center obtaining step, A series of operations for moving the first component from a first side
  • the temporary center position is acquired based on the actual initial insertion position, and the temporary center position is acquired.
  • the operation of inserting the first component into the second component again is tried as a reference.
  • the trial is performed while moving the first component so as to approach the temporary center position from both sides in the first horizontal direction, thereby acquiring two limit positions that can be inserted into the second component.
  • the center of this limit position is acquired as a new teaching position.
  • the teaching position can be brought closer to the center of the position range in which the first component can be inserted into the insertion hole, and the occurrence of a situation where the first component cannot be inserted thereafter can be suppressed.
  • a teaching position setting device An apparatus for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component, A robot arm, A hand attached to the tip of the robot arm and gripping the first component; A control device for controlling the operation of the robot arm and the hand, The control device includes: Holding the first component with the hand, moving the first component to a pre-stored current teaching position, lowering the first component toward the insertion hole of the second component, When the first component could not be inserted into the insertion hole, the current teaching position is configured to be corrected, The control device, in correcting the current teaching position, Controlling the robot arm to repeat a series of operations of horizontally moving the first component gripped by the hand from the current teaching position and descending toward the second component until it can be inserted into the insertion hole, Acquiring a position where the first component can be inserted into the insertion hole as an actual initial insertion position, Based on the current teaching position and the actual initial initial insertion position
  • the teaching position when automatically inserting the first component into the insertion hole of the second component, the teaching position can be easily brought closer to the center of the position range in which the first component can be inserted.
  • FIG. 4 is a block diagram illustrating a control system of a component insertion device or a teaching position setting device. It is explanatory drawing of the relationship between a lead and an insertion hole, and the insertion possible range. It is a flowchart which shows an example of the teaching position setting method performed at the time of delivery to the work site of a component insertion device. It is a flowchart which shows an example of the teaching position setting method performed during the component insertion work by a component insertion device. It is a flowchart which shows a correction process. It is explanatory drawing of a search process and a temporary center acquisition process. It is explanatory drawing of a limit position acquisition process and a teaching position acquisition process.
  • FIG. 1 is a front view showing the configuration of the component insertion device 1 according to the embodiment.
  • the component insertion device 1 performs an operation of inserting the lead wire 92 of the electronic component 90 into an insertion hole 96 formed in the substrate 95, for example.
  • the component insertion device 1 includes a double-armed robot 2, a first hand 5, and a second hand 6.
  • the double-armed robot 2 includes a base 21, a first robot arm 3, and a second robot arm 4 (hereinafter, referred to as a robot arm 4). Simply called "arm").
  • the first arm 3 and the second arm 4 are of a horizontal articulated type.
  • the first arm 3 includes a first base arm 31 that is swingably connected to a base 21 around a first axis L1 perpendicular to the base 21, and a second shaft that is perpendicular to the distal end of the first base arm 31.
  • a first tip arm 32 swingably connected around L2a; a first wrist 33 connected to a tip of the first tip arm 32 so as to be vertically movable; and a lower end of the first wrist 33
  • a first mounting portion 34 connected to be swingable about a vertical third axis L3a.
  • the second arm 4 also includes a second proximal arm 41, a second distal arm 42, a second wrist 43, and a second mounting portion 44.
  • the second base arm 41 is swingable about the first axis L1 with respect to the base 21, and the second tip arm 42 is swingable about the second axis L2b with respect to the second base arm 41.
  • the second mounting portion 44 can swing around the third axis L3b with respect to the second wrist portion 43.
  • the first hand 5 and the second hand 6 have basically the same structure.
  • the first hand 5 has a base 51 fixed to the first mounting part 34, a rotating part 52 rotatable around a hand axis Lha horizontal to the base 51, and attached to the rotating part 52 to grip the electronic component 90.
  • One or more (for example, eight) first grip portions 53 are provided.
  • the second hand 6 also has a base 61, a rotating part 62 and one or more second gripping parts 64, the base 61 is fixed to the second mounting part 44, and the rotating part 62 It is rotatable around a hand axis Lhb that is horizontal to the base 61.
  • FIG. 2 is a rear view showing the first hand 5.
  • the base 51 has a vertically extending plate-shaped vertical portion 51a.
  • the base 61 also has a vertical portion 61a.
  • a rotation actuator 59 that drives the rotation of the rotation part 52 is attached to the back of the vertical part 51a, and the rotation part 52 is arranged on the front side of the vertical part 51a.
  • the rotating part 52 is formed in a disk shape as an example, and the central axis of the rotating part 52 is positioned coaxially with the first hand axis Lha.
  • the one or more grip portions 53 extend radially from the peripheral edge of the rotating portion 52.
  • the holding unit 53 has a pair of grippers that can approach or separate from each other, and can hold the electronic component 90 by bringing the pair of grippers close to each other, and hold the electronic component 90 by separating the pair of grippers. Electronic component 90 can be released.
  • FIG. 3 is a block diagram illustrating a configuration of a control system of the component insertion device 1 according to the embodiment.
  • the component insertion device 1 includes a controller 70.
  • the controller 70 is housed in the base 21 of the double-arm robot 2 as an example (see FIG. 1).
  • the controller 70 includes a memory storing a program related to execution of an operation of inserting the lead wire 92 into the substrate 90, a CPU executing the program stored in the memory, and various actuators 36-39, 46 controlled by the program. -49, 58, 59, 68 and 69 are provided.
  • the electronic component 90 held by the hands 5, 6 is moved to a teaching position described in a program (that is, stored in a memory), and the electronic component 90 is lowered toward the substrate 95. Let it. Thus, the leads 92 of the electronic component 90 are automatically inserted into the insertion holes 96 of the substrate 95.
  • FIG. 4 shows the relationship between the lead 92 and the insertion hole 96.
  • the planar shape of the insertion hole 96 is larger than the cross-sectional shape of the lead 92 to allow the lead 92 to be inserted.
  • the shape and size of the position range in which the lead 92 can be inserted when the electronic component 90 is lowered are determined.
  • this position range is referred to as “insertable range H”.
  • the cross sections of the lead 92 and the insertion hole 96 are circular, and the insertable range H is circular. If the teaching position is within the insertable range H, the lead 92 can be inserted into the insertion hole 96.
  • the teaching position is initialized based on the CAD data of the board 95 and the electronic component 90 so as to fall within the insertable range H.
  • the ideal teaching position that is initially set is referred to as an “initial teaching position”.
  • the controller 70 also stores a correction program for automatically correcting the teaching position. For this reason, the above-described component insertion device 1 also serves as a teaching position setting device for setting a teaching position.
  • the teaching position is corrected before putting the electronic component 90 into practical use, when the electronic component 90 is lowered from the teaching position currently stored in the memory, the electronic component 90 is inserted into the insertion hole 96 again due to the same factors as described above. Sometimes you can't. In order to deal with such a situation, the teaching position is automatically corrected and updated by the correction program.
  • the controller 70 executes the teaching position setting method for setting the teaching position by executing such a correction program.
  • the teaching position setting method is also used for correcting an initial teaching position at the time of delivery to a work site, and is also used for updating learning of a teaching position during an insertion operation.
  • the electronic component 90 cannot be inserted into the insertion hole 96 by referring to the teaching position (current teaching position A) currently stored in the memory, the current teaching position A is corrected and 90 can be inserted into the insertion hole 96.
  • “current teaching position A” is the initial teaching position.
  • FIGS. 5 to 7 are flowcharts showing a teaching position setting method.
  • FIG. 5 illustrates a process performed when the component insertion device 1 is delivered to a work site
  • FIG. 6 illustrates a process performed while the component insertion device 1 performs the component insertion work.
  • the initial teaching position is set as described above (initial teaching position setting step S10).
  • the initial teaching position is the current teaching position A.
  • the electronic component 90 is gripped by the hands 5 and 6, the electronic component 90 is moved to the initial teaching position as the current teaching position A, and the electronic component 90 is lowered toward the insertion hole 96 of the board 95 (component lowering).
  • Step S11 the component lowering step S11 is a trial step of trying whether or not the electronic component 90 can be inserted into the board 95 at the initial teaching position.
  • the correction step S50 includes a search step S51, an initial insertion position acquisition step S52, a temporary center acquisition step S53, a limit position acquisition step S54, and a teaching position acquisition step S55.
  • search step S ⁇ b> 51 electronic component 90 is moved horizontally in a state in which electronic component 90 is separated upward from substrate 95 along a predetermined search trajectory P from current teaching position A. A series of operations of lowering the electronic component 90 toward the substrate is repeated until the electronic component 90 is inserted into the insertion hole 96.
  • a spiral shape is shown as the shape of the search locus P, but the shape is not particularly limited.
  • the electronic component 90 is moved along the search locus P by a very small amount.
  • a plurality of search positions S for searching whether or not insertion is possible in the search step S51 are set at small intervals along the search trajectory P.
  • the position where the electronic component 90 has been inserted into the insertion hole 96 in the search step S51 is acquired as the actual initial insertion position B.
  • Executing the correction step S50 means that the current teaching position A is out of the insertable range H.
  • the actual initial insertion position B is positioned at the outer edge of the range H within the insertable range H.
  • the temporary center position C is obtained based on the current teaching position A and the actual initial insertion position B. More specifically, on the line Q passing through the current teaching position A and the actual initial insertion position B, the line is separated from the actual initial insertion position B by a predetermined offset amount R on the opposite side to the current teaching position A. Is set as the temporary center position C. In consideration of the size of the insertable range H that can be grasped in advance, the offset amount R is set to an amount that allows the temporary center position C to be within the insertable range H.
  • a limit position acquisition step S54 in a limit position acquisition step S54 according to the present embodiment, two of a first side (left side in the drawing) and a second side (right side in the drawing) in a horizontal first direction (hereinafter, also referred to as X direction) are used. And two places, a first side (upper side in the drawing) and a second side (lower side in the drawing), in a horizontal second direction (hereinafter also referred to as Y direction) orthogonal to the first direction, for a total of four places Get the limited position of.
  • a virtual straight line SX extending in the X direction passing through the temporary center position C is assumed.
  • the electronic component 90 is lowered toward the substrate 95 at a position away from the temporary center position C by a predetermined distance to the first side along the virtual straight line SX.
  • the predetermined distance is set, for example, equal to the diameter of the insertable range H. If the electronic component 90 cannot be inserted, the electronic component 90 is moved by a small amount along the virtual straight line SX so as to approach the temporary center position C, and the electronic component 90 is lowered toward the substrate 95. This series of operations is repeated until the electronic component 90 is inserted into the insertion hole 96.
  • the position of the electronic component 90 at that time is acquired as the limit position DX1 on the first side in the X direction.
  • a virtual straight line SY passing through the temporary center position C and extending in the Y direction is assumed.
  • a limit position DX2 on the second side in the X direction, a limit position DY1 on the first side in the Y direction, and a limit position DY2 on the second side in the Y direction are acquired.
  • the four limit positions DX1, DX2, DY1, and DY2 are set at the outer edges of the insertable range H, similarly to the actual initial insertion position B described above.
  • the center position E of the acquired limit position is acquired as a new teaching position.
  • the X direction position of the center position E is the center of the two limit positions DX1 and DX2 in the X direction.
  • the center position E in the Y direction is the center of the two limit positions DY1 and DY2 in the Y direction.
  • the center position E obtained in this manner is newly set as the teaching position instead of the current teaching position A.
  • the new teaching position (center position E) set in this way is set to a position close to the true center of the insertable range H. Therefore, when the component insertion device 1 is put to practical use, it is possible to suppress a situation in which the electronic component 90 cannot be inserted again.
  • Part lowering step S21 is an operation step during the part insertion operation. If the electronic component 90 can be inserted into the board 95 in the component lowering step (working step) S21 (S22: YES), the current teaching position A is maintained (S23). In order to insert the next electronic component 90 into the insertion hole 96, the component insertion operation is continued. If the electronic component 90 cannot be inserted into the board 95 in the component lowering step (working step) S21 (S22: NO), a correction step S50 (see FIG. 7) for correcting the teaching position is executed as described above.
  • the process returns to the flow in FIG. 6 and the component insertion operation is performed based on the new teaching position E.
  • the new teaching position (center position E) set in this way is also set to a position near the true center of the insertable range H. Therefore, when the component insertion device 1 is put to practical use again, it is possible to suppress occurrence of a situation where the electronic component 90 cannot be inserted.
  • the above configuration can be appropriately changed, deleted, and / or added within the scope of the present invention.
  • the limit position obtaining step S54 two limit positions in the X direction or in the Y direction may be derived, and in the teaching position obtaining step S55, the center position of the two limit positions may be obtained as the teaching position. .
  • the teaching position can be made closer to the center, and in this modification, the teaching position can be set quickly.
  • the electronic component is inserted into the board, the first component as the component to be inserted and the second component as the component to be inserted are not limited to the electronic component and the board.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Supply And Installment Of Electrical Components (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

A method comprising: a step of repeating a series of operations in which a first component is caused to be moved from a current teaching position horizontally and is caused to be lowered toward a second component, until insertion into an insertion hole is possible; a step of acquiring a position at which the first component was able to be inserted into the insertion hole as an actual initial insertion position; a step of acquiring a provisional center position on the basis of the current teaching position and the actual initial insertion position; a step of acquiring two limit positions in which the first component was inserted into the insertion hole by performing a series of operations in which the first component is caused to be moved closer to the provisional center position from a first side in a first direction passing the provisional center position and is caused to be lowered toward the second component, and by performing a similar series of operations from a second side in the same direction; and a step of acquiring a central position of the acquired limit positions as a new teaching position.

Description

教示位置設定方法および教示位置設定装置Teaching position setting method and teaching position setting device
 本発明は、教示位置設定方法および教示位置設定装置に関する。 The present invention relates to a teaching position setting method and a teaching position setting device.
 電子部品のリードを基板の挿入穴に自動挿入するにあたり、電子部品を掴んだハンドを予め定められた教示位置に移動し、そこで挿入動作を行っても、リードを挿入穴に挿入できないことがある。特許文献1では、基板組立ての実用時にリードを挿入できなかった場合に教示位置を更新学習する技術を開示している。この技術では、教示位置近傍の複数位置で挿入動作が試行される。挿入できた1以上の位置データの平均値が新たな教示位置とされる。 When automatically inserting the leads of the electronic component into the insertion hole of the board, the hand holding the electronic component may be moved to a predetermined teaching position, and even if the insertion operation is performed there, the lead may not be inserted into the insertion hole in some cases. . Patent Literature 1 discloses a technique of updating and learning a teaching position when a lead cannot be inserted during practical use of board assembly. In this technique, an insertion operation is attempted at a plurality of positions near a teaching position. The average value of the inserted one or more position data is set as a new teaching position.
特開平8-148893号公報JP-A-8-148894
 挿入穴のリードに対する寸法差に応じて、リードを挿入穴に挿入可能な位置範囲が存在する。しかし、上記の例では、複数位置の平均値は、当該位置範囲の中心から離れた位置となる可能性があり、更新してもその後の作業で不挿入となる可能性がある。そのため、挿入動作の試行錯誤を繰り返す必要が生じ、また、繰り返さなければ教示位置を挿入可能範囲の中心に近づけることができない。 位置 There is a position range where the lead can be inserted into the insertion hole according to the dimensional difference between the insertion hole and the lead. However, in the above example, the average value of the plurality of positions may be located at a position distant from the center of the position range, and even if updated, it may not be inserted in a subsequent operation. Therefore, it is necessary to repeat trial and error of the insertion operation, and unless it is repeated, the teaching position cannot be brought close to the center of the insertable range.
 そこで本発明は、第1部品を第2部品に自動挿入するにあたって、挿入可能な位置範囲の中心に教示位置を容易に近づけられる方法および装置を提供することを目的とする。 Therefore, an object of the present invention is to provide a method and an apparatus that can easily bring a teaching position closer to the center of a position range where insertion is possible when automatically inserting a first component into a second component.
 本発明の一形態に係る教示位置設定方法は、
 第1部品を第2部品の挿入穴に挿入する作業を行う部品挿入装置の教示位置を設定する方法であって、
 前記第1部品を把持し、前記第1部品を現在の教示位置に移動させて前記第2部品の前記挿入穴に向けて下降させる、部品下降工程と、
 前記部品下降工程において、前記第1部品を前記挿入穴に挿入できなかった場合に、前記現在の教示位置を修正する、修正工程と、を備え、
 前記修正工程が、
  把持した第1部品を前記現在の教示位置から水平に移動して前記第2部品に向けて下降させる一連の動作を、前記第1部品を前記挿入穴に挿入できるまで繰り返す、探り工程と、
  前記探り工程で前記電子部品を前記挿入穴に挿入できた位置を、実初期挿入位置として取得する、初期挿入位置取得工程と、
  前記現在の教示位置と前記実初期挿入位置とに基づいて、仮中心位置を取得する、仮中心取得工程と、
  前記第1部品を前記仮中心位置を通過する水平な第1方向の第1側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作と、前記第1部品を前記第1方向の第2側から前記仮中止に近づくように移動させて前記第2部品に向けて下降させる一連の動作とを実施し、前記第1部品が前記挿入穴に挿入された2つの限界位置を取得する、限界位置取得工程と、
  取得された限界位置の中央位置を新たな教示位置として取得する、教示位置取得工程と、を含む。
A teaching position setting method according to an embodiment of the present invention includes:
A method for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component,
A component lowering step of gripping the first component, moving the first component to a current teaching position and lowering the first component toward the insertion hole of the second component,
And correcting the current teaching position when the first component cannot be inserted into the insertion hole in the component lowering step,
The correcting step includes:
An exploring step of repeating a series of operations of horizontally moving the grasped first component from the current teaching position and descending toward the second component until the first component can be inserted into the insertion hole;
An initial insertion position obtaining step of obtaining a position at which the electronic component can be inserted into the insertion hole in the searching step as an actual initial insertion position,
Based on the current teaching position and the actual initial insertion position, to obtain a temporary center position, a temporary center obtaining step,
A series of operations for moving the first component from a first side in a horizontal first direction passing through the temporary center position to approach the temporary center position and descending toward the second component; A series of operations of moving the component from the second side in the first direction to approach the temporary stop and lowering the component toward the second component was performed, and the first component was inserted into the insertion hole. A limit position obtaining step of obtaining two limit positions;
Acquiring a center position of the acquired limit position as a new teaching position.
 前記構成によれば、探り工程で第1部品を挿入できた位置をそのまま新たな教示位置として取得するのではなく、この実初期挿入位置に基づいて仮中心位置を取得し、この仮中心位置を基準として再び第1部品を第2部品に挿入する作業が試行される。試行は、水平な第1方向の両側から仮中心位置に近づくように第1部品を移動させながら実行され、それにより第2部品に挿入できた2つの限界位置が取得される。この限界位置の中央が新たな教示位置として取得される。これにより、第1部品を挿入穴に挿入可能な位置範囲の中心に教示位置を近づけることができ、その後は第1部品を挿入できない事態が発生するのを抑制できる。 According to the configuration, instead of acquiring the position where the first component can be inserted in the search process as a new teaching position, the temporary center position is acquired based on the actual initial insertion position, and the temporary center position is acquired. The operation of inserting the first component into the second component again is tried as a reference. The trial is performed while moving the first component so as to approach the temporary center position from both sides in the first horizontal direction, thereby acquiring two limit positions that can be inserted into the second component. The center of this limit position is acquired as a new teaching position. Thus, the teaching position can be brought closer to the center of the position range in which the first component can be inserted into the insertion hole, and the occurrence of a situation where the first component cannot be inserted thereafter can be suppressed.
 本発明の一形態に係る教示位置設定装置は、
 第1部品を第2部品の挿入穴に挿入する作業を行う部品挿入装置の教示位置を設定する装置であって、
 ロボットアームと、
 前記ロボットアームの先端部に取り付けられて前記第1部品を把持するハンドと、
 前記ロボットアームおよび前記ハンドの動作を制御する制御装置と、を備え、
 前記制御装置は、
  前記ハンドで前記第1部品を把持し、前記第1部品を予め記憶されている現在の教示位置に移動させ、前記第1部品を前記第2部品の前記挿入穴に向けて下降させ、
  前記第1部品を前記挿入穴に挿入できなかった場合に、前記現在の教示位置を修正するように構成されており、
 前記制御装置は、前記現在の教示位置を修正するにあたり、
  前記ハンドで把持した前記第1部品を前記現在の教示位置から水平に移動して前記第2部品に向けて下降させる一連の動作を前記挿入穴に挿入できるまで繰り返すよう前記ロボットアームを制御し、
  前記第1部品を前記挿入穴に挿入できた位置を、実初期挿入位置として取得し、
  前記現在の教示位置と前記実初期挿入位置とに基づいて、仮中心位置を取得し、
  前記第1部品を前記仮中心位置を通過する水平な第1方向の第1側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作と、前記第1方向の第2側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作とを実施するよう前記ロボットアームを制御し、
  前記第1部品が前記挿入穴に挿入された2つの限界位置を取得し、
  取得された限界位置の中央位置を新たな教示位置として取得する、ように構成されている。
A teaching position setting device according to one embodiment of the present invention,
An apparatus for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component,
A robot arm,
A hand attached to the tip of the robot arm and gripping the first component;
A control device for controlling the operation of the robot arm and the hand,
The control device includes:
Holding the first component with the hand, moving the first component to a pre-stored current teaching position, lowering the first component toward the insertion hole of the second component,
When the first component could not be inserted into the insertion hole, the current teaching position is configured to be corrected,
The control device, in correcting the current teaching position,
Controlling the robot arm to repeat a series of operations of horizontally moving the first component gripped by the hand from the current teaching position and descending toward the second component until it can be inserted into the insertion hole,
Acquiring a position where the first component can be inserted into the insertion hole as an actual initial insertion position,
Based on the current teaching position and the actual initial insertion position, obtain a temporary center position,
A series of operations for moving the first component from a first side in a horizontal first direction passing through the temporary center position to approach the temporary center position and descending toward the second component; Controlling the robot arm to perform a series of operations of moving from the second side of the direction to approach the temporary center position and descending toward the second component,
The first part acquires two limit positions inserted in the insertion hole,
The center position of the obtained limit position is obtained as a new teaching position.
 前記構成によれば、上述した方法と同様の作用が得られる。 According to the above configuration, the same operation as the above-described method can be obtained.
 本発明によれば、第1部品を第2部品の挿入穴に自動挿入するにあたって、挿入可能な位置範囲の中心に教示位置を容易に近づけることができる。 According to the present invention, when automatically inserting the first component into the insertion hole of the second component, the teaching position can be easily brought closer to the center of the position range in which the first component can be inserted.
実施形態に係る部品挿入装置あるいは教示位置設定装置の構成を示す正面図である。It is a front view showing composition of a parts insertion device or a teaching position setting device concerning an embodiment. ハンドを示す背面図である。It is a rear view showing a hand. 部品挿入装置あるいは教示位置設定装置の制御系を示すブロック図である。FIG. 4 is a block diagram illustrating a control system of a component insertion device or a teaching position setting device. リードと挿入穴の関係、および、挿入可能範囲の説明図である。It is explanatory drawing of the relationship between a lead and an insertion hole, and the insertion possible range. 部品挿入装置の作業現場への納入時に実行される教示位置設定方法の一例を示すフローチャートである。It is a flowchart which shows an example of the teaching position setting method performed at the time of delivery to the work site of a component insertion device. 部品挿入装置による部品挿入作業中に実行される教示位置設定方法の一例を示すフローチャートである。It is a flowchart which shows an example of the teaching position setting method performed during the component insertion work by a component insertion device. 修正工程を示すフローチャートである。It is a flowchart which shows a correction process. 探り工程および仮中心取得工程の説明図である。It is explanatory drawing of a search process and a temporary center acquisition process. 限界位置取得工程および教示位置取得工程の説明図である。It is explanatory drawing of a limit position acquisition process and a teaching position acquisition process.
 以下、図面を参照しながら実施形態について説明する。全図を通じて同一又は対応する要素には同一の符号を付して重複する詳細な説明を省略する。 Hereinafter, embodiments will be described with reference to the drawings. The same or corresponding elements are denoted by the same reference symbols throughout the drawings, and redundant detailed description will be omitted.
 図1は、実施形態に係る部品挿入装置1の構成を示す正面図である。部品挿入装置1は、一例として、電子部品90のリード線92を基板95に形成された挿入穴96に挿入する作業を行う。部品挿入装置1は、双腕ロボット2、第1ハンド5、および第2ハンド6を備えており、双腕ロボット2は、基台21、第1ロボットアーム3および第2ロボットアーム4(以下、単に「アーム」という)を備えている。第1アーム3および第2アーム4は水平多関節型である。第1アーム3は、基台21に対して鉛直の第1軸L1周りに揺動可能に連結された第1基端アーム31と、第1基端アーム31の先端部に鉛直の第2軸L2a周りに揺動可能に連結された第1先端アーム32と、第1先端アーム32の先端部に鉛直方向に昇降可能に連結された第1手首部33と、第1手首部33の下端部に鉛直の第3軸L3a周りに揺動可能に連結された第1取付部34とを備える。第1アーム3と同様にして、第2アーム4も、第2基端アーム41、第2先端アーム42、第2手首部43および第2取付部44を備える。第2基端アーム41は基台21に対して第1軸L1周りに揺動可能であり、第2先端アーム42は第2基端アーム41に対して第2軸L2b周りに揺動可能であり、第2取付部44は第2手首部43に対して第3軸L3b周りに揺動可能である。この構成により、第1ハンド5および第2ハンド6は、三次元的な位置を互いに独立して変更可能である。 FIG. 1 is a front view showing the configuration of the component insertion device 1 according to the embodiment. The component insertion device 1 performs an operation of inserting the lead wire 92 of the electronic component 90 into an insertion hole 96 formed in the substrate 95, for example. The component insertion device 1 includes a double-armed robot 2, a first hand 5, and a second hand 6. The double-armed robot 2 includes a base 21, a first robot arm 3, and a second robot arm 4 (hereinafter, referred to as a robot arm 4). Simply called "arm"). The first arm 3 and the second arm 4 are of a horizontal articulated type. The first arm 3 includes a first base arm 31 that is swingably connected to a base 21 around a first axis L1 perpendicular to the base 21, and a second shaft that is perpendicular to the distal end of the first base arm 31. A first tip arm 32 swingably connected around L2a; a first wrist 33 connected to a tip of the first tip arm 32 so as to be vertically movable; and a lower end of the first wrist 33 And a first mounting portion 34 connected to be swingable about a vertical third axis L3a. Similarly to the first arm 3, the second arm 4 also includes a second proximal arm 41, a second distal arm 42, a second wrist 43, and a second mounting portion 44. The second base arm 41 is swingable about the first axis L1 with respect to the base 21, and the second tip arm 42 is swingable about the second axis L2b with respect to the second base arm 41. In addition, the second mounting portion 44 can swing around the third axis L3b with respect to the second wrist portion 43. With this configuration, the first hand 5 and the second hand 6 can change the three-dimensional positions independently of each other.
 第1ハンド5および第2ハンド6は、基本的に同一の構造を有する。第1ハンド5は、第1取付部34に固定されるベース51、ベース51に対して水平なハンド軸Lha周りに回転可能な回転部52、回転部52に取り付けられて電子部品90を把持する1以上(例えば、8個)の第1把持部53を有する。第1ハンド5と同様にして、第2ハンド6も、ベース61、回転部62および1以上の第2把持部64を有し、ベース61は第2取付部44に固定され、回転部62はベース61に対して水平なハンド軸Lhb周りに回転可能である。 The first hand 5 and the second hand 6 have basically the same structure. The first hand 5 has a base 51 fixed to the first mounting part 34, a rotating part 52 rotatable around a hand axis Lha horizontal to the base 51, and attached to the rotating part 52 to grip the electronic component 90. One or more (for example, eight) first grip portions 53 are provided. Similarly to the first hand 5, the second hand 6 also has a base 61, a rotating part 62 and one or more second gripping parts 64, the base 61 is fixed to the second mounting part 44, and the rotating part 62 It is rotatable around a hand axis Lhb that is horizontal to the base 61.
 図2は、第1ハンド5を示す背面図である。ここでは第1ハンド5の構成のみ説明して第2ハンド6に関する説明を省略する。図1および図2に示すように、ベース51は、鉛直に延びる板状の鉛直部51aを有する。ベース61も同様に鉛直部61aを有する。鉛直部51aの背面には、回転部52を回転駆動する回転アクチュエータ59が取り付けられており、鉛直部51aの正面側に回転部52が配置されている。回転部52は、一例として円盤状に形成されており、回転部52の中心軸は第1ハンド軸Lhaと同軸状に位置づけられる。1以上の把持部53は、回転部52の周縁部から放射状に延びている。図示例では、8個の把持部53が、回転部52の周方向に等間隔をおいて配置されており、第1ハンド5は全体として舵状に形成されている。把持部53の構造および把持部53による電子部品90の把持方法は特に限定されない。一例として、把持部53は、互いに近接または離隔可能な一対のグリッパを有し、一対のグリッパを近接することで電子部品90を把持することができ、一対のグリッパを離隔することで把持している電子部品90を放すことができる。 FIG. 2 is a rear view showing the first hand 5. Here, only the configuration of the first hand 5 will be described, and description of the second hand 6 will be omitted. As shown in FIGS. 1 and 2, the base 51 has a vertically extending plate-shaped vertical portion 51a. The base 61 also has a vertical portion 61a. A rotation actuator 59 that drives the rotation of the rotation part 52 is attached to the back of the vertical part 51a, and the rotation part 52 is arranged on the front side of the vertical part 51a. The rotating part 52 is formed in a disk shape as an example, and the central axis of the rotating part 52 is positioned coaxially with the first hand axis Lha. The one or more grip portions 53 extend radially from the peripheral edge of the rotating portion 52. In the illustrated example, eight grip portions 53 are arranged at equal intervals in the circumferential direction of the rotating portion 52, and the first hand 5 is formed in a rudder shape as a whole. The structure of the grip 53 and the method of gripping the electronic component 90 by the grip 53 are not particularly limited. As an example, the holding unit 53 has a pair of grippers that can approach or separate from each other, and can hold the electronic component 90 by bringing the pair of grippers close to each other, and hold the electronic component 90 by separating the pair of grippers. Electronic component 90 can be released.
 図3は、実施形態に係る部品挿入装置1の制御系の構成を示すブロック図である。図3に示すように、部品挿入装置1は、コントローラ70を備えている。コントローラ70は、一例として、双腕ロボット2の基台21に収納されている(図1を参照)。コントローラ70は、リード線92を基板90に挿入する作業の実行に係るプログラムを記憶したメモリ、メモリに記憶されているプログラムを実行するCPU、および当該プログラムで制御される各種アクチュエータ36-39,46-49,58,59,68,69と接続されるインターフェイスを備えている。 FIG. 3 is a block diagram illustrating a configuration of a control system of the component insertion device 1 according to the embodiment. As shown in FIG. 3, the component insertion device 1 includes a controller 70. The controller 70 is housed in the base 21 of the double-arm robot 2 as an example (see FIG. 1). The controller 70 includes a memory storing a program related to execution of an operation of inserting the lead wire 92 into the substrate 90, a CPU executing the program stored in the memory, and various actuators 36-39, 46 controlled by the program. -49, 58, 59, 68 and 69 are provided.
 コントローラ70の制御により、ハンド5,6で把持された電子部品90をプログラムに記述されている(すなわち、メモリに記憶されている)教示位置に移動させ、電子部品90を基板95に向かって下降させる。これにより、電子部品90のリード92が基板95の挿入穴96に自動挿入される。 Under the control of the controller 70, the electronic component 90 held by the hands 5, 6 is moved to a teaching position described in a program (that is, stored in a memory), and the electronic component 90 is lowered toward the substrate 95. Let it. Thus, the leads 92 of the electronic component 90 are automatically inserted into the insertion holes 96 of the substrate 95.
 図4は、リード92と挿入穴96の関係について示している。挿入穴96の平面視形状は、リード92の挿入を許容するため、リード92の断面形状よりも大きい。挿入穴92とリード96の寸法差に基づいて、電子部品90を下降したときにリード92を挿入できる位置範囲の形状および大きさが定まる。以下、この位置範囲を「挿入可能範囲H」という。図4に示す例では、リード92および挿入穴96の断面が円形であり、挿入可能範囲Hが円形である。教示位置が挿入可能範囲H内に入っていれば、リード92を挿入穴96に挿入できる。作業用プログラムをコントローラ70に記憶するにあたり、教示位置は、基板95および電子部品90のCADデータ等に基づき、この挿入可能範囲H内に収まるように初期設定される。以下、この初期設定される理想的な教示位置を「初期教示位置」という。 FIG. 4 shows the relationship between the lead 92 and the insertion hole 96. The planar shape of the insertion hole 96 is larger than the cross-sectional shape of the lead 92 to allow the lead 92 to be inserted. Based on the dimensional difference between the insertion hole 92 and the lead 96, the shape and size of the position range in which the lead 92 can be inserted when the electronic component 90 is lowered are determined. Hereinafter, this position range is referred to as “insertable range H”. In the example shown in FIG. 4, the cross sections of the lead 92 and the insertion hole 96 are circular, and the insertable range H is circular. If the teaching position is within the insertable range H, the lead 92 can be inserted into the insertion hole 96. When the work program is stored in the controller 70, the teaching position is initialized based on the CAD data of the board 95 and the electronic component 90 so as to fall within the insertable range H. Hereinafter, the ideal teaching position that is initially set is referred to as an “initial teaching position”.
 しかし、部品挿入装置1を実際に作業現場に納入し、初期教示位置から電子部品90を下降させても、何らかの要因(基板95の位置決め誤差、基板95の加工誤差、電子部品90の加工誤差、ハンド5,6に対する電子部品90の位置誤差等)で電子部品90を基板95の挿入穴96に挿入できないことがある。このような事態に対処して部品挿入装置1を実用に供せるようにするため、コントローラ70は教示位置を自動的に修正する修正用プログラムも記憶している。このことから、前述した部品挿入装置1は、教示位置を設定する教示位置設定装置としての役割も果たす。 However, even if the component insertion device 1 is actually delivered to a work site and the electronic component 90 is lowered from the initial teaching position, some factors (positioning error of the substrate 95, processing error of the substrate 95, processing error of the electronic component 90, The electronic component 90 may not be able to be inserted into the insertion hole 96 of the board 95 due to a positional error of the electronic component 90 with respect to the hands 5 and 6). In order to deal with such a situation and make the component insertion device 1 practically usable, the controller 70 also stores a correction program for automatically correcting the teaching position. For this reason, the above-described component insertion device 1 also serves as a teaching position setting device for setting a teaching position.
 また、実用に供する前に教示位置を修正しても、現にメモリに記憶されている教示位置から電子部品90を下降させたときに、上記同様の要因で再び電子部品90を挿入穴96に挿入できなくなることもある。このような事態に対処できるように、修正用プログラムによって、教示位置が自動的に修正されて更新される。 Even if the teaching position is corrected before putting the electronic component 90 into practical use, when the electronic component 90 is lowered from the teaching position currently stored in the memory, the electronic component 90 is inserted into the insertion hole 96 again due to the same factors as described above. Sometimes you can't. In order to deal with such a situation, the teaching position is automatically corrected and updated by the correction program.
 コントローラ70は、このような修正用プログラムを実行することで、教示位置を設定する教示位置設定方法を実施する。教示位置設定方法は、作業現場への納入時の初期教示位置の修正にも利用され、挿入作業中の教示位置の更新学習にも利用される。いずれにせよ、現にメモリに記憶されている教示位置(現在の教示位置A)を参照しても電子部品90を挿入穴96に挿入できない場合に、当該現在の教示位置Aを修正して電子部品90を挿入穴96に挿入できるようにする。作業現場への納入時では、「現在の教示位置A」が初期教示位置となる。 (4) The controller 70 executes the teaching position setting method for setting the teaching position by executing such a correction program. The teaching position setting method is also used for correcting an initial teaching position at the time of delivery to a work site, and is also used for updating learning of a teaching position during an insertion operation. In any case, if the electronic component 90 cannot be inserted into the insertion hole 96 by referring to the teaching position (current teaching position A) currently stored in the memory, the current teaching position A is corrected and 90 can be inserted into the insertion hole 96. At the time of delivery to the work site, “current teaching position A” is the initial teaching position.
 図5~図7は、教示位置設定方法を示すフローチャートである。図5は、部品挿入装置1の作業現場への納入時に実施される処理を示し、図6は、部品挿入装置1による部品挿入作業の実行中に実施される処理を示す。 FIGS. 5 to 7 are flowcharts showing a teaching position setting method. FIG. 5 illustrates a process performed when the component insertion device 1 is delivered to a work site, and FIG. 6 illustrates a process performed while the component insertion device 1 performs the component insertion work.
 図5を参照して、前述したとおり、初期教示位置が設定される(初期教示位置設定工程S10)。ここでは、初期教示位置が現在の教示位置Aとなる。そして、ハンド5,6で電子部品90を把持し、電子部品90を現在の教示位置Aとしての初期教示位置に移動させ、電子部品90を基板95の挿入穴96に向けて下降させる(部品下降工程S11)。ここでの部品下降工程S11は、初期教示位置で電子部品90を基板95に挿入できるかどうか試行する試行工程である。 初期 Referring to FIG. 5, the initial teaching position is set as described above (initial teaching position setting step S10). Here, the initial teaching position is the current teaching position A. Then, the electronic component 90 is gripped by the hands 5 and 6, the electronic component 90 is moved to the initial teaching position as the current teaching position A, and the electronic component 90 is lowered toward the insertion hole 96 of the board 95 (component lowering). Step S11). Here, the component lowering step S11 is a trial step of trying whether or not the electronic component 90 can be inserted into the board 95 at the initial teaching position.
 部品下降工程(試行工程)S11において電子部品90を基板95に挿入できた場合(S12:YES)は、教示位置の修正を要しない。初期教示位置を維持して(S13)、教示位置設定方法が終了する。部品下降工程(試行工程)S11において電子部品90を基板95に挿入できなかった場合(S12:NO)、このままでは部品挿入装置1を実用に供せない。そこで教示位置を修正する修正工程S50を実行する。 (4) If the electronic component 90 can be inserted into the board 95 in the component lowering step (trial step) S11 (S12: YES), the teaching position does not need to be corrected. The initial teaching position is maintained (S13), and the teaching position setting method ends. If the electronic component 90 cannot be inserted into the board 95 in the component lowering step (trial step) S11 (S12: NO), the component insertion device 1 cannot be put to practical use as it is. Therefore, a correction step S50 for correcting the teaching position is executed.
 図7に示すように、修正工程S50は、探り工程S51、初期挿入位置取得工程S52、仮中心取得工程S53、限界位置取得工程S54、および、教示位置取得工程S55を含む。 As shown in FIG. 7, the correction step S50 includes a search step S51, an initial insertion position acquisition step S52, a temporary center acquisition step S53, a limit position acquisition step S54, and a teaching position acquisition step S55.
 図8を参照して、探り工程S51では、現在の教示位置Aから予め定められた探り軌跡Pに沿って電子部品90が基板95から上方に離れた状態で電子部品90を水平に移動させて電子部品90を基板に向けて下降させるという一連の動作を、電子部品90が挿入穴96に挿入されるまで繰り返す。図示例では、探り軌跡Pの形状として渦巻状を示すが、形状は特に限定されない。電子部品90を挿入穴96に挿入できなかったときは、電子部品90を探り軌跡Pに沿って微小な量だけ移動させる。換言すれば、探り工程S51において挿入可否を探る複数の探査位置Sが、探り軌跡Pに沿って微小な間隔をおいて設定されている。 Referring to FIG. 8, in search step S <b> 51, electronic component 90 is moved horizontally in a state in which electronic component 90 is separated upward from substrate 95 along a predetermined search trajectory P from current teaching position A. A series of operations of lowering the electronic component 90 toward the substrate is repeated until the electronic component 90 is inserted into the insertion hole 96. In the illustrated example, a spiral shape is shown as the shape of the search locus P, but the shape is not particularly limited. When the electronic component 90 cannot be inserted into the insertion hole 96, the electronic component 90 is moved along the search locus P by a very small amount. In other words, a plurality of search positions S for searching whether or not insertion is possible in the search step S51 are set at small intervals along the search trajectory P.
 初期挿入位置取得工程S52では、この探り工程S51で電子部品90が挿入穴96に挿入できた位置を、実初期挿入位置Bとして取得する。修正工程S50を実行しているということは、現在の教示位置Aが挿入可能範囲Hから外れていたことを意味する。実初期挿入位置Bは、この挿入可能範囲H内において当該範囲Hの外縁部に位置づけられる。 In the initial insertion position acquisition step S52, the position where the electronic component 90 has been inserted into the insertion hole 96 in the search step S51 is acquired as the actual initial insertion position B. Executing the correction step S50 means that the current teaching position A is out of the insertable range H. The actual initial insertion position B is positioned at the outer edge of the range H within the insertable range H.
 仮中心取得工程S53では、現在の教示位置Aと実初期挿入位置Bとに基づいて、仮中心位置Cを取得する。より具体的には、現在の教示位置Aと実初期挿入位置Bとを通過する線Q上であって、実初期挿入位置Bから現在の教示位置Aとは反対側に所定オフセット量Rだけ離れた位置が、仮中心位置Cとして設定される。オフセット量Rは、予め把握可能な挿入可能範囲Hのサイズに鑑みて、仮中心位置Cを挿入可能範囲H内に収めることができるような量に設定される。 In the temporary center obtaining step S53, the temporary center position C is obtained based on the current teaching position A and the actual initial insertion position B. More specifically, on the line Q passing through the current teaching position A and the actual initial insertion position B, the line is separated from the actual initial insertion position B by a predetermined offset amount R on the opposite side to the current teaching position A. Is set as the temporary center position C. In consideration of the size of the insertable range H that can be grasped in advance, the offset amount R is set to an amount that allows the temporary center position C to be within the insertable range H.
 図9を参照して、本実施形態に係る限界位置取得工程S54では、水平な第1方向(以下、X方向ともいう)の第1側(図面左側)と第2側(図面右側)の2か所、および、第1方向に直交する水平な第2方向(以下、Y方向ともいう)の第1側(図面上側)と第2側(図面下側)の2か所、合計4か所の限定位置を取得する。 Referring to FIG. 9, in a limit position acquisition step S54 according to the present embodiment, two of a first side (left side in the drawing) and a second side (right side in the drawing) in a horizontal first direction (hereinafter, also referred to as X direction) are used. And two places, a first side (upper side in the drawing) and a second side (lower side in the drawing), in a horizontal second direction (hereinafter also referred to as Y direction) orthogonal to the first direction, for a total of four places Get the limited position of.
 X方向第1側に関し、仮中心位置Cを通過してX方向に延びる仮想直線SXを想定する。仮中心位置Cからこの仮想直線SXに沿って第1側に所定距離離れた位置で電子部品90を基板95に向けて下降させる。この所定距離は、一例として、挿入可能範囲Hの直径と同等に設定される。電子部品90を挿入できなければ、そこから微小な量だけ仮想直線SXに沿って仮中心位置Cに近づくように移動し、電子部品90を基板95に向けて下降させる。電子部品90が挿入穴96に挿入されるまでこの一連の動作を繰り返す。電子部品90が挿入穴96に挿入されたら、そのときの電子部品90の位置を、X方向第1側の限界位置DX1として取得する。 に 関 し With respect to the first side in the X direction, a virtual straight line SX extending in the X direction passing through the temporary center position C is assumed. The electronic component 90 is lowered toward the substrate 95 at a position away from the temporary center position C by a predetermined distance to the first side along the virtual straight line SX. The predetermined distance is set, for example, equal to the diameter of the insertable range H. If the electronic component 90 cannot be inserted, the electronic component 90 is moved by a small amount along the virtual straight line SX so as to approach the temporary center position C, and the electronic component 90 is lowered toward the substrate 95. This series of operations is repeated until the electronic component 90 is inserted into the insertion hole 96. When the electronic component 90 is inserted into the insertion hole 96, the position of the electronic component 90 at that time is acquired as the limit position DX1 on the first side in the X direction.
 X方向第2側、Y方向第1側、Y方向第2側についても同様である。Y方向第1側および第2側に関しては、仮中心位置Cを通過してY方向に延びる仮想直線SYが想定される。X方向第2側の限界位置DX2、Y方向第1側の限界位置DY1、およびY方向第2側の限界位置DY2が取得される。4つの限界位置DX1、DX2、DY1、DY2は、前述した実初期挿入位置Bと同様、挿入可能範囲Hの外縁部に設定される。 The same applies to the second side in the X direction, the first side in the Y direction, and the second side in the Y direction. With respect to the first side and the second side in the Y direction, a virtual straight line SY passing through the temporary center position C and extending in the Y direction is assumed. A limit position DX2 on the second side in the X direction, a limit position DY1 on the first side in the Y direction, and a limit position DY2 on the second side in the Y direction are acquired. The four limit positions DX1, DX2, DY1, and DY2 are set at the outer edges of the insertable range H, similarly to the actual initial insertion position B described above.
 教示位置取得工程S55では、取得された限界位置の中央位置Eを新たな教示位置として取得する。中央位置EのX方向位置は、X方向における2つの限界位置DX1、DX2の中央である。中央位置EのY方向位置は、Y方向における2つの限界位置DY1、DY2の中央である。このようにして求められた中央位置Eが、現在の教示位置Aに代わって、教示位置として新たに設定される。 In the teaching position acquisition step S55, the center position E of the acquired limit position is acquired as a new teaching position. The X direction position of the center position E is the center of the two limit positions DX1 and DX2 in the X direction. The center position E in the Y direction is the center of the two limit positions DY1 and DY2 in the Y direction. The center position E obtained in this manner is newly set as the teaching position instead of the current teaching position A.
 このようにして設定された新たな教示位置(中心位置E)は、挿入可能範囲Hの真の中心に近い位置に設定される。したがって、部品挿入装置1を実用に供したときに、再び電子部品90が挿入できなくなるという事態が発生するのを抑制できる。 The new teaching position (center position E) set in this way is set to a position close to the true center of the insertable range H. Therefore, when the component insertion device 1 is put to practical use, it is possible to suppress a situation in which the electronic component 90 cannot be inserted again.
 図6を参照して、部品挿入装置1による部品挿入作業でも、ハンドで電子部品90を把持し、現在の教示位置Aに移動させ、電子部品90を基板95の挿入穴96に向けて下降させる(部品下降工程S21)。ここでの部品下降工程S21は、部品挿入作業中の作業工程である。部品下降工程(作業工程)S21において電子部品90を基板95に挿入できた場合(S22:YES)は、現在の教示位置Aを維持する(S23)。次の電子部品90を挿入穴96に挿入するため、部品挿入作業が継続される。部品下降工程(作業工程)S21において電子部品90を基板95に挿入できなかった場合(S22:NO)、上記同様、教示位置を修正する修正工程S50(図7参照)を実行する。 Referring to FIG. 6, also in the component insertion work by component insertion device 1, electronic component 90 is grasped by a hand, moved to current teaching position A, and electronic component 90 is lowered toward insertion hole 96 of substrate 95. (Part lowering step S21). The part lowering step S21 is an operation step during the part insertion operation. If the electronic component 90 can be inserted into the board 95 in the component lowering step (working step) S21 (S22: YES), the current teaching position A is maintained (S23). In order to insert the next electronic component 90 into the insertion hole 96, the component insertion operation is continued. If the electronic component 90 cannot be inserted into the board 95 in the component lowering step (working step) S21 (S22: NO), a correction step S50 (see FIG. 7) for correcting the teaching position is executed as described above.
 修正工程S50の教示位置取得工程S55では、中心位置Eが取得されると、取得された中央位置Eが、現在の教示位置Aに代わって、新たな教示位置Eとして更新設定される。更新後は、図6のフローに戻り、新たな教示位置Eに基づいて部品挿入作業が実施される。 In the teaching position acquisition step S55 of the correction step S50, when the center position E is acquired, the acquired center position E is updated and set as a new teaching position E instead of the current teaching position A. After the update, the process returns to the flow in FIG. 6 and the component insertion operation is performed based on the new teaching position E.
 このようにして設定された新たな教示位置(中心位置E)も、挿入可能範囲Hの真の中心に近い位置に設定される。したがって、部品挿入装置1を再び実用に供したときに、電子部品90が挿入できなくなるという事態が発生するのを抑制できる。 The new teaching position (center position E) set in this way is also set to a position near the true center of the insertable range H. Therefore, when the component insertion device 1 is put to practical use again, it is possible to suppress occurrence of a situation where the electronic component 90 cannot be inserted.
 これまで本発明の実施形態について説明したが、上記構成は本発明の範囲内で適宜変更、削除および/または追加可能である。例えば、限界位置取得工程S54において、X方向2か所あるいはY方向2か所の限界位置を導出し、教示位置取得工程S55において、2つの限界位置の中央位置を教示位置として取得してもよい。上記実施形態では教示位置を中心により近づけることができ、この変形例では教示位置の設定を速やかに行うことができる。また、電子部品を基板に挿入するとしたが、挿入する側の部品である第1部品および挿入される側の部品である第2部品は、電子部品および基板に限定されない。 Although the embodiments of the present invention have been described above, the above configuration can be appropriately changed, deleted, and / or added within the scope of the present invention. For example, in the limit position obtaining step S54, two limit positions in the X direction or in the Y direction may be derived, and in the teaching position obtaining step S55, the center position of the two limit positions may be obtained as the teaching position. . In the above embodiment, the teaching position can be made closer to the center, and in this modification, the teaching position can be set quickly. Further, although the electronic component is inserted into the board, the first component as the component to be inserted and the second component as the component to be inserted are not limited to the electronic component and the board.
S10 初期教示位置設定工程
S11 部品下降工程(試行工程)
S21 部品下降工程(作業工程)
S50 修正工程
S51 探り工程
S52 初期挿入位置取得工程
S53 仮中心取得工程
S54 限界位置取得工程
S55 教示位置取得工程
S10 Initial teaching position setting step S11 Component lowering step (trial step)
S21 Parts lowering process (work process)
S50 Correction step S51 Searching step S52 Initial insertion position acquisition step S53 Temporary center acquisition step S54 Limit position acquisition step S55 Teaching position acquisition step

Claims (6)

  1.  第1部品を第2部品の挿入穴に挿入する作業を行う部品挿入装置の教示位置を設定する方法であって、
     前記第1部品を把持し、前記第1部品を現在の教示位置に移動させて前記第2部品の前記挿入穴に向けて下降させる、部品下降工程と、
     前記部品下降工程において、前記第1部品を前記挿入穴に挿入できなかった場合に、前記現在の教示位置を修正する、修正工程と、を備え、
     前記修正工程が、
      把持した第1部品を前記現在の教示位置から水平に移動して前記第2部品に向けて下降させる一連の動作を、前記第1部品を前記挿入穴に挿入できるまで繰り返す、探り工程と、
      前記探り工程で前記電子部品を前記挿入穴に挿入できた位置を、実初期挿入位置として取得する、初期挿入位置取得工程と、
      前記現在の教示位置と前記実初期挿入位置とに基づいて、仮中心位置を取得する、仮中心取得工程と、
      前記第1部品を前記仮中心位置を通過する水平な第1方向の第1側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作と、前記第1部品を前記第1方向の第2側から前記仮中止に近づくように移動させて前記第2部品に向けて下降させる一連の動作とを実施し、前記第1部品が前記挿入穴に挿入された2つの限界位置を取得する、限界位置取得工程と、
      取得された限界位置の中央位置を新たな教示位置として取得する、教示位置取得工程と、を含む、
     教示位置設定方法。
    A method for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component,
    A component lowering step of gripping the first component, moving the first component to a current teaching position and lowering the first component toward the insertion hole of the second component,
    And correcting the current teaching position when the first component cannot be inserted into the insertion hole in the component lowering step,
    The correcting step includes:
    An exploring step of repeating a series of operations of horizontally moving the grasped first component from the current teaching position and descending toward the second component until the first component can be inserted into the insertion hole;
    An initial insertion position obtaining step of obtaining a position at which the electronic component can be inserted into the insertion hole in the searching step as an actual initial insertion position,
    Based on the current teaching position and the actual initial insertion position, to obtain a temporary center position, a temporary center obtaining step,
    A series of operations for moving the first component from a first side in a horizontal first direction passing through the temporary center position to approach the temporary center position and descending toward the second component; A series of operations of moving the component from the second side in the first direction to approach the temporary stop and descending toward the second component was performed, and the first component was inserted into the insertion hole. A limit position obtaining step of obtaining two limit positions;
    Acquiring a center position of the acquired limit position as a new teaching position, including a teaching position acquiring step,
    Teaching position setting method.
  2.  前記限界位置取得工程において、前記第1部品を前記仮中心位置を通過して前記第1方向と直交する水平な第2方向の第1側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作と、前記第1部品を前記第2方向の第2側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作とを実施し、前記第1部品が前記挿入穴に挿入された2つの限界位置が更に取得され、
     前記教示位置取得工程において、前記新たな教示位置が合計4つの限界位置から取得される、
     請求項1に記載の教示位置設定方法。
    In the limit position acquiring step, the first component is moved from the first side in a horizontal second direction orthogonal to the first direction through the temporary center position so as to approach the temporary center position, and A series of operations for lowering toward the two components, and a series of operations for moving the first component from the second side in the second direction to approach the temporary center position and lowering toward the second component; And the two limit positions where the first part is inserted into the insertion hole are further obtained,
    In the teaching position acquiring step, the new teaching position is acquired from a total of four limit positions.
    The teaching position setting method according to claim 1.
  3.  前記仮中心取得工程において、前記現在の教示位置と前記実初期挿入位置とを通過する線上であって、前記実初期挿入位置から前記現在の教示位置とは反対側に所定オフセット量だけ離れた位置が、前記仮中心位置として設定される、
     請求項1または2に記載の教示位置設定方法。
    In the provisional center acquisition step, a position on a line passing through the current teaching position and the actual initial insertion position and separated from the actual initial insertion position by a predetermined offset amount on a side opposite to the current teaching position. Is set as the temporary center position,
    The teaching position setting method according to claim 1.
  4.  前記現在の教示位置として初期教示位置を設定する初期教示位置設定工程を更に備え、
     前記部品下降工程が、前記第1部品を前記初期教示位置で前記第2部品の前記挿入穴に向けて下降させる、部品挿入作業前の試行工程であり、
     前記試行工程において前記第1部品を前記挿入穴に挿入できなかった場合に、前記修正工程を行い、前記初期教示位置を前記新たな教示位置に修正する、
     請求項1ないし3のいずれか1項に記載の教示位置設定方法。
    Further comprising an initial teaching position setting step of setting an initial teaching position as the current teaching position,
    The component lowering step is a trial step before component insertion operation, in which the first component is lowered toward the insertion hole of the second component at the initial teaching position,
    When the first part cannot be inserted into the insertion hole in the trial step, the correcting step is performed, and the initial teaching position is corrected to the new teaching position.
    The teaching position setting method according to claim 1.
  5.  前記部品下降工程が、部品挿入作業中の作業工程であり、
     前記作業工程において前記第1部品を前記挿入穴に挿入できなかった場合に、前記修正工程を行い、前記現在の教示位置を前記新たな教示位置に更新する
     請求項1ないし3のいずれか1項に記載の教示位置設定方法。
    The component lowering process is a work process during component insertion work,
    The said correction | amendment process is performed when the said 1st component was not able to be inserted in the said insertion hole in the said work process, and the said current teaching position is updated to the said new teaching position. Teaching position setting method.
  6.  第1部品を第2部品の挿入穴に挿入する作業を行う部品挿入装置の教示位置を設定する装置であって、
     ロボットアームと、
     前記ロボットアームの先端部に取り付けられて前記第1部品を把持するハンドと、
     前記ロボットアームおよび前記ハンドの動作を制御する制御装置と、を備え、
     前記制御装置は、
      前記ハンドで前記第1部品を把持し、前記第1部品を予め記憶されている現在の教示位置に移動させ、前記第1部品を前記第2部品の前記挿入穴に向けて下降させ、
      前記第1部品を前記挿入穴に挿入できなかった場合に、前記現在の教示位置を修正するように構成されており、
     前記制御装置は、前記現在の教示位置を修正するにあたり、
      前記ハンドで把持した前記第1部品を前記現在の教示位置から水平に移動して前記第2部品に向けて下降させる一連の動作を前記挿入穴に挿入できるまで繰り返すよう前記ロボットアームを制御し、
      前記第1部品を前記挿入穴に挿入できた位置を、実初期挿入位置として取得し、
      前記現在の教示位置と前記実初期挿入位置とに基づいて、仮中心位置を取得し、
      前記第1部品を前記仮中心位置を通過する水平な第1方向の第1側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作と、前記第1方向の第2側から前記仮中心位置に近づくように移動させて前記第2部品に向けて下降させる一連の動作とを実施するよう前記ロボットアームを制御し、
      前記第1部品が前記挿入穴に挿入された2つの限界位置を取得し、
      取得された限界位置の中央位置を新たな教示位置として取得する、ように構成されている、
     教示位置設定装置。
    An apparatus for setting a teaching position of a component insertion device that performs an operation of inserting a first component into an insertion hole of a second component,
    A robot arm,
    A hand attached to the tip of the robot arm and gripping the first component;
    A control device for controlling the operation of the robot arm and the hand,
    The control device includes:
    Holding the first component with the hand, moving the first component to a pre-stored current teaching position, lowering the first component toward the insertion hole of the second component,
    When the first component could not be inserted into the insertion hole, the current teaching position is configured to be corrected,
    The control device, in correcting the current teaching position,
    Controlling the robot arm to repeat a series of operations of horizontally moving the first component gripped by the hand from the current teaching position and descending toward the second component until it can be inserted into the insertion hole,
    Acquiring a position where the first component can be inserted into the insertion hole as an actual initial insertion position,
    Based on the current teaching position and the actual initial insertion position, obtain a temporary center position,
    A series of operations for moving the first component from a first side in a horizontal first direction passing through the temporary center position to approach the temporary center position and descending toward the second component; Controlling the robot arm to perform a series of operations of moving from the second side of the direction to approach the temporary center position and descending toward the second component,
    The first part acquires two limit positions inserted in the insertion hole,
    It is configured to acquire the center position of the acquired limit position as a new teaching position,
    Teaching position setting device.
PCT/JP2019/036703 2018-09-28 2019-09-19 Teaching position setting method and teaching position setting device WO2020066823A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980049552.2A CN112512756A (en) 2018-09-28 2019-09-19 Teaching position setting method and teaching position setting device
JP2020548584A JPWO2020066823A1 (en) 2018-09-28 2019-09-19 Teaching position setting method and teaching position setting device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2018-185470 2018-09-28
JP2018-185469 2018-09-28
JP2018185470 2018-09-28
JP2018185469 2018-09-28

Publications (1)

Publication Number Publication Date
WO2020066823A1 true WO2020066823A1 (en) 2020-04-02

Family

ID=69950664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/036703 WO2020066823A1 (en) 2018-09-28 2019-09-19 Teaching position setting method and teaching position setting device

Country Status (4)

Country Link
JP (1) JPWO2020066823A1 (en)
CN (1) CN112512756A (en)
TW (1) TWI715203B (en)
WO (1) WO2020066823A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117664027B (en) * 2024-01-31 2024-04-19 中国科学院武汉岩土力学研究所 Tunnel surrounding rock morphology acquisition device for surrounding rock classification

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4978270A (en) * 1972-12-01 1974-07-27
JPH04256526A (en) * 1991-02-01 1992-09-11 Nippon Telegr & Teleph Corp <Ntt> Position detecting method for assembly parts
JPH05318355A (en) * 1992-05-25 1993-12-03 Sony Corp Position correction method and device thereof
JPH08112789A (en) * 1994-10-14 1996-05-07 Canon Inc Part inserting device and part inserting method
JP2004167651A (en) * 2002-11-21 2004-06-17 Fanuc Ltd Assembling method and device
JP2011110688A (en) * 2009-11-30 2011-06-09 Mitsubishi Electric Corp Robot teaching device and robot control device
CN105643267A (en) * 2014-11-11 2016-06-08 沈阳新松机器人自动化股份有限公司 Mechanical arm force control assembling device and method
JP2018088504A (en) * 2016-11-30 2018-06-07 川崎重工業株式会社 Component mounting device and control method of the same

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0637492A (en) * 1992-07-15 1994-02-10 Matsushita Electric Ind Co Ltd Electronic parts inserter
JPH0724761A (en) * 1993-07-15 1995-01-27 Nec Corp Industrial robot and its teaching method
JPH08148893A (en) * 1994-11-16 1996-06-07 Sony Corp Component insertion device
JP3304652B2 (en) * 1994-12-19 2002-07-22 富士通株式会社 Parts assembly equipment
JPH0991026A (en) * 1995-09-27 1997-04-04 Fanuc Ltd Method for correcting attitude error of force controlled robot
JPH1148175A (en) * 1997-08-11 1999-02-23 Nippon Telegr & Teleph Corp <Ntt> Rotary shaft center positioning position offset correction method and device therefor
JP4256526B2 (en) 1999-04-06 2009-04-22 株式会社竹中工務店 Displacement measuring device for underground excavator
JP5318355B2 (en) 2007-02-15 2013-10-16 Ntn株式会社 Hardening quality control method and apparatus for constant velocity joint outer ring
JP4978270B2 (en) 2007-03-28 2012-07-18 セイコーエプソン株式会社 Toner manufacturing method and toner
JP6429450B2 (en) * 2013-10-31 2018-11-28 キヤノン株式会社 Information processing apparatus and information processing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4978270A (en) * 1972-12-01 1974-07-27
JPH04256526A (en) * 1991-02-01 1992-09-11 Nippon Telegr & Teleph Corp <Ntt> Position detecting method for assembly parts
JPH05318355A (en) * 1992-05-25 1993-12-03 Sony Corp Position correction method and device thereof
JPH08112789A (en) * 1994-10-14 1996-05-07 Canon Inc Part inserting device and part inserting method
JP2004167651A (en) * 2002-11-21 2004-06-17 Fanuc Ltd Assembling method and device
JP2011110688A (en) * 2009-11-30 2011-06-09 Mitsubishi Electric Corp Robot teaching device and robot control device
CN105643267A (en) * 2014-11-11 2016-06-08 沈阳新松机器人自动化股份有限公司 Mechanical arm force control assembling device and method
JP2018088504A (en) * 2016-11-30 2018-06-07 川崎重工業株式会社 Component mounting device and control method of the same

Also Published As

Publication number Publication date
CN112512756A (en) 2021-03-16
TWI715203B (en) 2021-01-01
TW202019644A (en) 2020-06-01
JPWO2020066823A1 (en) 2021-09-24

Similar Documents

Publication Publication Date Title
WO2014148032A1 (en) Robot system control method and robot system
CN104889986B (en) Robot controller
WO2019230887A1 (en) Lead wire inserting device and lead wire inserting method
JP2006350620A (en) Method for action instruction of assembling mechanism in automatic assembling system
JP2014180720A (en) Robot system and calibration method
WO2020261881A1 (en) End effector control system and end effector control method
WO2020066823A1 (en) Teaching position setting method and teaching position setting device
WO1990011872A1 (en) Method for setting tool center point for robot
JP2019010723A (en) Robot hand, robot device, control method of robot hand
JP2015000455A (en) Robot device and control method for robot device
US20180085920A1 (en) Robot control device, robot, and robot system
CN109311155B (en) Method and device for calibrating tool coordinate system origin of industrial robot
CN116423526B (en) Automatic calibration method and system for mechanical arm tool coordinates and storage medium
JP6040002B2 (en) TEACHING INFORMATION CORRECTION DEVICE, CONTROL DEVICE, AND TEACHING INFORMATION CORRECTION METHOD
JP6308423B2 (en) Holding method and holding device
WO2018110601A1 (en) Method for teaching robot
JP6862849B2 (en) Arithmetic logic units, arithmetic methods, arithmetic programs and robot systems
JP3705045B2 (en) Creating robot teaching data
JP6252273B2 (en) Robot control method and robot control device
JP6632783B1 (en) Robot controller
JP6252278B2 (en) Robot control method and robot control device
WO2019026508A1 (en) Method for diagnosing robot
JPH0976178A (en) Robot control device
JP6539989B2 (en) Robot controller
JP2009279719A (en) Teaching device and teaching method for robot

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: 19864952

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020548584

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: 19864952

Country of ref document: EP

Kind code of ref document: A1