Robot teaching device, method for determining teaching track of robot, and robot
The robot teaching device corrects robot postures to match a target trajectory, addressing the issue of inner rotation in non-positioning control, enabling high-speed operation.
Patent Information
- Application Number
- JP2023030089
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Existing methods for generating robot trajectories under non-positioning control fail to account for the degree of inner rotation, limiting high-speed operation.
A robot teaching device that includes a processor and storage device, generating linearly supplemented second trajectory information, extracting specific postures based on a preset condition, and correcting the robot's posture to match a target trajectory.
Enables high-speed operation of robots by generating a teaching trajectory that accounts for inner rotation, ensuring accurate alignment with the target trajectory.
Smart Images

Figure 00000000_0000
Abstract
Description
[Technical field]
[0001] The present invention relates to a robot teaching device, a method for determining a teaching trajectory for a robot, and a robot. [Background technology]
[0002] There are two types of control methods for robots: one is to stop the robot instantly at each taught posture described in the robot program and move the robot while positioning it, and the other is to pass each taught posture without stopping the robot and move the robot without positioning it (hereinafter referred to as "non-positioning control"). Non-positioning control has a drawback that the robot's motion trajectory deviates from the taught posture sequence described in the robot program (hereinafter referred to as "taught trajectory") by turning inward (hereinafter referred to as "inward turning") when the robot program is played back, but has an advantage that the robot can move at high speed because there is no acceleration or deceleration during positioning. Therefore, in order to realize high-speed and desired robot motion, it is necessary to predict the degree of inward turning and deliberately take the taught trajectory outside the target trajectory in order to realize the desired trajectory (hereinafter referred to as "target trajectory") while using non-positioning control that allows high-speed motion, and this requires skilled teaching techniques.
[0003] As a background technology of this technical field, there is JP 2021-79482 A (Patent Document 1). This publication states that "A trajectory plan generation device that generates a trajectory plan for moving a tip of a robot arm having multiple joints from a starting point to an end point performs a first search process to search for multiple position candidates that will be the destination of the tip within a predetermined distance from first trajectory information indicating the position and posture of the tip between the starting point and the end point, a second search process to search for multiple posture candidates of the tip that change within an allowable range by spherical interpolation based on the postures of the tip at the starting point and the end point, a determination process to determine second trajectory information indicating the position and posture of the destination of the tip from the first trajectory information based on the multiple position candidates searched by the first search process and the multiple posture candidates searched by the second search process, and an output process to output trajectory data including the first trajectory information and the second trajectory information determined by the determination process." [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-79482 Summary of the Invention [Problem to be solved by the invention]
[0005] Patent Document 1 describes a method for generating a trajectory that minimizes changes in the hand posture while avoiding interference. However, the trajectory generated by the method in Patent Document 1 is a target trajectory for the robot, and there is a problem in that it is not possible to generate a teaching trajectory that takes into account the degree of inward rotation in order to realize the trajectory as a high-speed operation under non-positioning control of the robot. [Means for solving the problem]
[0006] In order to solve the above problem, for example, the configuration described in the claims is adopted. The present application includes a plurality of means for solving the above problem, and an example thereof is a robot teaching device including a processor and a storage device, the storage device stores first trajectory information indicating a time series of a robot's posture, the processor generates second trajectory information that is linearly complemented when the robot is operated by teaching a start posture and an end posture of the first trajectory information, generates third trajectory information indicating a difference between the first trajectory information and the second trajectory information, extracts a time point that satisfies a preset condition from the third trajectory information, extracts the posture of the robot in the first trajectory information at the extracted time point, and determines a teaching trajectory for the robot based on the extracted posture and the third trajectory information at the extracted time point.
[0007] Another example is a robot that operates according to a program, the robot operates so that its posture passes through a first trajectory, and accelerates or decelerates at a point in time that satisfies a preset condition on a third trajectory that indicates the difference between a linearly interpolated second trajectory and the posture of the robot on the first trajectory when the robot is operated by teaching the starting posture and ending posture of the first trajectory. Effect of the Invention
[0008] According to one aspect of the present invention, it is possible to generate a teaching trajectory for realizing a target trajectory at high speed under non-positioning control of a robot.
[0009] Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0010] [Figure 1A] 1 is a schematic logical configuration diagram of a robot teaching device according to an embodiment; [Figure 1B] FIG. 1 is a hardware configuration diagram of a robot teaching device according to an embodiment. [Diagram 2]1 is a flowchart showing a robot teaching procedure according to an embodiment. [Figure 3A] FIG. 1 is a diagram showing an overview of a robot teaching procedure in one embodiment. [Figure 3B] FIG. 1 is a diagram showing an overview of a robot teaching procedure in one embodiment. [Figure 3C] FIG. 1 is a diagram showing an overview of a robot teaching procedure in one embodiment. [Figure 3D] FIG. 1 is a diagram showing an overview of a robot teaching procedure in one embodiment. [Figure 3E] FIG. 1 is a diagram showing an overview of a robot teaching procedure in one embodiment. [Figure 4] FIG. 4 is a diagram showing an example of target trajectory information which is a desired trajectory of a robot in one embodiment. [Diagram 5] FIG. 11 is a diagram showing an example of positioning ratio information in a teaching trajectory of a robot in an embodiment. [Figure 6] FIG. 13 is a diagram showing an example of teaching trajectory correction method information taking into account an inner turn of a motion trajectory under non-positioning control in an embodiment. [Figure 7] FIG. 11 is a diagram illustrating an example of linear interpolation trajectory information in an embodiment. [Figure 8] FIG. 11 is a diagram illustrating an example of differential trajectory information in an embodiment. [Figure 9] FIG. 11 is a diagram showing an example of extracted trajectory information in an embodiment. [Figure 10] FIG. 11 is a diagram showing an example of teaching trajectory information in an embodiment. [Figure 11] 11 is a flowchart showing a procedure for calculating a linear interpolation trajectory in an embodiment. [Figure 12] 1 is a flowchart showing a procedure for calculating a differential trajectory in an embodiment. [Figure 13] 11 is a flowchart showing a procedure for extracting extreme difference points in an embodiment. [Figure 14] 1 is a flowchart showing a procedure for extracting a teaching trajectory in an embodiment. [Figure 15] 10 is a flowchart showing a procedure for correcting a teaching trajectory in an embodiment. [Figure 16] FIG. 13 is a diagram showing an output screen displayed on an output unit in an embodiment. [Figure 17] 13 is a flowchart showing a modified example of a teaching trajectory correction process executed by a teaching trajectory correction unit. [Figure 18] 13 shows an example of an editing screen of a teaching attitude output in a step of a teaching trajectory correction process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, a robot teaching device according to an embodiment of the present specification will be described with reference to the drawings. In the embodiments described below, the same or similar configurations or functions are denoted by the same reference numerals, and duplicated descriptions will be omitted.
[0012] In one embodiment of the present specification, for example, the following processes are executed to generate a teaching trajectory for a robot to operate at high speed under non-positioning control. The linearly interpolated trajectory calculation process focuses on the property that the motion trajectory during non-positioning control approaches a linearly interpolated trajectory (hereinafter referred to as a "linearly interpolated trajectory") when the robot is operated by teaching only a start posture and a target posture, excluding intermediate postures from a target trajectory. The difference trajectory calculation process and the difference extreme point extraction process identify all times at which the difference between the linearly interpolated trajectory and the target trajectory is maximum or minimum. The teaching trajectory extraction process extracts postures at all extracted times as teaching postures. The teaching trajectory correction process corrects each teaching posture of the extracted teaching trajectory in anticipation of the approach to the linearly interpolated trajectory based on the calculated difference. EXAMPLES
[0013] In this embodiment, an example of a robot teaching device having a basic configuration will be described using a six-axis robot arm as a subject. [System Configuration]
[0014] Fig. 1A shows an example of a logical configuration of the robot teaching device 100. As shown in Fig. 1B, the robot teaching device 100 can be configured with a general computer (PC, server, etc.), and realizes the characteristic processing functions (each processing unit of the calculation unit 120) by, for example, software program processing.
[0015] The robot teaching device 100 includes an input unit 110, a calculation unit 120, a storage unit 140, an output unit 130, etc. The calculation unit 120 is configured, for example, by a processor operating according to a program. The calculation unit 120 is a part that performs processing to realize characteristic functions of the robot teaching device 100, and includes a linear interpolation trajectory calculation unit 121, a difference trajectory calculation unit 122, a difference extreme point extraction unit 123, a teaching trajectory extraction unit 124, and a teaching trajectory correction unit 125.
[0016] The memory unit 140 is composed of, for example, a main memory device and an auxiliary memory layer device, and includes a target trajectory memory unit 141, a positioning ratio memory unit 142, a taught trajectory correction method memory unit 143, a linear interpolation trajectory memory unit 144, a differential trajectory memory unit 145, an extracted trajectory memory unit 146, and a taught trajectory memory unit 147.
[0017] The target trajectory storage unit 141 is a part that stores target trajectory information 400 that indicates a target trajectory of the robot, which will be described later.
[0018] The positioning ratio storage unit 142 is a part that stores positioning ratio information 500 of each intermediate posture excluding the start posture and end posture of the teaching trajectory, which will be described later.
[0019] The taught trajectory correction method storage unit 143 is a portion that stores taught trajectory correction method information 600 that takes into consideration an inner turn of a motion trajectory under non-positioning control of the taught trajectory, which will be described later.
[0020] The linearly-interpolated trajectory storage unit 144 is a part that stores linearly-interpolated trajectory information 700 that is a result of a linearly-interpolated trajectory calculation process, which will be described later.
[0021] The differential trajectory storage unit 145 is a part that stores differential trajectory information 800 that is the result of a differential trajectory calculation process and a differential extreme value point extraction process, which will be described later.
[0022] The extracted trajectory storage unit 146 is a portion that stores extracted trajectory information 900 that is a result of a teaching trajectory extraction process, which will be described later.
[0023] The taught trajectory storage unit 147 is a portion that stores taught trajectory information 1000 that is the result of a taught trajectory correction process, which will be described later, and is output by the output unit 130.
[0024] 1B shows an example of the hardware configuration of the robot teaching device 100. The robot teaching device 100 includes a processor 102, a main memory device 103, an auxiliary memory device 104, an input device 105, an output device 106, and a communication interface 107. Each part of the robot teaching device 100 is communicatively connected to each other via a communication means such as a bus (not shown). Note that the robot teaching device 100 may be configured such that all or part of the configuration is realized by a virtual resource such as a cloud server.
[0025] The processor 102 is configured using a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphics Processing Unit), etc. The processor 102 reads and executes a program stored in the main memory device 103, thereby realizing the functions of each device in the electronic signature system.
[0026] The main memory device 103 is a device for storing programs and data, and is a read only memory (ROM), a random access memory (RAM), a non-volatile RAM (NVRAM), or the like.
[0027] The auxiliary storage device 104 is, for example, a solid state drive (SSD), an NVRAM such as an SD memory card, an optical storage device such as a compact disc (CD) or a digital versatile disc (DVD), a hard disc drive (HDD), a storage area of a cloud server, etc. The auxiliary storage device 104 includes a non-transitory storage medium for storing programs and data. The programs and data stored in the auxiliary storage device 104 are read into the main storage device 103 as needed.
[0028] The input device 105 is an interface that accepts input of information, and is, for example, a keyboard, a mouse, a touch panel, a card reader, a microphone, etc. Alternatively, the robot teaching device 100 may be configured to accept input of information between itself and another device via some communication means.
[0029] The output device 106 is an interface that outputs various types of information, and is, for example, a screen display device such as a liquid crystal monitor, an LCD (Liquid Crystal Display), or a graphic card, a printer, or an audio output device such as a speaker. Alternatively, the robot teaching device 100 may be configured to output information to other devices via some communication means. The communication interface 107 is a device that allows the robot teaching device 100 to communicate with other devices. Some of the components shown in FIG. 1B may be omitted, and other components may be added.
[0030] The robot teaching device 100 can be configured with one or more computers. Thus, the robot teaching device 100 can include one or more processors and one or more arithmetic devices. The one or more processors operate as predetermined functional units by executing programs stored in one or more storage devices. [flowchart]
[0031] Fig. 2 is an example of a flowchart of a robot teaching process. The outline of each step of this flowchart will be explained using a two-axis robot arm in Figs. 3A to 3D, and the details will be explained using Figs. 10, 11, 12, 13, and 14.
[0032] (S100) Based on information input by a user, the input unit 110 stores target trajectory information 400 in the target trajectory memory unit 141, positioning ratio information 500 in the positioning ratio memory unit 142, and taught trajectory correction method information 600 in the taught trajectory correction method memory unit 143. The target trajectory indicates a target trajectory of the robot generated by a trajectory planning technique or the like. The positioning ratio indicates a deceleration ratio in acceleration / deceleration control when passing through a taught posture, which is specified for each taught posture when teaching the robot.
[0033] The teaching trajectory correction method indicates a method for correcting the teaching trajectory in response to a positioning ratio designated by the user. Each method will be described in detail later. Note that, although it is assumed here that the above information is input by the user, previously input information or other information that has already been stored may also be used.
[0034] The graph in Fig. 3A shows the joint angle changes (joint posture changes) of joint J1 and joint J2 on the target trajectory. The horizontal axis shows time, and the vertical axis shows the joint angle. Fig. 3A also shows a schematic diagram of the robot's movement according to the target trajectory. The robot moves from the start posture to the end posture, avoiding obstacles. Here, the target trajectory shows a nonlinear change.
[0035] (S200) The linearly interpolated trajectory calculation unit 121 calculates a linearly interpolated trajectory that linearly interpolates the start and end postures of the robot in the target trajectory in the configuration space. The linearly interpolated trajectory is used as a predicted value of the motion trajectory when only the start and end postures are taught without teaching any intermediate postures in the target trajectory. The motion trajectory in non-positioning control deviates from the target trajectory, which shows a nonlinear change, and approaches the linearly interpolated trajectory as the number of intermediate postures taught is reduced.
[0036] In this embodiment, as described later in the following steps, the aim is to make the motion trajectory coincide with the target trajectory when it approaches the linearly interpolated trajectory by correcting each taught posture of the taught trajectory from the target posture as a starting point in a direction away from the linearly interpolated trajectory, utilizing the property that the motion trajectory approaches the linearly interpolated trajectory in non-positioning control. Details of this step S200 will be described later.
[0037] Referring to FIG. 3B, a graph shows joint angle changes of the joints J1 and J2 on a linearly complementary trajectory. Only angles at the start and end postures are taught for the joints J1 and J2, and angles at intermediate postures between them are not taught. The angle changes of the joints J1 and J2 on a linearly complementary trajectory are both linear. A robot operating according to a linearly complementary trajectory comes into contact with an interference object.
[0038] (S300) The differential trajectory calculation unit 122 calculates a differential trajectory, which is the difference between the target trajectory and the linearly interpolated trajectory. The differential trajectory is used to determine the need to correct the taught trajectory from the target trajectory. For example, if all of the differential attitudes on the differential trajectory are zero, the target trajectory coincides with the linearly interpolated trajectory, and therefore the taught trajectory does not need to be corrected from the target trajectory.
[0039] On the other hand, if there is a timing when the differential posture on the differential trajectory is not zero, the taught trajectory needs to be corrected from the target trajectory at that timing. If the taught trajectory is not corrected from the target trajectory, deviation from the taught trajectory occurs due to asymptotic approach to the linear interpolation trajectory at the timing when the differential posture on the differential trajectory is not zero, i.e., at the timing when the motion trajectory does not match the linear interpolation trajectory. Details of this step S300 will be described later.
[0040] (S400) The difference extreme point extraction unit 123 extracts a difference extreme point, which is a time point when the difference trajectory takes a maximum or minimum value. Since the difference extreme point is a timing when the difference posture locally becomes maximum or minimum, it is expected that the deviation from the taught trajectory due to the asymptotic approach of the motion trajectory to the linear interpolation trajectory will also become large. Details of this step S400 will be described later.
[0041] 3C, examples of difference trajectories and difference extreme points in steps S300 and S400 are shown for the joint J1 and the joint J2, respectively. In the example of FIG. 3C, the number of difference extreme points is one, but there may be multiple difference extreme points.
[0042] (S500) The teaching trajectory extraction unit 124 extracts all the postures at the difference extreme points from among the target postures on the target trajectory, and configures them as teaching trajectories. Since it is expected that the deviation of the extracted teaching posture from the teaching trajectory will become large due to the asymptotic approach of the motion trajectory to the linear interpolation trajectory, it is necessary to correct the teaching posture in a later step. Details of this step S500 will be described later.
[0043] 3D, a graph shows the target postures (target angles) at the extreme difference points of the joints J1 and J2, that is, the taught postures before correction. Also, FIG. 3D shows a schematic diagram of the target postures of the robot at the extreme difference points between the start posture and the end posture.
[0044] (S600) The taught trajectory correction unit 125 corrects the taught trajectory in anticipation of the motion trajectory approaching the linearly interpolated trajectory. In the correction, each taught posture of the taught trajectory is corrected in a direction away from the linearly interpolated trajectory with the target trajectory as the starting point, aiming to match the target trajectory when the motion trajectory in the non-positioning control approaches the linearly interpolated trajectory. Details of this step S600 will be described later.
[0045] 3E, a graph shows a teaching posture corrected from a target posture at an extreme difference point of each of the joints J1 and J2. Also, FIG. 3E shows a schematic diagram of a corrected teaching posture of the robot at an extreme difference point between the start posture and the end posture.
[0046] (S700) The output unit 130 outputs the taught trajectory information stored in the taught trajectory storage unit 147 and displays it to the user. [Target trajectory information]
[0047] 4 is an example of a table configuration of target trajectory information 400 stored in target trajectory storage unit 141, and includes a posture ID 401, a posture 402, and a time 403. The posture 402 is a set of joint angle values that the robot takes at a certain timing. The time 403 is a value indicating the timing, and indicates the time it takes from the initial posture, which indicates when the posture ID is 1, to reach the posture of the posture ID. In this way, the robot's trajectory is represented as a time series of a set of joint angle values, and the robot can be effectively controlled by indicating that time series. The target trajectory information 400 is an example of first trajectory information. [Positioning ratio information]
[0048] 5 shows an example of items in a table configuration of positioning ratio information 500 stored in the positioning ratio storage unit 142. The table items include a positioning ratio that indicates the deceleration ratio in acceleration / deceleration control when passing through a taught posture. For example, when the positioning ratio is the maximum of 100%, positioning control is performed in which the robot pauses at each taught posture on the taught trajectory to perform positioning, whereas when the positioning ratio is less than 100%, non-positioning control is performed, and particularly when the positioning ratio is 0%, the robot operates at high speed without accelerating or decelerating when passing through a taught posture. [Information on how to correct teaching trajectory]
[0049] 6 shows an example of a table configuration of taught trajectory correction method information 600 stored in the taught trajectory correction method storage unit 143, and includes a positioning ratio 601 and a correction magnification 602. The positioning ratio 601 indicates a deceleration ratio in acceleration / deceleration control when passing through a taught posture. The correction magnification 602 is a value used in the taught trajectory correction process, and indicates a ratio when each taught posture on the taught trajectory is corrected from the corresponding target posture on the target trajectory.
[0050] For example, for a teaching posture with a positioning ratio of 100%, the actual posture matches the teaching posture, so there is no need to correct the teaching posture from the target posture, and the correction ratio is set to 0.0. On the other hand, for a teaching posture with a positioning ratio of less than 100%, the actual posture does not match the teaching posture, so the teaching posture must be corrected from the target posture. The lower the positioning ratio, the larger the correction value must be, so the lower the positioning ratio, the larger the correction magnification. The specific value of the correction magnification is a value specific to the robot regardless of the target trajectory, and is determined empirically in advance. [Linear interpolation trajectory information]
[0051] 7 is an example of a table configuration of linear interpolation trajectory information 700 stored in the linear interpolation trajectory storage unit 144, and includes a posture ID 701 and a linear interpolation posture 702. The linear interpolation trajectory is calculated in S200 as a linear interpolation trajectory that linearly interpolates the start posture of the target trajectory and the target posture in the configuration space. The linear interpolation posture 702 is a set of joint angles that represent the posture on the linear interpolation trajectory. The linear interpolation trajectory information 700 is an example of second trajectory information. [Differential orbit information]
[0052] 8 is an example of a table configuration of differential trajectory information 800 stored in differential trajectory storage unit 145, and includes a posture ID 801, a differential posture 802, and an extreme point judgment 803. The differential trajectory is calculated in S300 as a difference between a target trajectory and a linearly interpolated trajectory. The differential posture 802 is a set of joint angle difference values that indicate posture differences on the differential trajectory. The extreme point judgment 803 is calculated in S400 as a flag that indicates an extreme point judgment result of the differential trajectory. The differential trajectory information 800 is an example of third trajectory information. [Extracted trajectory information]
[0053] 9 shows an example of a table configuration of extracted trajectory information 900 stored in extracted trajectory storage unit 146, and includes a posture ID 901 and an extracted posture 902. The extracted trajectory is calculated in S500 as a trajectory constructed by extracting all postures at extreme difference points from among target postures on a target trajectory. [Teaching trajectory information]
[0054] 10 shows an example of a table configuration of taught trajectory information 1000 stored in the taught trajectory storage unit 147, which corresponds to the output from the robot teaching device 100 and includes a posture ID 1001, a taught posture 1002, and a positioning ratio 1003. The taught posture 1002 is a set of joint angle values that represent a taught posture on the taught trajectory. The positioning ratio 1003 is a value that represents a deceleration ratio in acceleration / deceleration control when passing through the taught posture. [Linear interpolation trajectory calculation process]
[0055] 11 is an example of a flowchart of the linear-interpolation trajectory calculation process performed in S200 by the linear-interpolation trajectory calculation unit 121. This flowchart will be described below.
[0056] (S201) The linear interpolation trajectory calculation unit 121 acquires the target trajectory information 300 from the target trajectory storage unit 141. Then, the target trajectory T target The first time t of (t) starts at time t start , the last time is the end time t end Extract as.
[0057] (S202) The linear interpolation trajectory calculation unit 121 calculates a target trajectory T target (t) all times t i For this, the calculation of S203 is performed in a loop.
[0058] (S203) The linear interpolation trajectory calculation unit 121 calculates the target trajectory T target (t) starting position T target (t start ) and the final position T target (t end ) in the configuration space is called t i -t start :t end -t i The linear-interpolation trajectory calculation unit 121 stores the calculated trajectory in the linear-interpolation trajectory information 700 in the linear-interpolation trajectory storage unit 144. [Differential trajectory calculation process]
[0059] 12 is an example of a flowchart of the differential trajectory calculation process performed in S300 by the differential trajectory calculation unit 122. This flowchart will be described below. (S301) The differential trajectory calculation unit 122 calculates a target trajectory T target (t) all times t i For this, S302 is loop-calculated.
[0060] (S302) The differential trajectory calculation unit 122 calculates the target attitude T target (t i ) and the corresponding linear interpolation of the timing attitude T tlinear (t i ) is the difference between the differential posture T diff (t i ) is calculated using the following formula and stored in the differential trajectory information 800 of the differential trajectory storage unit 145. T diff (t i )=T target (t i )-T linear (t i ) [Difference extreme value point extraction process]
[0061] 13 is an example of a flowchart of the difference extreme point extraction process performed in S400 by the difference extreme point extractor 123. This flowchart will be described below.
[0062] (S401) The difference extreme point extraction unit 123 extracts a difference trajectory T diff Initialize all extreme point judgments of (t) as False.
[0063] (S402) The extreme difference point extracting unit 123 performs a loop calculation of steps S401 to S406 for all joints j. The total number of joints j is calculated from the number of angle values constituting each posture of the target trajectory information 400 stored in the target trajectory storing unit 141. Note that S401 to S406 may be executed for only some of the joints.
[0064] (S403) The difference extreme point extraction unit 123 extracts the difference trajectory T diffFrom all the postures constituting (t), only the joint angle value of joint j is extracted, and the differential trajectory T diff, j Let (t).
[0065] (S404) The difference extreme point extracting unit 123 extracts the difference trajectory T diff, j (t) first derivative d / dt(T diff, j (t)) and the second derivative d 2 / dt 2 (T diff, j Calculate (t).
[0066] (S405) The difference extreme point extraction unit 123 extracts the difference trajectory T diff (t) all times t i For this, S405 and S406 are looped.
[0067] (S406) The difference extreme point extraction unit 123 calculates the first derivative d / dt(T diff, j (t))=0 and second derivative d 2 / dt 2 (T diff, j (t)) is t=t i It is determined whether the sign changes before and after, and if Yes, the process proceeds to S406, and if No, the process proceeds to S404.
[0068] (S407) The differential extreme point extraction unit 123 extracts the differential attitude T diff (t i ) extreme point judgment is overwritten to True.
[0069] In the above example, the flag of extreme point determination 803 is set to True for all extreme values (maximum or minimum) in the joint trajectory, but it is also possible to set only some extreme values, for example, extreme values whose magnitude exceeds a threshold or the maximum extreme value, to True. [Teaching trajectory extraction process]
[0070] 14 is an example of a flowchart of the teaching trajectory extraction process performed in S500 by the teaching trajectory extraction unit 124. This flowchart will be described below.
[0071] (S501) The teaching trajectory extraction unit 124 extracts a target trajectory T target (t) all times t i For this, steps S502 to S504 are looped.
[0072] (S502) The teaching trajectory extraction unit 124 i is the target trajectory T target It is determined whether it is the start time or the end time of (t), and if Yes, the process proceeds to S504, and if No, the process proceeds to S503.
[0073] (S503) The teaching trajectory extraction unit 124 i With differential trajectory T diff (t) judges whether an extreme point has been judged, and if Yes, proceeds to S504, and if No, proceeds to S501.
[0074] (S504) The teaching trajectory extraction unit 124 i Attitude T on the target trajectory target (t i ) is extracted and the teaching posture T extract (t i ) and stored in the extracted trajectory information 900 of the extracted trajectory storage unit 146.
[0075] In this example, the time when the difference shows an extreme value is set as the time when a preset condition is satisfied, and the pre-correction taught trajectory is extracted. This makes it possible to generate a taught trajectory close to the target trajectory while suppressing a speed decrease. In another example, the pre-correction taught trajectory may be extracted at a time when a condition other than the extreme value is satisfied.
[0076] In the above example, the taught posture is extracted at a time when at least one of all the joints shows an extreme value. This allows the robot's movement to be controlled more appropriately. In another example, the taught posture may be extracted at a time when a plurality of joints show extreme values. Also, the taught posture may be extracted at a time when at least one of all the joints shows a value close to an extreme value. [Teaching trajectory correction process]
[0077] 15 is an example of a flowchart of the teaching trajectory correction process performed in S600 by the teaching trajectory correction unit 125. This flowchart will be described below.
[0078] (S601) The teaching trajectory correction unit 125 extracts the teaching trajectory T extract For all times (t), the positioning ratio is initialized to the positioning ratio corresponding to the correction magnification of 0.0. The positioning ratio corresponding to the correction magnification is determined by referring to the table of the taught trajectory correction method information 600 in the taught trajectory correction method storage unit 143.
[0079] (S602) The teaching trajectory correction unit 125 corrects the extracted teaching trajectory T extract (t) all times t i For this, steps S603 to S605 are looped.
[0080] (S603) The teaching trajectory correction unit 125 corrects the teaching trajectory at time t i It is determined whether it is the start time or end time of the teaching trajectory, and if Yes, the process proceeds to S602, and if No, the process proceeds to S604.
[0081] (S604) The teaching trajectory correction unit 125 corrects the teaching trajectory information 1000 in the teaching trajectory memory unit 147 at time t i The positioning ratio in is overwritten with the value of the positioning ratio information 500 in the positioning ratio storage unit 142.
[0082] (S605) The teaching trajectory correction unit 125 corrects the teaching trajectory at time t i The correction factor k corresponding to the positioning ratio in i The posture obtained by adding only the difference posture value (value proportional to the difference posture) multiplied by is the corrected teaching posture T modify (t i ) is calculated by the following formula. This allows for easy and appropriate correction. The correction magnification corresponding to the positioning ratio is determined by referring to the table of the taught trajectory correction method information 600 in the taught trajectory correction method storage unit 143. T modify (t i )=T extract (ti )+k i ×T diff (t i ) [Output screen]
[0083] Fig. 16 shows an example of an output screen which is the output of the present invention. When a file in which target trajectory information is stored is selected by button O101, the selected file name is displayed in column O102, and the loaded target trajectory is displayed in column O103. Positioning ratio information is input in column O104. Calculation is performed by button O105, and the teaching trajectory information which is the output result is displayed in column O106. The file name of the output result is entered in column O107, and the file can be output by button O108.
[0084] In this embodiment, a field O106 for displaying the teaching trajectory information 1000 on a screen and a button O108 for file output are provided as outputs, but this embodiment is not necessarily limited to providing both. Also, the file format of the output file specified in field O107 is not necessarily limited to the CSV format, and may be, for example, a unique robot program format that can be read by a robot controller of each robot manufacturer. [Variations of trajectory correction processing]
[0085] Fig. 17 is a flowchart showing a modified example of the teaching trajectory correction process performed in S600 by the teaching trajectory correction unit 125. Steps S601 to S605 shown in the flowchart of Fig. 17 are the same processes as those in the flowchart of Fig. 15, so their explanation will be omitted, and steps S606 to S608, which are differences from the flowchart of Fig. 15, will be explained below.
[0086] (S606) The teaching trajectory correction unit 125 corrects the target trajectory T target (t) starting position T target (t start ) and the final position T target (t end ) and the corrected teaching posture T calculated in S605 modify (t i) as teaching points, a program for operating the robot is generated. Note that the program can be generated by using various known methods.
[0087] (S607) The taught trajectory correction unit 125 operates the robot according to the robot program created in S606 on a simulator having facility design information including information on the dimensions and arrangement of the robot and surrounding facilities in the environment in which the robot operates, obstacles, etc. Note that the taught trajectory correction unit 125 may have a function as a simulator, or the taught trajectory correction unit 125 may call up and use a simulator stored in the storage unit 140 or an external storage device connected to the teaching device 100. Also, the facility design information may be input by the user in step S100, or may be stored in the storage unit 140.
[0088] (S608) The taught trajectory correction unit 125 executes the robot program on the simulator and operates the robot by non-positioning control, and then refers to the facility design information to determine whether interference has occurred between the robot and surrounding facilities, obstacles, etc. If interference has occurred, the taught trajectory of the robot must be corrected, so the process proceeds to step S609, where the taught trajectory is corrected. If no interference has occurred, it is determined that there is no problem with the taught posture of the robot, and the trajectory correction process ends.
[0089] (S609) The teaching trajectory correction unit 125 outputs the simulation result of the robot program obtained in step S608 to the output unit 130. The user checks the output screen and selects a correction magnification k i The teaching trajectory correction unit 125 inputs the time t i The correction factor k of the teaching posture in i is overwritten with the positioning ratio entered by the user, and the extracted teaching trajectory T extract (t) all times t i For this, steps S603 to S605 are looped. [Editing screen]
[0090] FIG. 18 shows an example of an editing screen of the teaching attitude, which is output in the step of the teaching trajectory correction process S609 of the present invention.
[0091] Section O109 displays the robot's motion, section O1090 shows the teaching trajectory of the robot program generated in step S606, and section O1091 shows the result of executing the robot program on a simulator and operating the robot using non-positioning control. Object O1092 represents an obstacle included in the facility design information. By pressing the play button O1093, the robot's posture in the robot program and the simulation results are displayed continuously in chronological order. Furthermore, by operating the slide bar O1094, the robot's posture at the desired time point can be checked.
[0092] 18, in the table O110 showing the teaching trajectory of the robot program, in addition to the teaching trajectory information 1000, for the posture ID shown in the robot operation display O109, a display of the current position identifying the posture ID, time, extreme value determination, and correction magnification are written together. While checking the robot operation display O109 and the table O110 showing the teaching trajectory, the user inputs the value of the correction magnification into O111. [Robot movement]
[0093] As described above, the teaching trajectory information generated by the robot teaching device according to this embodiment is composed of the start point and end point of the target trajectory and the extracted posture at the timing when the difference trajectory takes a maximum value or a minimum value. In other words, the teaching points included in this teaching trajectory information are the minimum teaching points required to pass through the target trajectory when operating by non-positioning control. In general, the robot decelerates to take the teaching posture near the teaching points and then accelerates, so the operating speed temporarily decreases, and therefore the fewer the teaching points, the faster the robot operates. Therefore, a robot operating with the teaching trajectory information generated by the robot teaching device according to this embodiment has fewer teaching points and therefore has a higher operating speed than a robot operating with other teaching trajectory information. [Effects, etc.]
[0094] As described above, the robot teaching device of the present invention makes it possible to generate a teaching trajectory that predicts the degree of inward rotation from the teaching trajectory of the operating trajectory in order to realize a target trajectory while using non-positioning control that enables high-speed operation in teaching a robot that is required to complete a task in a short time.
[0095] The present invention is not limited to the above-described embodiments, and includes various modified examples. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the configurations described. It is also possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. It is also possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.
[0096] In addition, the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. In addition, the above-mentioned configurations, functions, etc. may be realized in software by a processor interpreting and executing a program that realizes each function. Information such as the program, table, file, etc. that realizes each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD.
[0097] In addition, the control lines and information lines shown are those that are considered necessary for the explanation, and not all control lines and information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]
[0098] 100 Robot teaching device 110 Input section 120 Calculation section 121 Linear Interpolation Trajectory Calculation Unit 122 Difference trajectory calculation unit 123 Difference extreme point extraction part 124 Teaching trajectory extraction unit 125 Teaching trajectory correction section 130 Output section 140 Storage section 141 Target trajectory storage unit 142 Positioning ratio memory unit 143 Teaching trajectory correction method memory section 144 Linear Interpolation Trajectory Memory Unit 145 Differential trajectory storage unit 146 Extracted trajectory storage unit 147 Teaching trajectory memory section 400 Target trajectory information 500 Positioning ratio information 600 Teaching trajectory correction method information 700 Linear Interpolated Trajectory Information 800 Differential orbit information 900 Extracted orbit information 1000 Teaching trajectory information
Claims
1. A robot teaching device, A processor; a storage device; the storage device stores first trajectory information indicating a time series of a posture of the robot; The processor, generating linearly interpolated second trajectory information when the robot is operated by teaching the start posture and the end posture of the first trajectory information; generating third trajectory information indicating a difference between the first trajectory information and the second trajectory information; extracting a time point in the third trajectory information that satisfies a preset condition, and extracting a posture of the robot in the first trajectory information at the extracted time point; A robot teaching device that determines a teaching trajectory for the robot based on the extracted attitude and the third trajectory information at the extracted time point.
2. The robot teaching device according to claim 1, A robot teaching device, wherein the point in time at which the preset condition is satisfied is a point in time at which a difference between the first trajectory information and the second trajectory information shows an extreme value.
3. The robot teaching device according to claim 1, A robot teaching device, wherein the trajectory of the robot is represented by a time series of a set of angle values of the joints of the robot.
4. The robot teaching device according to claim 3, A robot teaching device, wherein a difference between the first trajectory information and the second trajectory information is represented by a difference in angle values at the joints.
5. The robot teaching device according to claim 4, A robot teaching device, wherein the point in time at which the preset condition is satisfied is a point in time at which a difference in angle values of at least one of the joints shows a maximum or minimum.
6. The robot teaching device according to claim 4, A robot teaching device, wherein determining the teaching trajectory includes adding a value proportional to an angle value in the third trajectory information at the extracted time to an angle value in the first trajectory information at the extracted time.
7. The robot teaching device according to claim 3, A robot teaching device, wherein in the first trajectory information, an angle value of at least one joint shows a nonlinear change.
8. The robot teaching device according to claim 2, A robot teaching device, wherein the teaching trajectory is composed of the starting posture, the ending posture, and a posture at a point in time when the difference is maximum or minimum.
9. The robot teaching device according to claim 1, The processor, Executing a simulation of the motion of the robot according to the teaching trajectory; A robot teaching device that outputs a result of the simulation.
10. A method for determining a teaching trajectory for a robot by an apparatus, comprising: The device stores first trajectory information indicating time series data of a posture of the robot; The method further comprises the steps of: generating linearly interpolated second trajectory information when the robot is operated by teaching the start posture and the end posture of the first trajectory information; generating third trajectory information indicating a difference between the first trajectory information and the second trajectory information; extracting a time point in the third trajectory information that satisfies a preset condition, and extracting a posture of the robot in the first trajectory information at the extracted time point; determining a teaching trajectory for the robot based on the extracted pose and the third trajectory information at the extracted time point.
11. A robot that operates according to a program, The robot is operated so that its posture passes along a first trajectory, A robot characterized in that, when the starting posture and ending posture of the first trajectory are taught and the robot is operated, the robot accelerates or decelerates at a point in time when a preset condition is satisfied on a third trajectory that indicates a difference between a linearly interpolated second trajectory and the posture of the robot on the first trajectory.
12. The robot according to claim 11, The point in time at which the preset condition is satisfied is a point in time at which a difference between the first trajectory and the second trajectory shows an extreme value.
Citation Information
Patent Citations
Robot motion path planning method, apparatus, storage medium, and terminal device
JP2019119041A
Trajectory plan generation device, trajectory plan generation method, and trajectory plan generation program
JP2021079482A
