Robot motion control data generating device and motion control data generating method

The motion control data generation device optimizes robot motion by determining acceleration and deceleration distances and positions, reducing teaching effort and working time while ensuring uniform application of materials.

JP7560872B2Active Publication Date: 2024-10-03ASAHI SUNAC CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021019437
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-10
Publication Date
2024-10-03
Estimated Expiration
2041-02-10

AI Technical Summary

Technical Problem

Existing robot control systems require significant teaching effort and result in inefficiencies and increased working time due to inaccurate setting of teaching points, leading to non-uniform coating thickness and prolonged deceleration distances.

Method used

A motion control data generation device that determines optimal acceleration and deceleration distances and positions, allowing the end effector to move at a constant speed with reduced teaching effort by generating motion control data that includes semicircular turning paths and anticipates start times to minimize working time loss.

Benefits of technology

The solution enables efficient and uniform application of materials like paint by reducing working time loss and ensuring consistent coating thickness with minimal operator input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560872000005
    Figure 0007560872000005
  • Figure 0007560872000006
    Figure 0007560872000006
  • Figure 0007560872000007
    Figure 0007560872000007
Patent Text Reader

Abstract

To reduce a work time loss with limited teaching time and labor while moving an end effector in a work section at a fixed speed.SOLUTION: A control device 13 generates motion control data of a painting robot 10 for painting an object 30 to be painted while moving a painting gun 11F (end effector) in a spraying section (from start point Ai to end point Bi) at a fixed speed V1. A control unit 14 calculates, as a speed-reduction distance D, a distance of the painting gun 11F to reach a maximum circle speed V2 when the painting gun 11F moving at the fixed speed V1 is reduced in speed at maximum acceleration A, and calculates a position away from a speed-reduction start position Gi by the speed-reduction distance D in a moving direction as a speed-reduction end position Ei of the painting gun 11F.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a robot motion control data generating device and a motion control data generating method. [Background technology]

[0002] Conventionally, as a robot that performs a predetermined task on a work object while moving an end effector at a constant speed in a working area, there are known a robot that sprays a liquid material on the work object, a robot that welds the work object, etc. Examples of the liquid material sprayed on the work object include liquid paint, powder paint, release agent, lubricant, sealant, etc.

[0003] When a robot is made to perform a task, an operator generally teaches the robot how to move. For example, in the robot control device described in Patent Document 1, an instruction operator moves the manipulator 2 while teaching the teaching point Pk for generating the movement trajectory of the paint gun 8 (corresponding to an end effector), the paint-on point Ai, and the paint-off point Bi. The robot control device accelerates the operating speed of the paint gun 8 at a constant acceleration to Voff in the paint-off area, and moves the paint gun 8 at the constant speed Voff in the paint-on area. Then, when the paint gun 8 passes through the paint-on area after a predetermined time has elapsed, the robot control device decelerates the operating speed to Von at a constant deceleration.

[0004] As described above, in the robot control device described in the document, the teaching operator teaches a plurality of teaching points Pk in addition to paint-on points Ai and paint-off points Bi. As shown in Fig. 2 of the document, the robot control device moves the paint gun 8 linearly to the right until it reaches the vicinity of teaching point Pk+1, and then turns downward along a small radius circle near teaching point Pk+1. The robot control device then moves the paint gun 8 linearly downward, and turns left along a small radius circle near the next teaching point Pk+2. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 11-188686 Summary of the Invention [Problem to be solved by the invention]

[0006] As described above, a teaching operator teaches the teaching point Pk in the robot control device described in Patent Document 1. However, when a teaching operator teaches the teaching point Pk, the following problems arise.

[0007] For example, when a teaching operator teaches teaching point Pk+1 shown in Figure 2 of the document, if teaching point Pk+1 is set at a position close to paint-off point B1, when the painting gun 8 passes point B1 and is decelerated at a predetermined acceleration, the painting gun 8 may pass over teaching point Pk+1 because its moving speed to the right does not decrease sufficiently even when it reaches the vicinity of teaching point Pk+1. In this case, the robot control device must start decelerating the painting gun 8 before it reaches point B1 so that its moving speed to the right is sufficiently decreased near teaching point Pk+1. If deceleration of the painting gun 8 starts before it reaches point B1, the moving speed of the painting gun 8 changes in the paint-on area, making it difficult to ensure a uniform coating thickness.

[0008] For this reason, the teaching operator must determine for himself the distance required for the paint gun 8 to be sufficiently decelerated near the teaching point Pk+1 when the paint gun 8 is decelerated at a predetermined acceleration, and set the teaching point Pk+1 at a position that is at least the determined distance away from point B1. However, it is generally difficult for the teaching operator to accurately determine the required distance. For this reason, the teaching operator may set the teaching point Pk+1 at a position that is farther away than necessary from point B1 (i.e., a position that is farther away than the above-mentioned required distance) to be on the safe side. However, setting the teaching point Pk+1 at a position that is farther away than necessary increases the travel distance of the paint gun 8, resulting in a problem of lost work time.

[0009] In addition, since the paint gun 8 in the document turns downward along a circle with a small radius near the teaching point Pk+1, it is necessary to decelerate the moving speed to the right to a speed close to 0 near the teaching point Pk+1. This makes the distance required for deceleration longer, resulting in lost work time. Also, since the moving speed in the left and right directions is 0 when moving in a section that extends linearly downward, it is necessary to accelerate from a speed of 0 when starting to move to the left near the teaching point Pk+2. This makes it necessary to travel a long distance for the moving speed to the left to reach the desired speed, resulting in lost work time.

[0010] Furthermore, in the robot control device of the document, the teaching operator must teach not only the paint-on point Ai and the paint-off point Bi, but also multiple teaching points Pk, which causes a problem that the teaching operator has to work harder than if he or she were to teach only the paint-on point Ai and the paint-off point Bi.

[0011] This specification discloses a technique that can reduce loss of work time while moving an end effector at a constant speed in a work section with minimal teaching effort. [Means for solving the problem]

[0012] (1) A robot motion control data generation device disclosed in this specification is a motion control data generation device that generates motion control data for a robot that performs a predetermined task on a work object while moving an end effector at a constant speed in a work section, and includes a memory unit in which work section data representing a plurality of work sections that are parallel to each other is stored, and a control unit, wherein the control unit performs a first process of calculating an acceleration / deceleration distance, which is a distance at which the end effector moving at the constant speed reaches a predetermined speed when the end effector is accelerated or decelerated at a predetermined acceleration, and a second process of calculating an acceleration / deceleration distance, which is a distance at which the end effector reaches a predetermined speed when the end effector moving at the constant speed is accelerated or decelerated at a predetermined acceleration, and a second process of calculating an acceleration / deceleration distance, which is a distance at which the end effector reaches a predetermined speed when the end effector is accelerated or decelerated at a predetermined acceleration, and a second process of calculating an acceleration / deceleration distance, which is a distance at which the end effector reaches a predetermined speed when the end effector moves at the constant ... a second process of determining a position a predetermined distance away from the acceleration / deceleration start position as an acceleration / deceleration end position of the end effector, and a position that is the acceleration / deceleration distance away from the acceleration / deceleration start position in the movement direction as an acceleration / deceleration end position of the end effector; and a third process of generating the motion control data so that the end effector moves from the start point of the working section to the acceleration / deceleration start position at the constant speed, accelerates or decelerates from the acceleration / deceleration start position to the acceleration / deceleration end position at the predetermined acceleration, and moves at the predetermined speed along a semicircular return path that has a radius equal to half the distance from the end point of the working section to the start point of the next working section, starting from the acceleration / deceleration end position.

[0013] According to the above-mentioned motion control data generating device, the acceleration / deceleration distance is calculated from the constant speed, the predetermined acceleration, and the predetermined speed, and the acceleration / deceleration end position is set to a position that is the acceleration / deceleration distance away from the acceleration / deceleration start position, so that the acceleration / deceleration end position is not set to a position that is farther than necessary. Therefore, the movement path of the end effector is shorter than when the operator sets the acceleration / deceleration end position to a distant position for safety, and loss of work time can be reduced.

[0014] Furthermore, according to the above-mentioned motion control data generating device, since the end effector moves along the semicircular return path described above, the predetermined speed (the speed when moving along the return path) can be made faster than when moving along a circle with a small radius (a circle with a radius smaller than half the distance from the end point of one working section to the start point of the next working section). This shortens the distance required to decelerate the end effector to the predetermined speed. And since it is sufficient to start accelerating from the predetermined speed when the end effector reaches the end point of the return path, the travel distance until the speed reaches a constant speed can be shorter than when accelerating from a speed of 0. This reduces the loss of work time.

[0015] Furthermore, according to the above-mentioned motion control data generating device, the end effector is prevented from starting acceleration / deceleration before it reaches the end point of the working section, because the acceleration / deceleration start position is set to the end point of the working section or a position a predetermined distance away from the end point of the working section, so that the end effector can be moved at a constant speed in the working section.

[0016] Furthermore, according to the above-described motion control data generating device, the operator only needs to instruct the work section, and does not need to instruct the teaching points Pk described in Patent Document 1, thereby reducing the burden on the operator. Therefore, according to the above-described motion control data generating device, it is possible to reduce loss of work time while moving the end effector at a constant speed in the work section with little teaching effort.

[0017] (2) In the third process, the control unit may generate the motion control data so that the end effector decelerates or accelerates at the predetermined acceleration to a position that is separated by the acceleration / deceleration distance from the end point of the return path toward the start point of the next work section.

[0018] According to the above-described motion control data generating device, it is possible to ensure that the speed of the end effector reaches a constant speed when the end effector reaches the start point of the next working section.

[0019] (3) The predetermined acceleration may be a maximum acceleration at which the end effector can be accelerated or decelerated when moving in a straight line.

[0020] According to the above-mentioned motion control data generating device, the end effector is accelerated or decelerated at the maximum acceleration from the acceleration / deceleration start position to the acceleration / deceleration end position, so that the travel distance until the end effector reaches a predetermined speed can be minimized, and thus the loss of working time can be further reduced.

[0021] (4) The predetermined speed may be a maximum speed at which the end effector can move on a circle having a radius equal to half the distance.

[0022] According to the above-mentioned motion control data generating device, it is possible to move along the semicircular return path in the shortest time possible, thereby further reducing the loss of work time.

[0023] (5) In the third process, the control unit may generate the motion control data to instruct the end effector to start the work before the end effector reaches a start point of the work section.

[0024] If the end effector is instructed to start working when it reaches the start of the work section represented by the work section data, there is a possibility that the position at which the work actually starts will be a position past the start of the work section represented by the work section data, due to the time lag between when the end effector is instructed to start working and when the work actually starts. According to the above-mentioned motion control data generating device, the start of work is instructed before the end effector reaches the start of the work section, anticipating the above-mentioned time lag, so that the position at which work actually starts can be made to coincide with the start of the work section represented by the work section data, or can be made to be earlier than the start of the work section.

[0025] (6) The predetermined task may be a task of spraying a liquid material onto the work object.

[0026] According to the above-described motion control data generating device, the end effector can be moved at a constant speed in the working area, so that the liquid material can be sprayed uniformly in the working area.

[0027] The invention disclosed in this specification can be realized in various forms, such as an apparatus, a method, a computer program for implementing the functions of these apparatus or methods, and a recording medium on which the computer program is recorded. [Brief description of the drawings]

[0028] [Figure 1] Schematic diagram of a painting robot according to embodiment 1. [Diagram 2] Block diagram showing the electrical configuration of the control device [Diagram 3] A schematic diagram showing an example of a paint gun movement path. [Figure 4] Graph showing changes in paint gun speed [Diagram 5] Flowchart of generating motion control data DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] <Embodiment 1> The first embodiment will be described with reference to Figures 1 to 5. In the following description, the left-right direction shown in Figure 3 is defined as the X direction, the up-down direction as the Y direction, and the direction perpendicular to both the X direction and the Y direction (the direction perpendicular to the paper surface) as the Z direction.

[0030] (1) Configuration of painting robot A painting robot 10 (an example of a robot) according to the first embodiment will be described with reference to Fig. 1. The painting robot 10 is a robot that paints a workpiece (an example of a work target) by spraying paint 40 (an example of a liquid material) onto the workpiece. The painting robot 10 includes a multi-axis manipulator 11, a teaching pendant 12, and a control device 13 (an example of a motion control data generating device).

[0031] The manipulator 11 includes a fixed base 11A fixed to a floor surface, a swivel base 11B provided on the fixed base 11A so as to be rotatable around a vertical axis, a servo motor (not shown) for rotating the swivel base 11B, a first arm 11C pivotally supported on the swivel base 11B and pivoting around an axis, a servo motor (not shown) for rotating the first arm 11C, a second arm 11D pivotally supported on the other end of the first arm 11C and pivoting around an axis, a servo motor (not shown) for rotating the second arm 11D, a wrist 11E provided on the other end of the second arm 11D and capable of rotating with three degrees of freedom (yaw, roll, and pitch), a paint gun 11F attached to the tip of the wrist 11E, and a sensor (not shown) for detecting the three-dimensional position of the paint gun 11F. The paint gun 11F is an example of an end effector. The end effector is also called a hand effector.

[0032] The above-mentioned sensor is, for example, an encoder provided in each servo motor. The encoder counts the rotations of each servo motor, thereby making it possible to detect the three-dimensional position of the paint gun 11F. The manipulator 11 has a total of six degrees of freedom due to the above-mentioned configuration. The paint gun 11F can take any position and posture within the operating range of the manipulator 11.

[0033] The teaching pendant 12 is a device that allows an operator to teach an operation to the painting robot 10. The teaching pendant 12 is a small terminal that is carried by the operator, and is connected by wire (or wirelessly) to the control device 13. The teaching pendant 12 is equipped with a start point teaching button for teaching the start point of a spraying section (one example of a working section) of the paint 40, an end point teaching button for teaching the end point of the spraying section, and the like. Teaching an operation using the teaching pendant 12 will be described later.

[0034] The electrical configuration of the control device 13 will be described with reference to Fig. 2. The control device 13 includes a control unit 14, an operation unit 15, a storage unit 16, and an interface unit 17. The control unit 14 includes a CPU 14A and a RAM 14B. The operation unit 15 includes a display device such as a liquid crystal display, and input devices such as a touch panel, a keyboard, and a mouse. The storage unit 16 has a storage medium such as a hard disk. The storage unit 16 stores an operation control program and operation control data for controlling the operation of the painting robot 10. The interface unit 17 is an interface for connecting the manipulator 11 and the teaching pendant 12 to the control unit 14. The control device 13 controls the operation of the manipulator 11 by executing the operation control program stored in the storage unit 16.

[0035] (2) Creating teaching data 3, dashed line 50 shows an example of the movement path of paint gun 11F when painting flat surface 30A of workpiece 30. P0 shows the origin position of paint gun 11F on movement path 50. On movement path 50, the section from Ai to Bi is a spraying section in which paint gun 11F sprays paint 40, and the other sections are non-spraying sections in which paint 40 is not sprayed.

[0036] In the example shown in Figure 3, multiple spray sections extending horizontally are arranged in parallel vertically, and the direction of movement of the paint gun 11F when moving between the spray sections alternates. When moving between the spray sections, the paint gun 11F paints while moving at a constant speed V1 to prevent unevenness in the paint thickness.

[0037] The teaching data (an example of the work section data) is data in which the start point Ai and the end point Bi of each spray section described above are recorded. The teaching data also records other data such as the orientation of the paint gun 11F, but the explanation of the other data is omitted here. Here, the case of creating teaching data by PTP (Point To Point) teaching will be described as an example. In PTP teaching, the operator manually moves the painting gun 11F of the painting robot 10 to the position that is the starting point Ai of the spraying section, and presses the starting point teaching button of the teaching pendant 12 in that state. When the operator presses the starting point teaching button, the position of the painting gun 11F at that time is acquired by the sensor and recorded in the teaching data as the starting point Ai of the spraying section.

[0038] Next, the operator manually moves the painting gun 11F to the position that is the end point of the spraying section, and presses the end point teaching button in that state. When the operator presses the end point teaching button, the position of the painting gun 11F at that time is acquired by the sensor and recorded in the teaching data as the end point Bi of the spraying section. By repeating this, the teaching data is created.

[0039] (3) Generation of operation control data The control unit 14 generates operation control data based on the teaching data. The operation control data is data in which the movement path 50 of the painting gun 11F, the acceleration of the painting gun 11F in each section on the movement path 50, the spraying start position, the spraying stop position, etc. are set. In the generation of the operation control data, the control unit 14 executes the first process, the second process, and the third process described below.

[0040] (3-1) The first process Referring to FIG. 4, the first process will be described. The first process is a process of obtaining, by calculation, the distance (hereinafter referred to as the deceleration distance D) at which the speed of the painting gun 11F decelerates to a predetermined speed V2 (<V1) when the painting gun 11F moving at a speed V1 is decelerated at a predetermined acceleration A [m / s 2 . The deceleration distance D is an example of the acceleration / deceleration distance.

[0041] The above-mentioned speed V1 is specified by the operator. The predetermined acceleration A is the maximum acceleration at which the paint gun 11F can be accelerated or decelerated when moving on a straight line. The maximum acceleration is determined in advance according to the characteristics of the painting robot 10. The predetermined speed V2 is the maximum speed at which the paint gun 11F can be moved when moving on a circle whose radius is a distance R that is 1 / 2 the distance between the end point Bi of the previous spraying section and the start point Ai+1 of the next spraying section (for convenience, this is referred to as the maximum circular speed). Once the distance R is determined, the maximum circular speed V2 is uniquely determined according to the characteristics of the painting robot 10.

[0042] The calculation of the deceleration distance D will be specifically described with reference to Fig. 3. The control unit 14 calculates the distance R by the following formula 1. In formula 1, (x1, y1, z1) are the three-dimensional coordinates of the end point Bi of an injection interval, and (x2, y2, z2) are the three-dimensional coordinates of the start point Ai+1 of the next injection interval.

number

[0043] Here, when the flat surface 30A of the workpiece 30 is a plane including a vertical line, the distance R is simply 1 / 2 the difference between Y2 and Y1. However, the flat surface 30A of the workpiece 30 may be inclined with respect to the vertical line. For this reason, the control unit 14 obtains the distance R by dividing the distance between the two points in the three-dimensional space by 2. The control unit 14 determines the maximum circular speed V2 from the obtained distance R. Then, the control unit 14 calculates the deceleration distance D using the following equations 2 to 4. Specifically, the acceleration A is expressed as shown in equation 2.

number

[0044] By modifying Equation 2, the time t for the paint gun 11F to move the deceleration distance D is expressed as shown in Equation 3.

number

[0045] The relationship between distance, velocity, acceleration and time is expressed by Equation 4 below.

number

[0046] The control unit 14 obtains the time t by the formula 3, and calculates the deceleration distance D by substituting the speed V1, the maximum acceleration A, and the time t into the formula 4.

[0047] (3-2) Second Processing The second process will be described with reference to Fig. 3. The second process is a process in which a position spaced a predetermined distance in the movement direction of the paint gun 11F from an end point Bi of one spraying section is set as a deceleration start position Gi (an example of an acceleration / deceleration start position), and a position spaced a deceleration distance D in the movement direction from the deceleration start position Gi is determined as a deceleration end position Ei (an example of an acceleration / deceleration end position) of the paint gun 11F. The reason why the deceleration start position Gi is set to a position a predetermined distance away from the end point Bi of the spraying section is to allow a certain amount of margin before the paint gun 11F, which has reached the end point Bi, starts to decelerate.

[0048] (3-3) Third Processing The third process will be described with reference to Fig. 3. The third process is a process for generating operation control data so that the coating gun 11F moves from the start point Ai of the spraying section to the deceleration start position Gi at a speed V1, decelerates from the deceleration start position Gi to the deceleration end position Ei at a maximum acceleration A, and moves along a semicircular return path Hi with a radius of the above-mentioned distance R at a maximum circular speed V2. 3, the acceleration end position Ki (i≧2) is a position that is separated from the end point of the previous turn-back path Hi-1 toward the start point Ai of the next spraying section by a deceleration distance D. The control unit 14 generates operation control data so that the coating gun 11F accelerates at a maximum acceleration A from the end point of the turn-back path Hi-1 to the acceleration end position Ki just before the next spraying section.

[0049] The third process will be specifically described below. In the third process, the control unit 14 sets the movement path 50 of the paint gun 11F, the acceleration of the paint gun 11F in each section on the movement path 50, and the spray start position and spray stop position in the operation control data.

[0050] (3-3-1) Setting the paint gun movement path In setting the movement path 50 of the paint gun 11F, the control unit 14 sets the following (A1) to (A8).

[0051] (A1) The control unit 14 sets the first acceleration end position K1 to a position a predetermined distance away from the start point A1 of the first spraying section in the opposite direction (left side in Figure 3) to the movement direction when the paint gun 11F moves through the first spraying section.

[0052] (A2) The control unit 14 calculates the distance required to accelerate the paint gun 11F from a speed of 0 to a speed V1 at the maximum acceleration A, and sets a position that is the calculated distance away from the initial acceleration end position K1 in the opposite direction described above as the origin position P0 of the paint gun 11F.

[0053] (A3) The control unit 14 sets a position that is a predetermined distance away from the end point Bi of the spraying section in the movement direction of the paint gun 11F as the deceleration start position Gi.

[0054] (A4) The control unit 14 sets the position obtained in the second process (i.e., a position separated from the deceleration start position Gi by the deceleration distance D in the moving direction of the paint gun 11F) as the deceleration end position Ei. In the following description, the section from the deceleration start position Gi to the deceleration end position Ei is referred to as the deceleration section.

[0055] (A5) The control unit 14 sets a semicircular turn-back route Hi having a radius of 1 / 2 the distance R as described above, which route has its origin at the deceleration end position Ei.

[0056] (A6) The control unit 14 sets the end point of the turn-back path Hi as the acceleration start position Si.

[0057] (A7) The control unit 14 sets a position away from the acceleration start position Si (the end point of the return path Hi) toward the start point Ai+1 of the next injection section by the deceleration distance D as the acceleration end position Ki+1. In the following description, the section from the acceleration start position Si to the acceleration end position Ki+1 is referred to as the acceleration section.

[0058] (A8) The control unit 14 calculates the distance required to decelerate the paint gun 11F from speed V1 to speed 0 at maximum acceleration A, and sets the stop position P1 of the paint gun 11F to a position that is the calculated distance away from the final deceleration start position G6 in the direction of movement (left side in Figure 3) when the paint gun 11F moves through the final spraying section.

[0059] (3-3-2) Setting the acceleration of the paint gun in each section of the travel path In setting the acceleration of the paint gun 11F, the control unit 14 sets the following (B1) to (B6).

[0060] (B1) The control unit 14 sets the acceleration in the section from the origin position P0 to the first acceleration end position K1 to the maximum acceleration A. The distance from the origin position P0 to the first acceleration end position K1 is the distance at which the paint gun 11F reaches speed V1 when accelerated at the maximum acceleration A from a speed of 0, so when the paint gun 11F reaches the first acceleration end position K1, the paint gun 11F has reached speed V1.

[0061] (B2) The control unit 14 sets the acceleration in the section from the acceleration end position Ki to the deceleration start position Gi to 0. Because the acceleration is 0, the coating gun 11F moves in that section at a constant speed V1.

[0062] (B3) The control unit 14 sets the acceleration in the deceleration section (the section from the deceleration start position Gi to the deceleration end position Ei) to the maximum acceleration A. The distance of the deceleration section is the distance at which the speed of the paint gun 11F decreases to speed V2 when the paint gun 11F moving at speed V1 is decelerated at the maximum acceleration A, so when the paint gun 11F reaches the deceleration end position Ei, the speed of the paint gun 11F has decreased to speed V2.

[0063] (B4) The control unit 14 sets the acceleration of the turn-back path Hi to 0. Because the acceleration is 0, the coating gun 11F moves along the turn-back path Hi at a constant maximum circular speed V2.

[0064] (B5) The control unit 14 sets the acceleration in the acceleration section (from acceleration start position Si to acceleration end position Ki+1) to the maximum acceleration A. The distance from acceleration start position Si to acceleration end position Ki+1 is the distance at which the speed of the paint gun 11F reaches speed V1 when the paint gun 11F, moving at speed V2, is accelerated at the maximum acceleration A, so when the paint gun 11F reaches acceleration end position Ki+1, the speed of the paint gun 11F has reached speed V1.

[0065] (B6) The control unit 14 sets the acceleration in the section from the deceleration start position G6 to the stop position P1 in the final spraying section (the section in which the paint gun 11F is decelerated) to the maximum acceleration A.

[0066] (3-3-3) Setting the injection start and stop positions The control unit 14 sets the spray start position before the start point Ai of the spraying section taught by the operator, anticipating the time lag between when the spray command is given to the paint gun 11F and when the paint 40 actually starts to be sprayed. How far in advance the spray start position is set can be appropriately determined depending on the characteristics of the painting robot 10, etc. Since the spray start position is set before the start point Ai taught by the operator, when painting is actually performed, the paint gun 11F is instructed to spray before the paint gun 11F reaches the start point Ai taught by the operator.

[0067] The same applies to the jet stop position Bi. However, since there is little effect on the coating quality even if the timing to stop jetting is slightly delayed, the end point Bi taught by the operator may be set as the jet stop position.

[0068] (3-4) Flow of generating motion control data The flow of generating the motion control data will be described with reference to Fig. 5. The generation of the motion control data is started when the operator operates the operation unit 15 to instruct the generation of the motion control data. When instructing the generation of the motion control data, the operator specifies the above-mentioned speed V1. Note that the speed V1 may be set in advance in the teaching data.

[0069] In S101, the control unit 14 calculates the distance R, which is half the distance between the end point Bi of the injection interval and the start point Ai+1 of the next injection interval, using the above-mentioned formula 1. In S102, the control unit 14 calculates the maximum circular speed V2 at which the paint gun 11F can move on a circle having the distance R as its radius.

[0070] In S103, the control unit 14 calculates the deceleration distance D by the above-mentioned formulas 3 and 4. In S104, the control unit 14 determines the deceleration end position Ei of the coating gun 11F. In S105, the control unit 14 sets the movement path 50 of the paint gun 11F in the operation control data. Specifically, the control unit 14 sets the above-mentioned (A1) to (A8).

[0071] In S106, the control unit 14 sets the acceleration for each section in the motion control data. Specifically, the control unit 14 sets the above-mentioned (B1) to (B6). In S107, the control unit 14 sets the spray start position and spray stop position of the paint gun 11F in the operation control data.

[0072] (4) Effects of the embodiment According to the control device 13, the deceleration distance D is calculated from the speed V1, the maximum acceleration V1, and the maximum circular speed V2, and the deceleration end position Ei is set to a position that is the deceleration distance D away from the deceleration start position Gi, so that the deceleration end position Ei is not set to a position farther than necessary. Therefore, the moving path 50 is shorter than when the operator sets the deceleration end position Ei to a farther position for safety, and loss of work time can be reduced.

[0073] Furthermore, according to the control device 13, since the paint gun 11F moves along the semicircular return path Hi with a radius R, the speed V2 when moving along the return path Hi can be made faster than when moving along a circle with a smaller radius. This shortens the distance required to decelerate the paint gun 11F to the speed V2. And since the paint gun 11F only needs to start accelerating from the speed V2 when it reaches the end point (acceleration start position Si) of the return path Hi, the travel distance to reach the speed V1 can be shorter than when accelerating from a speed of 0. This reduces the loss of work time.

[0074] Furthermore, the control device 13 sets the deceleration start position Gi to a position a predetermined distance away from the end point Bi of the spraying section, so that the coating gun 11F does not start decelerating before the coating gun 11F reaches the end point Bi, thereby making it possible to spray the paint 40 uniformly in the spraying section.

[0075] Furthermore, with the control device 13, the operator only needs to teach the injection interval, and there is no need to teach the teaching points Pk described in Patent Document 1, so the operator's work can be reduced. Therefore, the control device 13 can achieve uniform spraying of the paint 40 in the spraying section while reducing loss of work time with little teaching effort.

[0076] According to the control device 13, operational control data is generated so that the paint gun 11F accelerates at maximum acceleration A from the end point of the return path Hi (acceleration start position Si) to the acceleration end position Ki+1, so that the paint gun 11F can reach speed V1 when it reaches the start point Ai+1 of the next spraying section.

[0077] The control device 13 decelerates the coating gun 11F from the deceleration start position Gi to the deceleration end position Ei at the maximum acceleration A, thereby minimizing the travel distance until the coating gun 11F reaches the maximum circular velocity V2, thereby further reducing the loss of work time.

[0078] According to the control device 13, the predetermined speed V2 is the maximum speed at which the paint gun 11F can move on a circle whose radius is 1 / 2 the distance R, so that the paint gun 11F can move along the semicircular return path in the shortest time, thereby further reducing the loss of work time.

[0079] According to the control device 13, the position where the spraying of the paint 40 actually starts can be made to coincide with the start point Ai of the spraying section represented by the teaching data, or can be made to precede the start point Ai of the spraying section. This makes it possible to more reliably make the coating thickness in the spraying section uniform.

[0080] The control device 13 can move the coating gun 11F at a constant speed V1 in the spraying section, so that the coating material can be sprayed uniformly in the spraying section, thereby ensuring a uniform coating thickness.

[0081] <Other embodiments> The present invention is not limited to the embodiments described above and illustrated in the drawings, and the following embodiments, for example, are also included within the technical scope of the present invention.

[0082] (1) In the above embodiment, the speed V1 is greater than the maximum circular speed V2, but the speed V1 may be less than the maximum circular speed V2. For example, depending on the type of paint 40 to be sprayed, the coating gun 11F may be moved at a speed slower than the maximum circular speed V2. In that case, the coating gun 11F is accelerated to the maximum circular speed V2 after passing through the spraying section, moves along the return path at the maximum circular speed V2, and then is decelerated to the speed V1.

[0083] (2) In the above embodiment, the deceleration start position Gi is a position that is a predetermined distance away from the end point Bi of the spraying section in the movement direction of the paint gun 11F, but the end point Bi may be the deceleration start position Gi. In this way, the section from the end point Bi of the spraying section to the deceleration start position Gi is unnecessary, so that the movement path 50 can be made shorter.

[0084] (3) In the above embodiment, the predetermined acceleration A is set to the maximum acceleration at which acceleration or deceleration is possible when moving on a straight line. However, the predetermined acceleration A does not necessarily have to be the maximum acceleration A.

[0085] (4) In the above embodiment, the predetermined speed V2 is set to the maximum speed at which the object can move when moving on a circle of radius R. However, the predetermined speed V2 does not necessarily have to be the maximum speed.

[0086] (5) In the above embodiment, an example has been described in which the operator uses the teaching pendant 12 to perform teaching, but teaching may also be performed using a simulated manual paint gun for teaching. For example, when the operator pulls the trigger of the manual paint gun for teaching, the position of the paint gun may be detected by a camera and the position may be recorded as the start point of the spraying section, and when the operator releases the trigger, the position of the paint gun may be detected by the camera and the position may be recorded as the end point of the spraying section.

[0087] Here, in the teaching using the teaching pendant 12 described above, the operator manually moves the paint gun 11F. When the paint gun 11F of the painting robot 10 is manually moved, it is relatively easy to align the width of each spraying section and the interval between adjacent spraying sections, and to make the multiple spraying sections completely parallel. In contrast, when a manual paint gun for teaching is used, the width of each spraying section may vary, the interval between adjacent spraying sections may vary, or the spraying sections may not be completely parallel. In that case, the control device 13 may correct the teaching data so that the width of each spraying section and the interval between adjacent spraying sections are equal, and all the spraying sections are parallel.

[0088] (6) In the above embodiment, the control device 13 of the painting robot 10 generates the motion control data. However, the motion control data may be generated by an external computer and the generated motion control data may be stored in the memory unit 16 of the control device 13.

[0089] (7) In the above embodiment, the paint gun 11F provided on the painting robot 10 is described as an example of an end effector, but the end effector is not limited to this. For example, the end effector may be an end effector that sprays a liquid material such as powder paint, a release agent, a lubricant, or a sealant onto a work object, or an end effector that welds the work object.

[0090] (8) In the above embodiment, the robot is provided with the manipulator 11, but the robot does not necessarily have to be provided with the manipulator 11.

[0091] (9) The above embodiment can also be understood as an invention as described in the following supplementary claims. [Additional note 1] A motion control data generating device that generates motion control data for a robot that performs a predetermined task on a work object while moving an end effector in a work section, comprising: A storage unit in which work section data representing the work section is stored; A control unit; Equipped with The control unit generates the motion control data so as to instruct the end effector to start working before the end effector reaches a starting point of the working section represented by the working section data. [Explanation of symbols]

[0092] 10: Painting robot (example of a robot) 11F: Paint gun (an example of an end effector) 13: Control device (an example of a motion control data generating device) 14: Control unit 16: Storage part Gi: Deceleration start position (an example of the acceleration / deceleration start position) Ei: Deceleration end position (an example of the acceleration / deceleration end position) Ai: Start point of injection section Bi: End of injection section Hi: Return route

Claims

1. A motion control data generating device that generates motion control data for a robot that performs a predetermined task on a work object while moving an end effector at a constant speed in a work section, comprising: A storage unit in which work section data representing a plurality of work sections parallel to each other is stored; A control unit; Equipped with The control unit is a first process for calculating a distance by which the end effector, which moves at the constant speed, reaches a predetermined speed when the end effector is accelerated or decelerated at a predetermined acceleration, as an acceleration / deceleration distance; a second process for determining an end point of the work section represented by the work section data as an acceleration / deceleration start position, or a position spaced a predetermined distance from the end point of the work section in the movement direction of the end effector as an acceleration / deceleration start position, and determining a position spaced from the acceleration / deceleration start position in the movement direction by the acceleration / deceleration distance as an acceleration / deceleration end position of the end effector; a third process for generating the motion control data so that the end effector moves at the constant speed from the start point of the working section to the acceleration / deceleration start position, accelerates or decelerates at the predetermined acceleration from the acceleration / deceleration start position to the acceleration / deceleration end position, and moves at the predetermined speed along a semicircular return path starting from the acceleration / deceleration end position and having a radius equal to half the distance from the end point of the working section to the start point of the next working section; A robot motion control data generating device that executes the above.

2. 2. The robot motion control data generating device according to claim 1, The control unit generates the motion control data in the third process so that the end effector decelerates or accelerates at the predetermined acceleration to a position that is separated by the acceleration / deceleration distance from the end point of the return path toward the start point of the next working section.

3. 3. The robot motion control data generating device according to claim 1, A robot motion control data generating device, wherein the predetermined acceleration is a maximum acceleration at which the end effector can be accelerated or decelerated when moving in a straight line.

4. The robot motion control data generating device according to any one of claims 1 to 3, A robot motion control data generating device, wherein the predetermined speed is a maximum speed at which the end effector can move when moving on a circle having a radius of 1 / 2 the distance.

5. The robot motion control data generating device according to any one of claims 1 to 4, The control unit generates the motion control data in the third process so as to instruct the end effector to start the work before the end effector reaches the start of the work section.

6. The robot motion control data generating device according to any one of claims 1 to 5, The predetermined task is a task of spraying a liquid material onto the work object.

7. 1. A method for generating motion control data for a robot that performs a predetermined task on a work object while moving an end effector at a constant speed in a work section, comprising: a first step of calculating a distance by which the end effector, which moves at a constant speed, reaches a predetermined speed when the end effector is accelerated or decelerated at a predetermined acceleration, as an acceleration / deceleration distance; a second step of determining an end point of a working section represented by working section data representing a plurality of working sections parallel to each other as an acceleration / deceleration start position, or determining a position spaced a predetermined distance from the end point of the working section in the movement direction of the end effector as an acceleration / deceleration start position, and determining a position spaced from the acceleration / deceleration start position in the movement direction by the acceleration / deceleration distance as an acceleration / deceleration end position of the end effector; a third step of generating the motion control data so that the end effector moves from the start point of the working section to the acceleration / deceleration start position at the constant speed, accelerates or decelerates from the acceleration / deceleration start position to the acceleration / deceleration end position at the predetermined acceleration, and moves at the predetermined speed along a semicircular return path starting from the acceleration / deceleration end position and having a radius equal to half the distance from the end point of the working section to the start point of the next working section; A method for generating motion control data for a robot, comprising:

Citation Information

Patent Citations

  • Control device for industrial robot

    JP1996141953A

  • Robot control method

    JP1997114511A

  • Industrial robot

    JP1997258813A

  • Robot controller

    JP1999188686A

  • Robot operation control data generation method, operation control data generation device, and operation control data generation program

    JP2018001381A