Route generation method and route generation device

The route generation method addresses inefficiencies in existing robot route generation by detecting collisions and adjusting correction parameters, reducing the time needed to create collision-free paths in complex environments.

JP7560874B2Active Publication Date: 2024-10-03NAT UNIV CORP SHIZUOKA UNIV
View PDF 10 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing methods for generating robot routes require extensive time due to the complexity of environments and the need for environment modeling or manual teaching, which are inefficient and labor-intensive.

Method used

A route generation method that detects collisions, records collision position and reaction force direction information, and adjusts correction parameters to generate a reachable route with fewer iterations, utilizing pre-prepared modification parameters and database matching for different environments.

Benefits of technology

This method significantly reduces the time required to generate collision-free robot routes by iteratively adjusting correction parameters, allowing for efficient route generation across varying environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560874000005
    Figure 0007560874000005
  • Figure 0007560874000006
    Figure 0007560874000006
  • Figure 0007560874000007
    Figure 0007560874000007
Patent Text Reader

Abstract

To shorten time required for generating a route.SOLUTION: A route generation method includes a step S4 of detecting that an end effector 14 collides with an obstacle 200, a step S6 of recording a position of a failure point f and a correction vector m when the collision is detected, and steps S8 and S9 of correcting a route R so as to prevent the collision using the position of the failure point f, the correction vector m and a correction parameter β, and has a step S20 of generating a reachable route RP by repeating the step S4 and the steps S6, S8 and S9. The route generation method has a step S11 of adjusting the correction parameter β using the position of the failure point f and the correction vector m after generation of the reachable route RP so as to generate the reachable route RP with a repeat number smaller than a repeat number required for generating the reachable router RP in the step S20.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a route generation method and a route generation device. [Background technology]

[0002] In recent years, labor shortages at production sites have been increasing due to the decline in population. As one way to make up for the labor shortage, the introduction of production support robots has been considered. Patent documents 1 and 2 disclose technologies related to assembly robots. When a production support robot operates, there is a possibility that it will collide with obstacles around the robot. Therefore, it is necessary to control the robot so as to avoid collisions with obstacles. Patent documents 3 to 5 disclose technologies related to the control of such robots. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 8-174456 [Patent Document 2] Japanese Patent Application Publication No. 8-174460 [Patent Document 3] Japanese Patent Application Publication No. 8-314522 [Patent Document 4] JP 2004-148492 A [Patent Document 5] JP 2020-11328 A Summary of the Invention [Problem to be solved by the invention]

[0004] One technique for making a robot behave in a way that satisfies certain conditions is for humans to teach the robot the movement. This type of technique is called the teaching type. The teaching type is easy because it allows the robot to be taught the movement intuitively. However, as the number of trials required to generate a movement that satisfies the conditions increases, the time required for teaching also increases.

[0005] Another approach is to have the robot generate actions that satisfy certain conditions by itself. This type of approach is called autonomous. With autonomous approaches, actions can be generated automatically if an environmental model is set. However, the environments in which robots are used are complex. In other words, an environmental model is necessary to generate actions, but preparing an environmental model takes time.

[0006] An object of the present invention is to provide a route generation method and a route generation device that can shorten the time required to generate a route. [Means for solving the problem]

[0007] One form of the present invention is a path generation method for generating a reachable path along which a moving object can travel from a starting point to a final destination point without colliding with an obstacle, the method including: detecting that a moving object has collided with an obstacle; when a collision is detected, recording collision position information regarding the position where the collision occurred and reaction force direction information regarding the direction of the reaction force received by the moving object due to the collision; and correcting the path so as to avoid a collision by using the collision position information, the reaction force direction information, and a correction parameter indicating the amount by which a portion of the path is to be moved toward the direction of the reaction force. The method further includes a generation step of generating a reachable path by repeating the detection step, recording step, and correction step; and an adjustment step of, after the generation step, adjusting the correction parameter by using the collision position information and the reaction force direction information so that the reachable path is generated in fewer iterations than the number of iterations required to generate the reachable path in the generation step.

[0008] According to this method, the correction parameters are corrected each time a reachable path is generated, and as a result, the number of iterations required to generate a reachable path is reduced each time a reachable path is generated, thereby reducing the time required to generate the path.

[0009] In one embodiment, the step of correcting the path includes a step of reading out a correction parameter prepared in advance, and the correction parameter may be linked to a combination of path direction information derived from collision position information, which is a direction of the path at the collision position, and reaction force direction information, and stored in advance in a database. According to this step, even if the environments in which reachable paths are generated are different from each other, the adjusted correction parameter can be applied to generation of a reachable path in another environment.

[0010] In one embodiment, the step of reading out the modified parameters may include deriving a combination of the path direction information and the reaction force direction information using the collision position information and the reaction force direction information obtained as a result of the recording step, and matching the combination with a combination stored in the database to read out the modified parameters. With this step, the modified parameters that have been more suitably adjusted can be applied to generating a reachable path in another environment.

[0011] In one embodiment, the prepared modification parameter is an n-th modification parameter adjusted after generating the n-th reachable path in the n-th environment, and when generating the n+1-th reachable path in an n+1-th environment different from the n-th environment, the n-th modification parameter may be used and the n-th modification parameter may be adjusted after generating the n+1-th reachable path to obtain the n+1-th modification parameter. According to this method, the modification parameter can be adjusted every time a reachable path is generated.

[0012] The generating step may further include a determining step of determining whether or not it is necessary to add or delete control points that define the route, which allows a more suitable reachable route to be generated.

[0013] Another aspect of the present invention is a path generation device that generates a reachable path for a moving object to travel from a starting point to a final destination point without colliding with an obstacle. The path generation device includes an information acquisition unit that receives collision position information on a position where a collision occurs and reaction force direction information on a direction of a reaction force received by the moving object due to the collision, and at least one processor that generates a reachable path using the collision position information and the reaction force direction information. At least one processor includes an operation of detecting that a moving object has collided with an obstacle; when a collision is detected, an operation of recording collision position information regarding the position where the collision occurred and reaction force direction information regarding the direction of the reaction force received by the moving object due to the collision; and an operation of correcting the path so as to avoid a collision by using the collision position information, the reaction force direction information, and a correction parameter indicating the amount by which a portion of the path is to move toward the direction of the reaction force.The detection operation, recording operation, and correction operation are repeated to generate a reachable path, and after generating the reachable path, the correction parameter is adjusted by using the collision position information and the reaction force direction information so that the reachable path is generated in fewer iterations than the number of iterations required to generate the reachable path.

[0014] According to this device, the correction parameters are corrected each time a reachable path is generated, and as a result, the number of iterations required to generate a reachable path is reduced each time a reachable path is generated, thereby reducing the time required to generate the path. Effect of the Invention

[0015] According to the route generation method and route generation device of the present invention, it is possible to reduce the time required to generate a route. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a diagram showing a state in which a route generation device that executes a route generation method according to an embodiment is applied. [Diagram 2] FIG. 2 is a configuration diagram of a computer that realizes the path generation device. [Diagram 3]FIG. 3 is a diagram showing how a reachable route is generated from an initial route. [Figure 4] FIG. 4 is a diagram showing the concept of route correction. [Diagram 5] FIG. 5 is a flow diagram showing main steps of the route generation method according to the embodiment. [Figure 6] Fig. 6(a) is an enlarged view of the vicinity of the failure point showing the path direction and the reaction force direction, and Fig. 6(b) is a schematic view showing information recorded in the ROM. [Figure 7] FIG. 7 is a diagram illustrating functional blocks of the path generating device according to the embodiment. [Figure 8] FIG. 8 is an example of a graph showing the distribution of a cost function. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of a route generation method and a route generation device according to the present invention will be described in detail with reference to the drawings. In the description of the drawings, the same or corresponding parts are denoted by the same reference numerals, and duplicated description will be omitted.

[0018] 1 is an example of an application of a path generating device that executes a path generating method. The robot system 100 includes a manipulator 10 and a computer 20 (path generating device). The path generating device is realized by the computer 20 executing a predetermined program.

[0019] The manipulator 10 has a base 11, a plurality of links 12, a plurality of joints 13, and an end effector 14 (moving object). In the manipulator 10, the operation of the joint 13 is controlled by a control signal transmitted from a computer 20. As a result of the operation of the joint 13, the end effector 14 provided at the tip moves along a path R. In other words, the computer 20 controls the operation of the joint 13 so that the end effector 14 moves along the path R.

[0020] The joint 13 includes a motor 13a that generates a driving force. Furthermore, the joint 13 includes a rotary encoder 13b that outputs information about the rotation angle of the motor 13a. By processing the information output by the rotary encoder 13b, position information of the end effector 14 can be obtained. The end effector 14 includes a force sensor 14a. The force sensor 14a outputs information about the contact force received from the obstacle 200 when the end effector 14 collides with the obstacle 200. The information about the contact force may include the direction and magnitude of the contact force. In the following description, the position where the collision occurs is referred to as a "failure point f". In other words, the "failure point f" indicates a position based on a two-dimensional coordinate system or a three-dimensional coordinate system. Furthermore, information about the direction of the contact force is referred to as a "correction vector m". In other words, the "correction vector m" indicates the direction of the contact force based on a two-dimensional coordinate system or a three-dimensional coordinate system. In this embodiment, the "correction vector m" includes only directional information, and does not include magnitude information. In other words, the correction vector m can be said to be a unit vector.

[0021] The computer 20 is connected to the manipulator 10 so as to be able to transmit and receive signals to and from the manipulator 10. The connection configuration between the computer 20 and the manipulator 10 is not particularly limited. The computer 20 and the manipulator 10 may be connected by wire. The computer 20 and the manipulator 10 may be connected wirelessly. Furthermore, the computer 20 and the manipulator 10 may be connected via a communication line such as the Internet.

[0022] The configuration of the computer 20 is not particularly limited. The computer 20 may be configured as a single device. The computer 20 may be configured as a plurality of devices. The plurality of devices may be connected to each other via a wired or wireless network so that they can communicate with each other.

[0023] 2 is an example of a hardware configuration of the computer 20. The computer 20 is physically a computer including a processor 20a, a RAM (Random Access Memory) 20b or a ROM (Read Only Memory) 20c which is a recording medium, a communication module 20d, and an input / output module 20e, each of which is electrically connected. Note that the computer 20 may include a display, a keyboard, a mouse, a touch panel display, etc. as the input / output module 20e, or may include an information recording device such as a hard disk drive or a semiconductor memory.

[0024] The computer 20 transmits a control signal for operating the manipulator 10. The computer 20 also receives various information transmitted from the manipulator 10. The computer 20 generates a control signal using the received information and information prepared in advance. Specifically, the computer 20 generates a path R that allows the end effector 14 to reach the final target point PG from the starting point PS without colliding with an obstacle 200. The computer 20 includes several functional components that are realized by executing a program. These functional components will be described in detail later.

[0025] As shown in FIG. 3, the computer 20 sets an initial path RS from the starting point PS to the final target point PG. Then, the computer 20 moves the end effector 14 along the initial path RS. If the initial path RS includes a portion where it intersects with the obstacle 200 (failure points f1, f2), the end effector 14 collides with the obstacle 200. When the collision occurs, the computer 20 receives reaction force direction information from the force sensor 14a. Then, the computer 20 resets a new path R that avoids the collision using the received information. The computer 20 generates a reachable path RP that can be traveled from the starting point PS to the final target point PG without collision by repeating the operation of moving the end effector 14, the operation of receiving information from the force sensor 14a, and the operation of resetting the path R.

[0026] When a collision occurs, the computer 20 uses the failure point f, the correction vector m, and the correction parameter β to generate a new path that does not cause a collision. The failure point f and the correction vector m are as described above. FIG. 4 shows the concept of path correction at the failure point f. As shown in FIG. 4, when a collision occurs at the failure point f, the path may be moved in the direction of the correction vector m. As a result, a new path R that does not intersect with the obstacle 200 can be set. This correction vector m is information indicating only the direction, so it can be determined based on the information received from the force sensor 14a. In other words, the direction indicated by the correction vector m is the direction of the reaction force. However, it is not possible to uniquely determine how far the failure point f should be moved in the direction of the correction vector m. Therefore, the correction parameter β is introduced as an index indicating how far the failure point f should be moved in the direction of the correction vector m. When the value of the correction parameter β is large, the evacuation distance is large. When the value of the correction parameter β is small, the evacuation distance is small. Depending on the surrounding environment, a large correction parameter β may be desirable, but a correction parameter β that is too large may be a factor that generates a new failure point f. Therefore, setting a suitable correction parameter β is a heavy workload.

[0027] The correction parameter β may be determined by human instruction. However, setting the correction parameter β by human instruction increases the burden on the human. Therefore, the inventors of the present application have developed a method for adjusting the correction parameter β by utilizing the results of automatic route generation using a certain correction parameter β, thereby obtaining a more suitable adjusted correction parameter β. NEW By more suitable, we mean that the desired route can be set with fewer trials. In other words, the adjusted correction parameter β NEW By using this method, the desired route can be obtained with fewer attempts.

[0028] Hereinafter, a route generation method executed by the computer 20 will be described with reference to the flow diagram shown in FIG. 5. The route generation method includes an operation for automatically generating a route. Furthermore, the route generation method adjusts a modification parameter β using various values ​​obtained in the operation for automatically generating a route, and calculates the adjusted modification parameter β. NEW In the following description, the route R is set on a two-dimensional plane. However, the route generation method can be applied not only to the setting of the two-dimensional route R, but also to the setting of the route R in a three-dimensional space.

[0029] <Automatic route generation> The computer 20 sets an initial route RS (step S1). The initial route RS is defined by at least a starting point PS and a final target point PG. In addition to the starting point PS and the final target point PG, the initial route RS includes a control point Pa and a fixed via point Pn. The route R is configured by a combination of straight line portions and curved line portions. The route R is obtained by a parameter curve calculation such as spline interpolation of a defined group of points. The control point Pa is a point that defines these straight line portions and curved line portions. The route R can be corrected by, for example, changing the position of the control point Pa to move a part of the route R. On the other hand, the fixed via point Pn is a point that must be passed through while moving from the starting point PS to the final target point PG. Even if the route R is changed, the position of the fixed via point Pn is not changed. The fixed via point Pn may be set as necessary, and there may be a route R that does not include the fixed via point Pn. The initial route RS may be taught by a human being.

[0030] Next, the computer 20 starts a path correction operation (step S2). Then, the computer 20 starts a tracking control (step S3). The tracking control refers to a control for moving the end effector 14 along the path R. The computer 20 generates a control signal for driving the motor 13a of the manipulator 10 based on the information indicating the path R. Then, the computer 20 transmits the generated control signal to the manipulator 10.

[0031] In parallel with the tracking control, the computer 20 performs an operation to determine whether or not a collision has occurred (step S). When the computer 20 determines that no collision has occurred (step S4: NO), it determines whether or not the end effector 14 has reached the final target point PG (step S5). When the computer 20 determines that the end effector 14 has not reached the final target point PG (step S5: NO), it performs step S3 again. That is, the computer 20 repeats steps S3, S4, and S5 until either a collision of the end effector 14 or the end effector 14 reaches the final target point PG occurs. In this repetition, when it is determined that the end effector 14 has reached the final target point PG (step S5: YES), the computer 20 ends the path correction operation (step S10). Then, the computer 20 adjusts the correction parameter β (step S11). Details of step S11 will be described later.

[0032] The computer 20 determines that a collision has occurred when it receives information indicating a collision from the force sensor 14a provided in the end effector 14. For example, it may determine that a collision has occurred when a value indicating the magnitude of the contact force in the information received from the force sensor 14a is greater than a predetermined value. The computer 20 continues the tracking control (step S3) unless it determines that a collision has occurred (step S4: NO). When it determines that a collision has occurred (step S4: YES), the computer 20 performs an operation to reset the path R (steps S6, S7, S8, S9). At least steps S4, S6, S8, and S9 constitute step S20 of generating a path.

[0033] When the computer 20 determines that a collision has occurred (step S4: YES), it acquires the position of the failure point f and the direction of the correction vector m (step S6). The position of the failure point f may be calculated using information received from the rotary encoder 13b, for example. The direction of the correction vector m may be obtained using information received from the force sensor 14a.

[0034] The computer 20 judges whether or not a control point Pa needs to be added (step S7). The computer 20 may also judge whether or not the control point Pa can be deleted. For example, the computer 20 performs an evaluation (failure points f and corresponding correction vectors m) on each control point Pa, on which the control points Pa have an influence. Then, when the degree of discrepancy between the multiple evaluations is large, the computer 20 judges to add a new control point Pa. In other words, the computer 20 quantifies the difference between the correction vectors m of the multiple evaluations. Then, when the degree of difference between the quantified correction vectors m is large, the computer 20 judges to add a new control point Pa. For example, when the directions of the correction vectors m of multiple adjacent failure points f are significantly different (a predetermined amount or more) and it is difficult to avoid failure by moving only the existing control point Pa corresponding to the failure point f, the computer 20 judges that it is necessary to add a control point Pa.

[0035] The computer 20 evaluates and optimizes the route R (step S8). The route R may be evaluated using an objective function L1 shown in the following formula (1).

number

[0036] In formula (1), g1 is an evaluation function reflecting a correction instruction, g2 is a function evaluating the degree of deviation from the control point before correction, g3 is a function evaluating the length of the path R, and g4 is a function evaluating the closeness of adjacent control points Pa. α1, α2, α3, and α4 are weight parameters multiplied by g1, g2, g3, and g4, respectively. The set (F) of failure points f, which are collision information, the set (M) of correction vectors m, and the set (B) of correction parameters β are reflected in the evaluation function g1 shown in the first term. Note that FIG. 8 is an example of the distribution of the evaluation function g1. The closer to the obstacle 200, the higher the cost is set, and the farther from the obstacle 200, the lower the cost is set. Note that this cost distribution is an example, and may be set appropriately according to the state of the obstacle 200.

[0037] Then, as shown in equation (2), the control point sequence X B Calculate.

number

[0038] The computer 20 calculates a sequence of control points X B (Step S9). Then, the computer 20 treats the modified route R as a new reference route. Then, the computer 20 starts tracking control from the starting point PS (Step S3). The computer 20 repeats the operations of steps S3, S4, S6, S7, S8, and S9 in this order until a reachable route RP from the starting point PS to the final target point PG without collision is generated.

[0039] <Adjustment of correction parameter β> The computer 20 adjusts the modification parameter β using the value obtained in the generating step (step S11). As a result of adjusting the modification parameter β, the adjusted modification parameter β NEW Specifically, the set B0 of the correction parameters β used in the first environment is used to automatically generate the route R, and as a result, a set F of failure points f, a set M of correction vectors m, and a set X' of the final control points of the reachable route RP are obtained. Then, the adjusted correction parameters β are obtained by using the set F of failure points f, the set M of correction vectors m, and the set B0 of the correction parameters β. NEW The adjusted correction parameter β NEW The derivation of is to solve the minimization problem shown in equation (3). Specifically, we consider the set F of failure points f in N revisions and the set M of revision vectors m, which are the histories of 1 to k (=1, ...N F -1) k and set M k Using the adjusted correction parameter β NEW The control point set of this route is defined by the following formula (3): X B As a result of adjusting the set B of correction parameters β to satisfy ~X', the adjusted correction parameters βNEW is obtained.

number

number

[0040] <Application of modified parameters to automatic generation of paths in different environments> Incidentally, the above-mentioned automatic route generation is performed based on a given environment. However, the environment in which the route is automatically generated may be the same between the previous time and the current time, or it may not be the same. The route generation method of the present application can be effectively applied to cases where the environment is different. In other words, the route generation method of the present application uses an adjusted correction parameter β using the results of the automatic route generation performed up to that point. NEW By using this, it is possible to generate the target route R with fewer attempts. For example, assume that n attempts are required in the operation of automatically generating a route in a first environment. Next, assume that an automatic route is generated in a second environment different from the first environment. Here, assume that m attempts are required in automatically generating a route using the same modification parameter β as in the first environment without adjusting the modification parameter β described above. In contrast, assume that the above-mentioned adjustment of the modification parameter β is performed, and the adjusted modification parameter β different from that in the first environment is used. NEW Automatic route generation using this method can generate a route with fewer than m attempts.

[0041] Here, the adjusted correction parameter β NEW There is a technical challenge in how to apply this to automatic generation of routes in a second environment that is different from the first environment. This technical challenge can be solved by the following methods.

[0042] The first environment and the second environment are different overall. However, when comparing the microscopic environments at the time of the collision, they may be considered to be similar. This microscopic similarity may be determined by the direction of the path R relative to the collision point and the direction of the reaction force (direction of the correction vector). In other words, when the relationship between the direction of the path R and the direction of the correction vector m at the point where the collision occurs in the second environment is equivalent to the relationship between the direction of the path R and the direction of the correction vector m at the point where the collision occurs in the first environment, the correction parameter β corresponding to the collision point in the first environment can be applied as the correction parameter β corresponding to the collision point in the second environment.

[0043] For example, in the step S8 of performing the route evaluation and optimization, the computer 20 performs the following operations to obtain the adjusted correction parameter β obtained in the first environment described above. NEW can be applied to the automatic generation of the route R in the second environment.

[0044] As shown in FIG. 6(a), after determining that a collision has occurred, the computer 20 acquires information required to reset the path R. The information required to reset the path R includes information indicating the direction of the contact force (collision force direction information T) and information indicating the direction of the path R at the position where the collision has occurred (path direction information E). The collision force direction information T can be obtained from information received from the force sensor 14a. The collision force direction information T may be an angle φT based on the coordinate system CS that defines the path R. The information indicating the direction of the path R can be obtained from information indicating the position where the collision has occurred and information indicating the current path R. The information indicating the position where the collision has occurred can be calculated from information received from the rotary encoder 13b. Then, if the position where the collision has occurred is known, it is possible to know where on the path R the collision has occurred. As a result, the direction at the point on the path R where the collision has occurred can be known. The direction at the point on the path R may be a tangent at that point. The path direction information E may be an angle φE based on the coordinate system CS that defines the path R.

[0045] Next, the computer 20 obtains a correction parameter β using the collision force direction information T and the route direction information E. Specifically, as shown in FIG. 6(b), the ROM 20c of the computer 20 stores data D(1)-D(N) including combinations of collision force direction information T(n) and route direction information E(n) and correction parameters β(n) associated with the combinations as a database. The computer 20 matches the collision force direction information T and route direction information E obtained upon occurrence of a collision with the collision force direction information T and route direction information E stored in the ROM 20c. Next, the computer reads out the correction parameter β(n) associated with the combination of collision force direction information T(n) and route direction information (n) corresponding to the combination of collision force direction information T and route direction information E obtained upon occurrence of a collision.

[0046] In the above description, the adjusted correction parameter β is calculated using the result of generating the reachable route RP in the first environment. NEW Then, the adjusted correction parameter β NEW Then, the result of generating the reachable path RP in the second environment is used to adjust the correction parameter β NEW That is, the adjusted correction parameter β NEW may be updated each time a reachable route RP is generated. NEW may be the result of j adjustments made based on the results of j generation of reachable routes RP. As a result, the desired adjustment parameter β that allows the reachable route RP to be set in fewer iterations is NEW It is possible to approach

[0047] With reference to FIG. 7, the functional configuration of the computer 20 that executes the path generation method will be described. The computer 20 has a manipulator control unit 21, an information acquisition unit 22, a collision determination unit 23, a control point determination unit 24, a path optimization unit 25, a path update unit 26, a storage unit 27, a reach determination unit 28, and a correction parameter adjustment unit 29. Each functional unit of the computer 20 is realized by reading a program onto hardware such as the processor 20a and the RAM 20b, and operating the communication module 20d and the input / output module 20e under the control of the processor 20a, and reading and writing information in the RAM 20b. The processor 20a of the computer 20 executes the computer program to make the computer 20 function as each functional unit of FIG. 7, and sequentially executes processes corresponding to the path generation method. All of the various information required for the execution of this computer program and the various information generated by the execution of this computer program are stored in an internal memory such as the ROM 20c and the RAM 20b, or in a storage medium such as a hard disk drive.

[0048] The manipulator control unit 21 performs the operation shown in step S3. That is, the manipulator control unit 21 outputs a control signal to move the end effector 14 along the path R. The information acquisition unit 22 performs the operation shown in step S6. That is, the information acquisition unit 22 acquires the position of the failure point f and the direction of the reaction force (that is, the direction of the correction vector m). The collision determination unit 23 performs the operation shown in step S4. That is, the collision determination unit 23 determines the presence or absence of a collision.

[0049] The control point determination unit 24 performs the operation shown in step S7 (determination step). That is, the control point determination unit 24 determines whether or not it is necessary to add a control point Pa. The control point determination unit 24 may also determine whether or not it is possible to delete the control point Pa. The route optimization unit 25 performs the operation shown in step S8. That is, the route optimization unit 25 solves the optimization problem shown in equation (1). The route update unit 26 performs the operation shown in step S9. That is, the route update unit 26 updates the control point sequence X BModify the route R so that it satisfies.

[0050] The reach determination unit 28 performs the operation shown in step S5. That is, the reach determination unit 28 determines whether or not the end effector 14 has reached the final target point PG. The modified parameter adjustment unit 29 performs the operation shown in step S11. That is, the modified parameter adjustment unit 29 adjusts the modified parameter β using the value obtained by the operation of automatically generating the reachable path RP, and adjusts the adjusted modified parameter β NEW get.

[0051] <Action and effect> The path generation method generates a reachable path RP that allows the end effector 14 to travel from a starting point PS to a final target point PG without colliding with an obstacle 200. The path generation method includes a step S4 of detecting that the end effector 14 has collided with an obstacle 200, a step S6 of recording collision position information on the position where the collision occurred and reaction force direction information on the direction of the reaction force received by the end effector 14 due to the collision when the collision is detected, and steps S8 and S9 of correcting the path R so as not to cause a collision by using a correction vector m and a correction parameter β. The path generation method further includes a generation step S20 of repeating steps S4, S6 to S9 to generate the reachable path RP, and an adjustment step S11 of adjusting the correction parameter after step S20 by using the collision position information and the reaction force direction information so that the reachable path RP is generated in fewer iterations than the number of iterations required to generate the reachable path RP in step S20.

[0052] The computer 20 generates a reachable path RP along which the end effector 14 travels from the starting point PS to the final target point PG without colliding with the obstacle 200. The computer 20 includes an information acquisition unit 22 that receives collision position information on the position where the collision occurred and reaction force direction information on the direction of the reaction force received by the moving object due to the collision, and at least one processor 20a that generates the reachable path RP using the collision position information and the reaction force direction information. The processor 20a executes an operation of detecting that the end effector 14 has collided with the obstacle 200, an operation of recording the collision position information on the position where the collision occurred and the reaction force direction information on the direction of the reaction force received by the moving object due to the collision when the collision is detected, and an operation of correcting the path R so as not to cause a collision using a correction vector m and a correction parameter β. The processor 20a repeats these operations to generate a reachable route RP, and after the reachable route RP is generated, adjusts the correction parameter β using the collision position information and the reaction force direction information so that the reachable route RP is generated with fewer iterations than the number of iterations required to generate the reachable route RP, thereby obtaining the adjusted correction parameter β. NEW get.

[0053] According to the route generation method and route generation device, the correction parameter β is corrected every time a reachable route RP is generated. As a result, the number of iterations required to generate the reachable route RP is reduced every time a reachable route RP is generated, so that the time required to generate the reachable route RP can be shortened.

[0054] The present invention is not limited to the above-described embodiment, and the configurations of the above-described embodiment can be modified in various ways. [Explanation of symbols]

[0055] 10...manipulator, 11...base, 12...link, 13...joint, 13a...motor, 13b...rotary encoder, 14...end effector (moving object), 14a...force sensor, 20...computer (path generating device), 20a...processor, 21...manipulator control unit, 22...information acquisition unit, 23...collision determination unit, 24...control point determination unit, 25...path optimization unit, 26...path update unit, 27...storage unit, 28...reach determination unit, 29...correction parameter adjustment unit, 100...robot system, 200...obstacle, m...correction vector, β...correction parameter, β NEW … Adjusted correction parameters.

Claims

1. A route generation method for generating a reachable route for a moving object from a starting point to a final destination point without colliding with an obstacle, comprising: a step of detecting that the moving object has collided with an obstacle; a step of recording, when the collision is detected, collision position information relating to the position where the collision occurred and reaction force direction information relating to the direction of the reaction force received by the moving object due to the collision; and a step of correcting the path so as not to cause the collision, using the collision position information, the reaction force direction information, and a correction parameter indicating an amount by which a part of the path should be moved toward the reaction force direction, and a generating step of generating the reachable path by repeating the detecting step, the recording step, and the correcting step; and an adjustment step of adjusting the correction parameters after the generation step, using the collision position information and the reaction force direction information, so that the reachable path is generated in fewer iterations than the number of iterations required to generate the reachable path in the generation step.

2. The step of correcting the route includes a step of reading out the correction parameters prepared in advance, 2. The path generation method according to claim 1, wherein the correction parameter is linked to a combination of path direction information, which is a direction of the path at a position where the collision occurred, derived from the collision position information, and the reaction force direction information, and is stored in advance in a database.

3. 3. The path generation method according to claim 2, wherein in the step of reading out the correction parameters, a combination of the path direction information and the reaction force direction information is derived using the collision position information and the reaction force direction information obtained as a result of the recording step, and the correction parameters are read out by matching the combination with a combination stored in the database.

4. The route generation method according to any one of claims 1 to 3, wherein the previously prepared modification parameter is an nth modification parameter adjusted after generating the nth reachable route in the nth environment, and when generating the nth+1th reachable route in an n+1th environment different from the nth environment, the nth modification parameter is used, and after generating the nth+1th reachable route, the nth modification parameter is adjusted to obtain the nth+1th modification parameter.

5. 5. The route generation method according to claim 1, wherein the generating step further includes a determining step of determining whether or not a control point defining the route needs to be added or deleted.

6. A path generation device that generates a reachable path for a moving object to travel from a starting point to a final destination point without colliding with an obstacle, an information acquisition unit that receives collision position information regarding a position where the collision occurred and reaction force direction information regarding a direction of a reaction force received by the moving object due to the collision; at least one processor that utilizes the collision location information and the reaction force direction information to generate the reachable path; The at least one processor an operation of detecting that the moving object has collided with an obstacle; an operation of recording, when the collision is detected, the collision position information relating to the position where the collision occurred and the reaction force direction information relating to the direction of the reaction force received by the moving object due to the collision; and an operation of correcting the path so as not to cause the collision by using the collision position information, the reaction force direction information, and a correction parameter indicating an amount by which a part of the path should be moved toward the reaction force direction, the operation of detecting, recording, and correcting the path so as not to cause the collision, the operation of detecting, recording, and correcting the path so as not to cause the collision, a path generation device that, after generating the reachable path, adjusts the correction parameters using the collision position information and the reaction force direction information so that the reachable path is generated in fewer iterations than the number of iterations required to generate the reachable path.

Citation Information

Patent Citations

  • Control device for robot

    JP1994023682A

  • Method and device for automatically forming correcting table for assembling robot

    JP1996174456A

  • Method and device for automatically installing work by assembling robot

    JP1996174460A

  • Work learning device for robot

    JP1996314522A

  • Control device of industrial robot

    JP2003136466A