Control method, control device, generation method, and generation device
The control method and device utilize a cyclic structure to dynamically determine and execute motion control modes, addressing the need for flexibility and efficiency in robot motion control by enabling flexible reordering of motion control modes within a cyclic structure, thus enhancing both stability and efficiency in robot operations.
Patent Information
- Application Number
- PCT/JP2024/010175
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-03
AI Technical Summary
Robot motion control systems face challenges in achieving flexibility and efficiency, as existing methods either prioritize stability by maintaining a steady state during mode switches, leading to inefficiencies, or use scenario information that lacks flexibility in executing command orders across multiple tasks.
A control method and device that utilize a cyclic structure with rules for robot motion, allowing for dynamic determination and execution of motion control modes based on terminal elements and next execution order elements, enabling flexible reordering of motion control modes while ensuring stability and efficiency.
This approach allows for flexible reordering of motion control modes, enhancing both stability and time efficiency in robot operations by dynamically determining and executing motion control sequences within a cyclic structure, thereby improving the robot's ability to handle diverse tasks effectively.
Smart Images

Figure JP2024010175_03102024_PF_FP_ABST
Abstract
Description
Control method, control device, generation method, and generation device
[0001] The present disclosure relates to a control method, a control device, a generating method, and a generating device.
[0002] Robots such as mobile manipulators in the service industry, including caregiving, nursing care support, food service, and retail, are required to have the flexibility to recombine multiple basic motion control functions depending on the situation, given the wide variety of objects, environments, and tasks they can handle. They are also required to be both stable enough to perform tasks reliably and time-efficient enough to complete a given task in a short amount of time.
[0003] For example, in motion control for pick-and-place, when switching motion control modes, stability is ensured by first establishing a steady state and then transitioning to the next motion control mode after a sufficient amount of time has passed.
[0004] JP 2013-059846 A
[0005] However, while motion control that passes through a steady state can ensure stability, time efficiency is sacrificed by passing through the steady state each time the motion control mode is switched. On the other hand, there is a method that ensures time efficiency and stability without passing through the steady state when switching motion control modes by inputting scenario information that serially describes the types of motion, etc., into the robot, generating a command queue based on the scenario information, and executing the commands. However, with robot control based on scenario information, the execution order of commands in the command queue is not evaluated until immediately before execution, and the execution order of commands is not determined. This makes it difficult to use this method for motion control that takes into account previous and subsequent tasks, for example, and it lacks flexibility.
[0006] Therefore, the present disclosure proposes a control method, a control device, a generation method, and a generation device that can ensure flexibility in the motion control of a robot.
[0007] According to the present disclosure, a control method is provided in which a control device obtains a terminal element from a cyclic structure having rules for robot movements as elements, determines an operation to be performed based on the terminal element, executes the determined operation, obtains the next element from the cyclic structure after the element corresponding to the determined operation, determines an operation to be performed based on the next element, and repeats the determination and execution of operations until there are no more elements to be executed from the cyclic structure.
[0008] Furthermore, according to the present disclosure, there is provided a control device including a control unit that executes a process of obtaining a terminal element from a circulatory structure having rules for robot movements as elements, determining an operation to be performed based on the terminal element, executing the determined operation, obtaining an element in the next execution order for the determined operation from the circulatory structure, determining an operation to be performed based on the element in the next execution order, and repeating the determination and execution of operations until there are no more elements to be executed from the circulatory structure.
[0009] Furthermore, according to the present disclosure, a generation method is provided in which a generation device acquires the robot's movements and an identifier for executing the movements, and based on the identifier, arranges the movements as elements of a cyclic structure so that the movements are executed from the terminal element of the cyclic structure, thereby performing a process to generate a cyclic structure having rules for the movements as elements.
[0010] Furthermore, according to the present disclosure, there is provided a generation device having a control unit that executes processing to acquire the robot's movements and an identifier for executing the movements, and based on the identifier, arrange the movements as elements of the circulation structure so that the movements are executed from the terminal element of the circulation structure, thereby generating a circulation structure having rules for the movements as elements.
[0011] 1 is a diagram illustrating an example of motion control of a robot. FIG. 2 is a diagram illustrating an example of a failure in motion control of a robot. FIG. 3 is a diagram illustrating an example of motion control via a steady state. FIG. 4 is a diagram illustrating an example of the relationship between speed and position by motion control via a steady state. FIG. 5 is a diagram illustrating an example of the relationship between speed and position by motion control not via a steady state. FIG. 6 is a diagram illustrating an example of a return operation by motion control via a steady state. A block diagram illustrating an example of the functional configuration of a control device 100 according to the present embodiment. A diagram for explaining a circulatory structure expression according to the present embodiment. A diagram for explaining an execution order of motion control by a circulatory structure according to the present embodiment. A diagram for explaining a method (1) of adding an operation to a circulatory structure according to the present embodiment. A diagram for explaining a method (2) of adding an operation to a circulatory structure according to the present embodiment. A diagram for explaining a method of adding and deleting operations to a circulatory structure according to the present embodiment. A diagram for explaining a normal system of motion control by a circulatory structure according to the present embodiment. A diagram for explaining an abnormal system of motion control by a circulatory structure according to the present embodiment. A flowchart illustrating the flow of motion control processing by a circulatory structure according to the present embodiment. A flowchart illustrating another example of the flow of motion control processing by a circulatory structure according to the present embodiment. A block diagram illustrating an example of the hardware configuration of a control device 100 according to the present embodiment.
[0012] The present embodiment will be described in detail below with reference to the drawings. In this specification and the drawings, substantially the same components are designated by the same reference numerals, and redundant description will be omitted.
[0013] The description will be given in the following order: 0. Prior art 1. Embodiment 1.1. Example of functional configuration 1.2. Functional flow 2. Example of hardware configuration 3. Summary
[0014] <0. Prior Art> First, before describing this embodiment, motion control of a robot such as a mobile manipulator will be described. Fig. 1 is a diagram showing an example of robot motion control. Fig. 1 shows, from the left, a series of motion controls for pick-and-place by a robot such as a mobile manipulator in chronological order. The hand 10 is, for example, a gripper hand connected to a control device for controlling the hand 10, and equipped with a hand camera (not shown) such as an RGBD camera and a proximity sensor.
[0015] 1 , in pick-and-place motion control, first, a hand 10 is controlled by a control device in accordance with a predetermined motion plan and approaches an object 20. Next, the position and orientation of the hand 10 are adjusted by a hand camera provided at the tip of the hand 10, and, for example, when the hand 10 approaches the object 20 by a predetermined distance, the position and orientation of the hand 10 are further adjusted by a proximity sensor provided in the hand 10. Then, when the hand 10 approaches within a range where it can grasp the object 20, the gripping force of the hand 10 is controlled in accordance with a predetermined gripping plan, and the object 20 is grasped.
[0016] FIG. 2 illustrates an example of a failure in robot motion control. Strictly speaking, the pick-and-place motion control shown in FIG. 1 involves an intermediate state in which the hand 10 position and posture adjustments using a hand-end camera and proximity sensors and other magnetic force control are repeated, as shown in FIG. 2 . Thus, the pick-and-place motion control does not directly execute a predetermined plan, such as a motion plan or a grasping plan, but rather switches to a camera or sensor that matches the relative relationship with the object 20 during the approach process to control the object 20. In particular, if the object 20 is unknown, sufficient sensor information may not be obtained from the camera or sensor during the process of controlling the hand 10 according to the motion plan or the grasping plan. Therefore, the control device updates and controls the position and posture of the hand 10 while changing and adding sensor information used to control the hand 10 as the hand 10 approaches the object 20.
[0017] Therefore, in the case of such pick-and-place motion control, for example, after adjusting the position and attitude of the hand 10 using a proximity sensor, the control mode switches to grip force control. However, grip force control assumes that the relationship between the relative position and attitude of the hand 10 and the object 20 does not change during the transition period of the control mode switch. Therefore, during the transition period of the control mode switch, the command value from the control device to the actuator becomes discontinuous, and as shown in the upper part of Figure 2, a state may occur in which the attitude and position of the hand 10 cannot be maintained. When this occurs, the grip force control operates with an unintended attitude or position of the hand 10, and as shown in Figure 2, the gripping may fail, such as failing to grip the object 20 or causing it to fall over, or even if it is able to grip it, dropping it midway. Alternatively, even if the object 20 is gripped, it may be gripped in an unintended position or attitude, resulting in contact with surrounding environmental structures or objects not intended to be gripped. Therefore, there is a motion control method that ensures stability when switching motion control modes by first establishing a steady state and then transitioning to the next motion control mode after a sufficient amount of time has passed.
[0018] FIG. 3 illustrates an example of motion control via a steady state. The left side of FIG. 3 illustrates a designed example of switching between motion control modes. As described above, such switching between motion control modes can result in transition to the next motion control mode even when the post-conditions for switching to the next motion control mode are not met, for example, when an unintended part of the hand 10 comes into contact with the object 20, changing the position or posture of the object 20, or when the hand 10 comes into contact with a surrounding environmental structure or an object not intended for grasping. Furthermore, for example, in the next motion control mode, grip force control, control is performed without satisfying pre-conditions, such as the position and posture assumed in the grasp plan. Therefore, as shown on the right side of FIG. 3 , the motion control mode is switched via a steady state, and the control device suppresses switching between motion control modes in unintended states where the post-conditions or pre-conditions are not met. This improves the task success rate and ensures the stability of motion control, but time efficiency is reduced by passing through the steady state each time the motion control mode is switched.
[0019] FIG. 4 is a diagram showing an example of the relationship between speed and position under motion control via a steady state. The graph shown in FIG. 4 shows the speed and position of the hand 10 on the vertical axis and time (seconds) on the horizontal axis, and illustrates the relationship between the speed and position of the hand 10 when switching from motion control mode A via the steady state to motion control mode B. Note that the position of the hand 10 is a relative position; for example, 0.00 is the starting position and 2.00 is the target position where the object 20 is located. The speed of the hand 10 shown on the vertical axis is also merely an example. As shown in FIG. 4 , when switching from motion control mode A to B (after 1 second has elapsed), the hand 10 passes through the steady state, so the speed of the hand 10 becomes 0 and the position stagnates at point 1.00. Then, after 2 seconds has elapsed, the hand 10 reaches the target position 2.00.
[0020] FIG. 5 is a diagram illustrating an example of the relationship between velocity and position in motion control that does not pass through a steady state. The graph shown in FIG. 5 illustrates the relationship between velocity and position of the hand 10 in motion control that does not pass through a steady state, compared to the motion control that does pass through a steady state shown in FIG. 4 . Note that, for comparison with the graph shown in FIG. 4 , the position in motion control that passes through a steady state is indicated as position X, and the velocity and position in motion control that does not pass through a steady state are indicated as velocity Y and position Y, respectively. As shown in FIG. 5 , in the case of motion control that does not pass through a steady state, the hand 10 is in a constant velocity state as indicated by velocity Y, and reaches the target position 2.00 after 1.6 seconds. In other words, in the case of motion control that passes through a steady state, a dead time of approximately 0.4 seconds occurs. Therefore, as shown in Patent Document 1, for example, there is a method for ensuring time efficiency and stability by using scenario information for motion control. However, motion control that uses scenario information is difficult to use for motion control that takes into account previous and subsequent tasks, and lacks flexibility.
[0021] FIG. 6 is a diagram illustrating an example of a return operation by motion control via a steady state. FIG. 6 is a diagram for explaining a return operation when, for example, the grip force control shown in FIG. 2 fails. For example, if a post-condition or pre-condition for switching to the next motion control mode, grip force control, is not satisfied after adjusting the position and posture of the hand 10 using a proximity sensor, it is obvious that the grip force control will fail. Therefore, if the post-condition or pre-condition for switching to grip force control is not satisfied, it is required not to switch to grip force control, but to perform a return operation, such as adjusting the position and posture of the hand 10 using a proximity sensor or a hand camera, before switching to grip force control. Furthermore, considering the execution speed of the entire task, when switching to such a return operation is necessary because the post-condition or pre-condition is not satisfied during the previous motion control mode, it is required to appropriately update the execution order of the motion control modes.
[0022] Therefore, in this embodiment, one of the objectives is to ensure flexibility in the motion control of a robot by flexibly changing the execution order of motion control modes while ensuring task stability and time efficiency.
[0023] <1. Embodiment> <<1.1. Functional Configuration Example>> Next, a control device 100 according to this embodiment will be described. The control device 100 is, for example, a server computer managed by a service provider of care assistance, food service, retail, or the like using a robot such as a mobile manipulator, or an information processing device such as a desktop PC (Personal Computer) or a notebook PC. Alternatively, the control device 100 may be, for example, a computer built into a robot such as a mobile manipulator. The control device 100 is communicatively connected to a robot such as a mobile manipulator, for example, via wireless or wired communication, and controls the movement of the robot.
[0024] 7 is a block diagram showing an example of the functional configuration of the control device 100 according to this embodiment. As shown in Fig. 7, the control device 100 according to this embodiment includes, for example, a communication unit 110, a storage unit 120, an acquisition unit 130, a determination unit 140, an execution unit 150, a deletion unit 160, a generation unit 170, an update unit 180, and a control unit 190.
[0025] (Communication Unit 110) The communication unit 110 according to this embodiment is connected to various communication networks such as the Internet wirelessly or via a wire, and transmits and receives information to and from robots such as mobile manipulators and other information processing devices on the network.
[0026] (Storage Unit 120) The storage unit 120 according to this embodiment is a storage area for temporarily or permanently storing various programs and data. For example, the storage unit 120 can store programs and data for the control device 100 to execute various functions. As a specific example, the storage unit 120 may store programs and data for operating a robot such as a mobile manipulator. Of course, the above is merely an example, and the type of data stored in the storage unit 120 is not particularly limited.
[0027] In this embodiment, data for operating a robot is expressed, for example, in a cyclic structure in which the smallest unit of a movement is an exercise goal. FIG. 8 is a diagram illustrating the cyclic structure representation according to this embodiment. The cyclic structure is, for example, a tree structure. As shown in the upper part of FIG. 8 , the basic structure is composed of exercise goal groups, each containing zero or more exercise goals, which represent the types of movements of the robot. Furthermore, the exercise goal groups may include, for example, a priority that specifies the order in which movements are performed and a resource that specifies the location where the movement is to be performed, such as the robot's right or left hand. Furthermore, as shown in the lower part of FIG. 8 , the exercise goal groups may include, for example, a type that indicates the relationship between the exercise goal groups. For example, the type may be "Child" if the exercise goal group is a child group of a higher-level group, or "Root" if the exercise goal group is a parent group. Furthermore, as shown in the lower part of FIG. 8 , each exercise goal group may be assigned, for example, an ID that is an identifier that uniquely identifies the exercise goal group. Details of the execution order of exercise goals (movements) in the cyclic structure will be described later. For example, it may be predetermined that movements are executed from the left or right of the cyclic structure, and movements from the exercise goal group at the end of either the left or right end are executed in order. For example, a parent group such as an example movement may be placed above the exercise purpose group in a one-parent-many-child relationship, and the exercise purpose group may be expressed as a subset of the example movements.
[0028] Next, the execution order of exercise objectives (movements) using a circulation structure will be described. Fig. 9 is a diagram for explaining the execution order of exercise control using a circulation structure according to this embodiment. In the example of Fig. 9, four examples of the execution order of a circulation structure including exercise objective groups such as those shown in Fig. 8 will be described. In the example of Fig. 9, the exercise objectives are executed in order starting from the exercise objective group at the left end.
[0029] 9 is an example in which the circulation structure includes only an exercise purpose group that includes exercise purpose A. In this case, "Root" is specified as the type of the exercise purpose group that includes exercise purpose A, and exercise purpose A is executed first as the motion control of the robot, and then the process ends.
[0030] Example (2) in Fig. 9 is an example in which the circulation structure includes a parent exercise purpose group that includes two exercise purpose groups that include exercise purposes A and B, respectively. The type of the parent exercise purpose group is specified as "Root." The type of the two exercise purpose groups that include exercise purposes A and B, respectively, is specified as "Child." In this case, as the motion control of the robot, first, exercise purpose A included in the exercise purpose group at the left end is executed, then exercise purpose B is executed, and the process ends.
[0031] 9 is an example in which, like example (2), the circulation structure includes a parent exercise purpose group that includes exercise purpose groups for exercise purposes A and B. However, unlike example (2), "Root" is specified as the type of the exercise purpose group for exercise purposes A and B. In this case, exercise purpose A included in the exercise purpose group at the left end and exercise purpose B of the exercise purpose group that is at the same level as the exercise purpose group that includes exercise purpose A and that is specified as "Root" are simultaneously executed as the robot's motion control, and the processing ends.
[0032] Example (4) in Fig. 9 is an example in which the circulation structure includes a parent exercise purpose group including two exercise purpose groups each including exercise purposes A and B in example (2), and an exercise purpose group including exercise purpose C, and further includes a parent exercise purpose group. Furthermore, the type of the parent exercise purpose group of the exercise purpose group including exercise purposes A and B and the type of the exercise purpose group including exercise purpose C are specified as "Root." In this case, exercise purpose A included in the exercise purpose group at the left end is executed first as the motion control of the robot. Next, exercise purpose B is executed, but in parallel with the execution of exercise purposes A and B, exercise purpose C of the exercise purpose group that is specified as "Root" and is at the same level as the parent exercise purpose group of the exercise purpose group including exercise purposes A and B is executed, and the processing ends.
[0033] (Acquisition Unit 130) Returning to the description of FIG. 7 , the acquisition unit 130 according to this embodiment acquires, for example, a terminal element from a cyclic structure having rules for robot movements as elements. Here, a cyclic structure having rules for robot movements as elements is, for example, a cyclic structure including exercise objective groups as elements, as described with reference to FIG. 8 . The terminal element is, for example, the left-most exercise objective group when the execution order of the exercise objectives (movements) according to the cyclic structure specifies that the movements are to be executed from the left of the cyclic structure, or the right-most exercise objective group when the movements are to be executed from the right. The acquisition unit 130 also acquires, for example, the next element in the execution order for a movement determined as a movement to be executed from the cyclic structure.
[0034] Furthermore, for example, when a terminal element indicates a predetermined type, the acquisition unit 130 acquires a first element indicating the predetermined type from the group to which the terminal element belongs. Here, the predetermined type is a type indicating the relationship between exercise purpose groups, as described with reference to FIG. 8 . Furthermore, when a terminal element indicates a predetermined type, for example, the type of the terminal element indicates "Root." Furthermore, the group to which the terminal element belongs is, for example, a parent exercise purpose group that includes the terminal element. In other words, acquiring the first element means acquiring the first element together with the terminal element for simultaneous execution of actions, such as those shown in example (3) in FIG. 9 .
[0035] Furthermore, for example, when a resource for executing an operation is specified for a terminal element, the acquiring unit 130 acquires, from the group to which the terminal element belongs, a second element that is next in the execution order for the terminal element and that is specified with a first resource different from the resource. Here, the resource is a resource that is specified as a location for executing an operation, as described with reference to FIG.
[0036] The acquisition unit 130 also acquires, for example, the movements and their identifiers. The acquisition unit 130 also acquires, for example, the identifier of a third movement to be added to the circulation structure. The acquisition unit 130 also acquires, for example, the identifier of a fourth movement to be deleted from the circulation structure. Here, the identifier is an ID that is an identifier that uniquely identifies an exercise purpose group, as described with reference to FIG. 8.
[0037] (Determining Unit 140) The determining unit 140 according to the present embodiment determines an action to be performed, for example, based on the end element acquired by the acquiring unit 130. Here, determining an action to be performed based on the end element means, for example, determining an action corresponding to the end element, i.e., an action included in the end exercise purpose group, as the action to be performed.
[0038] Furthermore, the determination unit 140 determines the motion to be performed based on, for example, the elements of the next execution order acquired by the acquisition unit 130. Determining the motion to be performed based on the elements of the next execution order means, for example, determining, as the motion to be performed, a motion included in the exercise purpose group of the elements of the next execution order for the motion determined by the determination unit 140 as the motion to be performed.
[0039] Furthermore, the determination unit 140 determines the first motion to be performed, for example, based on the first element acquired by the acquisition unit 130. Note that the first element is, for example, an exercise purpose group including exercise purpose B, for which "Root" is specified, acquired for the simultaneous execution of motions as shown in example (3) in Fig. 9. Therefore, determining the motion to be performed based on the first element means, for example, determining the motion to be performed as a motion included in the exercise purpose group acquired for simultaneous execution.
[0040] Furthermore, the determination unit 140 determines the second motion to be performed, for example, based on the second element acquired by the acquisition unit 130. Note that the second element is an exercise group to which a resource different from the resource to perform the motion determined by the determination unit 140 based on the end element is designated. Therefore, determining the motion to be performed based on the second element means, for example, determining, as the motion to be performed, a motion included in an exercise group to which a resource different from the resource to perform the motion determined by the determination unit 140 based on the end element is designated.
[0041] (Execution unit 150) The execution unit 150 according to this embodiment executes, for example, the operation determined by the determination unit 140. Note that the determination of an operation by the determination unit 140 and the execution of the operation by the execution unit 150 are repeated until there are no more elements to be executed in the cyclic structure.
[0042] Furthermore, the execution unit 150 executes, for example, the first operation determined by the determination unit 140 simultaneously with an operation determined by the determination unit 140 based on a terminal element. Such simultaneous execution of operations is, for example, the simultaneous execution of operations shown in example (3) in Fig. 9. Note that such an operation in which one of the operations executed simultaneously is determined based on a terminal element is merely an example, and the operations executed simultaneously do not have to be operations determined based on a terminal element.
[0043] Furthermore, the execution unit 150 executes, for example, a second action determined by the determination unit 140, regardless of the execution status of the action determined based on the end element. Note that the second action is an action corresponding to a second element for which a resource different from the resource for executing the action determined by the determination unit 140 based on the end element is specified. For example, if the action corresponding to the end element is an action using the robot's right hand, other resources such as the robot's left hand can be used, and therefore the execution unit 150 executes an action using other resources such as the robot's left hand, regardless of the execution status of the action of the robot's right hand. Note that the case where one of the actions taking into account such resources is an action determined based on the end element is merely an example, and the action taking into account the resource does not have to be an action determined based on the end element.
[0044] (Deleting unit 160) The deleting unit 160 according to this embodiment deletes, for example, from the cyclic structure, elements corresponding to the operation determined by the determining unit 140, the first element, and the second element. Note that the deletion of elements by the deleting unit 160 is repeated until there are no elements left in the cyclic structure. A method for deleting elements from the cyclic structure will be described later.
[0045] (Generation Unit 170) The generation unit 170 according to the present embodiment generates a circulation structure by arranging elements so that movements are performed starting from the end element of the circulation structure, for example, based on the identifier of the movement. More specifically, the generation unit 170 generates a circulation structure as shown in FIG. 9 using exercise purpose groups as elements, for example, as shown in FIG. 8, so that movements are performed starting from the end exercise purpose group based on the ID assigned to each exercise purpose group. Note that the generation of the circulation structure may be performed by an information processing device separate from the exercise control using the generated circulation structure. In this case, the generation unit 170 does not need to be included in the control device 100, and may be included in, for example, a generation device separate from the control device 100.
[0046] (Update Unit 180) The update unit 180 according to this embodiment updates the cyclic structure by, for example, adding a third action as an element of the cyclic structure based on the action identifier so that actions are executed from the last element of the cyclic structure. Note that, for example, the action identifier corresponds to the element to be added to the cyclic structure, and the element to be added and the goal of how to add it are specified, along with the action identifier, by a robot administrator or the like via an information processing terminal (not shown). The method of adding an action to the cyclic structure will be described in more detail with reference to FIGS. 10 and 11 .
[0047] Fig. 10 is a diagram for explaining a method (1) of adding an action to a circulation structure according to this embodiment. Fig. 10 shows an example in which the update unit 180 adds an exercise purpose group including exercise purpose B to a circulation structure that includes only an exercise purpose group including exercise purpose A as shown in example (1) in Fig. 9. In the example of Fig. 10, the circulation structure is updated so that exercise purpose A and exercise purpose B are executed in order as shown in example (2) in Fig. 9.
[0048] When adding an exercise purpose group as shown in FIG. 10 as the next goal to be performed after an exercise purpose (group) already included in a circulation goal, the update unit 180, for example, changes the type of the exercise purpose group to be added to a child group (Child). The update unit 180 also changes the type of the exercise purpose loop to be added, which will belong to the same parent exercise purpose group as the exercise purpose group to be added, to a child group (Child). The update unit 180 then changes the type of the parent exercise purpose group to a parent group (Root) and adjusts the priority of the parent group to the highest priority among the child groups. The update unit 180 also sets the resources of the parent group to the sum of the resources of the child groups, for example.
[0049] 11 is a diagram for explaining a method (2) of adding an action to a circulation structure according to this embodiment. Similar to FIG. 10 , FIG. 11 is an example in which the update unit 180 adds an exercise purpose group including exercise purpose B to a circulation structure that includes only an exercise purpose group including exercise purpose A, as shown in example (1) in FIG. 9 . However, in the example of FIG. 11 , the circulation structure is updated so that exercise purpose A and exercise purpose B are performed simultaneously, as shown in example (3) in FIG. 9 .
[0050] When adding an exercise purpose group as shown in FIG. 11 as a simultaneous goal to be executed simultaneously with an exercise purpose (group) already included in a circulation goal, the update unit 180 performs the following process, for example. The update unit 180, for example, compares the resources of the exercise purpose group to be added with those of an exercise purpose group to be added that will belong to the same parent exercise purpose group as the exercise purpose group to be added. If the resources of the exercise purpose group to be added and the exercise purpose group to be added do not overlap, the update unit 180, for example, matches the priority of the parent exercise purpose group to the lowest priority of the child groups. Furthermore, the update unit 180, for example, sets the resources of the parent exercise purpose group to the sum of the resources of the child groups. On the other hand, if the resources of the exercise purpose group to be added and the exercise purpose group to be added overlap, the update unit 180 matches the priority of the parent exercise purpose group to the highest priority of the child groups, and sets the resources to the same as the resources of the highest priority.
[0051] Returning to the explanation of Fig. 7, the update unit 180 updates the cyclic structure by deleting the element in which the fourth action is placed from the cyclic structure based on the action identifier, for example. Note that the action identifier corresponds to the element to be deleted from the cyclic structure and is specified by the robot administrator or the like via an information processing terminal or the like. The method of deleting actions from the cyclic structure will be explained in more detail using Fig. 12.
[0052] FIG. 12 is a diagram illustrating a method for adding and deleting actions to and from a circulation structure according to this embodiment. FIG. 12 illustrates an example in which the update unit 180 updates the circulation structure shown on the left side of FIG. 12 by adding an exercise purpose group with ID=006, which is an action identifier, as a simultaneous goal of the exercise purpose group with ID=005, resulting in the circulation structure shown on the right side of FIG. 12 . FIG. 12 also illustrates an example in which the update unit 180 deletes the exercise purpose group with ID=006, which is an action identifier, from the circulation structure shown on the right side of FIG. 12 , resulting in the circulation structure shown on the left side of FIG. 12 . For example, when deleting an exercise purpose group from the circulation structure, the update unit 180 performs the reverse process of the process used to add an exercise purpose group, based on the specified ID, which is the identifier of the action corresponding to the exercise purpose group to be deleted. This updates the circulation structure to its state before the exercise purpose group was added, i.e., to a state in which the target exercise purpose group has been deleted.
[0053] In addition, the deletion of an exercise purpose group may be performed by the robot administrator or the like through a loop structure update process. Alternatively, the deletion unit 160 may delete an exercise purpose group of an element corresponding to an action determined to be executed by the determination unit 140. FIG. 13 is a diagram for explaining a normal system of motion control using a loop structure according to this embodiment. In the example of FIG. 13 , as shown in the upper left of FIG. 13 , the action of “approach by motion planning” corresponding to the motion purpose group, which is the end element, is executed first. Furthermore, when the determination unit 140 determines the action of “approach by motion planning” as the action to be executed, the deletion unit 160 deletes the exercise purpose group corresponding to the action of “approach by motion planning” from the loop structure for the next execution. Next, by deleting the exercise purpose group corresponding to the action of “approach by motion planning,” the end element of the loop structure becomes the exercise purpose group corresponding to the action of “adjust with hand camera.” Therefore, the determination unit 140 determines the action of “adjust with hand camera” as the action to be executed next. Then, for the next execution, the deletion unit 160 deletes the exercise objective group corresponding to the action of "adjust with hand camera" from the circulation structure. Similarly, for the actions of "adjust with proximity sensor" and "grip force control," the decision of the action and the deletion of the elements that are the exercise objective group are performed. In this way, the decision and execution of the action and the deletion of the elements of the circulation structure are repeated until there are no elements left in the circulation structure. Note that the timing of deleting the elements of the circulation structure may be before the action to be executed is decided and the action is executed, or after the action is executed normally.
[0054] FIG. 13 illustrates an example of normal motion control when each motion is executed normally, i.e., an example of normal motion control. However, abnormal motion control when a motion fails to be executed is also described. FIG. 14 illustrates an abnormal motion control using a cyclic structure according to this embodiment. FIG. 14 illustrates an example of a case where the "adjust with proximity sensor" motion in the example of FIG. 13 fails to be executed. In this case, for example, as a return process, it is determined to start again from the "adjust with hand camera" motion, and as shown on the right side of FIG. 14, a motion objective group corresponding to the "adjust with hand camera" motion is added to the cyclic structure. As a result, the end element of the cyclic structure becomes the motion objective group corresponding to the "adjust with hand camera" motion, and the "adjust with hand camera" motion is determined to be the next motion to be executed. In this way, in this embodiment, the execution order of the motion control modes can be flexibly changed, ensuring flexibility in motion control.
[0055] 7 , the control unit 190 according to this embodiment controls each component included in the control device 100. In addition to controlling each component, the control unit 190 can also control, for example, applications displayed on the deletion unit 160.
[0056] An example of the functional configuration of the control device 100 according to this embodiment has been described above. Note that the functional configuration described above using FIG. 2 is merely an example, and the functional configuration of the control device 100 according to this embodiment is not limited to this example. For example, the control device 100 does not necessarily have to include all of the components shown in FIG. 7. The functional configuration of the control device 100 according to this embodiment can be flexibly modified according to specifications and operations.
[0057] In addition, a computing device such as a CPU (Central Processing Unit) may read and execute a control program describing the processing procedures for realizing the functions of each component from a storage medium such as a ROM (Read Only Memory) or a RAM (Random Access Memory). Therefore, the configuration used can be changed as appropriate depending on the technical level at the time of implementing this embodiment. An example of the hardware configuration of the control device 100 will be described later.
[0058] <<1.2. Functional Flow>> Next, the procedure for the motion control process using a circulation structure will be described with reference to Figures 15 and 16. Figure 15 is a flowchart showing the flow of the motion control process using a circulation structure according to this embodiment. Note that the motion control process shown in Figure 15 assumes that a circulation structure with the minimum unit of movement as the motion objective, as explained with reference to Figures 8 to 13, has been generated in advance as data for operating the robot and stored in the control device 100.
[0059] 15, the control device 100 acquires a robot operation request from, for example, a robot administrator via an information processing terminal (step S101). The operation request may be received and acquired in real time, or may be acquired from a request previously stored in the control device 100.
[0060] Next, the control device 100 updates the cyclic structure based on the operation request acquired in step S101 (step S102). The update of the cyclic structure may be performed, for example, when the operation request acquired in step S101 instructs the addition or deletion of an operation to or from the cyclic structure, as shown in Figures 10 to 12.
[0061] Next, the control device 100 searches for an end exercise purpose group for the circulation structure (step S103). The search for the end exercise purpose group may be, for example, a process of acquiring an end exercise purpose group on either the left or right side of the circulation structure based on a predetermined execution order of the circulation structure. If an end exercise purpose group cannot be acquired (step S104: No), the exercise control process shown in FIG. 15 ends.
[0062] On the other hand, if the end exercise purpose group has been obtained (step S104: Yes), the control device 100 determines, for example, the exercise purpose (type of movement) corresponding to the end exercise purpose group as the movement to be performed (step S105).
[0063] Next, the control device 100, for example, deletes the terminal exercise purpose group acquired in step S103 from the circulation structure (step S106).
[0064] Next, the control device 100 switches to an exercise control mode for executing the motion determined in step S105, for example, and executes the motion (step S107). After executing step S107, the process returns to step S103, and steps S103 to S107 are repeated until there are no more end-point exercise purpose groups in the circulation structure (step S104: No). Note that the end-point exercise purpose group corresponding to the motion executed in step S107 was deleted in step S106. Therefore, the end-point exercise purpose group searched for after returning to step S103 is the exercise purpose group that became the new end-point exercise purpose group after the deletion of the end-point exercise purpose group.
[0065] Next, a flow of a motion control process different from the motion control process shown in Fig. 15 will be described. Fig. 16 is a flowchart showing another example of the flow of a motion control process using a circulation structure according to this embodiment. The motion control process shown in Fig. 16 is a process for flexibly changing and controlling the execution order of motion control modes for a robot in operation. In the motion control process shown in Fig. 16, as in Fig. 15, it is assumed that a circulation structure is generated in advance as data for operating the robot and stored in the control device 100.
[0066] First, as shown in Fig. 16, the control device 100 determines whether or not a new operation request has been made to the operating robot, for example, from a robot administrator or via an information processing terminal (step S201). If there is no new operation request (step S201: No), the control device 100 determines whether the operation in progress has ended (step S204). If the operation is to continue (step S204: No), the control device 100 continues to execute the control logic of the operating robot (step S208). After executing step S208, the motion control process shown in Fig. 16 ends.
[0067] On the other hand, if there is a new operation request (step S201: Yes), the control device 100 updates the cyclic structure based on the operation request (step S202). The update of the cyclic structure may be, for example, adding or deleting an operation to or from the cyclic structure, as shown in Figures 10 to 12 and 14.
[0068] Next, the control device 100 determines whether or not switching of the motion control mode is necessary to control the motion of the operating robot, for example, based on the circulation structure updated in step S202 (step S203). If switching of the motion control mode is necessary (step S203: Yes), the control device 100 switches the motion control mode (step S207) and executes the control logic of the operating robot based on the circulation structure updated in step S202 (step S208). On the other hand, if switching of the motion control mode is not necessary (step S203: No), the control device 100 executes the control logic of the operating robot based on, for example, the circulation structure updated in step S202 (step S208).
[0069] Furthermore, when there is no new movement request (step S201: No) and the movement in progress is to be ended (step S204: Yes), the control device 100 searches for, for example, the end exercise purpose group in the loop structure for subsequent execution (step S205). Note that the search for the end exercise purpose group in step S205 is similar to the search in step S103 in the exercise control process shown in Fig. 15. Note that after execution of step S205, a determination may be made as to whether the end exercise purpose group has been acquired by the search for the end exercise purpose group in step S205, similar to step S104 in the exercise control process shown in Fig. 15.
[0070] Next, the control device 100 determines, for example, the exercise purpose (type of movement) corresponding to the end exercise purpose group acquired in step S205 as the movement to be performed (step S206).
[0071] Then, the control device 100 switches to a motion control mode for executing the operation determined in step S206 (step S207), and executes the control logic of the robot based on the circulation structure (step S208).
[0072] 2. Hardware Configuration Example Next, a hardware configuration example of the control device 100 according to the present embodiment will be described. Information devices such as the control device 100 according to each of the above-described embodiments are realized, for example, by a computer 1000 configured as shown in FIG. 17 . The following description will be given using the control device 100 as an example. A block diagram showing a hardware configuration example of the control device 100 according to the present embodiment. The computer 1000 has a CPU 1100, a RAM 1200, a ROM 1300, a HDD (Hard Disk Drive) 1400, a communication interface 1500, and an input / output interface 1600. The components of the computer 1000 are connected by a bus 1050.
[0073] The CPU 1100 operates and controls each component based on programs stored in the ROM 1300 or the HDD 1400. For example, the CPU 1100 loads the programs stored in the ROM 1300 or the HDD 1400 into the RAM 1200 and executes processing corresponding to the various programs.
[0074] The ROM 1300 stores boot programs such as a Basic Input Output System (BIOS) that is executed by the CPU 1100 when the computer 1000 is started, and programs that depend on the hardware of the computer 1000 .
[0075] HDD 1400 is a computer-readable recording medium that non-temporarily records programs executed by CPU 1100 and data used by such programs. Specifically, HDD 1400 is a recording medium that records the proposed program according to the present disclosure, which is an example of program data 1450.
[0076] The communication interface 1500 is an interface for connecting the computer 1000 to an external network 1550 (e.g., the Internet). For example, the CPU 1100 receives data from other devices and transmits data generated by the CPU 1100 to other devices via the communication interface 1500.
[0077] The input / output interface 1600 is an interface for connecting the input / output device 1650 and the computer 1000. For example, the CPU 1100 receives data from an input device such as a keyboard or a mouse via the input / output interface 1600. The CPU 1100 also transmits data to an output device such as a display, a speaker, or a printer via the input / output interface 1600. The input / output interface 1600 may also function as a media interface for reading programs recorded on a predetermined recording medium. Examples of media include optical recording media such as a DVD (registered trademark) (Digital Versatile Disc) or a PD (Phase Change Rewritable Disk), magneto-optical recording media such as an MO (Magneto-Optical disk), tape media, magnetic recording media, or semiconductor memory.
[0078] For example, when the computer 1000 functions as the control device 100 according to the embodiment, the CPU 1100 of the computer 1000 executes the proposed program loaded onto the RAM 1200 to realize functions such as the control unit 190. The proposed program according to the present disclosure and data in the storage unit 120 are stored in the HDD 1400. The CPU 1100 reads and executes the program data 1450 from the HDD 1400, but as another example, the CPU 1100 may obtain these programs from another device via an external network 1550.
[0079] <3. Summary> As described above, the control device 100 includes a control unit that executes a process of acquiring a terminal element from a circulatory structure having rules for robot operations as elements, determining an operation to be executed based on the terminal element, executing the determined operation, acquiring an element in the next execution order for the determined operation from the circulatory structure, determining an operation to be executed based on the element in the next execution order, and repeating the determination and execution of operations until there are no more elements to be executed from the circulatory structure.
[0080] In this way, by controlling the motion of the robot using a circulation structure having rules for the robot's operation as elements, the control device 100 can ensure flexibility in controlling the motion of the robot.
[0081] Although the preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, the technical scope of the present disclosure is not limited to such examples. It is clear that a person skilled in the art of the present disclosure can conceive of various modified or altered examples within the scope of the technical idea described in the claims, and it is understood that these also naturally fall within the technical scope of the present disclosure.
[0082] Furthermore, the effects described herein are merely descriptive or exemplary and are not limiting. In other words, the technology according to the present disclosure may achieve other effects that will be apparent to those skilled in the art from the description of this specification, in addition to or in place of the above-described effects.
[0083] Note that the present technology can also be configured as follows: (1) A control method in which a control device executes the following processing: acquires a terminal element from a cyclic structure having rules for robot behavior as elements, determines the behavior to be executed based on the terminal element, executes the determined behavior, acquires an element in a next execution order for the determined behavior from the cyclic structure, determines the behavior to be executed based on the element in the next execution order, and repeats determining and executing the behavior until there are no more elements to be executed from the cyclic structure. (2) The control method according to (1), in which the control device executes the processing: deletes from the cyclic structure the element corresponding to the determined behavior, and repeats deleting the element until there are no more elements from the cyclic structure. (3) The control method according to any one of (1) to (3), wherein the control device performs the following processing: if the terminal element indicates a predetermined type, obtain a first element indicating the predetermined type from a group to which the terminal element belongs, determine a first operation to be executed based on the first element, remove the first element from the cyclic structure, and execute the first operation simultaneously with the operation determined based on the terminal element. (4) The control method according to any one of (1) to (3), wherein the control device performs the following processing: if a resource to execute the operation is specified for the terminal element, obtain a second element next in the execution order for the terminal element from a group to which the terminal element belongs, which is specified with a first resource different from the first resource, determine a second operation to be executed based on the second element, remove the second element from the cyclic structure, and execute the second operation regardless of the execution status of the operation determined based on the terminal element. (5) The control method according to any one of (1) to (4), wherein the control device executes a process of acquiring the operation and an identifier of the operation, and arranging the elements so that the operation is executed from the terminal element of the cyclic structure based on the identifier, thereby generating the cyclic structure.(6) The control method according to any one of (1) to (5), wherein the control device executes a process of: acquiring an identifier of a third operation to be added to the cyclic structure, and updating the cyclic structure by adding the third operation as an element of the cyclic structure so that the operation is executed from the terminal element of the cyclic structure based on the identifier. (7) The control method according to any one of (1) to (6), wherein the control device executes a process of: acquiring an identifier of a fourth operation to be deleted from the cyclic structure, and updating the cyclic structure by deleting the element in which the fourth operation is placed from the cyclic structure based on the identifier. (8) A control device having: an acquisition unit that acquires a terminal element from a cyclic structure having rules for robot movements as its elements, a determination unit that determines the movement to be executed based on the terminal element, an execution unit that executes the determined movement, the acquisition unit that acquires an element of a next execution order for the determined movement from the cyclic structure, the determination unit that determines the movement to be executed based on the element of the next execution order, and a control unit that executes a process of repeating the determination and execution of the movement until there are no more elements to be executed from the cyclic structure. (9) A generation method in which a generation device executes a process of acquiring a robot movement and an identifier for executing the movement, and arranging the movement as an element of the cyclic structure based on the identifier so that the movement is executed from the terminal element of the cyclic structure, thereby generating the cyclic structure having rules for the movement as its elements. (10) The generating method according to (9), wherein the generating device executes a process of: acquiring a third identifier indicating an execution order of a third operation to be added to the cyclic structure; and updating the cyclic structure by adding the third operation as an element of the cyclic structure so that the operation is executed from the last element of the cyclic structure based on the third identifier. (11) The generating method according to (9) or (10), wherein the generating device executes a process of: acquiring a fourth identifier indicating an execution order of a fourth operation to be removed from the cyclic structure; and updating the cyclic structure by removing the element in which the fourth operation is placed from the cyclic structure based on the fourth identifier.(12) A generating device having: an acquisition unit that acquires a robot's motion and an identifier for executing the motion; and a generation unit that, based on the identifier, arranges the motion as an element of the cyclic structure so that the motion is executed from the terminal element of the cyclic structure, thereby generating the cyclic structure having rules for the motion as the elements.
[0084] 10 Hand 20 Object 100 Control device 110 Communication unit 120 Storage unit 130 Acquisition unit 140 Determination unit 150 Execution unit 160 Deletion unit 170 Generation unit 180 Update unit 190 Control unit 1000 Computer 1050 Bus 1100 CPU 1200 RAM 1300 ROM 1400 HDD 1450 Program data 1500 Communication interface 1550 External network 1600 Input / output interface 1650 Input / output device
Claims
1. A control method in which a control device executes a process in which it obtains a terminal element from a cyclic structure having rules for robot movements as elements, determines the movement to be executed based on the terminal element, executes the determined movement, obtains an element in the next execution order for the determined movement from the cyclic structure, determines the movement to be executed based on the element in the next execution order, and repeats the determination and execution of the movement until there are no more elements to be executed from the cyclic structure.
2. The control method according to claim 1, wherein the control device executes the process of: deleting the element corresponding to the determined operation from the cyclic structure; and repeating the deletion of the element until no elements remain from the cyclic structure.
3. The control method according to claim 1, wherein the control device performs the following processes: if the terminal element indicates a predetermined type, obtain a first element indicating the predetermined type from the group to which the terminal element belongs; determine a first action to be executed based on the first element; remove the first element from the cyclic structure; and execute the first action simultaneously with the action determined based on the terminal element.
4. The control method according to claim 1, wherein the control device performs the following processes: when a resource for executing the operation is specified for the terminal element, obtain a second element next in the execution order for the terminal element from the group to which the terminal element belongs, which is specified with a first resource different from the resource for executing the operation; determine a second operation to be executed based on the second element; remove the second element from the cyclic structure; and execute the second operation regardless of the execution status of the operation determined based on the terminal element.
5. The control method according to claim 1, wherein the control device executes a process of: acquiring the operation and an identifier of the operation; and arranging the elements so that the operation is executed from the end element of the cyclic structure based on the identifier, thereby generating the cyclic structure.
6. The control method according to claim 1, wherein the control device executes a process of: acquiring an identifier of a third operation to be added to the cyclic structure; and updating the cyclic structure by adding the third operation as an element of the cyclic structure based on the identifier so that the operation is executed from the terminal element of the cyclic structure.
7. The control method according to claim 1, wherein the control device executes a process of: acquiring an identifier of a fourth action to be deleted from the cyclic structure; and updating the cyclic structure by deleting the element in which the fourth action is placed from the cyclic structure based on the identifier.
8. A control device having an acquisition unit that acquires a terminal element from a circulatory structure having rules for robot movements as elements, a decision unit that determines the movement to be executed based on the terminal element, an execution unit that executes the determined movement, the acquisition unit that acquires an element in the next execution order for the determined movement from the circulatory structure, the decision unit that determines the movement to be executed based on the element in the next execution order, and a control unit that executes a process of repeating the decision and execution of the movement until there are no more elements to be executed from the circulatory structure.
9. A generation method in which a generation device executes a process of acquiring a robot's motion and an identifier for executing the motion, and arranging the motion as an element of the cyclic structure based on the identifier so that the motion is executed from the terminal element of the cyclic structure, thereby generating the cyclic structure having a rule for the motion as the element.
10. The generating method according to claim 9, wherein the generating device executes a process of obtaining a third identifier indicating an execution order of a third operation to be added to the cyclic structure, and updating the cyclic structure by adding the third operation as an element of the cyclic structure based on the third identifier so that the operation is executed from the terminal element of the cyclic structure.
11. The generating method according to claim 9, wherein the generating device executes a process of obtaining a fourth identifier indicating the execution order of a fourth operation to be deleted from the cyclic structure, and updating the cyclic structure by deleting the element in which the fourth operation is placed from the cyclic structure based on the fourth identifier.
12. A generating device having an acquisition unit that acquires a robot's movement and an identifier for executing the movement, and a generation unit that arranges the movement as an element of the cyclic structure based on the identifier so that the movement is executed from the end element of the cyclic structure, thereby generating the cyclic structure having a rule for the movement as the element.
Citation Information
Patent Citations
Robot control apparatus, robot system, robot control method, and robot control program
JP2013059846A
Robot behavior expression method and computer readable medium
CN107168221A
Robot control device, control method and control program
JP2002307351A
Behavior control system and method of robot device
JP2005199402A
Robot teaching device
WO2019064915A1
