Information processing method, information processing device, and information processing program
The information processing method optimizes multiple evaluation indicators for robot motion by calculating and displaying optimal solutions on a coordinate axis plane, assisting users in selecting a balance between task performance and safety, thus enhancing robot operation.
Patent Information
- Application Number
- PCT/JP2024/003911
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-11
- Filing Date
- 2024-02-06
- Publication Date
- 2024-09-06
AI Technical Summary
Conventional techniques are unable to optimize multiple evaluation indexes for robot motion, making it difficult to select an optimal solution among various options, particularly in balancing task performance and safety evaluation indices.
An information processing method that calculates multiple optimal solutions for two or more evaluation indicators by adjusting robot parameters, displaying these solutions on a coordinate axis plane or space, and providing reference information based on the robot's motion history to assist users in selecting the best option.
Enables the optimization of multiple evaluation indicators, allowing users to effectively choose an optimal solution that balances task performance and safety, improving robot operation efficiency and safety.
Smart Images

Figure JP2024003911_06092024_PF_FP
Abstract
Description
Information processing method, information processing device, and information processing program
[0001] The present disclosure relates to a technique for calculating multiple optimal solutions for two or more evaluation indexes for evaluating the operation of a robot and presenting the calculated multiple optimal solutions.
[0002] For example, the method disclosed in Patent Document 1 includes the steps of receiving trajectory information that defines the trajectory of a target motion of a robot, acquiring values of evaluation indexes of control results when the robot executes the target motion using one or more initial parameter sets in response to an instruction to adjust a parameter set for controlling the target motion, displaying one or more reference displays based on the acquired values of the evaluation indexes on a display unit, and receiving input of condition information for the evaluation indexes that defines conditions for the parameter set optimization process, performing the parameter set optimization process in accordance with the condition information, and determining values of a new parameter set.
[0003] However, while the above-mentioned conventional techniques disclose the optimization of a single evaluation index, they do not take into consideration the optimization of two or more evaluation indexes, making it difficult to assist a user in selecting one optimal solution from multiple optimal solutions, and further improvement is needed.
[0004] Japanese Patent Application Laid-Open No. 2022-70451
[0005] The present disclosure has been made to solve the above problems, and aims to provide a technology that can optimize two or more evaluation indicators and assist a user in selecting one optimal solution from multiple optimal solutions.
[0006] The information processing method according to the present disclosure is an information processing method executed by a computer, and includes: acquiring trajectory information relating to a trajectory of a robot's movement; calculating a plurality of optimal solutions for the two or more evaluation indexes by adjusting parameters of the robot based on the trajectory information to optimize two or more evaluation indexes for evaluating the movement of the robot; outputting a solution display image depicting the calculated plurality of optimal solutions on a plane or in space with the two or more evaluation indexes as coordinate axes; acquiring at least one optimal solution selected by a user from the plurality of optimal solutions displayed in the solution display image; and outputting reference information based on a history of the movement of the robot corresponding to the acquired at least one optimal solution.
[0007] According to the present disclosure, two or more evaluation indicators can be optimized, and a user can be assisted in selecting one optimal solution from among multiple optimal solutions.
[0008] 1 is a diagram illustrating a configuration of a teaching support system according to the present embodiment. FIG. 2 is a flowchart for illustrating teaching support processing by an information processing device according to the embodiment of the present disclosure. FIG. 3 is a diagram illustrating an example of a display screen for accepting input of two or more evaluation indexes and displaying a plurality of optimal solutions according to the present embodiment. FIG. 4 is a flowchart for illustrating division processing in step S4 of FIG. 2. FIG. 5 is a diagram illustrating an example of a reference information display screen displayed on a display unit according to the present embodiment. FIG. 6 is a diagram illustrating an example of a reference information display screen displayed on a display unit according to a first modification of the present embodiment. FIG. 7 is a diagram illustrating an example of a reference information display screen displayed on a display unit according to a sixth modification of the present embodiment. FIG. 8 is a diagram illustrating an example of a reference information display screen displayed on a display unit according to a seventh modification of the present embodiment. FIG. 9 is a diagram illustrating a comparison result of learning curves showing growth in area of Pareto optimal solutions in a wipe operation. FIG. 10 is a diagram illustrating a comparison result of learning curves showing growth in area of Pareto optimal solutions in a door-open operation. FIG. 10 is a diagram showing the results of a comparison between the area of the Pareto-optimal solutions when prior knowledge is used and the area of the Pareto-optimal solutions when prior knowledge is not used in the IC-SLD method, the GMM method, and the SLD method.
[0009] (Findings underlying the present disclosure) Robot control based on recording and playback of instructions is a technology widely adopted in industry due to its intuitiveness and ease of implementation in embedded systems. Position control is generally used for playback of instructions, but unexpected contact can cause damage to the robot or its surroundings. Therefore, in order to achieve safe operation that accomplishes a desired task, it is essential to introduce impedance control with appropriately designed stiffness parameters. Stiffness parameters affect both the safety of the operation and the reproducibility of the trajectory, and there is a trade-off between these two. Therefore, the problem of determining stiffness parameters requires simultaneous optimization of the evaluation index for task performance and the evaluation index for safety.
[0010] However, while the above-mentioned conventional techniques disclose the optimization of a single evaluation index, they do not take into consideration the optimization of two or more evaluation indexes, making it difficult to assist a user in selecting one optimal solution from among multiple optimal solutions.
[0011] In order to solve the above problems, the following techniques are disclosed.
[0012] (1) An information processing method according to one aspect of the present disclosure is an information processing method executed by a computer, including: acquiring trajectory information regarding a trajectory of a robot's movement; calculating multiple optimal solutions for the two or more evaluation indexes by adjusting parameters of the robot that optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; outputting a solution display image in which the calculated multiple optimal solutions are depicted on a plane or in space with the two or more evaluation indexes as coordinate axes; acquiring at least one optimal solution selected by a user from the multiple optimal solutions displayed in the solution display image; and outputting reference information based on a history of the robot's movement corresponding to the acquired at least one optimal solution.
[0013] According to this configuration, two or more evaluation indexes can be optimized, and multiple optimal solutions for the two or more evaluation indexes can be calculated. Furthermore, reference information based on the history of the robot's operations corresponding to at least one optimal solution selected by the user from the multiple optimal solutions is presented to the user, thereby assisting the user in selecting one optimal solution from the multiple optimal solutions.
[0014] (2) The information processing method described in (1) above may further include receiving input of the two or more evaluation indexes from the user.
[0015] According to this configuration, input of two or more evaluation indices by the user can be accepted, so that two or more evaluation indices desired by the user can be optimized, and multiple optimal solutions for two or more evaluation indices can be calculated.
[0016] (3) In the information processing method described in (1) or (2) above, calculating the multiple optimal solutions may include dividing the robot's movement into multiple segments and optimizing the two or more evaluation indexes by repeatedly searching for the optimal parameters for each segment using multi-objective Bayesian optimization.
[0017] According to this configuration, the robot's movements are divided into multiple segments, and two or more evaluation indices are optimized by repeatedly searching for optimal parameters for each segment using multi-objective Bayesian optimization, so that two or more evaluation indices can be optimized.
[0018] (4) In the information processing method described in (3) above, the motion may be represented by a plurality of combinations of equations of motion for impedance control, the parameters may include stiffness parameters for the impedance control, and the division of the motion may include estimating the stiffness parameters in each equation of motion and the switching times of each equation of motion so as to minimize the error between the predicted trajectory and the taught trajectory in each equation of motion.
[0019] According to this configuration, the motion can be divided into a plurality of segments based on the switching time of each equation of motion, and the optimum stiffness parameters for each of the plurality of segments can be calculated based on the stiffness parameters in each equation of motion.
[0020] (5) In the information processing method described in (4) above, optimizing the two or more evaluation indexes may include weighting an acquisition function in the multi-objective Bayesian optimization by the estimated stiffness parameters, and repeatedly searching for the optimal stiffness parameters for each segment using the acquisition function.
[0021] According to this configuration, the stiffness parameters estimated in advance are used in the multi-objective Bayesian optimization, thereby improving the efficiency of the optimization process.
[0022] (6) In the information processing method described in any one of (1) to (5) above, the reference information may include at least one time-series data of the trajectory corresponding to the at least one optimal solution.
[0023] According to this configuration, the user can check at least one time series data of a trajectory corresponding to at least one optimal solution, and the configuration can assist the user in selecting one optimal solution from multiple optimal solutions.
[0024] (7) In the information processing method described in (6) above, when two or more optimal solutions are selected from the plurality of optimal solutions, two or more time series data corresponding to the two or more optimal solutions may be displayed superimposed or side-by-side.
[0025] According to this configuration, the user can easily compare two or more time-series data corresponding to two or more optimal solutions, respectively, and the user can be further assisted in selecting one optimal solution from among the multiple optimal solutions.
[0026] (8) In the information processing method described in (6) above, the at least one time series data corresponding to the at least one optimal solution and the time series data of the trajectory of the robot's intended movement may be displayed superimposed or side by side.
[0027] According to this configuration, the user can easily compare at least one time series data corresponding to at least one optimal solution with the time series data of the trajectory of the robot's intended movement, which can further assist the user in selecting one optimal solution from multiple optimal solutions.
[0028] (9) In the information processing method described in (6) above, the at least one time series data corresponding to the at least one optimal solution and the time series data of at least one parameter that changes depending on the operation corresponding to the at least one optimal solution may be displayed superimposed or side by side.
[0029] According to this configuration, the user can check not only at least one time series data corresponding to at least one optimal solution, but also time series data of at least one parameter that changes depending on the operation corresponding to the at least one optimal solution, which can further assist the user in selecting one optimal solution from multiple optimal solutions.
[0030] (10) In the information processing method described in any one of (1) to (5) above, the reference information may include at least one video recording of the action corresponding to the at least one optimal solution.
[0031] According to this configuration, the user can check at least one video image that records an action corresponding to at least one optimal solution, and the configuration can assist the user in selecting one optimal solution from multiple optimal solutions.
[0032] (11) In the information processing method described in (10) above, when two or more optimal solutions are selected from the plurality of optimal solutions, two or more moving images corresponding to the two or more optimal solutions may be displayed superimposed or side by side.
[0033] According to this configuration, when two or more optimum solutions are selected from the plurality of optimum solutions, two or more moving images corresponding to the two or more optimum solutions are displayed in a superimposed or side-by-side manner.
[0034] Therefore, the user can easily compare two or more videos corresponding to two or more optimal solutions, which can further assist the user in selecting one optimal solution from the multiple optimal solutions.
[0035] (12) In the information processing method described in (10) above, the at least one video corresponding to the at least one optimal solution and a video recording of the robot's intended movement may be displayed superimposed or side by side.
[0036] According to this configuration, the user can easily compare at least one video corresponding to at least one optimal solution with a video recording of the robot's intended movement, further assisting the user in selecting one optimal solution from multiple optimal solutions.
[0037] (13) In the information processing method described in (10) above, the at least one moving image corresponding to the at least one optimal solution and time series data of at least one parameter that changes depending on the action corresponding to the at least one optimal solution may be displayed side by side.
[0038] According to this configuration, the user can view not only at least one video image corresponding to at least one optimal solution, but also time series data of at least one parameter that changes in response to the action corresponding to at least one optimal solution, which can further assist the user in selecting one optimal solution from multiple optimal solutions.
[0039] (14) In the information processing method according to any one of (1) to (13) above, the two or more evaluation indexes may include an evaluation index for task performance and an evaluation index for safety.
[0040] This configuration makes it possible to optimize the evaluation index of task performance and the evaluation index of safety, which are in a trade-off relationship.
[0041] Furthermore, the present disclosure can be realized not only as an information processing method that executes the characteristic processes described above, but also as an information processing device having a characteristic configuration corresponding to the characteristic processes executed by the information processing method. Furthermore, the present disclosure can also be realized as a computer program that causes a computer to execute the characteristic processes included in such an information processing method. Therefore, the same effects as those of the above information processing method can also be achieved in the following other aspects.
[0042] (15) An information processing device according to another aspect of the present disclosure includes a trajectory information acquisition unit that acquires trajectory information regarding a trajectory of a robot's movement; a calculation unit that calculates multiple optimal solutions for the two or more evaluation indexes by adjusting parameters of the robot that optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; a first output unit that outputs a solution display image in which the multiple calculated optimal solutions are depicted on a plane or in space with the two or more evaluation indexes as coordinate axes; an optimal solution acquisition unit that acquires at least one optimal solution selected by a user from the multiple optimal solutions displayed in the solution display image; and a second output unit that outputs reference information based on a history of the robot's movement corresponding to the at least one acquired optimal solution.
[0043] (16) An information processing program according to another aspect of the present disclosure causes a computer to function in the following manner: acquire trajectory information regarding a trajectory of a robot's movement; calculate multiple optimal solutions for the two or more evaluation indexes by adjusting the robot's parameters to optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; output a solution display image depicting the multiple calculated optimal solutions on a plane or in space with the two or more evaluation indexes as coordinate axes; acquire at least one optimal solution selected by a user from the multiple optimal solutions displayed in the solution display image; and output reference information based on the history of the robot's movement corresponding to the at least one acquired optimal solution.
[0044] (17) A non-transitory computer-readable recording medium according to another aspect of the present disclosure records an information processing program, and the information processing program causes a computer to: acquire trajectory information regarding a trajectory of a robot's movement; calculate multiple optimal solutions for the two or more evaluation indexes by adjusting the robot's parameters to optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; output a solution display image depicting the multiple calculated optimal solutions on a plane or in space with the two or more evaluation indexes as coordinate axes; acquire at least one optimal solution selected by a user from the multiple optimal solutions displayed in the solution display image; and output reference information based on the history of the robot's movement corresponding to the at least one acquired optimal solution.
[0045] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. Note that each of the embodiments described below represents a specific example of the present disclosure. The numerical values, shapes, components, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in the independent claims that represent the highest concept are described as optional components. Furthermore, in all embodiments, the respective contents can be combined.
[0046] (Embodiment) FIG. 1 is a diagram showing the configuration of a teaching support system according to this embodiment.
[0047] The teaching support system shown in FIG. 1 includes an information processing device 1, a robot 2, a display unit 3, and an input unit 4.
[0048] The robot 2 executes a predetermined action. The predetermined action includes, for example, an action that may cause contact between the robot 2 and a person or an object. The person teaches the robot 2 the predetermined action.
[0049] The robot 2 includes a main body, an arm attached to the main body, and an end effector attached to the tip of the arm. The robot 2 is a general-purpose robot that can perform various tasks by being taught the tasks. More specifically, the robot 2 is a single-arm robot that is used by attaching various end effectors to the arm. For example, the robot 2 is a six-axis robot, and the arm includes six link members and six joints. The main body and the six link members are connected by the six joints.
[0050] An end effector is attached to a link member located at the tip of the arm. By driving the six-axis arm, the robot 2 can move the end effector to any position and give it any posture. The end effector changes depending on the operation of the robot 2. For example, when the robot 2 performs an operation to open a door, the end effector is a member that grasps an object. Also, when the robot 2 performs an operation to wipe the top of a table, the end effector is a member such as a sponge or cloth.
[0051] An acceleration sensor is attached to the link member located at the tip of the arm along with the end effector. The acceleration sensor can acquire information on acceleration in three mutually perpendicular axis directions and angular velocity around each axis. Based on this information, the robot 2 recognizes the inclination of the end effector, its movement speed including its speed and direction, and its current position.
[0052] The robot 2 outputs trajectory information relating to the trajectory of the movement of the robot 2 to the information processing device 1. The robot 2 outputs trajectory information relating to the trajectory of the movement taught to the robot 2 by a person to the information processing device 1. The trajectory information represents, for example, time-series data of the coordinates in three-dimensional space of an end effector attached to the tip of the arm of the robot 2.
[0053] The robot 2 is connected to the information processing device 1 via a wired or wireless connection so that they can communicate with each other. Note that the robot 2 may also be connected to the information processing device 1 so that they can communicate with each other via a network. The network may be a local area network or a wide area network.
[0054] The display unit 3 is, for example, a liquid crystal display device, and displays information output from the information processing device 1. The display unit 3 is connected to the information processing device 1 via a wired or wireless connection so that they can communicate with each other. Note that the display unit 3 may also be connected to the information processing device 1 so that they can communicate with each other via a network. The network may be a local area network or a wide area network.
[0055] The input unit 4 is, for example, a keyboard, a mouse, or a touch panel, and accepts information input by a user. The input unit 4 is connected to the information processing device 1 via a wired or wireless connection so that they can communicate with each other. The input unit 4 may also be connected to the information processing device 1 via a network so that they can communicate with each other. The network may be a local area network or a wide area network.
[0056] The information processing device 1 includes a processor 11 and a memory 12. The information processing device 1 is, for example, a personal computer, a tablet computer, or a server.
[0057] The processor 11 is, for example, a central processing unit (CPU). The processor 11 implements a trajectory information acquisition unit 111, an evaluation index acquisition unit 112, an optimal solution calculation unit 113, an optimal solution display control unit 114, an optimal solution acquisition unit 115, and a reference information display control unit 116.
[0058] The memory 12 is a storage device capable of storing various types of information, such as a random access memory (RAM), a hard disk drive (HDD), a solid state drive (SSD), or a flash memory. The memory 12 stores various types of information.
[0059] The memory 12 stores the trajectory information output by the robot 2. The memory 12 stores a plurality of pieces of trajectory information corresponding to a plurality of movements of the robot 2.
[0060] The memory 12 may store moving images of the robot 2, along with trajectory information relating to the trajectory of the robot 2's movement. The moving images are acquired from a camera that captures the robot 2's movement.
[0061] The trajectory information acquisition unit 111 acquires trajectory information relating to the trajectory of the movement of the robot 2. The trajectory information acquisition unit 111 reads the trajectory information from the memory 12.
[0062] In this embodiment, the trajectory information acquisition unit 111 acquires trajectory information created by a person actually teaching the robot 2 an action, but the present disclosure is not limited to this. In a case where a person does not teach the robot 2 an action, but the action to be taught to the robot 2 is simulated by computer graphics in a virtual three-dimensional space, the trajectory information acquisition unit 111 may acquire trajectory information created by the simulation.
[0063] The input unit 4 accepts input by the user of two or more evaluation indexes for evaluating the behavior of the robot 2. The display unit 3 displays a screen for accepting input of two or more evaluation indexes by the user. The user inputs two or more evaluation indexes on the displayed screen. The input unit 4 outputs the two or more evaluation indexes input by the user to the information processing device 1.
[0064] The evaluation index acquisition unit 112 acquires, from the input unit 4, two or more evaluation indexes input by the user.
[0065] The optimal solution calculation unit 113 calculates multiple optimal solutions for two or more evaluation indexes by adjusting parameters of the robot 2 that optimize two or more evaluation indexes for evaluating the behavior of the robot 2, based on the trajectory information acquired by the trajectory information acquisition unit 111. The parameters are parameters for controlling the robot 2.
[0066] The optimal solution calculation unit 113 includes an action division unit 1131 and an optimization unit 1132 .
[0067] The motion dividing unit 1131 divides the motion of the robot 2 into multiple segments. The motion is expressed by multiple combinations of equations of motion for impedance control. The parameters include stiffness parameters for impedance control. The motion dividing unit 1131 estimates the stiffness parameters in each equation of motion and the switching times (division times) for each equation of motion so as to minimize the error between the predicted trajectory and the taught trajectory for each equation of motion.
[0068] For example, if the motion of the robot 2 is to open a door, the motion dividing unit 1131 divides the motion into a first segment in which the end effector approaches the door handle, a second segment in which the end effector grabs and turns the door handle, and a third segment in which the end effector opens the door. Also, for example, if the motion of the robot 2 is to wipe the top of a table, the motion dividing unit 1131 divides the motion into a first segment in which the end effector approaches the top of the table, a second segment in which the end effector comes into contact with and stops on the top of the table, a third segment in which the end effector wipes the top of the table, and a fourth segment in which the end effector moves away from the top of the table.
[0069] Here, the division process by the action division unit 1131 will be described in more detail.
[0070] In impedance control, the robot 2 operates in accordance with the equation of motion of a virtual spring, mass, and damper system, given by the following equation (1).
[0071]
[0072] where x∈R 6 represents the position and orientation of the end effector in the task space, and x d ∈R 6 represents the attractor, and F∈R 6 indicates the external force acting on the end effector. 6*6 is the inertia matrix, and D∈R 6*6 is the damping matrix, and K∈R 6*6is the stiffness matrix. The stiffness K allows the robot to flexibly respond to unexpected external forces F while maintaining the attractor x d To make the system adaptive, the stiffness K should be as low as possible.
[0073] The motion division unit 1131 divides a task into multiple segments and assigns a constant stiffness parameter to each segment, thereby reducing the number of input dimensions for Bayesian optimization. Conventionally, such division processing has been performed manually, by clustering using a Gaussian Mixture Model (GMM), or by system identification based on Switching Linear Dynamics (SLD). In contrast, in this embodiment, a division processing technology called IC-SLD (Impedance Control Aware Switching Linear Dynamics) is newly introduced, which realizes division suitable for impedance control. SLD is suitable for setting a constant parameter to each segment (or switching stiffness control). In IC-SLD, the impedance model of Equation (1) is incorporated in advance to formulate the SLD identification problem. This impedance control-aware formulation is expected to identify suitable segments for switching stiffness control to be performed during subsequent optimization.
[0074] In IC-SLD, the above equation of motion is expressed by the dynamics described below. At this time, it is assumed that the trajectory follows the stochastic linear dynamics of the following equation (2).
[0075]
[0076] In the above equation (2), the state vector x t is defined by the following equation (3), and the action vector u t is defined by the following equation (4): t is the residual from the attractor.
[0077]
[0078] Also, p(x t+1|·) is a linear Gaussian model expressed by the following equation (5).
[0079]
[0080] s t ∈{1, 2, ..., M} is a hidden variable that indicates the mode of dynamics, and M corresponds to the number of divisions. j , B j , and Σ j are the parameters of the linear dynamics, and the hidden variables s t In impedance control, A j and B j By discretizing equation (1) using the Euler method, the following equations (6) and (7) are obtained.
[0081]
[0082] Here, the damping D is generally a value proportional to the square root of the stiffness K. Therefore, the damping D is D = 2K 1/2 In equations (6) and (7), Δt represents the sampling period, I represents the identity matrix, and O represents the zero matrix.
[0083] A j is called the state matrix, and B j is called an input matrix or a control matrix. j and B j is a matrix obtained by discretizing the equation of motion (mass, spring, and damper system) in impedance control with a time width of Δt by Euler's method.
[0084] IC-SLD is a teaching trajectory x 1:T Whereas, the dynamics parameter A j , B j , and Σ j and the hidden variable s tThis can be achieved by optimizing the objective functions shown in the following equations (8), (9), and (10) using the Expectation Maximization (EM) algorithm.
[0085]
[0086] The Expectation Maximization (EM) algorithm numerically solves an optimization problem by repeating the E-step and the M-step until convergence is achieved. Here, the E-step is a step for estimating the W j t The M step is calculated using a fixed W j t The dynamics parameter θ is updated by maximizing the equation (6) using the EM algorithm. j , B j , and Σ j ) and hidden state S (hidden variables s t ) is inferred.
[0087] The optimization unit 1132 optimizes two or more evaluation indexes by repeatedly searching for optimal parameters for each segment using multi-objective Bayesian optimization. The optimization unit 1132 weights the acquisition function in the multi-objective Bayesian optimization by the estimated stiffness parameters, and repeatedly searches for optimal stiffness parameters for each segment using the acquisition function.
[0088] Here, the optimization process performed by the optimization unit 1132 will be described in more detail.
[0089] In the multi-objective optimization of this embodiment, two objective functions are optimized. Generally, these objective functions are in a trade-off relationship. Bayesian optimization is performed by optimizing the acquisition function α(θ; D n Optimization is performed by repeatedly searching for solution candidates suggested by
[0090]
[0091] where n is the number of repetitions, D nis the history of past evaluation results. In multi-objective optimization, there are multiple optimal solutions (Pareto optimal solutions) that represent the best trade-off. The acquisition function α(θ;D n ) is expressed by the following equation (12). The set of Pareto optimal solutions observed up to the number of iterations n is defined as Y * 1:n In multi-objective Bayesian optimization, Y n 1:n Hypervolume indicator I H (Y * 1:n The acquisition function is defined so that ) is improved.
[0092]
[0093] I H (Y * 1:n ) represents the area of the region formed by the Pareto optimal solution. In conventional Bayesian optimization, prior knowledge could not be incorporated other than by narrowing the search space. However, this method of providing prior knowledge may miss important regions and result in the failure to obtain the optimal solution. Therefore, the recently proposed π-BO proposes introducing prior knowledge into the acquisition function in the form of a probability distribution π(θ). The acquisition function α(θ;D) that incorporates prior knowledge is n ) is expressed by the following formula (13).
[0094]
[0095] where β∈R + is a hyperparameter that reflects the reliability of π(θ). In the early stages of optimization, the acquisition function gives a large weight to the prior distribution, but as n increases, the exponent of the prior distribution gradually decays, and α π asymptotic to α.
[0096] The motion division unit 1131 divides the motion trajectory into M segments and calculates the stiffness parameter K j The optimization unit 1132 uses the stiffness parameter θ of each segment estimated by the motion division unit 1131 as prior knowledge.
[0097] In this embodiment, the optimization unit 1132 optimizes a task performance evaluation index that evaluates the degree of task achievement and a safety evaluation index that indicates the safety of impedance control by multi-objective Bayesian optimization. This multi-objective optimization problem is formulated as shown in the following equation (14).
[0098]
[0099] In formula (14), J T (θ|S) is the objective function of the evaluation index of task performance, and J C (θ|S) is the objective function of the safety evaluation index, where θ is the stiffness parameter K j The set of (θ = {K j} M j=1 ), and S is the hidden variable s t Set (division result) (S = {s t = j} T t=1 )
[0100] Task performance objective function J T (θ|S) is defined by a reward function, etc. The objective function J of task performance T (θ|S) is expressed by the following equation (15).
[0101]
[0102] In equation (15), R is the number of states x t is a task-specific reward function for evaluating K s1:T is governed by.
[0103] In addition, the safety objective function J C (θ|S) is defined as the time integral of the stiffness parameter. C (θ|S) is expressed by the following equation (16).
[0104]
[0105] The objective function shown in equation (16) sums up the stiffness parameters at each time step (each segment). The objective function J for task performance is T (θ|S) and the safety objective function JC (θ|S) is strongly influenced by the set S.
[0106] In this embodiment, the optimization unit 1132 utilizes stiffness parameters included in the dynamics parameters identified by IC-SLD as prior knowledge. The optimization unit 1132 takes in the set S of segments determined by the motion division unit 1131 and performs multi-objective optimization of equation (14) in the actual environment using a cutting-edge Bayesian optimization method.
[0107] The optimal solution display control unit 114 outputs a solution display image in which the multiple optimal solutions calculated by the optimal solution calculation unit 113 are depicted on a plane or in space with two or more evaluation indexes as coordinate axes. The optimal solution display control unit 114 creates a solution display image and outputs the created solution display image to the display unit 3.
[0108] The display unit 3 displays the solution display image output by the optimal solution display control unit 114. The input unit 4 accepts a user's selection of at least one optimal solution from among the multiple optimal solutions displayed in the solution display image. The user selects at least one optimal solution from among the multiple optimal solutions displayed in the solution display image. The input unit 4 outputs the at least one optimal solution selected by the user to the information processing device 1.
[0109] The optimum solution acquisition unit 115 acquires, from the input unit 4, at least one optimum solution selected by the user from among the plurality of optimum solutions displayed in the solution display image.
[0110] The reference information display control unit 116 outputs reference information based on the history of the operation of the robot 2 corresponding to at least one optimal solution acquired by the optimal solution acquisition unit 115. The reference information display control unit 116 creates a reference information display screen for presenting the reference information, and outputs the created reference information display screen to the display unit 3. The reference information includes time-series data of a trajectory corresponding to at least one optimal solution.
[0111] The display unit 3 displays the reference information output by the reference information display control unit 116. The display unit 3 displays a reference information display screen for presenting the reference information.
[0112] Next, a teaching assistance process performed by the information processing device 1 according to the embodiment of the present disclosure will be described.
[0113] FIG. 2 is a flowchart for explaining the teaching assistance process by the information processing device 1 according to the embodiment of the present disclosure.
[0114] First, in step S1 , the trajectory information acquisition unit 111 acquires trajectory information relating to the trajectory of the movement of the robot 2 .
[0115] Next, in step S2, the input unit 4 accepts input by the user of two or more evaluation indexes for evaluating the behavior of the robot 2. The user selects two evaluation indexes from the plurality of evaluation indexes.
[0116] Next, in step S3, the evaluation index acquisition unit 112 acquires two or more evaluation indexes input by the user from the input unit 4. The evaluation index acquisition unit 112 acquires two evaluation indexes from the input unit 4.
[0117] FIG. 3 is a diagram showing an example of a display screen for accepting input of two or more evaluation indexes and displaying a plurality of optimal solutions in this embodiment.
[0118] The display unit 3 receives input of two or more evaluation indexes and displays a display screen for displaying a plurality of optimal solutions. The display screen shown in FIG. 3 includes an evaluation index selection area 31 and an optimal solution display area 32.
[0119] The evaluation index selection area 31 displays a drop-down list showing multiple selectable evaluation indexes and accepts the user's selection of two evaluation indexes. The user selects two desired evaluation indexes from the drop-down list displayed in the evaluation index selection area 31. The input unit 4 accepts input of an evaluation index corresponding to the X-axis and an evaluation index corresponding to the Y-axis. In FIG. 3 , task performance is selected as the evaluation index corresponding to the X-axis, and safety is selected as the evaluation index corresponding to the Y-axis.
[0120] In this embodiment, two or more evaluation indexes are selected by the user, but the present disclosure is not particularly limited to this, and two or more evaluation indexes to be optimized may be determined in advance.
[0121] Next, in step S4, the motion dividing unit 1131 performs a dividing process to divide the motion of the robot 2 into a plurality of segments.
[0122] FIG. 4 is a flowchart for explaining the division process in step S4 of FIG.
[0123] First, in step S21, the motion dividing unit 1131 initializes a plurality of segments based on a predetermined number of divisions. For example, if the number of divisions is N, the motion dividing unit 1131 initializes N-1 division times. One possible initialization method is to divide the taught motion into N equal parts, but the present disclosure is not limited to this. The motion dividing unit 1131 may also perform clustering on the taught motions in advance and perform initialization based on the clustering results.
[0124] Next, in step S22, the motion division unit 1131 optimizes the stiffness parameters so as to minimize the error between the predicted activation and the taught activation of each segment. The optimization method used is the Newton method, but the present disclosure is not limited to this. Furthermore, the motion division unit 1131 may add, in addition to the error, a regularization term or the like to the objective function to prevent the stiffness parameters from becoming excessively large.
[0125] Next, in step S23, the behavior division unit 1131 determines whether a termination condition is satisfied. The termination condition is that the number of repetitions is equal to or greater than a threshold, or that the error is equal to or less than a threshold. If it is determined that the termination condition is satisfied (YES in step S23), the division process ends.
[0126] On the other hand, if it is determined that the termination condition is not satisfied (NO in step S23), in step S24, the motion division unit 1131 determines whether it is possible to infer a segment that further reduces the error. If the optimization result in step S22 can be differentiated with respect to the division time, the division time can be inferred based on gradient information. Note that if the optimization result cannot be differentiated with respect to the division time, inference using evolutionary computation is also possible. In this case, in step S22, the motion division unit 1131 may generate multiple segment candidates and calculate the error for each segment candidate. Then, in step S24, the motion division unit 1131 may perform inference based on statistical information of the calculated error. One method for generating multiple segment candidates is to add perturbation based on normal random numbers to the division time.
[0127] If it is determined that a segment that further reduces the error cannot be inferred (NO in step S24), the division process ends.
[0128] On the other hand, if it is determined that a segment that further reduces the error can be inferred (YES in step S24), the process returns to step S22.
[0129] 2, next, in step S5, the optimization unit 1132 optimizes two or more evaluation indexes by multi-objective Bayesian optimization. The optimization unit 1132 calculates multiple optimal solutions by optimizing the two evaluation indexes.
[0130] Next, in step S6, the optimal solution display control unit 114 generates a solution display image in which the multiple optimal solutions calculated by the optimization unit 1132 are depicted on a plane or in space with two or more evaluation indexes as coordinate axes, and outputs the generated solution display image to the display unit 3.
[0131] Next, in step S7, the display unit 3 displays the solution display image output by the optimum solution display control unit 114.
[0132] As shown in FIG. 3 , the display unit 3 displays a solution display image in the optimal solution display area 32. In the solution display image, the X-axis represents the evaluation index of task performance, and the Y-axis represents the evaluation index of safety. The multiple optimal solutions 321 are solutions that are not dominated by any feasible solution, and are also called Pareto optimal solutions. In FIG. 3 , the multiple optimal solutions 321 are represented by hatched dots, and multiple feasible solutions other than the multiple optimal solutions 321 are represented by white dots. When two evaluation indexes are maximized, the multiple optimal solutions 321 are aligned in the upper right corner of a plane whose coordinate axes are the two evaluation indexes. The Pareto optimal solution and the multiple feasible solutions other than the Pareto optimal solution are displayed in different ways. This allows the user to easily visually identify the Pareto optimal solution.
[0133] Furthermore, in this embodiment, two evaluation indexes are selected and multiple optimal solutions for the two evaluation indexes are calculated, but the present disclosure is not particularly limited to this, and three or more evaluation indexes may be selected and multiple optimal solutions for the three or more evaluation indexes may be calculated. For example, if three evaluation indexes are selected and multiple optimal solutions for the three evaluation indexes are calculated, the optimal solution display control unit 114 may output a solution display image in which the multiple calculated optimal solutions are depicted in a three-dimensional space with the three evaluation indexes as coordinate axes.
[0134] In addition, in this embodiment, multiple optimal solutions are displayed after the optimization of two or more evaluation indexes is completed, but the present disclosure is not particularly limited to this, and multiple optimal solutions may be displayed sequentially while optimizing two or more evaluation indexes before the optimization of two or more evaluation indexes is completed. In this case, the user can check the progress of the optimization.
[0135] Returning to FIG. 2, next, in step S8, the input unit 4 accepts the user's selection of one optimum solution from among the plurality of optimum solutions displayed in the solution display image.
[0136] 3, the display unit 3 displays a pointer 33 that can be moved with a mouse. The user moves the pointer 33 onto one of the plurality of displayed optimal solutions 321 and clicks the mouse button. This selects one of the plurality of optimal solutions 321. The input unit 4 outputs, to the information processing device 1, information that identifies the one optimal solution selected by the user from the plurality of optimal solutions displayed in the solution display image.
[0137] Returning to FIG. 2, next, in step S9, the optimum solution acquisition unit 115 acquires from the input unit 4 one optimum solution selected by the user from among the plurality of optimum solutions displayed in the solution display image.
[0138] Next, in step S10 , the reference information display control unit 116 outputs to the display unit 3 reference information based on the operation history of the robot 2 corresponding to one optimal solution acquired by the optimal solution acquisition unit 115 .
[0139] Next, in step S11, the display unit 3 displays the reference information output by the reference information display control unit 116. The display unit 3 displays a reference information display screen for presenting the reference information.
[0140] The user selects a desired optimal solution from the plurality of optimal solutions by checking the reference information for each of the plurality of optimal solutions. Then, the parameters corresponding to the one optimal solution selected by the user are used to control the robot 2.
[0141] Next, in step S12, the input unit 4 determines whether to accept reselection of one of the multiple optimal solutions. The reference information display screen displayed on the display unit 3 may include a reselection button for accepting reselection of one of the multiple optimal solutions. When the reselection button displayed on the reference information display screen is pressed, the input unit 4 may determine that reselection of one of the multiple optimal solutions is accepted. Furthermore, the reference information display screen displayed on the display unit 3 may include an end button for ending selection of one of the multiple optimal solutions. When the end button displayed on the reference information display screen is pressed, the input unit 4 may determine that reselection of one of the multiple optimal solutions is not accepted.
[0142] If it is determined that reselection of one of the plurality of optimal solutions is acceptable (YES in step S12), the process returns to step S7.
[0143] On the other hand, if it is determined that the reselection of one of the plurality of optimal solutions is not accepted (NO in step S12), the teaching assistance process ends.
[0144] According to this embodiment, two or more evaluation indexes can be optimized, and multiple optimal solutions for the two or more evaluation indexes can be calculated. Furthermore, reference information based on the operation history of the robot 2 corresponding to at least one optimal solution selected by the user from the multiple optimal solutions is presented to the user, thereby assisting the user in selecting one optimal solution from the multiple optimal solutions.
[0145] Fig. 5 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in this embodiment. In Fig. 5, the horizontal axis represents time, and the vertical axis represents coordinates.
[0146] 5 includes time-series data of a trajectory corresponding to one optimal solution. In this case, the display unit 3 displays the time-series data of the trajectory corresponding to one optimal solution. That is, the display unit 3 displays time-series data of the x-, y-, and z-coordinates in three-dimensional space of the end effector of the robot 2 corresponding to one optimal solution. The time-series data of the trajectory indicates the trajectory of the robot 2's operation to open the door.
[0147] 5, the x-coordinate position is represented by a solid line, the y-coordinate position is represented by a dashed line, and the z-coordinate position is represented by a dashed line. In this way, the time-series data of the x-coordinate, the y-coordinate, and the z-coordinate are represented by different types of lines, but the present disclosure is not particularly limited to this, and each may be represented by a line of a different color.
[0148] Furthermore, in the present embodiment, one optimal solution is selected from the multiple optimal solutions displayed in the solution display image, but the present disclosure is not particularly limited to this, and one feasible solution may be selected from multiple feasible solutions other than the multiple optimal solutions displayed in the solution display image. In this case, reference information based on the operation history of the robot 2 corresponding to the single feasible solution is output. This allows the user to check not only reference information for the multiple optimal solutions, but also reference information for multiple feasible solutions other than the multiple optimal solutions.
[0149] In this embodiment, one optimal solution is selected from the plurality of optimal solutions, but the present disclosure is not particularly limited to this, and two or more optimal solutions may be selected from the plurality of optimal solutions in Modification 1 of this embodiment. When two or more optimal solutions from the plurality of optimal solutions are selected, two or more time-series data corresponding to the two or more optimal solutions may be displayed superimposed or side-by-side.
[0150] 6 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the first modification of the present embodiment. In Fig. 6, the horizontal axis represents time, and the vertical axis represents coordinates.
[0151] In a first modification of this embodiment, the input unit 4 accepts a user's selection of two optimal solutions from among the multiple optimal solutions displayed in the solution display image. The optimal solution acquisition unit 115 acquires, from the input unit 4, the two optimal solutions selected by the user from among the multiple optimal solutions displayed in the solution display image. The reference information display control unit 116 reads, from the memory 12, two pieces of time-series data corresponding to the two optimal solutions acquired by the optimal solution acquisition unit 115, and outputs reference information in which the two pieces of time-series data are superimposed to the display unit 3. The display unit 3 displays the reference information output by the reference information display control unit 116.
[0152] 6 presents two pieces of time-series data of two trajectories corresponding to two optimal solutions in a superimposed manner. That is, the display unit 3 displays two pieces of time-series data of the x-, y-, and z-coordinates in three-dimensional space of the end effector of the robot 2, which correspond to the two optimal solutions in a superimposed manner. In this case, the display unit 3 displays the first time-series data of the trajectory corresponding to the first optimal solution and the second time-series data of the trajectory corresponding to the second optimal solution in a superimposed manner.
[0153] Although the two time-series data corresponding to the two optimal solutions are represented by lines of different thicknesses, the present disclosure is not particularly limited to this, and the time-series data may be represented by lines of different colors. For example, the time-series data corresponding to one optimal solution may be represented by a red line, and the time-series data corresponding to the other optimal solution may be represented by a blue line.
[0154] The reference information display screen may also present two sets of time-series data of two trajectories corresponding to two optimal solutions side by side. In this case, the display unit 3 may display first time-series data of a trajectory corresponding to a first optimal solution and second time-series data of a trajectory corresponding to a second optimal solution side by side.
[0155] In addition, in the first modification of the present embodiment, at least one piece of time-series data corresponding to at least one optimal solution and time-series data of a trajectory of a desired motion of the robot may be displayed superimposed or side-by-side. The desired motion of the robot may be taught by, for example, a user. The memory 12 may store the time-series data of the trajectory of the desired motion of the robot.
[0156] Furthermore, although the reference information in this embodiment includes time series data of a trajectory corresponding to at least one optimal solution, the present disclosure is not particularly limited to this, and the reference information in variant example 2 of this embodiment may also include video images of recorded actions corresponding to at least one optimal solution.
[0157] FIG. 7 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the second modification of the present embodiment.
[0158] The reference information shown in Fig. 7 includes a video 301 in which an action corresponding to one optimal solution has been recorded. In this case, the display unit 3 displays the video 301 in which an action corresponding to one optimal solution has been recorded. In Fig. 7, an image with an elapsed time of 0 seconds, an image with an elapsed time of 10 seconds, and an image with an elapsed time of 20 seconds are cut out from the video 301 and displayed. The video 301 shows the action of the robot 2 opening a door.
[0159] In addition, in variant example 3 of this embodiment, when two or more optimal solutions are selected from among a plurality of optimal solutions, two or more video images recording the actions corresponding to each of the two or more optimal solutions may be displayed side by side.
[0160] FIG. 8 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the third modification of the present embodiment.
[0161] The reference information shown in FIG. 8 includes a first video 302 that records an action corresponding to a first optimal solution selected by the user, and a second video 303 that records an action corresponding to a second optimal solution selected by the user. The reference information display screen shown in FIG. 8 presents two videos that record two actions corresponding to two optimal solutions side by side. In this case, the display unit 3 displays the first video 302 that records an action corresponding to the first optimal solution and the second video 303 that records an action corresponding to the second optimal solution side by side. In FIG. 8, images with an elapsed time of 0 seconds, an elapsed time of 10 seconds, and an elapsed time of 20 seconds are extracted from the first video 302 and the second video 303 and displayed. The first video 302 and the second video 303 show the action of the robot 2 opening a door.
[0162] In addition, in variant example 4 of this embodiment, when two or more optimal solutions are selected from a plurality of optimal solutions, two or more video images recording the actions corresponding to each of the two or more optimal solutions may be displayed superimposed on one another.
[0163] FIG. 9 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the fourth modification of the present embodiment.
[0164] The reference information shown in FIG. 9 includes a composite video 304 obtained by superimposing a first video 302 recording a motion corresponding to a first optimal solution selected by the user and a second video 303 recording a motion corresponding to a second optimal solution selected by the user. The reference information display screen shown in FIG. 9 presents two superimposed videos of two motions corresponding to two optimal solutions. In this case, the display unit 3 displays a composite video 304 obtained by superimposing the first video 302 recording a motion corresponding to the first optimal solution and the second video 303 recording a motion corresponding to the second optimal solution. For example, the reference information display control unit 116 may create the composite video 304 by superimposing a translucent second video 303 on an opaque first video 302. Note that in FIG. 9, the first video 302 is represented by a dashed line, and the second video 303 is represented by a solid line. 9 shows an image with an elapsed time of 0 seconds, an image with an elapsed time of 10 seconds, and an image with an elapsed time of 20 seconds, extracted from the composite video 304. The first video 302 and the second video 303 show the robot 2 opening the door.
[0165] By displaying two or more superimposed moving images, the user can intuitively grasp the difference between two or more movements of the robot.
[0166] In the third and fourth modifications of this embodiment, at least one video corresponding to at least one optimal solution may be superimposed or displayed next to a video recording of the robot's desired motion. The robot's desired motion may be taught, for example, by a user. The memory 12 may store the video recording of the robot's desired motion.
[0167] In addition, in variant example 5 of this embodiment, time series data of at least one trajectory corresponding to at least one optimal solution and time series data of at least one parameter that changes in response to the operation corresponding to at least one optimal solution may be displayed superimposed on each other.
[0168] 10 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in Modification 5 of the present embodiment. In Fig. 10, the horizontal axis represents time, the vertical axis on the left represents coordinates, and the vertical axis on the right represents parameter values.
[0169] In a fifth variation of this embodiment, the input unit 4 accepts a user's selection of one optimal solution from among the multiple optimal solutions displayed in the solution display image. The optimal solution acquisition unit 115 acquires, from the input unit 4, the one optimal solution selected by the user from among the multiple optimal solutions displayed in the solution display image. The reference information display control unit 116 reads, from the memory 12, time-series data of a trajectory corresponding to the acquired one optimal solution and time-series data of parameters that change in response to the operation corresponding to the acquired one optimal solution, and outputs reference information in which the time-series data of the trajectory and the time-series data of the parameters are superimposed to the display unit 3. The display unit 3 displays the reference information output by the reference information display control unit 116.
[0170] The reference information display screen shown in Fig. 10 presents time-series data of a trajectory corresponding to one optimal solution and time-series data of parameters that change in response to the operation corresponding to the one optimal solution, in a superimposed manner. That is, the display unit 3 displays time-series data of the x-, y-, and z-coordinates of the end effector of the robot 2 in three-dimensional space, which correspond to one optimal solution, in a superimposed manner, and time-series data of parameters that change in response to the operation corresponding to the one optimal solution. The parameters are, for example, stiffness parameters in impedance control. The time-series data of the trajectory indicates the trajectory of the operation of the robot 2 to open a door.
[0171] 10, the x-coordinate position is represented by a solid line, the y-coordinate position is represented by a dashed line, the z-coordinate position is represented by a dashed line, and the parameter value is represented by a dashed line. In this way, the time-series data of the x-coordinate, y-coordinate, and z-coordinate and the time-series data of the parameter are represented by different types of lines, but the present disclosure is not particularly limited to this, and each may be represented by a line of a different color.
[0172] The reference information display screen may present at least one time-series data of a trajectory corresponding to at least one optimal solution and at least one time-series data of a parameter that changes in response to an action corresponding to the at least one optimal solution side by side. In this case, the display unit 3 may display at least one time-series data of a trajectory corresponding to at least one optimal solution and at least one time-series data of a parameter that changes in response to an action corresponding to the at least one optimal solution side by side.
[0173] In addition, in variant example 6 of this embodiment, at least one moving image corresponding to at least one optimal solution and time series data of at least one parameter that changes in response to the action corresponding to at least one optimal solution may be displayed side by side.
[0174] FIG. 11 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the sixth modification of the present embodiment.
[0175] In a sixth variation of this embodiment, the input unit 4 accepts a user's selection of one optimal solution from among the multiple optimal solutions displayed in the solution display image. The optimal solution acquisition unit 115 acquires, from the input unit 4, the one optimal solution selected by the user from among the multiple optimal solutions displayed in the solution display image. The reference information display control unit 116 reads, from the memory 12, a moving image corresponding to the acquired one optimal solution and time-series data of parameters that change in response to the action corresponding to the acquired one optimal solution, and outputs reference information in which the moving image and the time-series data of the parameters are arranged to the display unit 3. The display unit 3 displays the reference information output by the reference information display control unit 116.
[0176] The reference information shown in FIG. 11 includes a video 301 recorded of an action corresponding to an obtained optimal solution and time-series data 306 of parameters that change in response to the action corresponding to the obtained optimal solution. The reference information display screen shown in FIG. 11 presents the video corresponding to the one optimal solution and the time-series data 306 of parameters that change in response to the action corresponding to the one optimal solution side by side. That is, the display unit 3 displays the video 301 recorded of the action corresponding to the one optimal solution and the time-series data 306 of parameters that change in response to the action corresponding to the one optimal solution side by side. The parameters are, for example, stiffness parameters in impedance control. In FIG. 11 , images with an elapsed time of 0 seconds, an elapsed time of 10 seconds, and an elapsed time of 20 seconds are cut out from the video 301 and displayed. The video 301 shows the robot 2 opening a door.
[0177] The time-series parameter data 306 is represented by an analog indicator with a needle moving on a circular dial. The parameter value is displayed around the dial, and the needle on the dial moves in response to changes in the parameter value.
[0178] At least one moving image corresponding to at least one optimal solution and time-series data of at least one parameter that changes in response to an action corresponding to the at least one optimal solution may be displayed in a superimposed manner. The reference information display screen may present at least one moving image corresponding to at least one optimal solution and time-series data of at least one parameter that changes in response to an action corresponding to the at least one optimal solution in a superimposed manner. In this case, the display unit 3 may display at least one moving image corresponding to at least one optimal solution and time-series data of at least one parameter that changes in response to an action corresponding to the at least one optimal solution in a superimposed manner. For example, the display unit 3 may display the moving image and the time-series data of the parameter in a lower right portion of the moving image.
[0179] The time series data of the parameter may also be expressed by a numerical value.
[0180] In addition, in variant example 7 of this embodiment, a composite moving image formed by superimposing two or more moving images in which actions corresponding to two or more optimal solutions are recorded, and composite time series data formed by superimposing two or more time series data of two or more parameters that change in response to actions corresponding to two or more optimal solutions may be displayed side by side.
[0181] FIG. 12 is a diagram showing an example of a reference information display screen displayed on the display unit 3 in the seventh modification of the present embodiment.
[0182] In a seventh modification of the present embodiment, the input unit 4 accepts a user's selection of two optimal solutions from among the multiple optimal solutions displayed in the solution display image. The optimal solution acquisition unit 115 acquires, from the input unit 4, the two optimal solutions selected by the user from among the multiple optimal solutions displayed in the solution display image. The reference information display control unit 116 reads, from the memory 12, two moving images corresponding to the two acquired optimal solutions and two pieces of time-series data of two parameters that change in response to the actions corresponding to the two acquired optimal solutions, and outputs, to the display unit 3, reference information that arranges a composite moving image 304 in which the two moving images are superimposed and composite time-series data 308 in which the two time-series data of the two parameters are superimposed. The display unit 3 displays the reference information output by the reference information display control unit 116.
[0183] The reference information shown in Fig. 12 includes a composite video 304 obtained by superimposing a first video 302 in which an action corresponding to the first optimal solution is recorded and a second video 303 in which an action corresponding to the second optimal solution is recorded, and composite time-series data 308 obtained by superimposing two pieces of time-series data for two parameters that change in response to the actions corresponding to the two obtained optimal solutions. The reference information display screen shown in Fig. 12 presents, side by side, the composite video obtained by superimposing two videos in which two actions corresponding to the two optimal solutions are recorded and the composite time-series data obtained by superimposing two pieces of time-series data for two parameters that change in response to the actions corresponding to the two optimal solutions.
[0184] In this case, the display unit 3 displays a composite video 304 obtained by superimposing a first video 302 recording an action corresponding to a first optimal solution selected by the user and a second video 303 recording an action corresponding to a second optimal solution selected by the user, and composite time-series data 308 obtained by superimposing two pieces of time-series data of two parameters that change according to the actions corresponding to the two optimal solutions. For example, the reference information display control unit 116 may create the composite video 304 by superimposing a semi-transparent second video 303 on an opaque first video 302. Note that in FIG. 12 , the first video 302 is represented by a dashed line, and the second video 303 is represented by a solid line. In FIG. 12 , an image with an elapsed time of 0 seconds, an image with an elapsed time of 10 seconds, and an image with an elapsed time of 20 seconds are extracted from the composite video 304 and displayed. The first video 302 and the second video 303 show the action of the robot 2 opening a door.
[0185] The parameter is, for example, a stiffness parameter in impedance control. The composite time-series data 308 of the parameters is represented by an analog indicator with a needle moving on a circular dial. The parameter values are displayed around the dial, and the needle on the dial moves in response to changes in the parameter values. In FIG. 12 , the first time-series data of the parameters that change in response to the operation corresponding to the first optimal solution is represented by a dashed line, and the second time-series data of the parameters that change in response to the operation corresponding to the second optimal solution is represented by a solid line.
[0186] The composite video and the composite time-series data of parameters may be displayed superimposed on each other. The reference information display screen may present the composite video and the composite time-series data of parameters superimposed on each other. In this case, the display unit 3 may display the composite video and the composite time-series data of parameters superimposed on each other. For example, the display unit 3 may display the composite video and the composite time-series data of parameters in the lower right part of the composite video.
[0187] Furthermore, the two time series data of the parameters may each be expressed by a numerical value.
[0188] Next, the results of simulation of the division process and optimization process in this embodiment will be described.
[0189] In the simulation, two simulation tasks and a task using a real robot were employed. The simulation tasks included wiping a table and opening a door. The wiping tasks were performed in a real environment using a real robot. The objective functions of these tasks were task-specific reward functions R(x t The reward for the simulated task was a binary variable indicating success or failure, with "1" indicating that the current state was task-completed (i.e., the dirt was cleaned or the door was open). The reward for the actual task was expressed as the negative squared error between the realized and verified position trajectories.
[0190] The conventional division methods used for comparison were the conventional GMM method and the conventional SLD method that does not take impedance control into consideration. j is expressed by the following formula (17), and B j was expressed by the following equation (18): In this formulation, the dynamics parameters and segment identifiers were estimated by optimizing equation (8) using the EM algorithm.
[0191] A j = diag(a 1 , a 2 , ..., a 6 )∈R 6*6 ... (17) B j = (diag(b 1 , b 2 , ..., b 6 ), diag(b' 1 , b' 2 , ..., b' 6 ))∈R 6*12 ...(18)
[0192] In the conventional GMM method and the conventional SLD method, π-BO was not applied in the Bayesian optimization process unless otherwise specified.
[0193] The effectiveness of the proposed method of this embodiment was examined by simulation. For each setting, 10 simulations were performed with different random seeds, and the statistical (average) results were compared.
[0194] FIG. 13 shows the results of a comparison of learning curves showing the growth of the area of the Pareto optimal solutions in the wipe operation, and FIG. 14 shows the results of a comparison of learning curves showing the growth of the area of the Pareto optimal solutions in the door-open operation.
[0195] 13 and 14, the solid line indicates the simulation result by the IC-SLD method of this embodiment, the dashed line indicates the simulation result by the conventional GMM method, and the dashed line indicates the simulation result by the conventional SLD method. In addition, in FIGS. 13 and 14, the horizontal axis indicates the number of trials, and the vertical axis indicates the area of the Pareto optimal solution (Hypervolume indicator: I H (Y)).
[0196] 13 and 14 show the progress of optimization obtained by the IC-SLD method of this embodiment, the conventional GMM method, and the conventional SLD method. The number of divisions M for the wipe operation was set to 2, and the number of divisions for the door-open operation was set to 3. In the optimization process of this embodiment, the hyperparameter β of π-BO was set to 1. As shown in FIGS. 13 and 14, the IC-SLD method of this embodiment most efficiently optimized the two evaluation indexes, achieving convergence after approximately 100 trials.
[0197] FIG. 15 shows the results of comparing the areas of the Pareto-optimal solutions when prior knowledge is used and when prior knowledge is not used in the IC-SLD method, the GMM method, and the SLD method.
[0198] To confirm whether prior knowledge of π-BO contributed to the improvement of the optimization process, an ablation analysis was conducted. In the ablation analysis, the wipe operation and the door-open operation were separated for each of the IC-SLD, GMM, and SLD methods. Furthermore, two evaluation indices were optimized with prior knowledge of π-BO for each of the IC-SLD, GMM, and SLD methods, and two evaluation indices were optimized without prior knowledge of π-BO for each of the IC-SLD, GMM, and SLD methods.
[0199] The values in FIG. 15 indicate the average values of the results of multiple experiments, and the values after ± indicate the error relative to the average values.
[0200] As shown in Figure 15, the performance is most improved when the operation is divided using the IC-SLD method and the two evaluation metrics are optimized using the π-BO prior knowledge. This result indicates that both the IC-SLD method and the π-BO prior knowledge contribute to the performance improvement.
[0201] In this embodiment, the parameter to be optimized is a stiffness parameter in impedance control, but the present disclosure is not limited to this and may be a damper parameter in impedance control. The parameter may also be a P gain, an I gain, or a D gain in PID (Proportional Integral Differential) control. Furthermore, the parameter may be a selection coefficient for force control or a selection coefficient for position control in hybrid control of force control and position control.
[0202] In each of the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for that component. Each component may be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory. Furthermore, the program may be executed by another independent computer system by recording the program on a recording medium and transferring it, or by transferring the program via a network.
[0203] Some or all of the functions of the device according to the embodiment of the present disclosure are typically realized as an LSI (Large Scale Integration), which is an integrated circuit. These may be individually integrated into a single chip, or some or all of them may be integrated into a single chip. Furthermore, the integrated circuit is not limited to an LSI, and may be realized using a dedicated circuit or a general-purpose processor. It is also possible to use an FPGA (Field Programmable Gate Array), which can be programmed after LSI manufacturing, or a reconfigurable processor, which can reconfigure the connections and settings of circuit cells within an LSI.
[0204] Furthermore, some or all of the functions of the device according to the embodiment of the present disclosure may be realized by a processor such as a CPU executing a program.
[0205] Furthermore, all the numbers used above are merely examples to specifically explain the present disclosure, and the present disclosure is not limited to the numbers used as examples.
[0206] The order in which the steps are executed in the above flowchart is merely an example for specifically explaining the present disclosure, and other orders may be used as long as similar effects are obtained. Also, some of the steps may be executed simultaneously (in parallel) with other steps.
[0207] The technology disclosed herein can optimize two or more evaluation indicators and assist a user in selecting one optimal solution from multiple optimal solutions, and is therefore useful as a technology for calculating multiple optimal solutions for two or more evaluation indicators for evaluating the operation of a robot and presenting the calculated multiple optimal solutions.
Claims
1. An information processing method executed by a computer, comprising: acquiring trajectory information relating to a trajectory of a robot's movement; calculating a plurality of optimal solutions of the two or more evaluation indexes by adjusting parameters of the robot to optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; outputting a solution display image in which the calculated plurality of optimal solutions are depicted in a plane or space with the two or more evaluation indexes as coordinate axes; acquiring at least one optimal solution selected by a user from the plurality of optimal solutions displayed in the solution display image; and outputting reference information based on the history of the robot's movement corresponding to the acquired at least one optimal solution.
2. The information processing method according to claim 1, further comprising: receiving input of the two or more evaluation indexes by the user.
3. The information processing method of claim 1, wherein calculating the multiple optimal solutions includes: dividing the robot's movement into multiple segments; and optimizing the two or more evaluation indexes by repeatedly searching for optimal parameters for each segment using multi-objective Bayesian optimization.
4. An information processing method as described in claim 3, wherein the movement is represented by a plurality of combinations of equations of motion for impedance control, the parameters include stiffness parameters for the impedance control, and division of the movement includes estimating the stiffness parameters in each equation of motion and the switching times of each equation of motion so as to minimize an error between a predicted trajectory and a taught trajectory in each equation of motion.
5. The information processing method according to claim 4, wherein optimizing the two or more evaluation indexes includes weighting an acquisition function in the multi-objective Bayesian optimization by the estimated stiffness parameter, and repeatedly searching for the optimal stiffness parameter for each segment using the acquisition function.
6. The information processing method according to claim 1, wherein the reference information includes at least one time series data of the trajectory corresponding to the at least one optimal solution.
7. The information processing method according to claim 6, wherein, when two or more optimal solutions are selected from the plurality of optimal solutions, two or more time series data corresponding to the two or more optimal solutions are displayed superimposed or side-by-side.
8. The information processing method according to claim 6, wherein the at least one time-series data corresponding to the at least one optimal solution and time-series data of a trajectory of a desired movement of the robot are displayed superimposed or side-by-side.
9. An information processing method according to claim 6, wherein the at least one time series data corresponding to the at least one optimal solution and time series data of at least one parameter that changes in response to the operation corresponding to the at least one optimal solution are displayed superimposed or side-by-side.
10. The information processing method according to claim 1, wherein the reference information includes at least one video image recorded of the action corresponding to the at least one optimal solution.
11. The information processing method according to claim 10, wherein, when two or more optimal solutions are selected from the plurality of optimal solutions, two or more moving images corresponding to the two or more optimal solutions are displayed superimposed or side-by-side.
12. The information processing method according to claim 10, wherein the at least one video corresponding to the at least one optimal solution and a video recorded showing a desired motion of the robot are displayed superimposed or side-by-side.
13. The information processing method according to claim 10, wherein the at least one moving image corresponding to the at least one optimal solution and time-series data of at least one parameter that changes in response to the motion corresponding to the at least one optimal solution are displayed side by side.
14. The information processing method according to claim 1, wherein the two or more evaluation indexes include an evaluation index of task performance and an evaluation index of safety.
15. An information processing device comprising: a trajectory information acquisition unit that acquires trajectory information regarding the trajectory of a robot's movement; a calculation unit that calculates a plurality of optimal solutions of the two or more evaluation indexes by adjusting parameters of the robot to optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; a first output unit that outputs a solution display image in which the calculated plurality of optimal solutions are depicted on a plane or in space with the two or more evaluation indexes as coordinate axes; an optimal solution acquisition unit that acquires at least one optimal solution selected by a user from the plurality of optimal solutions displayed in the solution display image; and a second output unit that outputs reference information based on the history of the robot's movement corresponding to the at least one acquired optimal solution.
16. An information processing program that causes a computer to function as follows: acquire trajectory information regarding the trajectory of a robot's movement; calculate a plurality of optimal solutions for the two or more evaluation indexes by adjusting parameters of the robot to optimize two or more evaluation indexes for evaluating the robot's movement based on the trajectory information; output a solution display image in which the calculated plurality of optimal solutions are depicted in a plane or space with the two or more evaluation indexes as coordinate axes; acquire at least one optimal solution selected by a user from the plurality of optimal solutions displayed in the solution display image; and output reference information based on the history of the robot's movement corresponding to the acquired at least one optimal solution.
Citation Information
Patent Citations
Method, program and information processing device for performing display about control parameter of robot
JP2022054043A
Method, program and information processing unit for assisting in adjusting parameter set of robot
JP2022070451A
