Track generating device

By calculating the maximum movement axis and the initial passing point in the robot orbit, extracting the interference area, and correcting the non-maximum movement axis, the problems of unstable orbit generation and long action time in the existing technology are solved, and efficient orbit avoidance is achieved. Turn on interference and action shortening.

CN118632766AInactive Publication Date: 2024-09-10MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380018918.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-04
Filing Date
2023-01-25
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing technology generates a robot trajectory that avoids interference, it is difficult to obtain the optimal trajectory, which results in long action times and large fluctuations in the trajectory for each trial, and requires repeated corrections to achieve the best effect.

Method used

Using the maximum moving axis calculation unit, the initial passing point calculation unit, the interference area extraction unit and the non-maximum moving axis correction unit, by calculating the maximum moving axes and initial passing points of multiple axes, the interference area is extracted, and the non-maximum moving axes are processed Correct to avoid interference and generate target trajectory.

Benefits of technology

It realizes the generation of the optimal trajectory that avoids interference and shortens the operation time, reduces the trajectory fluctuation during each trial, and improves the stability and efficiency of trajectory generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632766A
    Figure CN118632766A
Patent Text Reader

Abstract

A trajectory generation device (1) is provided with: a maximum movement axis calculation means (2) for calculating, from among a plurality of axes, a maximum movement axis in which the ratio of the movement distance to the maximum speed during operation from an operation start point to an operation end point is maximum; an initial passing point calculation means (3) that generates passing points when the plurality of axes operate synchronously; an interference region extraction means (4) that extracts an interval including a passing point that interferes with the surroundings among the plurality of passing points generated by the initial passing point calculation means (3); and a non-maximum movement axis correction means (5) for correcting the position of a non-maximum movement axis, which is an axis other than the maximum movement axis calculated by the maximum movement axis calculation means (2), among the plurality of axes, so as to avoid the point at which the interference passes. The trajectory generation device (1) sets the output of the non-maximum movement axis correction means (5) as a target trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a trajectory generating device for generating a target trajectory of an industrial machine such as a robot or a machine tool based on information of a start point and an end point of an action and information of a surrounding environment so as to prevent interference with the surrounding environment. Background Art

[0002] In assembly work in the field of electrical and electronic equipment, removal work from machine tools, or transportation work in the field of food or logistics, when a robot is used to perform work, it is necessary to prevent interference with obstacles inside the system while making the robot move. However, in order to prevent interference while speeding up the robot's work, proficiency is required in program generation and adjustment. Therefore, a technology is desired that allows even non-professionals to easily generate a program for making the robot move while avoiding obstacles.

[0003] In the past, a trajectory generation method for generating a trajectory for causing a robot arm to move between a starting teaching point and a target teaching point has been proposed (for example, refer to Patent Document 1). The existing trajectory generation method includes: an intermediate teaching point generation step, in which a control device generates a second intermediate teaching point group by assigning a displacement to a first intermediate teaching point group arranged between a starting teaching point and a target teaching point of a trajectory for causing the robot arm to move; and a trajectory generation step, in which a control device generates a trajectory for causing a robot arm model simulating the robot arm to move based on the second intermediate teaching point group. The existing trajectory generation method also includes an evaluation step in which the control device generates evaluation values ​​for a plurality of trajectories generated respectively by the trajectory generation step from a plurality of second intermediate teaching point groups generated by assigning different displacements to the first intermediate teaching point group in the intermediate teaching point generation step. The conventional trajectory generation method further includes a trajectory determination step, that is, the control device moves the first intermediate teaching point group based on the evaluation values ​​of the plurality of trajectories generated by the evaluation step, and repeatedly executes the intermediate teaching point generation step, the trajectory generation step, and the evaluation step for the first intermediate teaching point group after the movement, and determines the first intermediate teaching point group that satisfies the prescribed conditions as the intermediate teaching point group used for generating the trajectory for moving the robot arm. In the intermediate teaching point generation step for generating the second intermediate teaching point group, a random value is added as a parameter for imparting spatial displacement.

[0004] Patent Document 1: Japanese Patent Application Publication No. 2019-135076 Summary of the invention

[0005] In the prior art, when generating a group of intermediate teaching points, i.e., passing points, on a trajectory that avoids interference, random numbers are generated and the passing points are corrected. Therefore, there is a problem that the optimal trajectory may not be obtained. In order to obtain a trajectory that shortens the action time, the passing points need to be repeatedly corrected, so it takes a relatively long time to determine the passing points. In addition, the generated trajectory changes at each trial.

[0006] The present invention is proposed in view of the above situation, and its purpose is to obtain a trajectory generation device that can generate an optimal trajectory while avoiding interference and shortening the operation time, can search for a target trajectory in a relatively short time, and can reduce fluctuations during each trial.

[0007] In order to solve the above-mentioned problems and achieve the purpose, the track generation device involved in the present invention has: a maximum moving axis calculation unit, which calculates the maximum moving axis in the action from the action start point to the action end point, which has the largest ratio of the moving distance to the maximum speed; an initial passing point calculation unit, which generates passing points when the multiple axes act synchronously; an interference area extraction unit, which extracts the interval including the passing points that interfere with the surroundings among the multiple passing points generated by the initial passing point calculation unit; and a non-maximum moving axis correction unit, which generates a passing point that avoids interference by correcting the position of the axis other than the maximum moving axis calculated by the maximum moving axis calculation unit among the multiple axes, that is, the non-maximum moving axis. The track generation device involved in the present invention sets the output of the non-maximum moving axis correction unit as the target track.

[0008] Effects of the Invention

[0009] The trajectory generating device according to the present invention has the following effects: it is possible to generate an optimal trajectory that avoids interference and shortens the operation time, to search for a target trajectory in a relatively short time, and to reduce fluctuations between trials. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a diagram showing the structure of the trajectory generating device involved in the first embodiment.

[0011] Figure 2 This is a diagram showing a first correction example of the movement amount between passing points in the first embodiment.

[0012] Figure 3 This is a diagram showing the configuration of a non-maximum movement axis correction unit included in the trajectory generation device according to the first embodiment.

[0013] Figure 4 This is a diagram showing a second modification example of the movement amount between passing points in the first embodiment.

[0014] Figure 5 This is a diagram showing a third modified example of the movement amount between passing points in the first embodiment.

[0015] Figure 6 yes Figure 2 An explanatory diagram of the change in the position of the passing point in the case of correction.

[0016] Figure 7 This is a diagram showing a fourth modified example of the movement amount between passing points in the first embodiment.

[0017] Figure 8 This is a diagram showing a fifth modified example of the movement amount between passing points in the first embodiment.

[0018] Fig. 9 This is a diagram showing the structure of a non-maximum movement axis correction unit included in the trajectory generating device according to the second embodiment.

[0019] Fig.10 This is a diagram showing an example of correction of the movement amount between passing points in the second embodiment.

[0020] Fig.11 This is a diagram showing the configuration of a non-maximum movement axis correction unit included in the trajectory generating device according to the third embodiment.

[0021] Fig.12 It is a diagram showing the structure of a non-maximum movement axis correction unit included in the trajectory generating device according to the fourth embodiment.

[0022] Fig.13 It is a diagram showing the structure of a non-maximum movement axis correction unit included in the trajectory generating device according to the fifth embodiment.

[0023] Fig.14 It is a diagram showing the structure of a non-maximum movement axis correction unit included in the trajectory generating device according to the sixth embodiment.

[0024] Fig.15 This is a diagram showing the structure of a trajectory generating device according to the seventh embodiment.

[0025] Fig.16 This is a diagram showing the structure of a trajectory generating device according to the eighth embodiment.

[0026] Fig.17 This is a diagram showing the structure of a trajectory generating device according to the ninth embodiment.

[0027] Fig.18 This is a diagram showing the structure of a trajectory generating device according to a tenth embodiment.

[0028] Fig.19 This is a diagram showing the movement amount of the passing point in the twelfth embodiment.

[0029] Fig. 20 This is a diagram showing the structure of a trajectory generating device according to embodiment 13.

[0030] Fig.21 This is a diagram for explaining an example of correcting a non-maximum movement axis while maintaining the posture of a fingertip, using a schematic diagram of a vertical multi-articulated robot having six rotation axes.

[0031] Fig. 22 This is a diagram showing the structure of a trajectory generating device according to a fourteenth embodiment.

[0032] Fig.23 This is a diagram showing an example of correction of acceleration and deceleration performed by the command correction unit included in the trajectory generating device according to the fourteenth embodiment.

[0033] Fig.24 This is a diagram showing the structure of a trajectory generating device according to a fifteenth embodiment.

[0034] Fig.25 This is a diagram showing the structure of a trajectory generating device according to the sixteenth embodiment.

[0035] Fig.26 This is a diagram for explaining an example of the operation of the trajectory generating device involved in the sixteenth embodiment.

[0036] Fig. 27 This is a diagram showing a processor when at least part of the functions of the maximum movement axis calculation unit, the initial passing point calculation unit, the interference region extraction unit, and the non-maximum movement axis correction unit included in the trajectory generation device according to the first embodiment are implemented by the processor.

[0037] Fig.28 This is a diagram showing a processing circuit when at least part of the maximum movement axis calculation unit, initial passing point calculation unit, interference region extraction unit, and non-maximum movement axis correction unit of the trajectory generation device involved in the first embodiment is realized by the processing circuit. DETAILED DESCRIPTION

[0038] Hereinafter, the trajectory generating device according to the embodiment will be described in detail with reference to the drawings.

[0039] Implementation method 1.

[0040] Figure 11 is a diagram showing the structure of a trajectory generation device 1 according to Embodiment 1. The trajectory generation device 1 is a device used for trajectory generation of industrial machines such as industrial robots, collaborative robots, or machine tools. The trajectory generation device 1 may be configured in a control device of an industrial robot or the like, or may be configured inside a personal computer or in the cloud outside the control device. Information on the action start point and information on the action end point are input to the trajectory generation device 1.

[0041] The trajectory generation device 1 includes: a maximum movement axis calculation unit 2, which calculates the maximum movement axis having the largest ratio of the movement distance to the maximum speed in the motion from the motion start point to the motion end point of the control object; and an initial passing point calculation unit 3, which generates a passing point when the multiple axes are in synchronous motion. The trajectory generation device 1 also includes: an interference area extraction unit 4, which extracts a section including a passing point that interferes with the surroundings among the multiple passing points generated by the initial passing point calculation unit 3; and a non-maximum movement axis correction unit 5, which corrects the position of an axis other than the maximum movement axis calculated by the maximum movement axis calculation unit 2 among the multiple axes, that is, a non-maximum movement axis, so as to avoid interference. The trajectory generation device 1 sets the output of the non-maximum movement axis correction unit 5 as the target trajectory. The maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4, and the non-maximum movement axis correction unit 5 are further described below.

[0042] The maximum movable axis calculation unit 2 calculates which axis becomes the maximum movable axis in the specified action based on the input action start point information and action end point information, and the maximum speeds of each of the multiple axes of the control object such as the industrial robot stored internally. Specifically, the maximum movable axis calculation unit 2 subtracts the position of the action start point from the position of the action end point for each of the multiple axes of the control object, divides the result obtained by the subtraction by the maximum speed of the axis, and selects the axis with the largest absolute value of the result obtained by the division as the maximum movable axis. Axes other than the maximum movable axis among the multiple axes are recorded as non-maximum movable axes. In the case where there are multiple axes with the largest absolute value of the division result obtained by the maximum movable axis calculation unit 2, there may be multiple maximum movable axes.

[0043] In addition, when the ratio of the absolute value of the result of division by the maximum movement axis calculation unit 2 with respect to an axis other than the above-mentioned maximum movement axis to the absolute value of the result of division by the maximum movement axis calculation unit 2 with respect to the above-mentioned maximum movement axis is greater than or equal to a predetermined value, the axis is also regarded as the maximum movement axis, and the axes other than the maximum movement axis can be regarded as non-maximum movement axes. However, hereinafter, only the axis for which the absolute value of the result of division by the maximum movement axis calculation unit 2 becomes the largest is regarded as the maximum movement axis.

[0044] In the case where a command generation unit for performing acceleration and deceleration and generating a command for each control cycle is provided at the subsequent stage of the trajectory generation device 1, the trajectory generation device 1 does not necessarily need to perform acceleration and deceleration along the trajectory. In the first embodiment, a command generation unit for performing acceleration and deceleration and generating a command for each control cycle is provided at the subsequent stage of the trajectory generation device 1. Figure 1 Not shown in FIG.

[0045] The initial passing point calculation unit 3 generates initial passing points at a certain time interval when a plurality of axes of the control target are operated synchronously without acceleration or deceleration from the operation start point to the operation end point. Figure 2 This is a diagram showing a first correction example of the movement amount between passing points in the first embodiment. Figure 2 The relationship between the movement amount corresponding to the time when there is one maximum movement axis and one non-maximum movement axis and the movement amount between the passing points is shown. Figure 2 The interference region is also shown in .

[0046] The interference region extraction unit 4 stores information required for interference determination, such as the position and size of obstacles around the control object such as the robot. The interference region extraction unit 4 determines whether interference occurs at each of the plurality of passing points based on the stored information required for interference determination and the position information of each of the plurality of passing points calculated by the initial passing point calculation unit 3. If it is determined that interference occurs at any of the plurality of passing points, the section including the passing point determined to have caused interference is extracted as the interference region.

[0047] Figure 3 1 is a diagram showing the structure of the non-maximum moving axis correction unit 5 included in the trajectory generation device 1 according to Embodiment 1. The non-maximum moving axis correction unit 5 includes: a first passing point correction unit 6 that corrects the position of the non-maximum moving axis of the passing point in the interference region; a second passing point correction unit 7 that corrects the position of the non-maximum moving axis before and after the interference region; and an acceleration / deceleration consideration correction unit 8 that corrects the position of the non-maximum moving axis of the passing point in consideration of the limitation of acceleration or torque.

[0048] The first passing point correction unit 6 keeps the position of the maximum moving axis unchanged for the passing points belonging to the interference area first extracted among the multiple passing points generated by the initial passing point calculation unit 3, and corrects the position of the non-maximum moving axis to generate a passing point that avoids interference. The direction corrected by the first passing point correction unit 6 can be predetermined, or the best direction can be selected based on the evaluation function. In the first embodiment, the direction corrected by the first passing point correction unit 6 is predetermined.

[0049] The first passing point correction unit 6 calculates the moving direction when only the maximum moving axis is moved at the passing point included in the interference area, and takes the directions vertically upward and horizontally relative to the moving direction and two directions orthogonal to the moving direction as candidates for the avoidance direction, and determines the direction in which the maximum absolute value of the result obtained by dividing the movement amount of the non-maximum moving axis when avoiding interference by the maximum speed of the non-maximum moving axis is minimized as the avoidance direction.

[0050] When the control object is a 6-axis vertical multi-joint robot, the first correction unit 6 through the point can select two axes from the roots of multiple non-maximum moving axes, and determine the direction that minimizes the absolute value of the maximum value of the result obtained by dividing the movement amount of the two axes by the maximum speed of the axis as the avoidance direction. Figure 2 (B) is a diagram showing the correction result of the passing point obtained by the first passing point correction means 6.

[0051] exist Figure 2 In (B), the speed of the non-maximum moving axis exceeds the maximum allowable speed of the non-maximum moving axis, so the second passing point correction unit 7 corrects the position of the non-maximum moving axis at the passing points before and after the interference area. The second passing point correction unit 7 can be as follows Figure 2 (C) Figure 4 (C) or Figure 5 Correction was performed as shown in (C). Figure 4 This is a diagram showing a second modification example of the movement amount between passing points in the first embodiment. Figure 4 The relationship between the movement amount corresponding to the time when there is one maximum movement axis and one non-maximum movement axis and the movement amount between the passing points is shown. Figure 5 This is a diagram showing a third modified example of the movement amount between passing points in the first embodiment. Figure 5 The relationship between the movement amount corresponding to the time when there is one maximum movement axis and one non-maximum movement axis and the movement amount between the passing points is shown.

[0052] exist Figure 2 , Figure 4 and Figure 5 In any figure of , the upper left (A) shows the passing point generated by the initial passing point calculation unit 3, the upper right (B) shows the passing point corrected by the passing point first correction unit 6, the lower left (C) shows the passing point corrected by the passing point second correction unit 7, and the lower right (D) shows the passing point corrected by the acceleration / deceleration consideration correction unit 8. The passing points are generated or corrected in the order of upper left, upper right, lower left, and lower right.

[0053] exist Figure 2 , Figure 4 and Figure 5 In any figure of , the upper left and upper right show the same passing point, and the lower left and thereafter are different, corresponding to the correction content involved in the passing point second correction unit 7. The passing point second correction unit 7 corrects the position of the non-maximum moving axis of the interference area and the passing points before and after the interference area within the range that satisfies the speed limit of the non-maximum moving axis and the interference avoidance conditions.

[0054] In the area where the maximum movable axis moves at the highest speed, it is preferred that the maximum movable axis does not decelerate even when passing through the subsequent instruction generation unit of the track generation device 1. The influence of acceleration and deceleration is not considered until the second correction unit 7 at the passing point. Therefore, in this case, the subsequent instruction generation unit of the track generation device 1 needs to decelerate the maximum movable axis, which prolongs the action time. Therefore, the acceleration and deceleration consideration correction unit 8 corrects the position of the non-maximum movable axis at the passing point so that the maximum movable axis does not accelerate or decelerate even when passing through the subsequent instruction generation unit, but maintains the highest speed.

[0055] Specifically, the acceleration / deceleration consideration correction unit 8 limits the range of variation of the movement amount or movement speed between the passing points of the non-maximum movement axis based on the predetermined or calculated acceleration limit value or the acceleration / deceleration time limit value. The acceleration / deceleration consideration correction unit 8 can limit the range of variation of the movement amount between the passing points of the non-maximum movement axis based on the predetermined or calculated torque limit value.

[0056] The correction result after the second correction unit 7 passes through the passing point is: Figure 2 (C) Figure 4 (C) or Figure 5 In the case of (C), if the acceleration / deceleration correction unit 8 performs correction, then Figure 2 The correction result of (C) becomes Figure 2 (D) Figure 4 The correction result of (C) becomes Figure 4 (D) Figure 5 The correction result of (C) becomes Figure 5 (D). In addition, Figure 2 The diagram for explaining the change in the position of the passing point in the case of the correction is as follows: Figure 6 .

[0057] The acceleration / deceleration correction unit 8 outputs the corrected passing point as the target trajectory to the command generation unit. The command generation unit generates a command that satisfies the restrictions on the speed and acceleration or driving torque of the control object on the input target trajectory, and controls the control object such as a robot.

[0058] In the above description, in the first interval from the action start point to the start point of the interference area and the second interval from the end point of the interference area to the action end point, the non-maximum movement axis can complete the action earlier than the maximum movement axis. However, in one or both of the first interval and the second interval, the non-maximum movement axis may not be able to complete the action earlier than the maximum movement axis.

[0059] Figure 7 4 is a diagram showing a fourth modified example of the amount of movement between passing points in the first embodiment. Figure 8 1 is a diagram showing a fifth modified example of the amount of movement between passing points in the first embodiment. Figure 7 and Figure 8 The figure shows the correction result of the passing point when the non-maximum movement axis cannot complete the movement earlier than the maximum movement axis in the second section from the end point of the interference region to the movement end point. Figure 7 and Figure 8 The examples shown all show the generation results of the through-points for the same example, but the correction results after the through-point second correction unit 7 are different. Figure 7 In the case of, the maximum moving axis is not corrected, but only the non-maximum moving axis is corrected, and the movement of the non-maximum moving axis ends after the movement of the maximum moving axis ends. Figure 8 In the case of , both the non-maximum movement axis and the maximum movement axis are corrected. Figure 8 In the case of the maximum movement axis, correction is performed so that the movement of the maximum movement axis and the movement of the non-maximum movement axis are completed simultaneously by reducing the movement speed of the maximum movement axis.

[0060] According to the trajectory generation device 1 involved in embodiment 1, the maximum moving axis generates a trajectory that maintains the highest speed as much as possible, thereby obtaining the following effect, namely, it is possible to generate a trajectory that avoids interference while shortening the action time. On this basis, no random numbers are used when generating the passing points, thereby obtaining the following effect, namely, it is possible to explore the target trajectory in a short time, and the fluctuation for each trial is reduced. In addition, the influence of acceleration and deceleration when the non-maximum moving axis performs an avoidance action is also considered, thereby obtaining the following effect, namely, it is possible to prevent unnecessary acceleration and deceleration of the maximum moving axis and shorten the action time. That is, the trajectory generation device 1 can generate the best trajectory that avoids interference while shortening the action time, can explore the target trajectory in a relatively short time, and can reduce the fluctuation for each trial.

[0061] Implementation method 2.

[0062] The diagram showing the overall structure of the trajectory generating device according to the second embodiment is also Figure 1However, the structure of the non-maximum movement axis correction unit 5 in the second embodiment is different from the structure of the non-maximum movement axis correction unit 5 in the first embodiment. Fig. 9 This is a diagram showing the structure of the non-maximum moving axis correction unit 5 included in the trajectory generation device according to Embodiment 2. The non-maximum moving axis correction unit 5 according to Embodiment 2 includes all the structural elements included in the non-maximum moving axis correction unit 5 according to Embodiment 1 except for the acceleration / deceleration consideration correction unit 8. That is, the non-maximum moving axis correction unit 5 according to Embodiment 2 includes the first passing point correction unit 6 and the second passing point correction unit 7 included in the non-maximum moving axis correction unit 5 according to Embodiment 1, but does not include the acceleration / deceleration consideration correction unit 8.

[0063] For example, in Figure 2 In the same situation, if Fig.10 As shown, the correction results of the passing points up to the lower left are obtained. Fig.10 : is a diagram showing an example of correction of the movement amount between passing points in the second embodiment. In the second embodiment, the correction result of the passing point second correction unit 7 is output to the subsequent instruction generation unit. Therefore, in the second embodiment, the effect of preventing unnecessary acceleration and deceleration of the maximum moving axis cannot be obtained, but the effect of being able to generate a track that avoids interference and shortens the action time is obtained. On this basis, no random number is used when generating the passing point, so the following effects are also obtained, that is, the target track can be explored in a short time, and the fluctuation for each trial is reduced.

[0064] Implementation method 3.

[0065] The diagram showing the overall structure of the trajectory generating device according to the third embodiment is also Figure 1 However, the structure of the non-maximum movement axis correction unit 5 in the third embodiment is different from the structure of the non-maximum movement axis correction unit 5 in the first embodiment. Fig.11 1 is a diagram showing the structure of the non-maximum movement axis correction unit 5 of the trajectory generation device according to the third embodiment. The non-maximum movement axis correction unit 5 of the third embodiment has all the structural elements of the non-maximum movement axis correction unit 5 of the first embodiment and the avoidance direction optimization unit 9. That is, the non-maximum movement axis correction unit 5 of the third embodiment has a first passing point correction unit 6, a second passing point correction unit 7, an acceleration / deceleration consideration correction unit 8, and an avoidance direction optimization unit 9.

[0066] The avoidance direction optimization unit 9 optimizes the direction of the position of the non-maximum moving axis. In order to optimize the direction for generating a trajectory that avoids interference and minimizes the action time, the best correction direction can be selected based on the output of the subsequent instruction generation unit of the trajectory generation device involved in Implementation 3, but the optimization in this method requires a relatively long time.

[0067] Therefore, the evaluation function may be set as any of the following cases: a case where the condition that the maximum value of the result obtained by dividing the amount of movement of the non-maximum moving axis when moving in the avoidance direction by the maximum speed of the non-maximum moving axis is minimized; a case where the amount of movement of the front end position is minimized within a range where the maximum value of the result obtained by dividing the amount of movement of the non-maximum moving axis when moving in the avoidance direction by the maximum speed of the non-maximum moving axis is less than or equal to the allowable value; and a case where the acceleration when moving in the avoidance direction is minimized within a range where the maximum value of the result obtained by dividing the amount of movement of the non-maximum moving axis when moving in the avoidance direction by the maximum speed of the non-maximum moving axis is less than or equal to the allowable value.

[0068] The avoidance direction optimization unit 9 may use artificial intelligence technology, such as Bayesian optimization, particle swarm optimization or genetic algorithm.

[0069] The avoidance direction optimization unit 9 can use a neural network that has learned the best avoidance direction based on the information of the action start point and the action end point, and the position and size of the interference object. The generation of the track and the generation of the command value can also be implemented in the virtual environment. Therefore, in the learning of the neural network, the action time after the subsequent instruction generation and implementation in the virtual environment can be calculated by repeating the calculation of the virtual environment, and the action time after the implementation of the latter stage command generation in the virtual environment becomes the shortest avoidance direction, and the learning of the neural network that takes the information of the action start point and the action end point and the position and size of the interference object as input and takes the avoidance direction as output. The conditions for generating the track can be input to the trained neural network, and the avoidance direction output by the neural network is set as the avoidance direction involved in the non-maximum movement axis correction unit 5.

[0070] Since the trajectory generating device according to the third embodiment includes the avoiding direction optimizing means 9 , the operation time can be shortened compared to the case where the avoiding direction is fixed.

[0071] Implementation method 4.

[0072] The diagram showing the overall structure of the trajectory generating device according to the fourth embodiment is also Figure 1 However, the structure of the non-maximum movement axis correction unit 5 in the fourth embodiment is different from the structure of the non-maximum movement axis correction unit 5 in the first embodiment. Fig.12This is a diagram showing the structure of the non-maximum moving axis correction unit 5 included in the trajectory generation device according to Embodiment 4. The non-maximum moving axis correction unit 5 according to Embodiment 4 includes the first passing point correction unit 6, the acceleration / deceleration consideration correction unit 8, and the avoidance point optimization unit 10 included in the non-maximum moving axis correction unit 5 according to Embodiment 1. The non-maximum moving axis correction unit 5 according to Embodiment 4 does not include the second passing point correction unit 7 included in the non-maximum moving axis correction unit 5 according to Embodiment 1.

[0073] Although the avoidance direction is the same, there are multiple methods for setting the avoidance point as shown in Embodiment 1. Depending on the selection of the avoidance point, the action time of the subsequent instruction generation unit when generating the instruction in consideration of the torque limit may change. In addition, it is sometimes possible to prevent the unnecessary speed change of the non-maximum moving axis, thereby preventing the action time from being extended in order to accelerate or decelerate the non-maximum moving axis. Therefore, in Embodiment 4, an avoidance point optimization unit 10 is provided for optimizing a specific avoidance point for the determined avoidance direction.

[0074] The avoidance point optimization unit 10 searches for avoidance points where the speed variation of the non-maximum moving axis is reduced and the acceleration that includes the maximum moving axis and satisfies the torque limit is increased within the range that satisfies the restriction of avoiding interference. When searching for avoidance points, the avoidance point optimization unit 10 can use methods such as Bayesian optimization, particle swarm optimization, or genetic algorithm, as in the search for avoidance directions.

[0075] The avoidance point optimization unit 10 can use a neural network that has learned the best avoidance point based on the avoidance direction, the action start point, the action end point, and the position and size of the interference object. Even in a virtual environment, the generation of the trajectory and the generation of the command value can be implemented. Therefore, in the learning of the neural network, the action time after the subsequent instruction generation in the virtual environment is calculated to be the shortest by repeating the calculation in the virtual environment for each condition, and the learning of the neural network that takes the avoidance direction, the action start point, the action end point, and the position and size of the interference object as input and the avoidance point as output. The conditions for generating the trajectory can be input to the trained neural network, and the avoidance point output by the neural network is set as the avoidance point generated by the avoidance point optimization unit 10.

[0076] Since the trajectory generating device according to the fourth embodiment includes the avoidance point optimizing means 10 , the operation time can be shortened compared to a case where the avoidance point calculation method is fixed.

[0077] Implementation method 5.

[0078] The diagram showing the overall structure of the trajectory generating device according to the fifth embodiment is also Figure 1However, the structure of the non-maximum movement axis correction unit 5 of the fifth embodiment is different from the structure of the non-maximum movement axis correction unit 5 of the first embodiment. Fig.13 This is a diagram showing the structure of the non-maximum movement axis correction unit 5 included in the trajectory generation device according to Embodiment 5. The non-maximum movement axis correction unit 5 of Embodiment 5 includes an avoidance direction avoidance point optimization unit 11 and an acceleration / deceleration consideration correction unit 8 included in the non-maximum movement axis correction unit 5 of Embodiment 1. The non-maximum movement axis correction unit 5 of Embodiment 5 does not include the first passing point correction unit 6 and the second passing point correction unit 7 included in the non-maximum movement axis correction unit 5 of Embodiment 1.

[0079] The trajectory generation device involved in the third embodiment has an avoidance direction optimization unit 9 for optimizing the avoidance direction, and the trajectory generation device involved in the fourth embodiment has an avoidance point optimization unit 10 for optimizing the generation of avoidance points after the avoidance direction is determined. The trajectory generation device involved in the fifth embodiment has an avoidance direction avoidance point optimization unit 11 for optimizing the avoidance direction and avoidance point together. The avoidance direction avoidance point optimization unit 11 outputs the avoidance direction and avoidance point by exploring through an optimization method such as Bayesian optimization, particle swarm optimization, or genetic algorithm, or by using a neural network, similarly to the avoidance direction optimization unit 9 and the avoidance point optimization unit 10.

[0080] Since the trajectory generating device according to the fifth embodiment includes the avoiding direction and avoiding point optimizing means 11 , the operation time can be shortened compared to the case where the calculation method of the avoiding direction and avoiding point is fixed.

[0081] Implementation method 6.

[0082] The diagram showing the overall structure of the trajectory generating device according to the sixth embodiment is also Figure 1 However, the structure of the non-maximum movement axis correction unit 5 in the sixth embodiment is different from that of the non-maximum movement axis correction unit 5 in the first embodiment. Fig.14 1 is a diagram showing the structure of the non-maximum movement axis correction unit 5 of the trajectory generation device according to the sixth embodiment. The non-maximum movement axis correction unit 5 of the sixth embodiment has all the structural elements of the non-maximum movement axis correction unit 5 of the first embodiment and the acceleration / deceleration time calculation unit 12. That is, the non-maximum movement axis correction unit 5 of the sixth embodiment has a first passing point correction unit 6, a second passing point correction unit 7, an acceleration / deceleration consideration correction unit 8, and an acceleration / deceleration time calculation unit 12.

[0083] The acceleration / deceleration time calculation unit 12 calculates the acceleration / deceleration time used by the acceleration / deceleration consideration correction unit 8 to correct the passing point when the speed of the non-maximum moving axis changes. When the vector consisting of the difference in speed of each axis at the location where the speed of the non-maximum driving axis changes is set to Vc, the speed of each axis is set to V, the position of each axis is set to θ, the inertia matrix of the robot as the control object is set to M(θ), the vector consisting of the sum of the centrifugal Coriolis force, gravity and friction force is set to H(θ, V), and the vector consisting of the allowable maximum torque of each axis is set to τmax, the acceleration / deceleration time calculation unit 12 calculates the minimum kt that satisfies the following formula (1) for all axes, and outputs the maximum value ktm of the kt of each axis as the acceleration / deceleration time.

[0084] [Formula 1]

[0085] -τmax≤M(θ)·Vc / kt+H(θ,V)≤τmax…(1)

[0086] The acceleration / deceleration consideration correction unit 8 corrects the passing point so that the speed of the non-maximum moving axis changes during the acceleration / deceleration time ktm output from the acceleration / deceleration time calculation unit 12 .

[0087] The trajectory generation device according to the sixth embodiment determines the acceleration and deceleration of the non-maximum movement axis in consideration of the speed change, the position and posture of the control object, the movement speed, and the torque limit, thereby shortening the operation time compared to the case where the acceleration and deceleration parameters are fixed.

[0088] Implementation method 7.

[0089] Fig.15 1 is a diagram showing the structure of a track generating device 1A according to Embodiment 7. The track generating device 1A has all the structural elements of the track generating device 1 according to Embodiment 1 and an action division determination unit 13. That is, the track generating device 1A has a maximum movement axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum movement axis correction unit 5, and an action division determination unit 13. The track generating device 1 according to Embodiment 1 generates a track after considering interference by treating the action from the action start point to the action end point as one action. The track generating device 1A according to Embodiment 7 treats the action from the action start point to the action end point as one action, and temporarily implements the operations from the maximum movement axis calculation unit 2 to the non-maximum movement axis correction unit 5.

[0090] When the result of interference avoidance is that the action time of the non-maximum moving axis exceeds the action time of the maximum moving axis, the trajectory generating device 1A determines whether the action from the action start point to the action end point should be divided into two or more actions by the action division determination unit 13. When the action division determination unit 13 determines that the action should not be divided, the trajectory generating device 1A outputs the output of the non-maximum moving axis correction unit 5 as the generated trajectory. When the action division determination unit 13 determines that the action should be divided into two or more actions, the maximum moving axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4, and the non-maximum moving axis correction unit 5 respectively perform processing on the multiple actions obtained by division, and update and output them as generated trajectories related to each of the multiple actions obtained by division.

[0091] The action division determination unit 13 compares the sum of the movement times of the maximum movement axes of the plurality of actions without acceleration or deceleration when the action is divided into two actions or more, with the movement time obtained by the non-maximum movement axis correction unit 5 before the division action. When the movement time obtained by the non-maximum movement axis correction unit 5 before the division action is shorter than the sum of the movement times when the division action is performed, the action division determination unit 13 determines that the division of the action is not performed. The division of the action is performed, for example, by setting an intermediate point in a plurality of predetermined directions at the midpoint of the interference area before the division. The action division determination unit 13 determines the direction of the intermediate point and the movement amount of the intermediate point from the interference area by searching for a combination in which the sum of the movement times of the maximum movement axes of the plurality of actions after the division becomes the smallest.

[0092] Furthermore, the action division determination unit 13 determines whether the action should be divided. The trajectory generation device 1A according to Embodiment 7 generates trajectories for each of the plurality of actions generated when the action division determination unit 13 determines that the action should be divided. The trajectory generation device 1A generates trajectories by dividing an action into two or more actions, thereby shortening the action time when obtaining the optimal trajectory.

[0093] The non-maximum movement axis correction means 5 in the seventh embodiment may be any of the non-maximum movement axis correction means 5 in the first to sixth embodiments.

[0094] Implementation method 8.

[0095] Fig.161 is a diagram showing the structure of a trajectory generating device 1B according to Embodiment 8. The trajectory generating device 1B has all the structural elements of the trajectory generating device 1 according to Embodiment 1 and a linear interpolation insertion determination unit 14. That is, the trajectory generating device 1B has a maximum movement axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum movement axis correction unit 5, and a linear interpolation insertion determination unit 14. In the case where there are multiple obstacles in a narrow range, it is necessary to set the passing points for each axis in detail, so it is sometimes preferable to generate the trajectory of the section by linear interpolation in which the fingertips of the robot move along a straight line. To move the fingertips of the robot along a straight line is to move the control point of the control object on a straight line.

[0096] Therefore, when there is another obstacle within a predetermined distance from the obstacle determined as causing interference by the interference region extraction unit 4, the linear interpolation insertion determination unit 14 determines to implement the avoidance of the obstacle by linear interpolation. That is, the linear interpolation insertion determination unit 14 determines to implement linear interpolation insertion. When the linear interpolation insertion determination unit 14 determines to implement linear interpolation insertion, the passing point first correction unit 6 of the non-maximum movement axis correction unit 5 generates a passing point by linear interpolation, and gives a linear interpolation flag to the section until the avoidance point.

[0097] When the speed until the passing point generated by the passing point first correction unit 6 exceeds the maximum speed of the maximum moving axis or the non-maximum moving axis, the passing point second correction unit 7 generates a passing point whose speed does not exceed the maximum speed by adding a new passing point on the straight line from the original passing point to the passing point generated by the passing point first correction unit 6. When the acceleration until the passing point generated by the passing point first correction unit 6 exceeds the preset acceleration, the acceleration / deceleration consideration correction unit 8 generates a passing point whose acceleration does not exceed the acceleration limit by adding a new passing point on the straight line to the passing point generated by the passing point first correction unit 6.

[0098] Furthermore, the linear interpolation insertion determination unit 14 determines whether interference should be avoided by linear interpolation in which the control point of the control object moves on a straight line. The trajectory generation device 1B involved in the eighth embodiment performs interference avoiding action by linear interpolation when the linear interpolation insertion determination unit 14 determines that interference should be avoided by linear interpolation. The trajectory generation device 1B can shorten the action time in the case where it is preferred to avoid interference by moving the front end of the control object on a straight line.

[0099] The non-maximum movement axis correction means 5 in the eighth embodiment may be any of the non-maximum movement axis correction means 5 in the first to seventh embodiments.

[0100] Implementation method 9.

[0101] Fig.17 1 is a diagram showing the structure of a track generation device 1C according to Embodiment 9. The track generation device 1C has all the structural elements of the track generation device 1 according to Embodiment 1 and a connection condition calculation unit 15. That is, the track generation device 1C has a maximum movement axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum movement axis correction unit 5, and a connection condition calculation unit 15.

[0102] When a robot is used to assemble motor and electronic products, there is an application in which, after the controlled object is moved to the vicinity of a target point, it is desired to move it in a straight line in a predetermined direction, and it is desired to designate the magnitude of the speed of either the action start point or the action end point to be other than 0. As described above, in order to generate a trajectory corresponding to an instruction having a speed in a designated direction and magnitude without stopping the controlled object at the action start point or the action end point, the trajectory generation device 1C includes a connection condition calculation unit 15.

[0103] Information indicating the position of the action start point, the position of the action end point, the speed of the action start point, and the speed of the action end point is input to the connection condition calculation unit 15. When a value other than 0 is set as the speed of the action start point and the speed of the action end point, the connection condition calculation unit 15 first calculates the moving speed V0 when each axis moves synchronously based on the position of the action start point, the position of the action end point, and the maximum speed of each axis. Next, the connection condition calculation unit 15 calculates the time required for the speed of each axis to reach the calculated moving speed V0 when each axis moves synchronously, and the moving distance L1 moved during the period from the speed of each axis to the speed specified at the action start point or the action end point to the moving speed V0 when each axis moves synchronously, and calculates the connection point position that is inside the action interval when viewed from the action start point and the action end point with the calculated moving distance L1. The connection point position is the start point and end point of the interval in which each axis moves synchronously without interference. Next, the connection condition calculation unit 15 calculates the speed of each axis when each axis is operated synchronously between the connection point position on the action start point side and the connection point position on the action end point side based on the connection point position on the action start point side and the connection point position on the action end point side. The speed of each axis is the connection point speed.

[0104] When 0 is set as the speed of the action start point and the speed of the action end point, the connection condition calculation unit 15 keeps the connection position unchanged at the action start point or the action end point. Next, the connection condition calculation unit 15 calculates the time and movement distance required to reach the calculated connection point speed from the speed of the action start point or the speed of the action end point, and repeatedly calculates the connection point position and connection point speed that are inside the action interval with the calculated movement distance. When the number of repetitions reaches the specified number of times, or when the difference with the previous speed and position is less than or equal to the specified value, the connection condition calculation unit 15 outputs the calculated connection point position and connection point speed to the maximum movement axis calculation unit 2.

[0105] The maximum movement axis calculation unit 2 calculates the maximum movement axis based on the information of the input connection point position, regards one of the two connection points as the action start point, and regards the other of the two connection points as the action end point. The initial passing point calculation unit 3, the interference area extraction unit 4 and the non-maximum movement axis correction unit 5 each perform the same processing as the processing of the first embodiment.

[0106] Next, the method of deriving the connection point position is described. The following axis movement speed V0[i] is the speed when the axes move synchronously without interference. The movement time T1max until the connection point is the maximum value of the time required for the speed of each axis to reach V0[i] from the speed specified at the start point or the end point of the action. The movement amount L1[i] of each axis is the distance that each axis moves in the time T1max. The movement distance is calculated by integrating the speed.

[0107] The case of specifying the speed at the start point of the action is explained as an example. The position, speed, acceleration, etc. of the i-th axis of the control object are represented by [i]. The control object is, for example, a robot. The position of the action start point is set to Ps[i], the specified speed at the action start point is set to Vs[i], and the position of the action end point is set to Pe[i]. At this time, first, the connection condition calculation unit 15 calculates the movement speed V0[i] of each axis when each axis moves synchronously from the action start point to the action end point. Specifically, the connection condition calculation unit 15 uses the following formula (2) to calculate the movement speed V0[i] of each axis.

[0108] [Formula 2]

[0109] V0[i]=(Pe[i]-Ps[i]) / (max(abs((Pe[i]-Ps[i]) / Vmax[i]))…(2)

[0110] In formula (2), Vmax[i] represents the maximum allowable speed of each axis, abs represents the absolute value, and max represents the maximum value of the calculation results of each axis. Next, the connection condition calculation unit 15 uses the following formula (3) to calculate the difference between the specified speed Vs[i] at the start point of the action and the calculated V0[i], that is, Ve1[i].

[0111] [Formula 3]

[0112] Ve1[i]=V0[i]-Vs[i]…(3)

[0113] When a pre-specified or derived acceleration / deceleration time is defined as Kt, the connection condition calculation unit 15 calculates T1[i] using the following equation (4).

[0114] [Formula 4]

[0115] T1[i]=abs(Ve1[i])·Kt / Vmax[i]…(4)

[0116] If the maximum value of T1[i] of each axis is set to T1max, the moving time to the connection point is set to T1max. Next, the connection condition calculation unit 15 calculates the movement amount L1[i] of each axis when the speed is changed from Vs[i] to V0[i] at a constant acceleration from time T1max, and sets Ps[i]+L1[i] as the position Pa1[i] of the i-th axis of the connection point Pa1. The case of specifying the speed at the start point of the action is described as an example, but the same is true for the case of specifying the speed at the end point of the action.

[0117] Furthermore, the connection condition calculation unit 15 calculates the position of the connection point based on the designation of the direction and magnitude of the target speed of at least one of the action start point and the action end point. The track generation device 1C according to the ninth embodiment generates a track based on the position of the connection point calculated by the connection condition calculation unit 15. The track generation device 1C can shorten the action time when the speed of each axis of at least one of the action start point and the action end point is designated.

[0118] The non-maximum movement axis correction means 5 in the ninth embodiment may be any of the non-maximum movement axis correction means 5 in the first to eighth embodiments.

[0119] Implementation method 10.

[0120] Fig.181 is a diagram showing the structure of a trajectory generating device 1D according to Embodiment 10. The trajectory generating device 1D has all the structural elements of the trajectory generating device 1 according to Embodiment 1 and a control system influence consideration unit 16. That is, the trajectory generating device 1D has a maximum movement axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum movement axis correction unit 5, and a control system influence consideration unit 16. The trajectory generated by the trajectory generating device 1D is input to a subsequent instruction generating unit, and the instruction generating unit keeps the trajectory generated by the trajectory generating device 1D unchanged, generates instructions for each control cycle that satisfy the restrictions related to the speed and torque of each axis, and controls the control object. Delays usually occur in the control of the control object, so the actual control object does not strictly pass through the trajectory generated by the trajectory generating device, but passes through an inward rotation path due to the influence of the control system.

[0121] Therefore, the trajectory generation device 1D considers the influence of the control system and virtually increases the size of the obstacle stored in the interference region extraction unit 4, thereby generating a trajectory that does not interfere even if the trajectory of the control object deviates due to the influence of the control system. The characteristics of the control system sometimes change according to the position of the control object, so the control system influence consideration unit 16 obtains information on the action start point and the action end point, and also considers the characteristics of the control system within the action range to determine the change amount or change ratio of the obstacle size.

[0122] Furthermore, the control system influence consideration unit 16 estimates the influence of the deviation of the trajectory of the control object from the target trajectory by the control system. The trajectory generation device 1D changes the parameters related to the obstacle inside the interference region extraction unit 4 based on the output of the control system influence consideration unit 16. The trajectory generation device 1D can also consider the influence of the deviation of the trajectory of the control object caused by the characteristics of the control system, so it can generate a trajectory that can avoid more accurately.

[0123] The non-maximum movement axis correction means 5 in the tenth embodiment may be any of the non-maximum movement axis correction means 5 in the first to ninth embodiments.

[0124] Implementation method 11.

[0125] The diagram showing the overall structure of the trajectory generating device according to the eleventh embodiment is also Figure 1, but the structure of the non-maximum moving axis correction unit 5 of embodiment 11 is different from the structure of the non-maximum moving axis correction unit 5 of embodiment 1. In embodiment 11, there are multiple interference areas extracted by the interference area extraction unit 4. When there are multiple interference areas, the first passing point correction unit 6 determines the avoidance direction under the condition that the avoidance direction of the non-maximum moving axis becomes the same in multiple interference areas. The second passing point correction unit 7 does not correct between each interference area so that the non-maximum moving axis returns to the initial passing point, but corrects the passing point so that adjacent interference areas are connected. The actions other than the above actions are the same as the actions described in embodiment 1, so the description of the actions other than the above actions is omitted.

[0126] The trajectory generating device according to the eleventh embodiment can shorten the operation time while avoiding interference when a plurality of obstacles exist in the operation path of the control object.

[0127] Implementation method 12.

[0128] The diagram showing the overall structure of the trajectory generating device according to Embodiment 12 is also Figure 1 However, in the twelfth embodiment, the instruction generation unit is not provided at the subsequent stage of the trajectory generation device, and the trajectory generated by the trajectory generation device is used as an instruction for each control cycle. Acceleration and deceleration are not implemented in the subsequent instruction generation unit, so at the passing point calculated by the initial passing point calculation unit 3, the waveform of the speed is not a speed rectangular wave, and acceleration and deceleration are performed to generate a speed trapezoid. The inclination of the speed trapezoid can be calculated based on the position of the action start point, the position of the action end point and the maximum speed of each axis, taking into account the torque limit. The inclination of the speed trapezoid is the acceleration.

[0129] Fig.19 : is a diagram showing the movement amount of the passing point in Implementation Example 12. Fig.19 , the upper left figure shows the calculation result of the initial passing point calculation unit 3, the upper right figure shows the correction result of the passing point first correction unit 6, the lower left figure shows the correction result of the passing point second correction unit 7, and the lower right figure shows the correction result of the acceleration / deceleration consideration correction unit 8. The track generation device involved in the twelfth embodiment controls the control object using the output of the acceleration / deceleration consideration correction unit 8 as the generated instruction.

[0130] The trajectory generation device according to the twelfth embodiment can reduce the calculation time for generating instructions for avoiding interference and shortening the operation time.

[0131] Implementation method 13.

[0132] Fig. 201 is a diagram showing the structure of a track generating device 1E according to Embodiment 13. The track generating device 1E has all the structural elements of the track generating device 1 according to Embodiment 1, a constraint storage unit 17, and a constraint sufficiency determination unit 18. That is, the track generating device 1E has a maximum moving axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum moving axis correction unit 5, a constraint storage unit 17, and a constraint sufficiency determination unit 18. The constraint storage unit 17 is implemented by, for example, a semiconductor memory. In Embodiment 13, the non-maximum moving axis correction unit 5 corrects the position of the non-maximum moving axis under the constraint based on the kinematics of the multi-joint robot. Furthermore, the non-maximum moving axis correction unit 5 corrects the position of the non-maximum moving axis while taking into account the constraint based on the kinematics of the multi-joint robot.

[0133] As an example of a kinematic constraint, there is a condition for avoiding critical points in linear interpolation motion. In a multi-joint robot, the position where the wrist is extended and the position is greater than or equal to the position where two rotation axes are arranged in a straight line is called a critical point. At the critical point, the freedom of movement of the fingertips is reduced, so that the combination of the positions of the joints that achieve the position and posture of the fingertips is not uniquely determined. Basically, in the joint interpolation motion, the multi-joint robot can pass through the critical point on the track, but as described in Implementation 8, when a track for a portion of the interval is generated by linear interpolation, the positions of the joints at the next control point are not determined near the critical point, and the multi-joint robot may stop due to an error.

[0134] The constraint storage unit 17 stores the conditions of the critical points on the required track. For the multiple candidates of the correction direction obtained by the first correction unit 6 for the passing point and the second correction unit 7 for the passing point in the non-maximum moving axis correction unit 5, the constraint sufficiency determination unit 18 determines whether the multi-joint robot passes through the critical point until the next passing point, and does not adopt the candidate of the correction direction in which the multi-joint robot passes through the critical point. This can be achieved, for example, by using an evaluation function for the best correction direction, investigating whether the point divided by a line segment connecting two passing points at a certain interval is near the critical point, and assigning a penalty to the evaluation value when the point is near the critical point. Thus, even when linear interpolation is used for the movement of the multi-joint robot, the track generation device 1E involved in embodiment 13 can obtain a track that realizes the moving action while avoiding the critical point where the positions of the axes that realize the positions of the fingertips of the multi-joint robot are not uniquely determined.

[0135] As an example of another constraint condition, there is a condition of maintaining the posture of the fingertip. Fig.21This is a schematic diagram for explaining an example of using a vertical multi-joint robot having six rotation axes from rotation axis J1 to rotation axis J6, and correcting a non-maximum moving axis while maintaining the posture of the fingertips. For example, when the robot hand keeps the posture of the grasped workpiece W horizontal, while moving the rotation axis J1 that is the maximum moving axis, the workpiece W is moved. Fig.21 When the workpiece W interferes with the obstacle S as shown in the figure on the left side of FIG. , the positions of the rotation axes J2, J3, and J5, which are not the maximum moving axes, are corrected so that Fig.21 As shown in the figure on the right side of , the posture of the workpiece W is kept unchanged to avoid the interference between the workpiece W and the obstacle S. In this case, the posture of the fingertip before correction is set in the constraint storage unit 17, and the first passing point correction unit 6 and the second passing point correction unit 7 use the calculation of inverse kinematics to find the position of the non-maximum movement axis that does not change the posture of the fingertip. This can be achieved by, for example, when determining the correction direction of the passing point in the interference area, taking the vertical upward direction, the vertical downward direction in the orthogonal space and the two directions orthogonal to the movement direction in the horizontal plane as candidates for the avoidance direction of the position of the fingertip, and the constraint sufficiency determination unit 18 calculates the position of the non-maximum movement axis that satisfies the posture restriction for each candidate fingertip position by inverse kinematics, and selecting the direction in which the maximum absolute value of the result obtained by dividing the movement amount of the non-maximum movement axis by the maximum speed of the non-maximum movement axis becomes the minimum. In this case, the processing of the constraint sufficiency determination unit 18 can be included in the processing of the first passing point correction unit 6 and the second passing point correction unit 7 in the non-maximum movement axis correction unit 5. Thus, the trajectory generating device 1E according to the thirteenth embodiment can obtain a trajectory for realizing the moving action while keeping the posture of the fingertip horizontal.

[0136] Users can add or delete restrictions as needed by using external interfaces, etc.

[0137] The non-maximum movement axis correction means 5 in the thirteenth embodiment may be any non-maximum movement axis correction means 5 in the first to seventh embodiments.

[0138] Implementation method 14.

[0139] Fig. 22 1 is a diagram showing the structure of a trajectory generating device 1F according to Embodiment 14. The trajectory generating device 1F has all the structural elements of the trajectory generating device 1 according to Embodiment 1, a command generating unit 19, and a command correcting unit 20. That is, the trajectory generating device 1F has a maximum movement axis calculating unit 2, an initial passing point calculating unit 3, an interference region extracting unit 4, a non-maximum movement axis correcting unit 5, a command generating unit 19, and a command correcting unit 20.

[0140] The command generation unit 19 generates an interpolation action for each control cycle of the robot based on the target trajectory output from the non-maximum movement axis correction unit 5. That is, the command generation unit 19 generates an interpolation action command based on the target trajectory output from the non-maximum movement axis correction unit 5. The command correction unit 20 is located at the subsequent stage of the command generation unit 19, and corrects at least one of the acceleration and deceleration of the maximum movement axis, the acceleration and deceleration start time of the maximum movement axis, the acceleration and deceleration of the non-maximum movement axis, and the acceleration and deceleration start time of the non-maximum movement axis in the interpolation action for each control cycle of the robot, and outputs an action command.

[0141] When the instruction generation unit 19 generates interpolation motion instructions for each control cycle of the robot in a manner that synchronizes the end times of the movements of all axes with respect to the target trajectory output by the non-maximum moving axis correction unit 5, the speed of the maximum moving axis is sometimes reduced in order to synchronize with the movements of the non-maximum moving axis used to avoid interference. Fig.23 1F is a diagram showing an example of the correction of the acceleration and deceleration performed by the command correction unit 20 included in the trajectory generation device 1F according to the fourteenth embodiment. Fig.23 As shown in the figure on the left, when the second half of a series of actions separating the stop state of angular velocity being zero needs to avoid interference with the non-maximum moving axis, if the deceleration starts at the maximum deceleration that the maximum moving axis can produce, a concave portion, i.e., a jump, will be generated in the velocity waveform. On the other hand, if the deceleration of the maximum moving axis is eased, as shown in Fig.23 As shown in the figure on the right side of , the maximum moving axis can maintain a trapezoidal velocity waveform. Therefore, the trajectory generating device 1F according to the fourteenth embodiment can avoid generating unnecessary jerk and improve the life of the structural parts of the robot.

[0142] Fig.23 Although an example of correcting only the deceleration of the maximum moving axis is shown, the instruction correction unit 20 can optimize the combination of the acceleration and deceleration of the maximum moving axis, the acceleration and deceleration start time of the maximum moving axis, the acceleration and deceleration of the non-maximum moving axis, and the acceleration and deceleration start time of the non-maximum moving axis as a combination of acceleration and deceleration parameters that can shorten the action time. As a method of combination optimization, for example, particle swarm optimization and Bayesian optimization can be used. In addition, the instruction correction unit 20 can have the following function for the optimal combination candidate of acceleration and deceleration parameters, that is, through simulation, confirming that the robot started by the action command generated by using these parameters does not interfere with obstacles.

[0143] The non-maximum movement axis correction means 5 in the fourteenth embodiment may be any of the non-maximum movement axis correction means 5 in the first to seventh embodiments.

[0144] Implementation method 15.

[0145] Fig.24 1 is a diagram showing the structure of a trajectory generating device 1G according to Embodiment 15. The trajectory generating device 1G has all the structural elements of the trajectory generating device 1 according to Embodiment 1 and a robot command determining unit 21. That is, the trajectory generating device 1G has a maximum moving axis calculating unit 2, an initial passing point calculating unit 3, an interference region extracting unit 4, a non-maximum moving axis correcting unit 5, and a robot command determining unit 21. The robot command determining unit 21 converts the interpolation action for the point sequence calculated by the initial passing point calculating unit 3 and the interpolation action for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correcting unit 5 into a robot command, and outputs the robot command. The point sequence is obtained by arranging one or more passing points generated by the trajectory generating device in sequence from the action start point to the action end point.

[0146] In the fifteenth embodiment, the initial passing point calculation unit 3 includes a first acceleration / deceleration determination unit 31 that determines the acceleration / deceleration parameters of the trajectory determined by the initial passing point calculation unit 3 as information of the interpolation operation before correction of the non-maximum moving axis. The first acceleration / deceleration determination unit 31 outputs the determined acceleration / deceleration parameters to the robot command determination unit 21. The first acceleration / deceleration determination unit 31 may be provided at a subsequent stage of the initial passing point calculation unit 3. The non-maximum moving axis correction unit 5 includes a second acceleration / deceleration determination unit 51 that determines the acceleration / deceleration parameters of the trajectory corrected by the non-maximum moving axis correction unit 5 as information of the interpolation operation corresponding to the correction amount of the non-maximum moving axis. The second acceleration / deceleration determination unit 51 outputs the determined acceleration / deceleration parameters to the robot command determination unit 21. The second acceleration / deceleration determination unit 51 is equivalent to the acceleration / deceleration time calculation unit 12 included in the trajectory generation device according to the sixth embodiment. The second acceleration / deceleration determination unit 51 may be provided at a subsequent stage of the non-maximum moving axis correction unit 5. When the second acceleration / deceleration determination unit 51 is provided at the subsequent stage of the non-maximum moving axis correction unit 5, in order to output a result obtained by synthesizing the trajectory of the non-maximum moving axis correction unit 5 based on the action of the initial passing point calculation unit 3 and the trajectory corrected by the non-maximum moving axis correction unit 5, the second acceleration / deceleration determination unit 51 restores the trajectory to the state before synthesis and obtains the acceleration / deceleration parameters of the corrected trajectory.

[0147] Generally speaking, industrial robot controllers are provided with motion commands created in a dedicated programming language. For example, there are commands for interpolating between two specified points using joint coordinates and commands for linear interpolation between two specified points. Below, the command for interpolating between two specified points using joint coordinates is recorded as a MOV command, and the command for linear interpolation between two specified points is recorded as an MVS command.

[0148] The acceleration / deceleration parameters are determined and the MOV command and the MVS command are transmitted to the instruction generation unit, or the acceleration / deceleration parameters are determined before the robot control device executes the MOV command and the MVS command, thereby generating an interpolation motion instruction for each control cycle of the robot. If the robot control device determines the acceleration / deceleration parameters, the realized trajectory may deviate from the target trajectory output from the non-maximum moving axis correction unit 5, so the following describes the case where the trajectory generation device 1G determines the acceleration / deceleration parameters.

[0149] In order to convert the interpolation action into the robot command after the acceleration / deceleration parameters are determined, the first acceleration / deceleration determination unit 31 needs to determine the acceleration / deceleration parameters of the interpolation action for the point sequence calculated by the initial passing point calculation unit 3, and the second acceleration / deceleration determination unit 51 needs to determine the acceleration / deceleration parameters of the interpolation action for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 to avoid interference. The acceleration / deceleration parameters of the interpolation action for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 can be determined by, for example, calculation performed by the acceleration / deceleration consideration correction unit 8 described in Embodiment 6. The acceleration / deceleration parameters of the interpolation action for the point sequence calculated by the initial passing point calculation unit 3 can also be determined by the first acceleration / deceleration determination unit 31 performing the same calculation. The robot command determination unit 21 generates a robot motion command corresponding to the output of the initial passing point calculation unit 3 and a robot motion command corresponding to the correction motion corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 based on information related to the point sequence calculated by the initial passing point calculation unit 3, information related to the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5, and acceleration and deceleration parameters calculated by the first acceleration and deceleration determination unit 31 and the second acceleration and deceleration determination unit 51.

[0150] So far, the case where the trajectory generating device 1G involved in the fifteenth embodiment determines the acceleration / deceleration parameters has been described, but the acceleration / deceleration parameters may be determined outside the trajectory generating device 1G. In the case where the acceleration / deceleration parameters are determined outside the trajectory generating device 1G, the trajectory generating device 1G may not have the first acceleration / deceleration determining unit 31 and the second acceleration / deceleration determining unit 51. At this time, the robot command determining unit 21 generates a robot motion command corresponding to the correction motion based on the robot motion command corresponding to the output of the initial passing point calculating unit 3 and the correction amount calculated by the non-maximum moving axis correcting unit 5, based on the information related to the point sequence calculated by the initial passing point calculating unit 3 and the information related to the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correcting unit 5.

[0151] As described above, the trajectory generating device 1G according to the fifteenth embodiment converts the target trajectory generated through the non-maximum movement axis correction means 5 into a plurality of interpolation operation commands and outputs them. This eliminates the need for the robot controller to store the trajectory point sequence, thereby reducing the storage capacity of the robot controller.

[0152] The initial passing point calculation unit 3 except the first acceleration / deceleration determination unit 31 in the fifteenth embodiment is the initial passing point calculation unit 3 of the first embodiment. The non-maximum movement axis correction unit 5 except the second acceleration / deceleration determination unit 51 in the fifteenth embodiment may be any non-maximum movement axis correction unit 5 from the first embodiment to the seventh embodiment.

[0153] Implementation method 16.

[0154] Fig.25 1 is a diagram showing the structure of a track generation device 1H according to Embodiment 16. The track generation device 1H has all the structural elements of the track generation device 1 according to Embodiment 1 and an acceleration / deceleration parameter correction unit 22. That is, the track generation device 1H has a maximum movement axis calculation unit 2, an initial passing point calculation unit 3, an interference region extraction unit 4, a non-maximum movement axis correction unit 5, and an acceleration / deceleration parameter correction unit 22.

[0155] In the sixteenth embodiment, the initial passing point calculation unit 3 has a first acceleration / deceleration determination unit 32, which determines the acceleration / deceleration parameters of the track determined by the initial passing point calculation unit 3 as information of the interpolation action before the non-maximum moving axis is corrected. The non-maximum moving axis correction unit 5 has a second acceleration / deceleration determination unit 52, which determines the acceleration / deceleration parameters of the track corrected by the non-maximum moving axis correction unit 5 as information of the interpolation action corresponding to the correction amount of the non-maximum moving axis. The acceleration / deceleration parameter correction unit 22 corrects the acceleration / deceleration parameters determined by the first acceleration / deceleration determination unit 32 and the acceleration / deceleration parameters determined by the second acceleration / deceleration determination unit 52, and outputs the target track and the acceleration / deceleration parameters. The track generation device 1H involved in the sixteenth embodiment generates the target track using the acceleration / deceleration parameters corrected by the acceleration / deceleration parameter correction unit 22.

[0156] In the sixteenth embodiment, the first acceleration / deceleration determination unit 32 is included in the initial passing point calculation unit 3, but the first acceleration / deceleration determination unit 32 may be provided at the subsequent stage of the initial passing point calculation unit 3. In the sixteenth embodiment, the second acceleration / deceleration determination unit 52 is included in the non-maximum moving axis correction unit 5, but the second acceleration / deceleration determination unit 52 may be provided at the subsequent stage of the non-maximum moving axis correction unit 5. The trajectory generation device 1H according to the sixteenth embodiment may include a robot command determination unit that converts the target trajectory into a robot command based on the acceleration / deceleration parameters corrected by the acceleration / deceleration parameter correction unit 22 by combining with the fifteenth embodiment.

[0157] As described in Embodiment 15, when considering the robot command for converting the target trajectory into the interpolation action, the acceleration / deceleration parameters of the interpolation action for the point sequence calculated by the initial passing point calculation unit 3 may not be optimal for the interpolation action for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 to be performed next in order to avoid interference. For example, when the interpolation action for the point sequence calculated by the initial passing point calculation unit 3 is converted into the first MOV command, and the interpolation action for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 is converted into the second MOV command, before the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5 is determined, the first acceleration / deceleration determination unit 32 determines the acceleration / deceleration parameters of the first MOV command using the upper limit of the allowable torque of each axis, thereby sometimes having little margin in the acceleration / deceleration of the robot for the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5.

[0158] Therefore, after obtaining the point sequence corresponding to the correction amount calculated by the non-maximum moving axis correction unit 5, the acceleration / deceleration parameter correction unit 22 corrects the acceleration / deceleration parameters determined by the first acceleration / deceleration determination unit 32 and the acceleration / deceleration parameters determined by the second acceleration / deceleration determination unit 52 so as to shorten the total action time under the first MOV command and the second MOV command. As a correction method of the acceleration / deceleration parameters by the acceleration / deceleration parameter correction unit 22, for example, after easing the acceleration / deceleration of the first MOV command, the calculation performed by the acceleration / deceleration consideration correction unit 8 described in Embodiment 6 is performed again, thereby making it possible to correct the acceleration / deceleration parameters of the second MOV command.

[0159] The acceleration / deceleration parameter correction unit 22 can apply the combined optimization method described in Embodiment 14 to simultaneously correct the acceleration / deceleration parameters of the first MOV command and the acceleration / deceleration parameters of the second MOV command. Fig.26As shown, the trajectory generating device 1H involved in embodiment 16 feeds back the correction result obtained by the acceleration / deceleration parameter correction unit 22 to the initial passing point calculation unit 3 and the non-maximum moving axis correction unit 5, updates the interpolation action before correcting the non-maximum moving axis and the interpolation action corresponding to the correction amount of the non-maximum moving axis, thereby also being able to implement repeated optimization calculations. Fig.26 This is a diagram for explaining an example of the operation of the trajectory generating device 1H according to the sixteenth embodiment.

[0160] As described above, the trajectory generating device 1H according to the sixteenth embodiment corrects the acceleration / deceleration parameters so that a margin is left for the acceleration / deceleration of the robot in the interpolation action of the point sequence corresponding to the correction amount obtained by the non-maximum moving axis correction unit 5 in order to avoid interference, thereby shortening the action time.

[0161] The initial passing point calculation unit 3 except the first acceleration / deceleration determination unit 32 in the embodiment 16 is the initial passing point calculation unit 3 of the embodiment 1. The non-maximum movement axis correction unit 5 except the second acceleration / deceleration determination unit 52 in the embodiment 16 may be any non-maximum movement axis correction unit 5 from the embodiments 1 to 7.

[0162] Fig. 27 This is a diagram showing a processor 91 in a case where at least a part of the functions of the maximum moving axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4 and the non-maximum moving axis correction unit 5 of the trajectory generating device 1 involved in Implementation Example 1 is implemented by the processor 91. That is, at least a part of the functions of the maximum moving axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4 and the non-maximum moving axis correction unit 5 can be implemented by the processor 91 executing the program stored in the memory 92. The processor 91 is a CPU (Central Processing Unit), a processing system, a computing system, a microprocessor or a DSP (Digital Signal Processor). Fig. 27 A memory 92 is also shown.

[0163] When at least a part of the functions of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5 are implemented by the processor 91, the part of the functions is implemented by the processor 91 and software, firmware, or a combination of software and firmware. The software or firmware is described as a program and stored in the memory 92. The processor 91 reads out and executes the program stored in the memory 92, thereby implementing at least a part of the functions of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5.

[0164] In the case where at least a part of the functions of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5 are implemented by the processor 91, the trajectory generation device 1 has a memory 92 for storing a program that finally executes at least a part of the steps performed by the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5. The program stored in the memory 92 can be said to cause the computer to execute at least a part of the sequence or method performed by the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5.

[0165] The memory 92 is, for example, a nonvolatile or volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (registered trademark) (Electrically Erasable Programmable Read-Only Memory), a magnetic disk, a floppy disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disk).

[0166] Fig.28 This is a diagram showing a processing circuit 93 in the case where at least a part of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5 included in the trajectory generation device 1 according to Embodiment 1 is implemented by the processing circuit 93. That is, at least a part of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5 can be implemented by the processing circuit 93.

[0167] The processing circuit 93 is dedicated hardware and is, for example, a single circuit, a complex circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.

[0168] Part of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference region extraction unit 4, and the non-maximum movement axis correction unit 5 may be realized by dedicated hardware different from the remaining parts.

[0169] Regarding the multiple functions of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4, and the non-maximum movement axis correction unit 5, a part of the multiple functions can be implemented by software or firmware, and the remaining parts of the multiple functions can be implemented by dedicated hardware. As described above, the multiple functions of the maximum movement axis calculation unit 2, the initial passing point calculation unit 3, the interference area extraction unit 4, and the non-maximum movement axis correction unit 5 can be implemented by hardware, software, firmware, or a combination thereof.

[0170] The functions of each non-maximum movement axis correction means 5 in Embodiments 2 to 6, Embodiments 11, 15, and 16 can be realized by a processor that executes a program stored in a memory. The memory is the same memory as the memory 92. The processor is the same processor as the processor 91. Each non-maximum movement axis correction means 5 in Embodiments 2 to 6 can be realized by a processing circuit. The processing circuit is the same processing circuit as the processing circuit 93.

[0171] The functions of the motion division determination unit 13 of the seventh embodiment, the linear interpolation insertion determination unit 14 of the eighth embodiment, the connection condition calculation unit 15 of the ninth embodiment, the control system influence consideration unit 16 of the tenth embodiment, the constraint condition sufficiency determination unit 18 of the thirteenth embodiment, the instruction generation unit 19 of the 14th embodiment, the instruction correction unit 20 of the 14th embodiment, the robot command determination unit 21 of the 15th embodiment, the first acceleration / deceleration determination unit 31 of the 15th embodiment, the second acceleration / deceleration determination unit 51 of the 15th embodiment, the acceleration / deceleration parameter correction unit 22 of the 16th embodiment, the first acceleration / deceleration determination unit 32 of the 16th embodiment, and the second acceleration / deceleration determination unit 52 of the 16th embodiment can be realized by a processor executing a program stored in a memory. The memory is the same memory as the memory 92. The processor is the same processor as the processor 91. The motion division determination unit 13, the linear interpolation insertion determination unit 14, the connection condition calculation unit 15, the control system influence consideration unit 16, the constraint condition sufficiency determination unit 18, the instruction generation unit 19, the instruction correction unit 20, the robot command determination unit 21, the first acceleration / deceleration determination unit 31, the second acceleration / deceleration determination unit 51, the acceleration / deceleration parameter correction unit 22, the first acceleration / deceleration determination unit 32, and the second acceleration / deceleration determination unit 52 can each be realized by a processing circuit. The processing circuit is the same processing circuit as the processing circuit 93.

[0172] The structure shown in the above embodiment is just an example, and it is possible to combine with other well-known technologies, and it is possible to combine the embodiments with each other. It is also possible to omit or change a part of the structure without departing from the scope of the subject matter.

[0173] Description of the label

[0174] 1, 1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H trajectory generating device, 2 maximum moving axis calculating unit, 3 initial passing point calculating unit, 4 interference area extracting unit, 5 non-maximum moving axis correcting unit, 6 passing point first correcting unit, 7 passing point second correcting unit, 8 acceleration / deceleration consideration correcting unit, 9 avoidance direction optimizing unit, 10 avoidance point optimizing unit, 11 avoidance direction avoidance point optimizing unit, 12 acceleration / deceleration time calculating unit, 13 action segmentation judging unit, 14 linear interpolation insertion judging unit, 15 connection condition calculating unit, 16 control system influence considering unit, 17 constraint condition storing unit, 18 constraint condition sufficiency judging unit, 19 instruction generating unit, 20 instruction correcting unit, 21 robot command determining unit, 22 acceleration / deceleration parameter correcting unit, 31, 32 first acceleration / deceleration determining unit, 51, 52 second acceleration / deceleration determining unit, 91 processor, 92 memory, 93 processing circuit.

Claims

1. A trajectory generating device, characterized in that: have: a maximum movement axis calculation unit that calculates a maximum movement axis, among the plurality of axes, for which a ratio of a movement distance to a maximum speed becomes the largest during a motion from a motion start point to a motion end point; an initial passing point calculation unit that generates a passing point when the plurality of axes move synchronously; an interference region extraction unit for extracting a section including a passing point interfering with surroundings among the plurality of passing points generated by the initial passing point calculation unit; as well as a non-maximum movement axis correction unit for generating a passing point for avoiding interference by correcting the position of an axis other than the maximum movement axis calculated by the maximum movement axis calculation unit, that is, a non-maximum movement axis, among the plurality of axes; The output of the non-maximum movement axis correction unit is set as the target trajectory.

2. The track generation device according to claim 1, characterized in that: The non-maximum movement axis correction unit has: A first passing point correction unit, which corrects the position of the non-maximum movement axis of the passing point in the interference area; and The second passing point correction unit corrects the position of the non-maximum movement axis before and after the interference area.

3. The track generation device according to claim 1 or 2, characterized in that: The non-maximum movement axis correction unit includes an acceleration / deceleration consideration correction unit that corrects the position of the non-maximum movement axis at a passing point by taking into account a limitation of acceleration or torque.

4. The track generation device according to any one of claims 1 to 3, characterized in that: The non-maximum movement axis correction unit includes an avoidance direction optimization unit that optimizes the direction of correcting the position of the non-maximum movement axis.

5. The track generation device according to claim 1, characterized in that: The non-maximum movement axis correction unit includes an avoidance point optimization unit for optimizing the avoidance point.

6. The track generation device according to claim 3, characterized in that: The non-maximum movement axis correction unit further includes an acceleration / deceleration time calculation unit that calculates the acceleration / deceleration time used by the acceleration / deceleration consideration correction unit when correcting the passing point when the speed of the non-maximum movement axis changes.

7. The track generation device according to any one of claims 1 to 6, characterized in that: The method further comprises an action segmentation determination unit for determining whether the action should be segmented. When the action division determination unit determines that the action should be divided, trajectories are generated for each of the generated plurality of actions, and the target trajectory is updated.

8. The track generation device according to any one of claims 1 to 7, characterized in that: The apparatus further comprises a linear interpolation determination unit for determining whether interference should be avoided by linear interpolation in which a control point of a control object moves on a straight line. When the linear interpolation determination unit determines that interference should be avoided by linear interpolation, an interference avoiding operation is performed by linear interpolation.

9. The track generation device according to any one of claims 1 to 8, characterized in that: The invention also includes a connection condition calculation unit, which calculates the positions of the start point and the end point of the interval in which the axes move synchronously, that is, the connection point, based on the designation of the direction and the magnitude of the target speed of at least one of the action start point and the action end point without interference, A track is generated based on the positions of the connection points calculated by the connection condition calculation unit.

10. The track generation device according to any one of claims 1 to 9, characterized in that: The control system also includes a control system influence consideration unit, which estimates the influence of the control system on the trajectory of the controlled object deviating from the target trajectory. Based on the output of the control system influence consideration unit, parameters related to obstacles inside the interference region extraction unit are changed.

11. The track generation device according to any one of claims 1 to 10, characterized in that: The non-maximum movement axis correction unit corrects the position of the non-maximum movement axis under the kinematic constraint condition based on the multi-joint robot.

12. The track generation device according to any one of claims 1 to 11, characterized in that: Also features: an instruction generating unit that generates an interpolation action for each control cycle of the robot based on the target trajectory; and A command correction unit corrects at least one of the acceleration / deceleration of the maximum moving axis, the acceleration / deceleration start time of the maximum moving axis, the acceleration / deceleration of the non-maximum moving axis, and the acceleration / deceleration start time of the non-maximum moving axis in the interpolation operation.

13. The track generation device according to any one of claims 1 to 12, characterized in that: It also has a robot command determination unit, which converts interpolation actions for greater than or equal to one passing point calculated by the initial passing point calculation unit and interpolation actions for greater than or equal to one passing point corresponding to the amount corrected by the non-maximum moving axis correction unit into robot commands.

14. The trajectory generating device according to claim 13, characterized in that: Also features: a first acceleration / deceleration determination unit configured to determine acceleration / deceleration parameters of the track determined by the initial passing point calculation unit; and a second acceleration / deceleration determination unit for determining acceleration / deceleration parameters of the trajectory corrected by the non-maximum movement axis correction unit, The first acceleration / deceleration determination unit sends the determined acceleration / deceleration parameters to the robot command determination unit. The second acceleration / deceleration determination unit sends the determined acceleration / deceleration parameters to the robot command determination unit.

15. The track generation device according to any one of claims 1 to 13, characterized in that: have: a first acceleration / deceleration determination unit configured to determine acceleration / deceleration parameters of the track determined by the initial passing point calculation unit; a second acceleration / deceleration determination unit for determining acceleration / deceleration parameters of the trajectory corrected by the non-maximum movement axis correction unit; as well as an acceleration / deceleration parameter correction unit for correcting the acceleration / deceleration parameter determined by the first acceleration / deceleration determination unit and the acceleration / deceleration parameter determined by the second acceleration / deceleration determination unit, The target trajectory is generated using the acceleration / deceleration parameters corrected by the acceleration / deceleration parameter correction unit.