Information processing device, information processing method, and recording medium
The automaton-based method for generating action plans for multiple robots simplifies the task planning process by dividing tasks into manageable parts, addressing the challenge of time-consuming multi-robot coordination and achieving efficient action plan generation.
Patent Information
- Application Number
- PCT/JP2023/007308
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-06
AI Technical Summary
Generating action plans for multiple robots to accomplish tasks is time-consuming, especially when the number of robots is large, due to the complexity of calculating and coordinating their actions.
An information processing device and method that utilize an automaton-based approach, where an automaton is generated to model state transitions, and a transition system is used to plan robot actions, dividing tasks into manageable parts that can be executed by individual robots, thereby reducing the computational burden and generating action plans efficiently.
This approach significantly reduces the time required to generate action plans, even with a large number of robots, by breaking down tasks into simpler, robot-specific plans that can be executed efficiently, thus improving the speed and efficiency of multi-robot task planning.
Smart Images

Figure JP2023007308_06092024_PF_FP
Abstract
Description
Information processing device, information processing method, and recording medium
[0001] The present invention relates to an information processing device, an information processing method, and a recording medium.
[0002] An action plan may be generated for multiple robots working together. For example, in a multi-agent system described in Patent Literature 1, each robot determines multiple options that define multiple actions that will result in a transition from a current system state to a subsequent system state. Each robot then determines, for each of the multiple options, an action cost for performing the action indicated by the option. The action cost value determined for each option is taken into account by each of the remaining robots, and each robot performs an action corresponding to one of the multiple options.
[0003] Japanese Patent Application Laid-Open No. 2019-200792
[0004] When generating an action plan for accomplishing a task using multiple robots, it is preferable that the time required to generate the action plan be short even when there are a large number of robots.
[0005] An example of an object of the present invention is to provide an information processing device, an information processing method, and a recording medium that can solve the above-mentioned problems.
[0006] According to a first aspect of the present invention, an information processing device comprises an automaton generation means for generating an automaton which is a model showing state transitions in a task to be executed, an automaton planning means for generating an action plan based on the automaton, and a transition system planning means for generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system which is a model showing state transitions due to the actions of the robot.
[0007] According to a second aspect of the present invention, an information processing method includes a computer generating an automaton, which is a model that indicates state transitions in a task to be performed, generating an action plan based on the automaton, and generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system, which is a model that indicates state transitions due to the actions of the robot.
[0008] According to a third aspect of the present invention, a recording medium is a recording medium having recorded thereon a program for causing a computer to execute the following steps: generating an automaton, which is a model showing state transitions in a task to be executed; generating an action plan based on the automaton; and generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to the actions of the robot.
[0009] According to the present invention, when generating an action plan for accomplishing a task using multiple robots, it is expected that the time required to generate the action plan will be relatively short even when the number of robots is relatively large.
[0010] FIG. 1 is a diagram illustrating an example of the configuration of an information processing device according to the first embodiment. FIG. 2 is a diagram illustrating an example of the procedure of processing performed by the information processing device according to the first embodiment. FIG. 3 is a diagram illustrating an example of an environment in which a robot in the first embodiment behaves. FIG. 4 is a diagram illustrating an example of a transition system that expresses the behavior of a robot in the first embodiment. FIG. 5 is a diagram illustrating an example of the structure of an automaton generated by an automaton generation unit according to the first embodiment. FIG. 6 is a diagram illustrating an example of an automaton generated by an automaton generation unit according to the first embodiment. FIG. 7 is a diagram illustrating an example of an automaton generated by an automaton generation unit according to the second embodiment. FIG. 8 is a diagram illustrating an example of the configuration of an information processing device according to the third embodiment. FIG. 9 is a diagram illustrating an example of the procedure of processing in an information processing method according to the fourth embodiment. FIG. 10 is a schematic block diagram illustrating the configuration of a computer according to at least one embodiment.
[0011] The following describes embodiments of the present invention, but the following embodiments do not limit the scope of the invention as claimed. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0012] <First embodiment> Fig. 1 is a diagram showing an example of the configuration of an information processing device according to the first embodiment. In the configuration shown in Fig. 1, the information processing device 100 includes a task input unit 102, an automaton generation unit 104, an automaton planning unit 106, a transition system storage unit 108, a transition system planning unit 110, and a task plan output unit 112.
[0013] The information processing device 100 generates an action plan for a plurality of robots to accomplish a given task. The information processing device 100 is configured using a computer such as a personal computer (PC) or a workstation (WS).
[0014] The task input unit 102 accepts input of a task expressed in the form of a logical expression in Linear Temporal Logic (LTL). The task may be input by a user, or by a device or system other than the information processing device 100. The task accepted by the task input unit 102 corresponds to an example of a task to be executed.
[0015] Linear temporal logic is a modal temporal logic that has a temporal aspect and can express various tasks as logical formulas. A logical formula of linear temporal logic is defined using the symbols (logical operators and temporal modal operators) shown in formula (1).
[0016]
[0017] Here, these symbols will be referred to as follows, from front to back: ∧: And, ∨: Or, ¬: Not, X: Next, U: Until, F: Future, and G: Globally. The meanings of each of the above symbols are as follows:
[0018] ・a∧b is true when both proposition a and proposition b are true, and false otherwise. ・a∨b is true when either proposition a or proposition b is true, and false otherwise. ・¬a is false when proposition a is true, and true when proposition a is false.
[0019] ・Xa is true when proposition a is true in the next state, and false otherwise. The next state here refers to the state after one state transition. ・aUb is true when proposition b is true in the current state, or true when proposition a is true in the current state and proposition a is true in all future states up to a state in which proposition b is true, and false otherwise. ・Fa is true when proposition a is true in at least one current or future state, and false otherwise. ・Ga is true when proposition a is true in all states from the present to the future, and false otherwise. Note that with regard to the relationship between propositions and logical formulas, propositions may be expressed as logical formulas, or logical formulas may be composed of logical formulas consisting only of propositions.
[0020] The automaton generation unit 104 generates an automaton, which is a model showing state transitions in a task to be executed. Specifically, the automaton generation unit 104 converts the logical formula input by the task input unit 102 into an automaton. The automaton generation unit 104 corresponds to an example of an automaton generation means.
[0021] The method by which the automaton generation unit 104 converts a logical formula into an automaton is not limited to a specific method. For example, the automaton generation unit 104 may perform this conversion using a known method for converting a logical formula into an automaton.
[0022] The automaton output by the automaton generation unit 104 is a model showing state transitions, and is represented by a state transition diagram using a graph consisting of nodes (points, vertices) and edges (lines). The nodes in this graph represent states. This graph also has an initial node and a final node. The initial node corresponds to the start point of the graph and represents the initial state. The final node corresponds to the end point of the graph and represents the final state. The edges in this graph are arrows with directions (directed edges) and represent transitions from node to node. Furthermore, labels are assigned to the edges. These labels correspond to the logical expressions that represent the given task.
[0023] In the automaton generated by the automaton generation unit 104, when an arbitrary edge is selected from the initial node and transitions to reach the final node, arranging the labels of the selected edges in order makes the original logical formula true. If the original logical formula is a logical formula representing a task requiring infinite repetition, in the automaton generated by the automaton generation unit 104, for any path of infinite length starting from the initial node that passes through the final node an infinite number of times, arranging the labels of the edges of that path in order makes the original logical formula true.
[0024] The on-automaton planning unit 106 generates a robot action plan based on the automaton generated by the automaton generation unit 104. Generating a plan based on an automaton is also referred to as generating a plan on the automaton. The on-automaton planning unit 106 is an example of on-automaton planning means.
[0025] The action plan generated by the automaton planning unit 106 is abstract. For example, if an input task must be divided into three parts, task A, task B, and task C, and all of these parts must be completed in order to complete the input task, the automaton planning unit 106 plans the order in which tasks A, B, and C should be executed. In particular, the plan by the automaton planning unit 106 does not plan specific action plans for each robot. The generation of specific action plans for each robot is performed by the transition system planning unit 110, which will be described later.
[0026] The automaton planning unit 106 first selects one of the nodes on the automaton as a start node. The start node is a different concept from the initial node that represents the starting node of the automaton. Then, the automaton planning unit 106 selects all nodes, other than the start node itself, that have one edge extending from the selected start node as goal nodes. Then, the automaton planning unit 106 obtains the costs required for transitions from the start node to each goal node, calculated by the transition system planning unit 110. The costs required for transitions between nodes are also referred to as inter-node costs.
[0027] In this way, the process of calculating the transition costs for all nodes (excluding the source node itself) that can be moved from a certain node in one transition (one state transition) is also referred to as "expanding" the node. When a node is expanded, the source node in the expansion is also referred to as an "expanded" node. A node that has not been expanded is also referred to as an "unexpanded" node. In the following, it is assumed that the automaton planning unit 106 can identify whether each node on the automaton has been expanded or not. For example, an expansion flag may be provided for each node to indicate whether it has been expanded or not.
[0028] As the "cost" referred to here, various indices can be used, in which the smaller the value, the better the evaluation of the task execution. For example, the cost may be the time required for the robot to execute the task, or the amount of power consumed by the robot. Alternatively, an index indicating the evaluation of the task execution may be used in which the larger the value, the better the evaluation. In the following, an example will be described in which an index indicating the evaluation of the task execution is used in which the smaller the value, the better the evaluation of the task execution.
[0029] Calculating the cost of transitions between nodes requires a specific robot behavior plan, and as described above, the transition system planning unit 110 calculates the cost. Therefore, the automaton planning unit 106 selects a start node and a goal node, and notifies the transition system planning unit 110 of the transition between the selected nodes. The transition system planning unit 110 calculates a specific robot behavior plan for transitioning from the start node to the goal node, and returns the cost of the transition to the automaton planning unit 106. In this way, the automaton planning unit 106 obtains the cost between the selected start node and goal node.
[0030] The automaton planning unit 106 repeatedly expands nodes (selects a start node and a goal node, and obtains costs) to generate a plan on the automaton so that the cost is as small as possible. The repeated expansion of nodes performed by the automaton planning unit 106 can be considered a type of Dijkstra's algorithm. The Dijkstra's algorithm is one of the shortest path planning algorithms. In the Dijkstra's algorithm, costs of nodes that can be directly reached from a certain node are set or updated in order starting from the start node of the graph, and a path with the smallest cost from the start node to the end node is found.
[0031] The automaton planning unit 106 first assigns a cost to each node as preprocessing. Specifically, the automaton planning unit 106 sets the cost of the initial node to 0 and the costs of the other nodes to ∞. When expanding the nodes, the automaton planning unit 106 selects the node with the smallest cost among the unexpanded nodes as the start node.
[0032] After expanding the start node, the automaton planning unit 106 calculates the sum of the cost of the start node and the cost required for the transition from the start node to the goal node for each node selected as a goal node. If there is a goal node whose calculated cost is smaller than the current cost, the automaton planning unit 106 updates the cost of that goal node to the calculated cost.
[0033] Furthermore, when a cost update occurs, the automaton planning unit 106 registers the start node at that time as the parent node of the goal node whose cost has been updated. That is, when the automaton planning unit 106 updates the cost of node n2 by expanding node n1, it registers node n1 as the parent node of node n2. If the parent node of node n2 has already been registered, the automaton planning unit 106 rewrites the parent node of node n2 to node n1. The automaton planning unit 106 repeatedly expands nodes and updates the costs of goal nodes. Then, the automaton planning unit 106 ends the repetition when it selects a final node as the start node in the node expansion.
[0034] The automaton planning unit 106 then detects the path with the smallest cost from the initial node to the final node on the automaton as the shortest path. For example, the automaton planning unit 106 may sequentially trace parent nodes from the final node and detect, as the shortest path, the path that is obtained by arranging the nodes in reverse order until it reaches the initial node.
[0035] If the task can only be achieved by an infinite number of repetitions, the automaton scheduling unit 106 calculates the shortest path starting from the final node and returning to the final node as an additional process. In this case, the automaton scheduling unit 106 traces the shortest path from the initial node to the final node, and then repeats the shortest path from the final node to the final node an infinite number of times, as the overall shortest path.
[0036] The transition system storage unit 108 stores a transition system that represents the behavior of each robot. Similar to an automaton, a transition system is a model that shows state transitions and is represented by a state transition diagram using a graph consisting of nodes and edges. A transition system has an initial node but does not have a final node.
[0037] In a transition system, labels are assigned to both nodes and edges. A node label indicates a logical expression that represents a state related to a single robot. The state represented by a node label may be the state of the robot, a state related to the robot's behavior, a state of the robot's operating environment, a state related to changes in the robot's operating environment, or a combination of these. An edge label indicates the robot's behavior for making a transition between nodes.
[0038] The transition system storage unit 108 stores a transition system for each robot. Therefore, the number of transition systems stored in the transition system storage unit 108 indicates the number of robots. In this regard, the transition system storage unit 108 also manages the number of robots.
[0039] Alternatively, for the purpose of reducing data volume, the transition system storage unit 108 may represent a group of robots that perform the same action (state transition) as one transition system. In this case, one transition system may have an initial node for each robot.
[0040] The transition system planning unit 110 generates, based on the transition system, an action plan for the robot to make a transition from the start node selected by the automaton planning unit 106 to the goal node. The transition system planning unit 110 corresponds to an example of a transition system planning means. In the following, when the start node has an edge to itself, the logical formula indicated by the label of this edge is represented by a. Also, the logical formula indicated by the label of the edge from the start node to the goal node is represented by b.
[0041] Since generating action plans for multiple robots simultaneously requires complex calculations, the transition system planner 110 divides the logical formula b into parts that can be executed by a single robot. Formally, the transition system planner 110 converts the logical formula b into a logical formula in conjunctive normal form, as shown in formula (2).
[0042]
[0043] Here, b ij is an atomic proposition that represents a finely divided task that can be performed by one robot. ij is treated as a proposition that cannot be divided any further. i is a logical formula obtained by dividing the logical formula b, and b i When all of (i = 1, 2, 3, ...) are true, b is true. That is, the logical formula b i If all the tasks indicated by the logical formula a are accomplished by the robot group, the task indicated by the logical formula b is accomplished by the robot group.
[0044] On the other hand, the logical formula b divided from the logical formula b i is a subdivided proposition b ij is true if any one or more of the following is true: i is the number of robots that can respond to the assigned proposition b ij is achieved. Hereinafter, achieving a task indicated by a logical formula will also be referred to as achieving the logical formula. The logical formula here may be a formula indicated by a single proposition. Therefore, achieving a task indicated by a proposition will also be referred to as achieving the proposition. Furthermore, in the planning stage, the achievement of a logical formula or proposition is carried out on a plan. In other words, in the planning stage, it is not necessary for the task to actually be performed (in a real environment).
[0045] A method for converting an arbitrary logical formula into a logical formula in conjunctive normal form is known. The planning unit 110 in the transition system converts the logical formula b into a logical formula in conjunctive normal form ∧ using this method. i ∨ j b ijHowever, the transition system planning unit 110 may convert the logical formula b into a logical formula Ψ in conjunctive normal form. i ∨ j b ij The method for converting the image data into the image data is not limited to a specific one.
[0046] Through the above transformation, the transition system planning unit 110 divides the task indicated by logical formula b into multiple tasks that can be executed by a single robot. Then, the transition system planning unit 110 generates an action plan for the entire robot to transition from the start node to the goal node by repeating the generation of plans for one robot using the following procedure.
[0047] 0. The transition system planning unit 110 substitutes (copies) the original logical formula b into the logical formula b' (temporary variable for calculation).
[0048] 1. The planning unit 110 in the transition system selects one robot whose plan has not been decided, and this robot executes proposition b ij Generate a plan to achieve either of the above. ij ' is a proposition b ij is copied to a temporary variable. At this time, the other robots maintain their current plans, or if no plans have been decided, they act to remain in their current states. In addition, in this planning, the transition system planning unit 110 generates a plan so that if the start node has an edge to itself, its label (logical formula) a is always true.
[0049] For planning a single robot, the planning unit 110 in the transition system can use a shortest path planning algorithm such as the Dijkstra algorithm. In this case, the goal is proposition b ij' is any node (multiple nodes are possible) that achieves label a. Furthermore, when the transition system planning unit 110 expands nodes on the transition system and calculates the cost, it checks whether the node for which the cost is being calculated achieves label (logical formula) a (whether it is true), and if it does not achieve it, the cost is set to ∞. When the cost becomes ∞, this node is not selected as a stop on the shortest route. Conversely, the nodes passed through on the calculated shortest route are always composed of nodes that achieve label a, and the plan is such that label a is always set to true.
[0050] 2. The transition system planning unit 110 calculates a proposition b ij If ' is achieved, then proposition b ij A logical formula b that becomes true when ' is true i ' and list all the propositions b i Let the new logical formula b' be the one obtained by removing all ' from the logical formula b'. For example, proposition b ij ' is achieved, and proposition b ij ' and proposition b i’j ' are the same proposition, the transition system planning unit 110 ij Logical formula b containing ' i And, proposition b i’j Logical formula b containing ' i’ is excluded from the logical formula b'.
[0051] 3. The transition system planning unit 110 repeats steps 1 and 2 above until b' becomes empty, and when b' becomes empty, ends the generation of the plan.
[0052] When the termination condition that b' becomes empty is met by this procedure, the logical formula b is achieved by the action plans generated up to that point for each robot.
[0053] Then, the transition system planning unit 110 calculates the cost of the action plan indicated by logical formula b and outputs it to the automaton planning unit 106. Although not described in the description of the automaton planning unit 106, the transition system planning unit 110 also links the cost to the cost and outputs the action plan of each robot for achieving logical formula b to the automaton planning unit 106. The action plan of each robot for achieving logical formula b is the action plan for each robot obtained when b' becomes empty in the above procedure.
[0054] The action plan of each robot for achieving logical formula b is used to generate an action plan of all robots for achieving the input task, which is output by the task plan output unit 112. As described above, the planning unit 106 on the automaton detects the path with the smallest cost from among the paths from the initial node to the final node on the automaton. The planning unit 106 then arranges, in the order of the detected paths, the action plans of each robot for achieving the transitions indicated by the edges that make up the paths, and generates this as an action plan of all robots for achieving the input task. The action plan of all robots for achieving the input task is also referred to as a task plan.
[0055] The action plan of each robot for achieving logical formula b is also used to set the initial state (start node) on the transition system when the current goal node on the automaton is selected as the next start node. The transition system planning unit 110 sets the state on the transition system after transition from the current start node on the automaton to the goal node as the initial state on the transition system when transition from the next start node on the automaton to the goal node is made.
[0056] In the above description, an example has been given in which the transition system planning unit 110 generates behavior plans for each robot in turn, but the transition system planning unit 110 may also generate behavior plans for each group into which the entire robot group is divided. For example, the transition system planning unit 110 may generate behavior plans for each group of two robots in turn. Alternatively, the transition system planning unit 110 may generate behavior plans for each group of three robots in turn.
[0057] By having the planning unit 110 in the transition system generate a behavior plan for a group of robots rather than for each robot individually, the amount of calculation increases, but it is possible to calculate a more efficient behavior plan. Also, by having the planning unit 110 in the transition system generate a behavior plan for a group of robots, it is expected that tasks that cannot be accomplished by a single robot alone, such as two robots grasping both ends of a load and transporting the load, can be accomplished.
[0058] The task plan output unit 112 outputs, as a task plan, the plan calculated by the automaton planning unit 106. That is, the task plan output unit 112 outputs, as a task plan, an action plan for all of the robots in which the action plans of each robot (on the transition system) corresponding to each transition are arranged in the order of the path from the initial node to the final node on the automaton.
[0059] 2 is a diagram showing an example of a procedure of processing performed by the information processing device 100. In the processing shown in Fig. 2, the task input unit 102 receives task input in the form of a logical expression of linear temporal logic from a user or another system or the like (step S101).
[0060] Next, the automaton generation unit 104 converts the task (logical formula) received by the task input unit 102 into an automaton (step S102).
[0061] Next, the automaton planning unit 106 sets an initial cost value for each node of the automaton as preprocessing (step S103). Specifically, the automaton planning unit 106 sets a cost of 0 for the initial node and a cost of ∞ for the other nodes.
[0062] Next, the automaton planning unit 106 sets the node on the automaton that has the smallest cost and has not been expanded as the start node, and sets each node that can be reached from the start node by one edge as the goal node (step S104). Next, the automaton planning unit 106 determines whether the start node is a final node (step S105).
[0063] If the automaton planning unit 106 determines that the start node is not a final node (step S105: NO), the transition system planning unit 110 uses the transition system stored in the transition system memory unit 108 to calculate, for each goal node, an action plan and its cost for the entire robot to achieve the logical expression from the start node of the automaton to the goal node (step S106).
[0064] Next, the automaton planning unit 106 determines whether or not the cost of each goal node needs to be updated, and updates the cost of the goal node for which it is determined that an update is required (step S107). Specifically, for each goal node, the automaton planning unit 106 determines whether or not the sum of the cost of the start node and the cost required for the transition from the start node to the goal node is smaller than the cost set for the goal node. If it is determined that the sum of the costs is smaller than the cost set for the goal node, the automaton planning unit 106 sets the calculated cost as the cost of the goal node.
[0065] Next, the automaton planning unit 106 determines that the start node has been expanded (step S108). After step S108, the process returns to step S104.
[0066] On the other hand, if the automaton planning unit 106 determines in step S105 that the start node is a final node (step S105: YES), the task plan output unit 112 outputs, as a task plan, an action plan for all robots in which the action plans for each robot corresponding to each transition are arranged in the order of the path from the initial node to the final node (step S109). After step S109, the information processing device 100 ends the processing of FIG.
[0067] 2 can be modified without departing from the spirit of the present invention. For example, in step S106 of FIG. 2, the automaton planning unit 106 may output each goal node corresponding to a start node to the transition system planning unit 110, and acquire the calculated action plans and their costs for each goal node all at once. Alternatively, the automaton planning unit 106 may repeat the process of outputting the start node and the goal node to the transition system planning unit 110 for each pair of start node and goal node, and acquiring the calculated action plan and its cost.
[0068] <Operation Example 1> Next, specific operations of the information processing device 100 will be described using an example of a patrol robot.
[0069] First, a description will be given of the transition system that represents the behavior of the patrol robot and is stored in the transition system storage unit 108. The transition system can represent the behavior of the robot, and can also represent the environment.
[0070] Figure 3 shows an example of an environment in which a robot operates. This environment has nine cells in a grid. The robot moves between these nine cells to monitor (patrol) them. The nine cells are referred to as Cell 1, ..., Cell 9.
[0071] 4 is a diagram showing an example of a transition system that expresses the behavior of a robot. Fig. 4 shows an example of the behavior of a patrol robot in the environment of Fig. 3 expressed by the transition system. The label p of the node i(i=1,...,9) indicates that the robot is in cell i. i is also treated as a proposition, and the robot is in cell i, p i is true, or p i is also said to be true. i is also referred to as the position information of the robot.
[0072] The edge labels represent the robot's actions. "Stop" means that the robot stays in the same cell. "Up", "Down", "Left", and "Right" mean that the robot moves up, down, left, and right, respectively. In Operation Example 1, there are two robots, robot 1 and robot 2, and the initial positions of all robots are cell 1. Therefore, in the initial state, p 1 It is assumed that the following holds true. Note that in the transition system of FIG. 4, the initial state of the robot is not shown.
[0073] Consider a task to be received by the task input unit 102, which is to periodically monitor all cells 1 to 9. This task can be expressed by the logical formula shown in formula (3).
[0074]
[0075] In this logical formula, Fp i is true when the robot is in cell i at some point in the future. i becomes true at some point in the future when p i is true. Therefore, Fp i represents the command "Go to cell i and monitor it." i The fact that the patrol indicated by is performed on all cells 1 to 9 can be expressed as in equation (4).
[0076]
[0077] The logical formula ∧ shown in formula (4) i=1,・・・,9 Fp i represents "to go to cell i and perform monitoring for all cells from 1 to 9." Therefore, the logical formula G(i=1,・・・,9 Fp i ) represents "The command to go to all cells 1 to 9 and monitor them will be executed (repeated infinitely)." i=1,・・・,9 Fp i ) represents the task of periodically visiting and monitoring all cells from 1 to 9.
[0078] 5 is a diagram showing an example of the structure of an automaton generated by the automaton generation unit 104. The automaton generation unit 104 generates a logical formula G(Ψ(Ψ)). i=1,・・・,9 Fp i ) into an automaton with the structure shown in Fig. 5. This conversion can be performed using, for example, LTL2BA: fast translation from LTL formulae to Buchi automata (http: / / www.lsv.fr / ~gastin / ltl2ba / ). However, as described above, the method by which the automaton generation unit 104 converts a logical formula into an automaton is not limited to a specific method.
[0079] In Fig. 5, labels are omitted to avoid cluttering the diagram. In order to illustrate the labels of the automaton, Fig. 6 shows an automaton that the automaton generator 104 has converted from a simpler task, namely, periodically monitoring all of cells 1 to 3. In the following, for ease of explanation, a task limited to cells 1 to 3 will be used as an example.
[0080] In the automaton in Figure 6, the node labeled "init" is the initial node, and node 2, indicated by a double circle, is the final node. The edge label "1" indicates that it is always true. The symbol "&&" in the edge label means "and," and has the same meaning as ∧.
[0081] The automaton planning unit 106 executes the algorithm shown in Fig. 2 based on the automaton shown in Fig. 6. In step S103 of Fig. 2, as preprocessing, the automaton planning unit 106 sets a cost of 0 to the initial node and a cost of ∞ to the other nodes.
[0082] 2, the automaton planning unit 106 selects a node with the smallest cost as the start node. Here, the automaton planning unit 106 selects an initial node with a cost of 0 as the start node. Then, the automaton planning unit 106 selects a node adjacent to the start node as the goal node. Here, the automaton planning unit 106 selects nodes 1 to 3 as the goal nodes.
[0083] The automaton planning unit 106 outputs information indicating the selected initial node as the start node and the selected nodes 1 to 3 as the goal nodes to the transition system planning unit 110. The automaton planning unit 106 also outputs the initial values of the action plan at the start node (information that robot 1 is in cell 1 and information that robot 2 is in cell 1) to the transition system planning unit 110. The fact that the robots are in cell 1 is based on the proposition p 1 It is expressed as:
[0084] The transition system planning unit 110 first sets the start node as the initial node and the goal node as node 1. Referring to FIG. 6, the label of the edge from the start node to itself is a=1, and the label of the edge from the start node to the goal node is b=p. 1 ∧p 2 is.
[0085] The transition system planning unit 110 converts b into the format shown in equation (5) in accordance with the format of equation (2) above.
[0086]
[0087] ∨ in equation (5) j=1 p i Is, ∨ j=1 p i = p i Therefore, the formula (5) is the same as the logical formula b = p 1 ∧p 2 It is noted that before the transformation, b = p 1 ∧p 2is a proposition p that can already be executed by one robot. 1 and p 2 Therefore, the transition system planning unit 110 determines whether b = p 1 ∧p 2 The conversion from to equation (5) may be omitted.
[0088] The transition system planning unit 110 performs the following calculations according to the procedure described above: 0. The transition system planning unit 110 substitutes the original logical formula b into the logical formula b'. That is, b'=p 1 ∧p 2 is.
[0089] 1. The planning unit 110 in the transition system selects one robot whose plan has not been decided, and this robot executes proposition b ij Here, a = 1 is true regardless of the robot's behavior, so it does not need to be taken into consideration. The transition system planning unit 110 selects robot 1 and ij ', i.e., p 1 Kap 2 The transition system planning unit 110 generates a plan to achieve p if the robot 1 stays in place. 1 Since this can be achieved, a stop is planned.
[0090] 2. The transition system planning unit 110 calculates a proposition b ij If ' is achieved, then proposition b ij A logical formula b that becomes true when ' is true i ', and remove them from the logical formula b' to create a new logical formula b'. That is, b' = p 2 This becomes:
[0091] 3. By following the steps above, the transition system planning unit 110 plans the action of robot 1 to be "stop." Since b' is not yet empty, the transition system planning unit 110 repeats steps 1 and 2.
[0092] 1. The planning unit 110 in the transition system selects one robot for which a plan has not been decided, and this robot isij Since only robot 2 remains, the transition system planning unit 110 selects robot 2. ij ' is p 2 Therefore, the transition system planning unit 110 can 2 If robot 2 moves to the right, it will generate a plan to achieve p 2 Since the transition system can achieve the above, the planning unit 110 plans right.
[0093] 2. The transition system planning unit 110 calculates the time from b' to p 2 3. Since b' is now empty, the transition system planner 110 ends the generation of the plan.
[0094] Through the above procedure, the transition system planning unit 110 generates an action plan in which robot 1 stops and robot 2 moves right. The cost of the action here is the number of times the robot moves, that is, the number of up, down, left, or right movements. The transition system planning unit 110 calculates the cost of this action plan as 1.
[0095] The transition system planning unit 110 also plans the robot's behavior when the start node is the initial node and the goal node is node 2. When the goal node is node 2, b = p 1 ∧p 2 ∧p 3 and two robots must be present in each of cells 1 to 3 at the same time. However, because one robot can only be present in one place at a time, the transition system planning unit 110 cannot create this behavior plan. For this reason, the transition system planning unit 110 sets the cost of this plan to ∞.
[0096] The transition system planning unit 110 also plans the robot's behavior when the start node is the initial node and the goal node is node 2. When the goal node is node 3, b=p 1Therefore, the transition system planning unit 110 generates an action plan that stops the robot 1. The transition system planning unit 110 also sets the cost of this plan to zero.
[0097] The transition system planning unit 110 returns the action plan and cost for each pair of start node and goal node to the automaton planning unit 106 .
[0098] The planning unit 106 on the automaton updates the cost of the goal node based on the cost of the action plan acquired from the planning unit 110 on the transition system. As a result, the planning unit 106 on the automaton updates the cost of node 1 to 1 and the cost of node 3 to 0. On the other hand, the cost of node 2 is not updated because it did not fall below the original ∞. After updating the node costs, the planning unit 106 on the automaton considers the initial node, which was the start node, to have been expanded.
[0099] Now that the expansion of the initial node is complete, the automaton planning unit 106 selects node 3, which has the smallest cost of all the unexpanded nodes and a cost of 0, as the start node. The automaton planning unit 106 then selects unexpanded nodes 2 and 1 adjacent to node 3 as goal nodes. The automaton planning unit 106 outputs information indicating the selected start node (node 3) and goal nodes (nodes 2 and 1) to the transition system planning unit 110.
[0100] The automaton planning unit 106 also outputs the position information of the robot at the start node to the transition system planning unit 110 as the initial value (initial state) of the action plan. In the transition from the initial node to node 3, robot 1 is located in cell 1 due to stop. Robot 2 is not yet in action, so it is located in cell 1. Therefore, the automaton planning unit 106 outputs the position information p 1 , and the position information p of the robot 2 1 is output to the transition system planning unit 110.
[0101] When the start node is node 3 and the goal node is node 2, p 2 and p 3 Therefore, the transition system planning unit 110 plans an action in which robot 1 moves right (moves from cell 1 to cell 2) and robot 2 moves right, right (moves from cell 1 to cell 2, and then moves from cell 2 to cell 3). The transition system planning unit 110 calculates the cost of this action plan to be 3.
[0102] Also, when the start node is node 3 and the goal node is node 1, p 2 Therefore, robot 1 plans an action called "right" (moving from cell 1 to cell 2). The transition system planning unit 110 calculates the cost of this action plan as 1.
[0103] The transition system planning unit 110 returns the action plan and cost for each pair of start node and goal node to the automaton planning unit 106 .
[0104] The automaton planning unit 106 updates the cost of the goal node based on the cost of the action plan acquired from the transition system planning unit 110. For node 2, the cost of node 3, which is the start node, is 0, and the cost of the action plan from node 3 to node 2 is 3, and the sum of these, 3, is less than the original cost of node 2, ∞. Therefore, the automaton planning unit 106 updates the cost of node 2 to 3.
[0105] On the other hand, with regard to node 3, the cost of node 3, which is the start node, is 0, and the cost of the action plan from node 3 to node 1 is 1, and the sum of these, 1, is not less than the original cost of node 1, which is 1. Therefore, the planning unit 106 on the automaton does not update the cost of node 1, but leaves it as is. After updating the node costs, the planning unit 106 on the automaton considers node 3, which was the start node, to have been expanded.
[0106] Since the expansion of node 3 is complete, the planning unit 106 on the automaton selects node 1, which has the smallest cost of all the unexpanded nodes and has a cost of 1, as the start node. The planning unit 106 on the automaton then selects node 2, which is unexpanded and adjacent to node 1, as the goal node. The planning unit 106 on the automaton outputs information indicating the selected start node (node 1) and goal node (node 2) to the planning unit 110 on the transition system.
[0107] The cost of the expanded node 3 is 0, which is less than the cost of the start node 1, so there is no possibility that the cost of node 3 will be updated. Therefore, the automaton planning unit 106 does not select the expanded node (node 3 in this case) as the goal node.
[0108] The automaton planning unit 106 also outputs the position information of the robot at the start node to the transition system planning unit 110 as the initial value (initial state) of the action plan. In the transition from node 3 to node 1, robot 1 is located in cell 1 by stop. Robot 2 is located in cell 2 by right. Therefore, the automaton planning unit 106 outputs the position information p 1 , and the position information p of the robot 2 2 is output to the transition system planning unit 110.
[0109] When the start node is node 1 and the goal node is node 2, p 3 The transition system planning unit 110 plans an action for robot 2 to move right (from cell 2 to cell 3) based on the robot position information acquired from the automaton planning unit 106. The transition system planning unit 110 calculates the cost of this action plan as 1.
[0110] The transition system planning unit 110 returns the action plan and cost for each pair of start node and goal node to the automaton planning unit 106. In this example, the transition system planning unit 110 returns the action plan and cost for only one pair, that is, start node=node 1 and goal node=node 2, to the automaton planning unit 106.
[0111] The planning unit on the automaton 106 updates the cost of the goal node based on the cost of the action plan acquired from the planning unit on the transition system 110. The cost of node 1, which is the start node, is 1, the cost of the action plan from node 1 to node 2 is 1, and their sum, 2, is less than the original cost of node 2, 3. Therefore, the planning unit on the automaton 106 updates the cost of node 2 to 2. After updating the node costs, the planning unit on the automaton 106 considers node 1, which was the start node, to have been expanded.
[0112] Since the expansion of node 1 is complete, the automaton planning unit 106 selects node 2, which remains unexpanded, as the start node. Since node 2 is a final node, the termination condition is satisfied, and the information processing device 100 terminates the process of generating an action plan.
[0113] As a result, on the automaton, the automaton planning unit 106 creates a plan of initial node → node 1 → node 2. Also, on the transition system, the transition system planning unit 110 creates an action plan in which robot 1 takes the actions stop, stop, and robot 2 takes the actions right, right. Note that the transition system planning unit 110 or the automaton planning unit 106 may fill in the unplanned parts of the robot's actions with an action that maintains the current state, i.e., stop.
[0114] The task plan output unit 112 outputs the above-mentioned robot behavior plan as a task plan. That is, the task plan output unit 112 outputs a behavior plan in which robot 1 is "stop, stop" and robot 2 is "right, right."
[0115] As described above, the automaton generation unit 104 generates an automaton, which is a model showing state transitions in a task to be executed. The automaton planning unit 106 generates a behavior plan based on the automaton. The transition system planning unit 110 generates a robot behavior plan for executing the behavior plan based on the automaton, based on a transition system, which is a model showing state transitions due to the robot's actions.
[0116] As a result, the automaton planning unit 106 can generate an action plan for dividing a task to be executed by generating an action plan based on a combination of state transitions on the automaton. The transition system planning unit 110 can generate an action plan for the robot for each of the state transitions on the automaton into which the task to be executed is divided.
[0117] In this way, the information processing device 100 can generate a robot behavior plan for a simpler task (state transition on the automaton) into which a task to be executed has been divided. In this respect, the information processing device 100 is expected to take a relatively short time to generate a behavior plan even when there are a relatively large number of robots.
[0118] Task planning in a multi-agent system is generally known as a computationally intractable problem, with the amount of computation increasing exponentially with the number of robots. The multi-agent system referred to here is a system in which multiple robots work together. Task planning involves formulating an action plan to accomplish a task.
[0119] In contrast, the information processing device 100 only needs to generate a robot behavior plan for a task that is easier than the task to be executed, and therefore, even if the number of robots is relatively large, the increase in time required to create a behavior plan for accomplishing each task is limited, and it is expected that the time required to generate the overall behavior plan will be relatively short.
[0120] In particular, by having the transition system planning unit 110 generate an action plan for a task that has been divided so that it can be accomplished by a single robot, the time required by the transition system planning unit 110 to generate an action plan can be made linear with respect to the number of robots.
[0121] The automaton generation unit 104 generates an automaton represented by a graph including nodes indicating states and directed edges indicating state transitions. The automaton planning unit 106 specifies a transition between two nodes in the automaton in generating a behavior plan based on the automaton. The transition system planning unit 110 generates a behavior plan for the robot to perform the specified transition.
[0122] As a result, the transition system planning unit 110 only needs to generate an action plan for the robot for each state transition in the automaton. In this respect, the information processing device 100 can relatively easily divide the tasks to be executed.
[0123] In addition, the transition system planning unit 110 divides the tasks for performing the identified transition into tasks that can be achieved by one robot, assigns each task that can be achieved by one robot to one robot, and generates an action plan for that robot to achieve that task based on the transition system, thereby generating an action plan for the entire robot to perform the identified transition.
[0124] In this way, the transition system planning unit 110 can generate an action plan for a divided task that can be accomplished by one robot. As a result, according to the information processing device 100, the time required for the transition system planning unit 110 to generate an action plan can be made linear with respect to the number of robots.
[0125] The automaton generation unit 104 generates an automaton in which, for each edge, a label indicating a task for performing the transition indicated by that edge is attached. As a result, the transition system planning unit 110 only needs to generate an action plan for the robot to accomplish the task indicated by the label attached to the edge of the automaton. In this respect, the information processing device 100 can relatively easily divide the tasks to be executed.
[0126] The transition system is represented by a graph including nodes that indicate states related to the actions of one robot and edges that indicate state transitions due to the actions of that robot. The transition system planning unit 110 reads from the transition system the robot actions that are required to effect state transitions due to the execution of a task that can be achieved by a single robot, and generates an action plan for the robot to accomplish that task.
[0127] In this way, the transition system planning unit 110 can generate a robot behavior plan by reading out the robot's behavior from the transition system. In this respect, according to the information processing device 100, the process by which the transition system planning unit 110 generates a robot behavior plan can be made relatively simple, and it is expected that the transition system planning unit 110 will take a relatively short time to generate a robot behavior plan.
[0128] The automaton planning unit 106 generates an action plan based on the automaton by finding a path with the smallest cost from the start point (initial node) to the end point (final node) on the automaton. The information processing device 100 can use various indices that indicate the evaluation of task execution as costs, and can generate an action plan that improves the evaluation of task execution.
[0129] Furthermore, tasks are expressed as logical expressions in linear temporal logic. According to the information processing device 100, tasks can be divided by expressing the logical expressions representing the tasks to be executed in conjunctive normal form. In this respect, according to the information processing device 100, it is relatively easy to divide the tasks to be executed.
[0130] Second Embodiment In the second embodiment, a process in which an information processing device generates a more efficient robot behavior plan will be described. The configuration of the information processing device according to the second embodiment is the same as that of the first embodiment. In the second embodiment, FIG. 1 is used as a configuration diagram of the information processing device. In the second embodiment, the information processing device is referred to as an information processing device 100′, and the transition system planning unit is referred to as a transition system planning unit 110′. The transition system planning unit 110′ corresponds to an example of a transition system planning means.
[0131] The task input unit, automaton generation unit, automaton planning unit, transition system storage unit, and task plan output unit are given the same reference numerals (102, 104, 106, 108, 112) as in the first embodiment, and detailed explanations thereof will be omitted here.
[0132] In the information processing device 100′, the processing performed by the transition system planning unit 110′ differs from that performed by the transition system planning unit 110 of the information processing device 100. In other respects, the information processing device 100′ is similar to the information processing device 100. FIG. 2 is used as a flowchart showing an example of the processing procedure of the information processing device 100′.
[0133] As described above, in the first embodiment, when the planning unit 110 in the transition system generates an action plan for the robot to move from the start node to the goal node, it is possible to set an action that remains in the current state, such as stop, in the unplanned portion.
[0134] On the other hand, in the second embodiment, the transition system planning unit 110' registers the unplanned portion as a flex plan and updates the flex plan. This allows the information processing device 100' to create a more efficient robot behavior plan, such as an behavior plan with a relatively small number of steps (number of state transitions in the automaton) required to accomplish a given task. Of the behavior plans generated by the transition system planning unit 110' (especially behavior plans in the process of being generated), the portion other than the flex plan is referred to as a static plan.
[0135] Specifically, when the transition system planning unit 110' generates an action plan for each robot to achieve a state transition on the automaton, the action plan generated by reading the robot's actions to execute the state transition from the transition system is a static plan that cannot be rewritten.
[0136] On the other hand, for a robot for which it was not necessary to specify an action to execute a state transition in the automaton, the transition system planning unit 110' creates a rewritable flex plan for the robot's action plan. The transition system planning unit 110' may provisionally set an action that remains in the current state, such as stop, as the flex plan. Furthermore, the transition system planning unit 110' registers the flex plan and treats it as a target for rewriting the plan later.
[0137] When the transition system planning unit 110′ obtains information indicating a transition from the start node to the goal node from the automaton planning unit 106 and generates an action plan for the robot to execute that transition, the transition system planning unit 110′ detects a flex plan included in each robot's action plan from the initial node to the start node. If a flex plan is found and modifying the flex plan enables planning of the robot's action, or a part of it, to execute the transition from the start node to the goal node, the transition system planning unit 110′ can modify the flex plan. In this way, the transition system planning unit 110′ can modify the action plan before the start node.
[0138] <Operation Example 2> Next, a specific operation of the information processing device 100' will be described using the environment shown in FIG. 3, the transition system shown in FIG. 4, and the automaton shown in FIG.
[0139] In the operation example 2, there are two robots, robot 1 and robot 2, and the initial positions of both robots are cell 5. The robots are located in cell 5 when p 5 The transition system planning unit 110' generates a behavior plan for moving the robot 1 from cell 5 to cell 1 for the transition from the initial node to node 1 on the automaton. The robot being located in cell 1 is expressed as p 1 It is expressed as:
[0140] Specifically, the transition system planning unit 110' generates a behavior plan in which the robot 1 moves up and left. The cost here is the number of steps required to reach the destination. The transition system planning unit 110' calculates the cost of the behavior plan in this case to be 2.
[0141] Here, the transition system planner 110' generates the behavior plans as follows: Static plan: Robot 1 (up, left) Flex plan: Robot 2 (stop, stop)
[0142] Next, the transition system planning unit 110' generates a behavior plan for moving the robot 2 from the cell 5 to the cell 9 for the transition from the node 1 to the node 2 on the automaton. The robot being located in the cell 9 is determined by the following equation: 9 It is expressed as:
[0143] Specifically, the transition system planning unit 110' generates an action plan in which the robot 2 takes the actions of down and right. At this time, the previous flex plan "stop, stop" of the robot 2 is rewritten to "down, right" to generate an action plan in which the robot 2 takes the actions of down and right.
[0144] As a result, when the state on the automaton reaches node 1, robot 2 is already located at node 9. Therefore, the transition from node 1 to node 2 on the automaton can be achieved without the need for either robot 1 or 2 to take a new action. Since no action is required for the robots, the transition system planner 110' calculates the cost of the transition from node 1 to node 2 on the automaton to be 0.
[0145] Through the above procedure, the task plan output unit 112 outputs, as a task plan, an action plan in which robot 1 acts up and left and robot 2 acts down and right.
[0146] For comparison with the information processing device 100', consider the case where the information processing device 100 generates an action plan for the situation of operation example 2. Here, it is assumed that the transition system planning unit 110 of the information processing device 100 does not rewrite the generated action plan. In this case, the information processing device 100 generates an action plan in which robot 1 takes actions of up, left, stop, and stop, and robot 2 takes actions of stop, stop, down, and right.
[0147] The cost of the behavior plan generated by the information processing device 100 is 4, while the cost of the behavior plan generated by the information processing device 100' is 2. In this way, by rewriting the already generated flex plan, the information processing device 100' can generate a more efficient behavior plan for the robot than when the behavior plan is not rewritten.
[0148] As described above, the transition system planning unit 110' plans, as a flex plan, which is a rewritable plan, the actions of the robots other than the actions for making the transition between the nodes of the automaton, among the actions of each robot in the action plan of the entire robots for making the transition between the nodes of the automaton. When the transition system planning unit 110' determines that the transition between the nodes of the automaton that is the subject of the planning can be made by rewriting the flex plan included in the planned action plan, the transition system planning unit 110' rewrites the flex plan to generate an action plan of the entire robots for making the transition between the nodes of the automaton that is the subject of the planning.
[0149] According to the information processing device 100', by rewriting the flex plan, it is expected that a more efficient robot behavior plan can be generated than when the behavior plan is not rewritten.
[0150] 8 is a diagram showing an example of the configuration of an information processing device according to the third embodiment. In the configuration shown in Fig. 8, an information processing device 200 includes an automaton generation unit 204, an automaton planning unit 206, and a transition system planning unit 210.
[0151] With this configuration, the automaton generation unit 204 generates an automaton, which is a model showing state transitions in a task to be executed. The automaton planning unit 206 generates an action plan based on the automaton. The transition system planning unit 210 generates an action plan for the robot to execute the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to the robot's actions. The automaton generation unit 204 is an example of an automaton generation means. The automaton planning unit 206 is an example of an automaton planning means. The transition system planning unit 210 is an example of a transition system planning means.
[0152] As a result, the automaton planning unit 206 can generate an action plan for dividing the task to be executed by generating an action plan based on a combination of state transitions on the automaton. The transition system planning unit 210 can generate an action plan for the robot for each of the state transitions on the automaton into which the task to be executed is divided.
[0153] In this way, the information processing device 200 can generate a robot behavior plan for a simpler task (state transition on the automaton) into which a task to be executed has been divided. In this respect, the information processing device 200 is expected to take a relatively short time to generate a behavior plan even when there are a relatively large number of robots.
[0154] In particular, by having the transition system planning unit 210 generate an action plan for a task that has been divided so that it can be accomplished by a single robot, the time required by the transition system planning unit 210 to generate an action plan can be made linear with respect to the number of robots.
[0155] The automaton generation unit 204 can be realized using, for example, the functions of the automaton generation unit 104 shown in Fig. 1. The automaton planner 206 can be realized using, for example, the functions of the automaton planner 106 shown in Fig. 1. The transition system planner 210 can be realized using, for example, the functions of the transition system planner 110 or the transition system planner 110' shown in Fig. 1.
[0156] 9 is a diagram showing an example of a processing procedure in an information processing method according to a fourth embodiment. The information processing method shown in Fig. 9 includes generating an automaton (step S201), generating a behavior plan on the automaton (step S202), and generating a behavior plan for a robot (step S203).
[0157] In generating an automaton (step S201), the computer generates an automaton, which is a model showing state transitions in a task to be executed. In generating a behavior plan on the automaton (step S202), the computer generates a behavior plan based on the automaton. In generating a behavior plan for the robot (step S203), the computer generates a behavior plan for the robot for executing the behavior plan based on the automaton, based on a transition system, which is a model showing state transitions due to the robot's actions.
[0158] 9, an action plan can be generated by dividing a task to be executed by generating an action plan based on a combination of state transitions on the automaton. In this way, an action plan for the robot can be generated for each of the state transitions on the automaton into which the task to be executed is divided.
[0159] In this way, according to the information processing method shown in Fig. 9, it is possible to generate a robot behavior plan for a simpler task (state transition in the automaton) into which a task to be executed has been divided. In this respect, according to the information processing method shown in Fig. 9, it is expected that the time required to generate a behavior plan will be relatively short even when there are a relatively large number of robots.
[0160] In particular, according to the information processing method shown in FIG. 9, by generating an action plan for a task that has been divided so that it can be accomplished by a single robot, the time required by the planning unit 210 on the transition system to generate an action plan can be made linear with respect to the number of robots.
[0161] FIG. 10 is a schematic block diagram illustrating the configuration of a computer according to at least one embodiment. In the configuration illustrated in FIG. 10, the computer 700 includes a CPU (Central Processing Unit) 710, a main memory device 720, an auxiliary memory device 730, an interface 740, and a non-volatile recording medium 750. One or more of the information processing devices 100, 100′, and 200 may be implemented in the computer 700. In this case, the operation of each of the above-described processing units is stored in the auxiliary memory device 730 in the form of a program. The CPU 710 reads the program from the auxiliary memory device 730, loads it into the main memory device 720, and executes the above-described processing in accordance with the program. The CPU 710 also allocates storage areas in the main memory device 720 corresponding to each of the above-described storage units in accordance with the program. Communication between each device and other devices is achieved by the interface 740, which has a communication function, communicating under the control of the CPU 710.
[0162] When the information processing device 100 is implemented in a computer 700, the operations of the task input unit 102, the automaton generation unit 104, the automaton planning unit 106, the transition system planning unit 110, and the task plan output unit 112 are stored in the form of a program in an auxiliary storage device 730. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing in accordance with the program.
[0163] Furthermore, the CPU 710, in accordance with the program, allocates a storage area in the main storage device 720 for the information processing device 100 to perform processing, such as a storage area for the transition system storage unit 108. The output of the task plan output unit 112 of the information processing device 100 is executed by the interface 740 having an output function such as a communication function or a display function, and performing output processing under the control of the CPU 710. Communication between the information processing device 100 and other devices is executed by the interface 740 having a communication function and operating under the control of the CPU 710. Interaction between the information processing device 100 and a user is executed by the interface 740 having a display device and an input device, and operating under the control of the CPU 710.
[0164] When the information processing device 100′ is implemented in a computer 700, the operations of the task input unit 102, the automaton generation unit 104, the automaton planning unit 106, the transition system planning unit 110′, and the task plan output unit 112 are stored in the form of a program in the auxiliary storage device 730. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing in accordance with the program.
[0165] Furthermore, the CPU 710, in accordance with the program, allocates a storage area in the main storage device 720 for the information processing device 100′ to perform processing, such as a storage area for the transition system storage unit 108. The output of the task plan output unit 112 of the information processing device 100′ is executed by the interface 740 having an output function such as a communication function or a display function, and performing output processing under the control of the CPU 710. Communication between the information processing device 100′ and other devices is executed by the interface 740 having a communication function and operating under the control of the CPU 710. Interaction between the information processing device 100′ and a user is executed by the interface 740 having a display device and an input device, and operating under the control of the CPU 710.
[0166] When the information processing device 200 is implemented in a computer 700, the operations of the automaton generation unit 204, the automaton planning unit 206, and the transition system planning unit 210 are stored in the form of a program in an auxiliary storage device 730. The CPU 710 reads the program from the auxiliary storage device 730, loads it into the main storage device 720, and executes the above-mentioned processing in accordance with the program.
[0167] Furthermore, the CPU 710 allocates a storage area in the main storage device 720 for the information processing device 200 to perform processing in accordance with the program. The output of the information processing device 200 is performed by the interface 740 having an output function such as a communication function or a display function, and performing output processing under the control of the CPU 710. Communication between the information processing device 200 and other devices is performed by the interface 740 having a communication function and operating under the control of the CPU 710. Interaction between the information processing device 200 and a user is performed by the interface 740 having a display device and an input device, and operating under the control of the CPU 710.
[0168] One or more of the above-described programs may be recorded on nonvolatile recording medium 750. In this case, interface 740 may read the programs from nonvolatile recording medium 750. Then, CPU 710 may directly execute the programs read by interface 740, or may temporarily store the programs in main storage device 720 or auxiliary storage device 730 and then execute them.
[0169] Note that a program for executing all or part of the processing performed by information processing device 100, information processing device 100', and information processing device 200 may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be loaded into a computer system and executed to perform the processing of each unit. Note that the term "computer system" herein includes hardware such as an OS and peripheral devices. Furthermore, the term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs (Read Only Memory), and CD-ROMs (Compact Disc Read Only Memory), as well as storage devices such as hard disks built into the computer system. The program may be designed to implement part of the aforementioned functions, or may be capable of implementing the aforementioned functions in combination with a program already recorded on the computer system.
[0170] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and design changes and the like are also included within the scope that does not deviate from the gist of the present invention.
[0171] A part or all of the above-described embodiments can be described as, but not limited to, the following supplementary notes.
[0172] (Supplementary Note 1) An information processing device comprising: an automaton generation means for generating an automaton, which is a model showing state transitions in a task to be executed; an automaton planning means for generating an action plan based on the automaton; and a transition system planning means for generating an action plan for a robot, based on a transition system, which is a model showing state transitions due to the actions of the robot, for executing the action plan based on the automaton.
[0173] (Supplementary Note 2) The information processing device described in Supplementary Note 1, wherein the automaton generation means generates an automaton represented by a graph including nodes indicating states and directed edges indicating state transitions, the automaton planning means identifies transitions between two nodes in the automaton in generating a behavior plan based on the automaton, and the transition system planning means generates a behavior plan for the robot to perform the identified transitions.
[0174] (Supplementary Note 3) The information processing device described in Supplementary Note 2, wherein the planning means on the transition system divides the task for performing the identified transition into tasks that can be achieved by one robot, assigns each task that can be achieved by one robot to one robot, and generates an action plan for the robot to achieve that task based on the transition system, thereby generating an action plan for the entire robot to perform the identified transition.
[0175] (Supplementary Note 4) The information processing device according to Supplementary Note 2 or Supplementary Note 3, wherein the automaton generating means generates an automaton to which, for each edge, a label indicating a task for performing a transition indicated by the edge is attached.
[0176] (Supplementary Note 5) The information processing device described in Supplementary Note 3 or Supplementary Note 4, wherein the transition system is represented by a graph including nodes indicating states related to the actions of one robot and edges indicating state transitions due to the actions of that robot, and the planning means on the transition system reads out from the transition system robot actions for performing state transitions due to the execution of a task that can be achieved by a single robot, and generates an action plan for that robot to accomplish that task.
[0177] (Supplementary Note 6) The planning means in the transition system plans, as a flex plan, which is a rewritable plan, actions of the robots other than actions for making transitions between nodes of the automaton, among actions of each robot in an action plan of the entire robot for making transitions between nodes of the automaton, and when it determines that the transition between nodes of the automaton that is the subject of the planning can be made by rewriting a flex plan included in the planned action plan, generates an action plan of the entire robot for making transitions between nodes of the automaton that is the subject of the planning by rewriting the flex plan. (Supplementary Note 6) The information processing device described in any one of Supplementary Notes 3 to 5.
[0178] (Supplementary Note 7) The information processing device according to any one of Supplementary Notes 2 to 6, wherein the automaton planning means generates an action plan based on the automaton by finding a route from a start point to an end point on the automaton that has the smallest cost.
[0179] (Supplementary Note 8) The information processing device according to any one of Supplementary Notes 1 to 7, wherein the task is expressed by a logical expression of linear temporal logic.
[0180] (Supplementary Note 9) An information processing method including the steps of: a computer generating an automaton, which is a model showing state transitions in a task to be executed; generating an action plan based on the automaton; and generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to the actions of the robot.
[0181] (Supplementary Note 10) A recording medium having recorded thereon a program for causing a computer to execute the following steps: generating an automaton, which is a model showing state transitions in a task to be executed; generating an action plan based on the automaton; and generating an action plan for a robot, for executing the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to the actions of the robot.
[0182] The present invention may be applied to an information processing device, an information processing method, and a recording medium.
[0183] 100, 100', 200 Information processing device 102 Task input unit 104, 204 Automaton generation unit 106, 206 Automaton planning unit 108 Transition system storage unit 110, 110', 210 Transition system planning unit 112 Task plan output unit
Claims
1. An information processing device comprising: an automaton generating means for generating an automaton which is a model showing state transitions in a task to be executed; an automaton planning means for generating an action plan based on the automaton; and a transition system planning means for generating an action plan for a robot for executing the action plan based on the automaton based on a transition system which is a model showing state transitions due to the actions of the robot.
2. The information processing device of claim 1, wherein the automaton generation means generates an automaton represented by a graph including nodes indicating states and directed edges indicating state transitions, the automaton planning means identifies a transition between two nodes in the automaton in generating a behavior plan based on the automaton, and the transition system planning means generates a behavior plan for the robot to perform the identified transition.
3. The information processing device according to claim 2, wherein the planning means on the transition system divides the task for performing the identified transition into tasks that can be achieved by a single robot, assigns each task that can be achieved by a single robot to one robot, and generates an action plan for the robot to achieve that task based on the transition system, thereby generating an action plan for the entire robot to perform the identified transition.
4. The information processing device according to claim 2, wherein said automaton generating means generates an automaton for each edge, to which a label indicating a task for performing the transition indicated by that edge is attached.
5. The information processing device according to claim 3, wherein the transition system is represented by a graph including nodes indicating states related to the actions of a single robot and edges indicating state transitions due to the actions of that robot, and the planning means on the transition system reads out from the transition system robot actions for effecting state transitions by executing a task that can be achieved by a single robot, and generates an action plan for achieving that task with that robot.
6. The information processing device according to claim 3, wherein the planning means in the transition system plans, in an action plan for the entire robot to make a transition between the nodes of the automaton, actions of the robot other than the actions for making the transition between the nodes of the automaton, among the actions of each robot, as a flex plan, which is a rewritable plan, and when it is determined that the transition between the nodes of the automaton that is the subject of the plan can be made by rewriting a flex plan included in a planned action plan, generates an action plan for the entire robot to make the transition between the nodes of the automaton that is the subject of the plan by rewriting the flex plan.
7. The information processing device according to claim 2, wherein said automaton planning means generates an action plan based on said automaton by determining a route from a start point to an end point on said automaton that has the smallest cost.
8. The information processing device according to claim 1, wherein the tasks are expressed by logical expressions in linear temporal logic.
9. An information processing method comprising: a computer generating an automaton, which is a model showing state transitions in a task to be executed; generating an action plan based on the automaton; and generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to robot actions.
10. A recording medium having recorded thereon a program for causing a computer to execute the following steps: generating an automaton, which is a model showing state transitions in a task to be executed; generating an action plan based on the automaton; and generating an action plan for a robot for executing the action plan based on the automaton, based on a transition system, which is a model showing state transitions due to the actions of the robot.
Citation Information
Patent Citations
Robot teaching method
JP1997198121A
Method for operating a robot in a multi-agent system, robot and multi-agent system
JP2021506607A
