Macro system and macro management method

The system efficiently manages macros in autonomous systems by comparing their execution states to prevent duplicates and streamline macro usage, addressing inefficiencies in existing technologies.

JP2024139285AActive Publication Date: 2024-10-09QIBITECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023050159
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-09
Estimated Expiration
2043-03-27

AI Technical Summary

Technical Problem

In autonomous operating systems, multiple users creating similar macros leads to inefficiencies due to duplicate macros and the time-consuming process of searching for useful macros, with existing technologies failing to address these issues effectively.

Method used

A state comparison unit compares the similarity between macros based on the execution targets' states, and an output processing unit displays the comparison results, preventing duplicate macro creation and facilitating efficient macro operation.

Benefits of technology

This approach allows for efficient macro operation by identifying and eliminating duplicate macros, simplifying the search process, and ensuring users can quickly access relevant macros.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024139285000001_ABST
    Figure 2024139285000001_ABST
Patent Text Reader

Abstract

To enable efficient operation of a macro.SOLUTION: With regard to a plurality of macros 121, a macro system includes: a state comparison unit 112 for comparing similarities between macros by comparing states of an autonomous operation device 2 when the plurality of macros 121 are executed; and an input / output processing unit 32 for displaying comparison results of the similarities on an input / output unit 31 when the compared macros are similar to each other as a result of comparison by the state comparison unit 112. The state comparison unit 112 compares the state of the autonomous operation device 2 immediately before the macros 121 are executed.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for a macro system and a macro management method. [Background technology]

[0002] Autonomous operating devices that move and operate autonomously are used. In such autonomous operating devices, malfunctions that cannot be automatically restored may occur. Therefore, systems are used that allow an operator to operate the autonomous operating device from a remote location to restore it when a malfunction occurs.

[0003] In such systems, malfunctions often occur in similar situations. Adjusting parameters and sending operation commands to the autonomous operating device every time a malfunction occurs is time-consuming and can lead to input errors. Therefore, in order to improve the efficiency of remote operation, it is useful to store a series of frequently used operations as a macro so that they can be reused.

[0004] Regarding an autonomous operating device, Patent Document 1 discloses a technique in which a robot stores a plurality of movement paths, and a user can then select an appropriate candidate movement path depending on the robot's position.

[0005] Regarding the creation of macros, Patent Document 2 discloses a technique for saving operation commands as a history and extracting a macro from the history. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Patent No. 5217845 [Patent Document 2] Patent No. 5056134 Specification Summary of the Invention [Problem to be solved by the invention]

[0007] In the above-mentioned autonomous operation system, a plurality of users may share and use one autonomous operation device. In such a case, a plurality of people may create similar macros, resulting in a plurality of similar macros. However, when a plurality of users register macros, duplicate macros may be created, which is inefficient. In addition, there are problems such as new macros being added without the users' knowledge, and it being time-consuming to search for useful macros, making it difficult to utilize macros efficiently. The techniques disclosed in the above-mentioned Patent Documents 1 and 2 cannot address such problems.

[0008] The present invention has been made in view of the above background, and an object of the present invention is to enable efficient macro operation. [Means for solving the problem]

[0009] In order to solve the above-mentioned problems, the present invention is characterized by having a state comparison unit that compares the similarities between multiple macros by comparing the states of the object that the macro is executed on when the multiple macros are executed, and an output processing unit that displays the results of the comparison of similarities on an output unit when the comparison by the state comparison unit shows that the macros being compared are similar. Other solutions will be described in the embodiments as appropriate. Effect of the Invention

[0010] According to the present invention, efficient macro operation becomes possible. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing an overall configuration of an autonomous operation system. [Diagram 2] FIG. 2 is a diagram showing the configuration of each device in an autonomous operation system. [Figure 3A] FIG. 2 is a diagram (front view) showing the appearance of the autonomous operation device. [Figure 3B] FIG. 2 is a diagram (side view) showing the appearance of the autonomous operation device. [Figure 4] FIG. 2 is a diagram illustrating a hardware configuration of a computer. [Diagram 5] 4 is a timing chart showing an execution sequence of manual control. [Figure 6] 1 is a timing chart showing a sequence of macro execution. [Figure 7A] 1 is a flowchart (part 1) showing the procedure of a macro generation process according to the first embodiment. [Figure 7B] 11 is a second flowchart illustrating the procedure of the macro generation process according to the first embodiment. [Figure 8] FIG. 13 is a diagram showing an example of an operation history screen (part 1). [Figure 9] FIG. 2 is a diagram showing an example of an operation history screen (part 2). [Figure 10] FIG. 3 is a diagram showing an example of an operation history screen (part 3). [Figure 11] FIG. 13 is a diagram showing an example of a parameter setting screen. [Figure 12] FIG. 13 is a diagram illustrating an example of a macro list screen. [Figure 13] FIG. 13 is a diagram illustrating an example of a parameter update screen. [Figure 14] 13 is a flowchart showing a macro search processing procedure when the autonomous operating device 2 is operated. [Figure 15] FIG. 13 is a diagram showing an example of an operation screen (part 1). [Figure 16] FIG. 2 is a second diagram showing an example of an operation screen. [Figure 17] FIG. 3 is a diagram showing an example of an operation screen. [Figure 18] FIG. 4 is a diagram showing an example of an operation screen. [Figure 19] FIG. 5 is a fifth example of an operation screen. [Figure 20] 13 is a flowchart showing the procedure of a macro generation process in the second embodiment. [Figure 21] FIG. 11 is a diagram showing an example of an operation screen in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Next, a mode for carrying out the present invention (referred to as an "embodiment") will be described in detail with reference to the drawings as appropriate.

[0013] [First embodiment] First, a first embodiment of the present invention will be described with reference to FIGS. In the first embodiment, the macro 121 is created based on operation history information of the autonomous operating device 2 performed in the past.

[0014] <Autonomous Operation System Z> FIG. 1 is a diagram showing the overall configuration of an autonomous operation system Z. In an autonomous operating system Z, which is a macro system, a processing device 1, an autonomous operating device 2 that performs autonomous operation, and a plurality of operation terminals 3 are connected via a network N such as a WAN or a LAN. The autonomous operating device 2 is a macro execution target. As shown in FIG. 1, a plurality of users P can access the autonomous operating device 2.

[0015] In principle, the autonomous operating device 2 moves autonomously based on a map or the like, and performs a preset operation (such as grasping an object). However, if a problem occurs, the user P operates the autonomous operating device 2 via the operation terminal 3 to recover from the problem.

[0016] Furthermore, when a similar trouble occurs, the user P often has a set operation to perform. In such a case, the user P registers a certain operation as a macro 121 (see FIG. 2). In this embodiment, multiple users P can register the macro 121.

[0017] The processing device 1 performs registration of the macro 121 and similarity determination of the macro 121 described later. In this embodiment, the processing device 1 has a cloud server format, but is not limited to this format. When the processing device 1 is set as a cloud server, it can be operated from anywhere as long as there is a network N, and data of multiple autonomous operating devices 2 can be collectively managed.

[0018] FIG. 2 is a diagram showing the configuration of each device in the autonomous operation system Z. First, the operation terminal 3 has an input / output processing unit 32 which is an output processing unit and an operation history information acquisition unit, and an input / output unit 31 which is an input unit and an output unit. When the operation terminal 3 is configured as a PC (Personal Computer), the input / output unit 31 is configured as a keyboard, a mouse, a display, etc. When the operation terminal 3 is configured as a smartphone or a tablet terminal, the input / output unit 31 is configured as a touch panel display, etc.

[0019] The operation terminal 3 also has an input / output processing unit 32 that receives input information from the input / output unit 31 and passes output information to the input / output unit 31. The input / output processing unit 32 also transmits the information received from the input / output unit 31 to the processing device 1 and the autonomous operating device 2. The input / output processing unit 32 also has an operation input processing unit 321, an output processing unit 322, and a macro input processing unit 323.

[0020] The operation input processing unit 321 inputs the specification of the macro 121 and an operation instruction to the autonomous operation device 2 , and transmits information to the processing unit 210 and the state comparison unit 112 of the autonomous operation device 2 . The output processing unit 322 outputs (displays) to the input / output unit 31 information transmitted from the processing unit 210, the state comparison unit 112, and the like. The macro input processing unit 323 transmits information for creating a macro to the macro generating unit 111, and transmits information for searching for a similar macro 121 to the state comparing unit 112. The macro input processing unit 323 also has a parameter setting processing unit 324 for setting parameters related to the macro 121.

[0021] In the autonomous operating device 2, a processing unit 210 is executed. The processing unit 210 has an operation definition unit 211, an operation receiving unit 212, an operation state management unit 213, an operation execution unit 214, and a macro receiving unit 215, which will be described later in Fig. 5 and Fig. 6. The operations of the operation definition unit 211 to the macro receiving unit 215 constituting the processing unit 210 will be described later. The processing unit 210 of the autonomous operating device 2 operates the autonomous operating device 2 according to a command input via the input / output processing unit 32 of the operation terminal 3.

[0022] The processing device 1 also includes a macro generating unit 111, a state comparing unit 112, and a storage unit 120. The macro generating unit 111 generates a macro 121 based on information input from the input / output processing unit 32 of the operation terminal 3, and stores the macro 121 in the storage unit 120. The storage unit 120 also stores operation state information 122, which is information on the state of the autonomous operating device 2. The state may be stored in association with a time, etc. The state comparing unit 112 determines the presence of a similar macro 121 (similar macro) based on the information on the macro 121 stored in the storage unit 120, the operation state information 122, and the state acquired from the autonomous operating device 2. Then, the determination result by the state comparing unit 112 is output to the input / output unit 31 via the input / output processing unit 32 of the operation terminal 3. The presence of a similar macro is determined based on the timing of creating the macro 121 by the macro generating unit 111, the timing of executing the macro 121 in the input / output unit 31, and the like.

[0023] For example, if a web application using a web browser is used as the input / output processing unit 32, it becomes easy to operate from the network N without depending on the OS. However, the input / output processing unit 32 is not limited to a web application.

[0024] In this embodiment, the storage unit 120 is provided in the processing device 1, but the present invention is not limited to this. The storage unit 120 may be provided as a database in a device separate from the processing device 1. This allows for easy addition, rewriting, search, and maintenance of data.

[0025] <Autonomous Operation Device 2> 3A and 3B are diagrams showing the external appearance of the autonomous operation device 2. FIG. FIG. 3A shows a front view of the autonomously operated device 2, and FIG. 3B shows a side view of the autonomously operated device 2. The autonomous operating device 2 is composed of a main body 21 and an arm 22. An end effector 23 for grasping an object and a hand-eye camera 25 are provided at the tip of the arm 22. Images captured by the hand-eye camera 25 are displayed on the screen of the operation terminal 3 shown in FIG. 1 as necessary. By checking the images captured by the hand-eye camera 25, the user P determines whether the autonomous operating device 2 is correctly grasping the object. Furthermore, if the autonomous operating device 2 fails to grasp the object, the user P operates the operation terminal 3 based on the images captured by the hand-eye camera 25 to operate the autonomous operating device 2 by remote manual control (manual control).

[0026] The periphery monitoring camera 26 captures images of the environment surrounding the autonomous operating device 2. Images captured by the periphery monitoring camera 26 are displayed on the screen (input / output unit 31) of the operation terminal 3. The user P checks the images captured by the periphery monitoring camera 26 to check the operating environment of the autonomous operating device 2. Furthermore, if the autonomous operating device 2 is unable to travel due to an obstacle or the like, the user P operates the operation terminal 3 (input / output processing unit 32) based on the images captured by the periphery monitoring camera 26, thereby operating the autonomous operating device 2 by remote manual control (manual control).

[0027] The lower part of the main body 21 is provided with running wheels 24. A control computer 200 is provided inside the main body 21. The main body 21 is also provided with an information acquisition computer 27. The information acquisition computer 27 transmits and receives information to and from the processing device 1 and the operation terminal 3 via the network N. It also passes the received information to the control computer 200 and transmits information passed from the control computer 200. Furthermore, the information acquisition computer 27 collects the state of the autonomous operating device 2 from the hand-eye camera 25, the surrounding monitoring camera 26, and various sensors (not shown).

[0028] The control computer 200 performs processing when the autonomous operating device 2 moves autonomously, and performs processing based on commands received by the information acquisition computer 27, thereby controlling the movement and gripping operations of the autonomous operating device 2. By providing the information acquisition computer 27 and the control computer 200 separately in this way, it is possible to reduce the risk of unexpected performance damage caused by modification of existing software of the autonomous operating device 2, which is an existing product, for example. Note that the function of the information acquisition computer 27 may be provided in the control computer 200, the function of the information acquisition computer 27 may be mounted on the control computer 200, and the information acquisition computer 27 may serve as an antenna. Incidentally, the processing unit 210 shown in FIG. 2 is a combination of the functions of the control computer 200 and the information acquisition computer 27.

[0029] <Hardware configuration> FIG. 4 is a diagram illustrating a hardware configuration of the computer C. As shown in FIG. The computer C comprises a processing device 1, an operation terminal 3, and a control computer 200. The computer C has a memory C1, an arithmetic unit C2, a storage device C3, and a communication device C4 as common components of the processing device 1, the operation terminal 3, and the control computer 200. The arithmetic device C2 is composed of a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), etc. The storage device C3 is composed of a HD (Hard Disk), an SSD (Solid State Drive), etc. The storage device C3 in the processing device 1 corresponds to the storage unit 120 shown in Fig. 2. The communication device C4 in the autonomous operating device 2 is included in the information acquisition computer 27 shown in Figs. 3A and 3B.

[0030] A program stored in the storage device C3 is loaded into the memory C1 and executed by the calculation device C2. This embodies the input / output processing unit 32, the processing unit 210(), the macro generating unit 111, and the state comparing unit 112 shown in Fig. 2. The input / output processing unit 32 includes the action input processing unit 321 to the parameter setting processing unit 324 shown in Fig. 2, and the processing unit 210 includes the action definition unit 211 to the macro receiving unit 215 shown in Figs. 5 and 6.

[0031] <Timing chart> Next, a process related to the operation of the autonomous operation device 2 will be described with reference to FIGS. As described above, the operation definition unit 211 to the macro receiving unit 215 shown in Figures 5 and 6 are included in the processing unit 210 shown in Figure 2. The operation receiving unit 212, the operation state management unit 213, and the macro receiving unit 215 shown in Figures 5 and 6 are mounted on the information acquiring computer 27 shown in Figures 3A and 3B. The operation definition unit 211 and the operation executing unit 214 are mounted on the control computer 200 shown in Figures 3A and 3B.

[0032] (Manual Control) 5 is a timing chart showing an execution sequence of the manual control, with reference to FIG. 1 and FIG. 2 as appropriate. First, when the user P inputs an action definition request via the input / output processing unit 32 of the operation terminal 3, the input / output processing unit 32 requests an action definition to the action definition unit 211 of the autonomous operation device 2 (S101). The action definition is a restriction condition related to the parameters of the action command transmitted from the operation terminal 3. For example, the X coordinate, Y coordinate, yaw angle, etc. are specified by real numbers. The action definition is used when creating a macro, which will be described later.

[0033] The action definition unit 211 compiles the action definitions and transmits them to the operation terminal 3 (S102). The input / output processing unit 32 of the operation terminal 3 outputs the transmitted action definitions to the input / output unit 31. The user P checks the action definitions output to the input / output unit 31. The transmitted action definitions are stored in the storage device C3 of the operation terminal 3 (see FIG. 4).

[0034] Next, when user P requests execution of an action via the input / output processing unit 32 of the operation terminal 3, an action command is transmitted from the input / output processing unit 32 of the operation terminal 3 to the action receiving unit 212 of the autonomous operation device 2 (S111). The operation receiving unit 212 adds the operation command to a queue in the operation state management unit 213 (S112).

[0035] The operation state management unit 213 notifies the processing device 1 of the current state of the autonomous operating device 2 (S113). The processing device 1 stores the notified current state in operation state information 122 stored in the memory unit 120. The state includes information such as the position of the autonomous operating device 2, emergency stop, and the presence or absence of obstacles. The state is collected based on data acquired by the hand-eye camera 25 and the surrounding monitoring camera 26 (see Figs. 3A and 3B) provided in the autonomous operating device 2, sensors not shown, distance measuring sensors, and the like, internal signals of the autonomous operating device 2, and the like. By collecting the state in this manner, it is possible to appropriately acquire information required for remote manual control.

[0036] When the turn of the operation command added to the queue in step S112 arrives, the operation state management unit 213 transmits the operation command to the operation execution unit 214 (S114) and also transmits an operation start notification to the operation terminal 3 (S115). The input / output processing unit 32 of the operation terminal 3 outputs the operation start notification to the input / output unit 31 to notify the user P that the operation of the autonomous operating device 2 has started.

[0037] On the other hand, the operation execution unit 214 that has received an operation command from the operation state management unit 213 executes the operation of the operation command (S121). When the operation of the operation command is completed, the operation execution unit 214 sends an operation completion notification to the operation state management unit 213 (S122).

[0038] The operation status management unit 213, which receives an operation completion notification from the operation execution status management unit, notifies the processing device 1 of the current status of the autonomous operating device 2 (S124), and the processing device 1 stores the current status notified in the operation status information 122 in the memory unit 120.

[0039] Furthermore, the operation state management unit 213 sends an operation completion notification to the operation terminal 3 (S124). The input / output processing unit 32 of the operation terminal 3 outputs the operation completion notification to the input / output unit 31 to notify the operation terminal 3 that the operation of the autonomous operating device 2 has been completed (S125).

[0040] (Macro execution) Figure 6 is a timing chart showing the sequence of macro execution, with reference to Figures 1 and 2 as appropriate. First, the user P makes a macro information request via the input / output processing unit 32 (S201). In response, the processing device 1 acquires information (macro information) related to the macro 121 stored in the storage unit 120, and transmits the acquired macro information to the operation terminal 3 (S202). The input / output processing unit 32 of the operation terminal 3 outputs the transmitted macro information to the input / output unit 31. Then, the user P checks the macro information output to the input / output unit 31.

[0041] Then, the user P inputs a request to execute the macro 121 via the input / output processing unit 32. In response, the input / output processing unit 32 transmits a command (macro command) for executing the requested macro 121 to the macro receiving unit 215 of the autonomous operating device 2 (S211). The macro receiving unit 215 adds all the operation commands in the macro 121 to a queue in the operation state management unit 213 (S212).

[0042] The operation status management unit 213, which has added all operation commands included in the macro 121 to the queue, sends a macro start notification to the operation terminal 3 (S213). The input / output processing unit 32 of the operation terminal 3 outputs the macro 121 start notification to the input / output unit 31, thereby notifying the user P that the macro 121 has started.

[0043] Then, a macro execution process is performed (S220). In the macro execution process, the processes of steps S221 to S227 shown below are looped for the number of operations stored in the macro 121.

[0044] First, the operation state management unit 213 notifies the processing device 1 of the current state of the autonomous operating device 2 (S221). The processing device 1 that has been notified of the state stores the notified state in the operation state information 122 stored in the storage unit 120.

[0045] Then, when it is the turn of the operation command added to the queue in step S113, the operation state management section 213 transmits the operation command to the operation execution section 214 (S222). Furthermore, the operation state management unit 213 notifies the operation terminal 3 of an operation start notification (S223). The input / output processing unit 32 of the operation terminal 3 outputs the operation start notification to the input / output unit 31 to notify the user P that the operation of the autonomous operating device 2 has started.

[0046] On the other hand, the operation execution unit 214 that has received the operation command from the operation state management unit 213 executes the operation of the operation command (S224). When the operation of the operation command is completed, the operation execution unit 214 notifies the operation state management unit 213 of the completion of the operation (S225).

[0047] The operation status management unit 213, which has received the operation completion notification from the operation execution unit 214, notifies the processing device 1 of the current status of the autonomous operating device 2 (S226). The processing device 1, which has been notified of the status, stores the notified status in operation status information 122 stored in the storage unit 120.

[0048] Furthermore, the operation state management unit 213 transmits an operation completion notification to the operation terminal 3 (S227). The input / output processing unit 32 of the operation terminal 3 that has received the operation completion notification outputs the operation completion notification to the input / output unit 31, thereby notifying the user P that the operation of the autonomous operating device 2 has been completed.

[0049] The processing in steps S221 to S227 is related to one operation included in macro 121. The processing in steps S221 to S227 is looped until all operations included in macro 121 are completed.

[0050] Then, when all the operations included in the macro 121 are completed, the operation status management unit 213 transmits a macro completion notification to the operation terminal 3 (S231). The input / output processing unit 32 of the operation terminal 3 that has received the macro completion notification outputs the macro completion notification to the input / output unit 31, thereby notifying the user P that the macro 121 has been completed.

[0051] (Comparison of operating conditions) A description will be given of the state comparison of the autonomous operating device 2 performed by the state comparison unit 112 (see FIG. 2) in this embodiment when performing similarity determination processing of the macro 121. This state comparison determines whether or not the two macros 121 are similar by comparing the states of the autonomous operating device 2 when the two macros 121 are performed. The state comparison of the autonomous operating device 2 is performed using the following formula (1).

[0052]

number

[0053] Here, D indicates similarity, Va, Vb are quantitative state vectors which are elements to be compared. And Sa, Sb are flag state vectors which are elements to be compared. Va, Sa are the quantitative state vector and flag state vector in one macro 121. The quantitative state vector and the flag state vector are collectively referred to as state vectors as appropriate. Also, Vb, Sb are the quantitative state vector and flag state vector in the other macro 121. The quantitative state vector and the flag state vector are generated by the state comparison unit 112 based on the operation state information 122 shown in Figures 2, 5, and 6. The component elements constituting the quantitative state vector and the flag state vector are multiple elements related to the macro 121 to be compared. And, as shown in formula (1), the comparison is performed for each of multiple elements of the state vector related to the macro 121 to be compared.

[0054] The quantitative state vector is a numerical representation of information indicating the state of the autonomous device 2, such as coordinates (x, y, θ), remaining battery power, shortest distance to an obstacle, average distance to an obstacle, variance of distance to an obstacle, etc. Note that x and y are coordinates set on a map, and θ indicates the yaw angle of the autonomous device 2.

[0055] The average distance to the obstacle and the variance of the distance to the obstacle are values ​​at the time of executing the macro 121. In this embodiment, since there are multiple macros 121, the average distance to the obstacle and the variance of the distance to the obstacle at the time of registering these macros 121 are used as the quantitative state vector.

[0056] In contrast, a flag-like state vector is indicated by a true / false value among information indicating the state of the autonomous operating device 2. Examples of flag-like state vectors include emergency stop, loss of self-position, obstruction by an obstacle, bumper error, detection of the actuator forward end, detection of the actuator reverse end, whether the actuator is driven, and the like.

[0057] Also, a dot in a circle means that vector components are multiplied together. Also, the vertical double lines indicate a norm. The norm can be either the L2 norm or the L1 norm.

[0058] Cv and Cs are weighting coefficients. In this way, the elements of the state vector are multiplied by the weighting coefficients for comparison.

[0059] In this manner, the state comparison unit 112 compares the states of the macro execution object (the autonomous operating device 2 in this embodiment) when the multiple macros 121 are executed for the multiple macros 121. In this way, the state comparison unit 112 compares the similarity between the macros 121. In particular, by applying the states immediately before the macro 121 is executed to Va, Vb, Sa, and Sb, the state comparison unit 112 compares the states of the autonomous operating device 2 immediately before the macro 121 is executed.

[0060] This makes it possible to calculate the similarity between the macros 121, and even if multiple users P create similar macros 121, it becomes possible to search for macros 121 that are similar to each other. By outputting macros 121 that are similar to each other, it becomes possible to prevent duplicate macros 121 from being created and to easily search for useful macros 121. As a result, it becomes possible to operate the macros 121 efficiently.

[0061] In the above case, Va, Vb, Sa, and Sb in formula (1) can be set to the state immediately before the execution of the macro 121. In this way, when executing the macro 121, it is possible to show the user P whether or not a similar macro 121 exists.

[0062] Furthermore, the comparison performed when determining whether the macro 121 is similar is performed using a quantitative state vector or a flag state vector, so that the similarity determination can be performed in a simple manner.

[0063] Furthermore, Va, Vb, Sa, and Sb may be expressed as the difference between the states before and after macro execution, as in the following expressions (2-1) to (2-4).

[0064] Va = Va, post-Va, pre (2-1) Vb = Vb,post-Vb,pre (2-2) Sa = Sa, post-Sa, pre (2-3) Sb = Sb, post-Sb, pre (2-4)

[0065] Va,post indicates the quantitative state vector immediately after the execution of the macro 121, and Va,pre indicates the quantitative state vector immediately before the execution of the macro 121. The same is true for Vb,post, Vb,pre, Sa,post, Sa,pre, Sb,post, and Sb,pre.

[0066] By using the formulas (2-1) to (2-4), the state comparison unit 112 compares the state of the autonomous operating device 2 before and after the execution of the macro 121. In this way, it is possible to compare the macro 121 in the state before and after the autonomous operating device 2 executes the macro 121. In other words, it is possible to compare only the state changed by the macro 121. For example, it is possible to compare the macro 121 without being affected by the absolute coordinates of the autonomous operating device 2 at the time of macro execution. For example, a case in which the autonomous operating device 2 advances to the right by a distance "L1" and then advances forward by a distance "L2" is referred to as case CA1. Also, a case in which the autonomous operating device 2 first advances forward by a distance "L2" and then advances to the right by a distance "L1" is referred to as case CA2. Case CA1 and case CA2 ultimately have the same result, but by using the formulas (2-1) to (2-4), it is possible to determine that the macro 121 is similar even in such a case.

[0067] (Example of weighting coefficient settings) The state comparison unit 112 may display the macros 121 in the order of priority candidates. In such a case, the state comparison unit 112 sets a weighting coefficient such that the weight of an element of a vector of the difference between the states immediately before and after the execution of the macro 121 is smaller than a specific value, is "0." By doing so, for example, for a macro 121 such as an error release without coordinate change, even if the autonomous operating device 2 is present at a different coordinate from when the macro 121 was registered, if only the error that has occurred is similar, the macro 121 will be displayed at the top of the list of candidates.

[0068] Specifically, the following settings are made: First, E and B are defined as follows. E = [Va,Sa] = [E1,E2,E3,…,En] B=[B1,B2,B3,…,Bn]

[0069] Here, Va and Sa are defined by the above formulas (2-1) and (2-3). And B is defined as follows:

[0070]

number

[0071] Here, dn is the difference threshold for ignoring. dn is determined heuristically or by machine learning, etc. Then, as shown in equation (11), the state comparison unit 112 uses the result of multiplying B by a preset weighting coefficient for each element as a new weighting coefficient when calculating the macro priority candidate order.

[0072]

number

[0073] C0=[Cv0, Cs0]: weighting factor when all elements are valid C=[Cv,Cs]: Weighting coefficient when only elements whose change is greater than a given value are valid

[0074] Note that Cv0 and Cv are weighting coefficients applied to the quantitative state vector, and Cs0 and Cs are weighting coefficients applied to the flag state vector. The weighting coefficients based on formula (11) are adjusted so that elements whose change before and after the execution of the macro 121 is equal to or less than a predetermined value can be ignored. In this way, for example, for a macro 121 such as an error release without a change in coordinates, the autonomous operating device 2 may exist at coordinates different from those at the time of registering the macro 121. Even in such a case, if only the errors that have occurred are similar, it is possible to search for a similar macro 121.

[0075] The macro management method according to this embodiment will be described below with reference to FIGS. 7A to 21.

[0076] <Macro generation procedure> Next, a macro generation procedure in the first embodiment will be described with reference to Figures 7A to 7B and screen examples shown in Figures 8 to 11. Figures 1 and 2 will also be referred to as appropriate. 7A and 7B are flowcharts showing the procedure of a macro generation process according to the first embodiment. 8 to 11 show examples of screens operated in the macro generation procedure. In the following description, step numbers correspond to the step numbers of the flowcharts shown in Figs. 7A and 7B.

[0077] First, the operation history screen 400 is output to the input / output unit 31 by the process performed by the input / output processing unit 32 (S301 in FIG. 7A). Next, the user P selects one or more pieces of operation history information that he or she wishes to register as the macro 121 (S302). Hereinafter, the process procedure of steps S301 to S302 in FIG. 7A will be described with reference to FIG.

[0078] (Operation history screen 400) 8 to 10 are diagrams showing an example of the operation history screen 400. In Fig. 8 to Fig. 10, the same components are given the same reference numerals and the description will be omitted. Furthermore, in Fig. 8 to Fig. 10, the reference numerals are omitted as appropriate for elements that will not be described. Note that the operation history screen 400 and the elements that constitute the operation history screen 400 are a screen displayed by the macro input processing unit 323 shown in Fig. 2. The operation history screen 400 shown in FIG. 8 is the operation history screen 400 displayed (output) in step S301 in FIG. The history display unit 410 displays the operation history information sent from the autonomous operating device 2. The operation history information displayed on the history display unit 410 is past operation history information. The operation history information has the fields of "operation ID", "operation name", "parameter", and "execution date and time". In addition, check boxes 411 are displayed corresponding to each piece of operation history information. By operating the slider 403, the user P can display the desired operation history information from among the many pieces of operation history information. Note that the operation history information is different from the state described above. The state is the state (position, etc.) of the autonomous operating device 2, while the operation history information is the operation of the autonomous operating device 2 (forward, marching, grasping, etc.).

[0079] As shown in dashed frame 411a, user P checks check box 411 via input / output processing unit 32, thereby selecting the operation to be included in macro 121. In this manner, the operation of the autonomous operating device 2 to be registered in macro 121 is selected (S302 in FIG. 7A). That is, input / output processing unit 32 acquires past operation history information of the autonomous operating device 2 based on the instruction input via input / output unit 31. The display-at-top button 401 is a button for displaying the top of the operation history information. In the example shown in Fig. 8, the latest operation history information is displayed at the bottom, but when the user P presses the display-at-top button 401, the information is scrolled to the top (oldest) operation history information. In the comment display section 420, warnings and notification contents for the user P are displayed.

[0080] After the user P selects the operation history information by checking the check box 411, the user P presses the continue button 402, which causes the input / output processing unit 32 to transition to the screen shown in Fig. 9 or 10. When the user P checks the check box 411, the operation history information is selected in step S302.

[0081] Returning to the explanation of FIG. 7A. When the user P checks the checkbox 411 shown in Fig. 8 and then presses the continue button 402, the input / output processing unit 32 judges whether or not the selected operation history information is discontinuous (S311 in Fig. 7A). The fact that the operation history information is discontinuous will be described later. If the data is not discontinuous (S311→No), the input / output processor 32 advances the process to step S321. If the selected operation history information is discontinuous (S311→Yes), the input / output processing unit 32 outputs a warning to the input / output unit 31 that the selected operation history information is discontinuous (S312). After that, the input / output processing unit 32 returns the process to step S311.

[0082] When a warning that the selected operation history information is discontinuous is output to the input / output unit 31, the user P corrects the operation history information so that it becomes continuous via the input / output processing unit 32. At this time, the process returns to step S311.

[0083] The process of steps S311 to S312 in FIG. 7A will be described with reference to FIG.

[0084] FIG. 9 is a diagram showing an example of an operation history screen 400 on which a warning to the effect that there is discontinuity is displayed (output). FIG. 9 shows an example in which a warning screen is displayed because non-consecutive operation history information has been selected. There are two cases where it is determined in step S311 that there is discontinuity: (A1) A case where the execution dates and times are far apart and therefore considered to be discontinuous, as shown in the dashed frame 412. In practice, the input / output processing unit 32 determines that the selected operation history information is discontinuous if there is an interval of a certain time or more until the immediately preceding or following operation is executed for each piece of selected operation history information. (A2) As shown in the dashed frame 411b, if there is unselected operation history information among the multiple selected operation history information, the input / output processing unit 32 determines that the selected operation history information is discontinuous.

[0085] 9, when the selected operation history information is discontinuous, the input / output processing unit 32 displays (outputs) a warning in the comment display unit 420 (S312 in FIG. 7A). As described above, when the user P confirms the warning displayed in the comment display unit 420, he / she corrects the operation history information so that it becomes continuous.

[0086] Returning to the explanation of FIG. 7A. If the input / output processing unit 32 judges "No" in step S311, the input / output processing unit 32 instructs the processing device 1 to judge a similar macro. Then, the state comparison unit 112 of the processing device 1 searches whether or not a macro 121 similar to the macro 121 to be created (similar macro) exists (S321). Then, the state comparison unit 112 determines whether or not there is a similar macro based on the result of step S321 (S322). If there is no similar macro (S322→No), the state comparison unit 112 transmits a message to that effect to the operation terminal 3. Then, the input / output processing unit 32 of the operation terminal 3 advances the process to step S3331 in FIG. 7B. If a similar macro is found (S322→Yes), the state comparison unit 112 transmits that information to the operation terminal 3. Then, the input / output processing unit 32 of the operation terminal 3 outputs information indicating the presence of a similar macro to the input / output unit 31, and the user P determines whether or not to output the similar macro confirmation screen 430 (S323). When the user P determines not to output the similar macro confirmation screen 430 (S323→No), the input / output processor 32 advances the process to step S325. When the user P determines to output the similar macro check screen 430 (S323→Yes), the input / output processor 32 outputs the similar macro check screen 430 to the input / output unit 31 (S324).

[0087] In step S321, the above-mentioned process is performed using formula (1) etc. At this time, the states used in the similarity determination process of the macro 121 are the states before and after the macro is executed, and formulas (2-1) to (2-4) are used. The states to be compared may be extracted using the operation history information registered as the macro 121 and the time of the operation history information registered in the macro 121 as keys.

[0088] FIG. 10 is a diagram showing an example of a similar macro confirmation screen 430 displayed (output) in step S324 of FIG. 7A. If there is no discontinuous operation history information (S311 "No" in FIG. 7A), as described above, the state comparison unit 112 judges whether or not there is a similar macro when the selected operation history information is the macro 121, using the method described above in equation (1) etc. (S321: state comparison step in FIG. 7A). Note that on the similar macro confirmation screen 430, the macros 121 are displayed in ascending order of the value of D in equation (1).

[0089] If a similar macro is found, the input / output processing unit 32 of the operation terminal 3, which receives a notification from the state comparison unit 112, displays in the comment display unit 420, as shown in Fig. 10, that a similar macro 121 has already been registered. When the user P clicks on the "Display" link portion 421 in the comment display unit 420 (S323 "Yes" in Fig. 7A), a similar macro confirmation screen 430 is popped up (S324 in Fig. 7A: output processing step).

[0090] The similar macro confirmation screen 430 is composed of a selected operation history information display section 431 and a similar macro display section 432. The selected operation history information display section 431 displays, in the order of operation, the operation name, parameters, and operation date and time of the operation history information selected by the user P checking the check box 411 on the operation history screen 400 shown in FIG.

[0091] The similar macro display section 432 displays a list of macros 121 that are similar to the operation displayed in the selected operation history information display section 431. In the list of macros 121, the macro name, parameters of the macro 121, and the creation date and time of the macro 121 for each macro 121 are displayed. In the example shown in FIG. 10, the similar macro display section 432 displays a list of macros 121 related to a recovery operation (the name of recovery from gripping failure is set) when the autonomous operating device 2 fails to grip a gripping target.

[0092] Furthermore, by using the above-mentioned formulas (2-1) to (2-4), a different macro 121, whose states before and after the operation are the same as those of the macro 121 to be created, is displayed in the similar macro display section 432. In other words, when an attempt is made to register the macro 121, a warning is given that a similar macro 121 exists.

[0093] After checking the macros 121 similar to the macro 121 to be created on the similar macro checking screen 430 , the user P presses the “close” button 433 to close the similar macro checking screen 430 .

[0094] Returning to the explanation of FIG. 7A. After checking the similar macro on the similar macro checking screen 430, the user P determines whether or not to continue creating the macro 121 (S325). If the creation of the macro 121 is not to be continued (S325→No), the input / output processor 32 closes the operation history screen 400 and ends the process of creating the macro 121. If user P wishes to continue creating the macro 121 (S325→Yes), the user P presses the continue button 402 shown in FIG. 10, causing the input / output processing unit 32 to output the parameter setting screen 500 shown in FIG. 11 to the input / output unit 31 (S331 in FIG. 7B).

[0095] On the similar macro confirmation screen 430 , if the result of comparison by the state comparison unit 112 indicates that the compared macros are similar to each other, the comparison result of the similarity is output to the input / output unit 31 .

[0096] (Parameter setting screen 500) FIG. 11 is a diagram showing an example of a parameter setting screen 500 displayed (output) in step S331 of FIG. 7B. In the parameter setting screen 500, parameters of the operation history information to be registered as the macro 121 are set. Steps S331 to S342 in Fig. 7B will be described below with reference to Fig. 11. Note that the parameter setting screen 500 and the elements constituting the parameter setting screen 500 are displayed by the parameter setting processing unit 324 shown in Fig. 2.

[0097] The parameter setting screen 500 is composed of an operation history information display section 510 , a macro name input field 501 , a comment input field 502 , a back button 503 , and a macro creation button 504 . The operation history information display section 510 displays the operation history information that is about to be registered as the macro 121, that is, the operation history information selected on the operation history screen 400 in FIG.

[0098] When user P selects one of the pieces of operation history information displayed in operation history information display section 510, the selected operation history information is highlighted and parameter setting section 520 is displayed as shown in FIG. 11. In parameter setting section 520, user P can set parameters of the selected operation history information. As shown in parameter editing field 521 of parameter setting section 520, each parameter of the selected operation history information is displayed in an editable format. In the example shown in FIG. 11, a parameter ("position") of the selected operation history information is set in a list format having six values. Therefore, in parameter setting section 520 shown in FIG. 11, six elements of parameter editing field 521 are displayed.

[0099] The user P updates the parameters displayed in the parameter setting unit 520, whereby the parameters of the operation history information are set (S332 in FIG. 7B). At this time, the input / output processing unit 32 judges whether or not each of the parameters to be registered in the macro 121 satisfies the operation definition (S333 in FIG. 7B). The operation definition is the operation definition acquired by the operation terminal 3 in step S102 in FIG. 3. For example, examples of the operation definition not being satisfied include a parameter that should be set as an integer value being set as a real value, or a parameter that should be set as a real value being set as a character string.

[0100] As shown in parameter setting section 520, in this embodiment, parameters that can be fixed are also fixed so that they can be made into macros.

[0101] If each of the parameters to be registered in the macro 121 satisfies the operation definition (S333→Yes), the input / output processing unit 32 advances the process to step S335 in FIG. 7B. If each of the parameters to be registered in the macro 121 does not satisfy the operation definition (S333→No), “NG” is displayed (output) in the confirmation field in the operation history information display unit 510, as shown by symbol 511 in FIG. 11 (S334 in FIG. 7B).

[0102] Then, the user P determines whether or not to continue creating the macro 121 (S335 in FIG. 7B).

[0103] If the user P does not decide to continue in step S335 of FIG. 7B (S335→No), the input / output processor 32 returns the process to step S332, where the user P modifies the parameters. 11, a reset button 522 and an apply button 523 are displayed in the parameter setting section 520. When the user P presses the reset button 522, the parameters displayed in the parameter setting section 520 are returned to the default values ​​registered in the action definition. When the user P presses the apply button 523, the parameters set in the parameter setting section 520 are set as the default values ​​of the macro 121.

[0104] When the user P determines to continue in step S335 in FIG. 7B (S335→Yes), the input / output processing unit 32 performs the process of step S336 in FIG. 7B. In step S336, the user P shown in FIG. 11 sets the name of the macro 121 to be created by inputting an arbitrary name in the macro name input field 501. Then, the user P inputs a comment for the macro 121 to be created in the comment input field 502 shown in Fig. 11 (S337 in Fig. 7B). Step S337 may be omitted. Thereafter, it is determined whether or not the user P wants to register the macro 121 with the current parameters (S341). When the user P determines not to register the macro 121 with the current parameters (S341→No), the user P presses the back button 503 shown in Fig. 11. This causes the input / output processing unit 32 to return the process to step S301 in Fig. 7A, and the screen returns to the operation history screen 400 shown in Fig. 8.

[0105] Also, when the user P determines to register the macro 121 with the current parameters (S341→Yes), the user P presses a macro creation button 504 shown in FIG. 11, whereby the operation history information displayed in the operation history information display unit 510 and the information input in the macro name input field 501 and the like are transmitted to the processing device 1. Then, the macro generation unit 111 of the processing device 1 generates the macro 121 based on the transmitted information, and registers the generated macro 121 in the storage unit 120 (S342). At this time, the name input in the macro name input field 501 is set as the name of the macro 121. In this manner, the macro generation unit 111 generates the macro 121 based on the acquired operation history information.

[0106] 8 to 11, the input / output processing unit 32 acquires past operation history information of the macro execution target object based on instructions input via the input / output unit 31. Then, the macro generating unit 111 generates the macro 121 based on the acquired operation history information. In this manner, the macro 121 can be easily generated.

[0107] (Macro list screen 600) FIG. 12 is a diagram showing an example of the macro list screen 600. As shown in FIG. The macro list screen 600 is a screen that displays a list of created (registered) macros 121. The macro list screen 600 is a screen that is output (displayed) to the input / output unit 31 by performing a predetermined operation on the operation history screen 400 shown in Fig. 8 and the like or the operation screen 700 shown in Fig. 15 and the like. The macro list screen 600 is a screen that the user P can view at any time.

[0108] The macro list screen 600 displays the following items for each macro 121: macro name, operation list, creation date, and update date. The operation list displays operation history information constituting each macro 121. The creation date displays the date when the macro 121 was first created, and the update date displays the date when the parameters of the macro 121 were updated (changed).

[0109] Furthermore, an edit button 610 is displayed on the macro list screen 600, and when the user P presses the edit button 610, a parameter setting button shown in Fig. 13 is displayed. This makes it possible to edit (update) the default parameters of the macro 121 associated with the pressed edit button 610.

[0110] 8 is displayed, and it becomes possible to create a new macro 121. Note that the macro list screen 600 may display the macros 121 in ascending order of the value of D in formula (1).

[0111] (Parameter update screen 620) FIG. 13 is a diagram showing an example of a parameter update screen 620. As shown in FIG. The parameter update screen 620 is made up of an operation history information display section 621 , a back button 622 , an edit button 623 , and a delete button 624 . The operation history information display section 621 displays a list of operation history information constituting the macro 121 corresponding to the edit button 610 pressed on the macro list screen 600 shown in Fig. 12. Note that Fig. 13 shows an example in which "return from grip failure" is the target of parameter update. Each piece of operation history information displays an operation ID, an operation name, and parameters.

[0112] When user P selects one of the operation history information displayed in the operation history information display section 621 and presses the edit button 623, a parameter setting section 520 similar to that shown in Fig. 11 is displayed. This makes it possible to update the parameters.

[0113] A confirmation field is displayed in the operation history information display section 621. If the operation definition has been changed since the creation of the macro 121 and the set parameters are different from the changed operation definition, "NG" is displayed in the confirmation field as shown by the reference numeral 621a.

[0114] When the user P presses the back button 622, the screen returns to the macro list screen 600 shown in Fig. 12. When the user P presses the delete button 624, the macro 121 displayed on the parameter update screen 620 is deleted.

[0115] (Operation screen 700) Next, with reference to Figs. 14 to 19, a process performed when the autonomous operating device 2 is operated will be described. FIG. 14 is a flowchart showing the search process procedure for macro 121 when autonomous operating device 2 is operated. Also, FIGS. 15 to 19 are diagrams showing an example of operation screen 700. In FIGS. 15 to 19, the same components are given the same reference numerals, and the description will be omitted. Also, in FIGS. 15 to 19, the reference numerals are appropriately omitted for elements that are not described. Furthermore, in the description of FIGS. 15 to 19, FIG. 1 will be appropriately referred to. Note that operation screen 700 and the elements that constitute operation screen 700 are displayed by action input processing unit 321 in FIG. 2.

[0116] As shown in Fig. 14, the input / output processing unit 32 outputs an operation screen 700 shown in Fig. 15 to the input / output unit 31 (S401). The user P operates the autonomous operating device 2 based on the operation screen 700 to be operated.

[0117] As shown in FIG. 15, the operation screen 700 has a map display section 711, an image display section 712, a comment display section 730, an operation / display selection section 701, a macro selection section 702, an execute button 703, an operation end button 704, a jog operation button 720, and an operation target selection radio button 721. The map display unit 711 displays a map of the area in which the autonomous operating device 2 moves autonomously. The image display unit 712 displays an image captured by the periphery monitoring camera 26 provided in the autonomous operating device 2. In the example shown in FIG. 15, in this embodiment, the image displayed on the image display unit 712 is an image captured by the periphery monitoring camera 26, but is not limited thereto. Images captured by the hand-eye camera 25 (see FIG. 3A and FIG. 3B) provided in the autonomous operating device 2, a rear camera (not shown), an image captured by a camera (not shown) provided in the room, and the like may be displayed on the image display unit 712. The map display unit 711 and the image display unit 712 can be switched to other screens by the display image selection unit 713. In the example shown in FIG. 15, only the map display unit 711 and the image display unit 712 are shown, but for example, an image of the hand-eye camera 25 or the like may be displayed in addition to these images. If three images are displayed, the operation screen 700 may become complicated. In such a case, user P can press display image selection section 713 to display a desired image in the foreground.

[0118] The jog operation button 720 is a button for performing a jog operation. A jog operation is an operation of moving the autonomous operating device 2 little by little in small increments. The user P can manually move the autonomous operating device 2 little by little in small increments by pressing the jog operation button 720. The operation target selection check box 721 is a radio button for selecting an object for performing a jog operation. For example, when the arm unit 22 is selected as the operation target, the user P can move the end effector 23 in the X-axis direction by pressing "X-" or "X+" shown in FIG. 15. Similarly, the user P can move the end effector 23 in the Y-axis direction by pressing "Y-" or "Y+" shown in FIG. 15. The X-axis and Y-axis are the X-axis and Y-axis set on the map. Then, the user P can move the end effector 23 in the Z-axis direction by pressing "Z-" or "Z+" shown in FIG. 15.

[0119] In addition, the user P can rotate the end effector 23 in a backward roll direction by pressing the "A-" or "A+" button. Similarly, the user P can rotate the end effector 23 in a pitch direction by pressing the "B-" or "B+" button. Similarly, the user P can rotate the end effector 23 in a yaw direction by pressing the "C-" or "C+" button.

[0120] When the dolly (running wheels 24) is selected as the operation target in the operation target selection checkbox 721, the user P can move the autonomous mobile device 2 by jogging. In this case, the jog operation button 720 may be redisplayed as buttons for only the directions in which the autonomous mobile device 2 can move, such as the X direction, Y direction, and yaw direction.

[0121] The current state of the autonomous operating device 2 and the like are displayed in the comment display section 730. In the example shown in Fig. 15, a comment to the effect that the autonomous operating device 2 has started up normally is displayed.

[0122] When the user P presses the operation / display selection unit 701, the operation / display type is displayed as a pull-down menu 701a as shown in FIG. 16. The operation / display type is used to narrow down the types and display order of the macros 121 to be displayed when the user P selects manual control or presses the macro selection unit 702. In the example shown in FIG. 16, "manual control", "macro priority candidate order", "macro registration order", and "macro name order" are displayed as the operation / display types. "Manual control" means that the user P manually controls the autonomous operating device 2 by operating the jog operation button 720, and the process shown in FIG. 5 is performed. As described above, the autonomous operating device 2 operates by autonomous operation, but manual control is performed when avoiding an obstacle or when the autonomous operating device 2 cannot operate autonomously due to an error.

[0123] In this embodiment, a case where "macro priority candidate order" is selected as the operation / display type will be described.

[0124] When "macro priority candidate order" is selected (S402 in FIG. 14), information that "macro priority candidate order" has been selected is sent from the operation terminal 3 to the processing device 1. Then, the state comparison unit 112 of the processing device 1 searches for a similar macro 121 (similar macro) based on the current state of the autonomous operating device 2 (S411 in FIG. 14). At this time, the state comparison unit 112 searches for a similar macro in accordance with the result of state comparison shown in formula (1) based on the state of the autonomous operating device 2 immediately before the macro 121 is executed (i.e., immediately before it is selected).

[0125] When "macro registration order" is selected in the operation / display selection section 701, all the macros 121 are displayed in order of the date and time when the macros 121 were created (or the update date and time if the macros have been updated). When "macro name order" is selected, all the macros 121 are displayed in order of name.

[0126] When the user P narrows down the macros 121 to be displayed by the operation / display selection unit 701, the user P presses the macro selection unit 702. Then, as shown in FIG. 17, the macros 121 are displayed in the form of a pull-down menu 702a according to the operation type selected by the operation / display selection unit 701. In the example shown in FIG. 17, since the "macro 121 priority candidate order" is selected by the operation / display selection unit 701, the macro selection unit 702 displays (outputs) the macros 121 in order of similarity, starting from the macros 121 executed in a similar situation in the past (S412 in FIG. 14). That is, the results searched by the state comparison unit 112 of the processing device 1 are displayed in order of similarity. In the pull-down menu 702a, the macros 121 are preferably displayed in order of the smallest value of D in formula (1).

[0127] In this way, when the comparison by the state comparison section 112 shows that the compared macros 121 are similar to each other, the comparison result of the similarity is displayed on the input / output section 31 by using the pull-down menu 702a.

[0128] When the user P selects the macro 121 in the macro selection section 702, he or she presses the execute button 703. Then, as shown in FIG.

[0129] 18, the button recognition screen 740 is composed of an operation history information display section 741, a reset button 742, a back button 743, and an execute button 744. Using the button recognition screen 740, the user P can confirm the operation details and parameters of the macro 121 that is about to be executed.

[0130] The configuration of the operation history information display unit 741 is similar to that of the operation history information display unit 510 shown in Fig. 11. Furthermore, when the user P double-clicks on one of the pieces of operation history information displayed in the operation history information display unit 741, a parameter setting unit 745 is displayed as shown in Fig. 18. The parameter setting unit 745 has a similar configuration to the parameter setting unit 520 shown in Fig. 11, and allows the user P to edit the parameters of the selected operation history information in the same procedure as the parameter setting unit 520 shown in Fig. 11.

[0131] For operation history information in which a parameter different from the operation definition is set, "NG" is displayed in the confirmation field (reference symbol 741a). If such operation history information is included in the macro 121, the macro 121 cannot be executed. For example, the execute button 744 on the button recognition screen 740 is grayed out, and the macro cannot be executed. Incidentally, in the example shown by reference symbol 741a in FIG. 18, the value of "target" became blank when the value was changed from the time of registration of the macro 121, so "NG" is displayed. In this way, when there is operation history information in which "NG" is displayed in the confirmation field, the user P edits the parameter in the parameter setting section 745 and then presses the execute button 744.

[0132] When user P presses reset button 742, the parameters of the operation history information return to the values ​​before editing by parameter setting unit 745. If the parameters have not been edited by parameter setting unit 745, the values ​​of the parameters displayed in the parameter column of operation history information display unit 510 do not change even if user P presses reset button 742.

[0133] When the user P presses the back button 743, the action execution unit 214 returns the screen to the screen shown in FIG.

[0134] Then, when user P presses execute button 744 shown in Fig. 18, operation execution unit 214 transitions operation screen 700 to operation screen 700 shown in Fig. 19, and controls the operation of the autonomous operating device 2 in accordance with the selected macro 121. At this time, the process shown in Fig. 6 is performed.

[0135] 19, a message is displayed in the comment display section 730 indicating that the selected macro 121, "button recognition," is being executed, that is, the execution status of the macro 121. When the macro 121 is executed, the input / output processing section 32 displays a pause button 731, an execute button 732, and a stop button 733 in the comment display section 730. The user P can perform operations such as pausing, executing (re-executing), and stopping the macro 121 by pressing the pause button 731, the execute button 732, and the stop button 733.

[0136] When user P presses operation end button 704 displayed on operation screen 700, operation of the autonomous operating device 2 ends.

[0137] [Second embodiment] Next, a second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the operation of the autonomous operating device 2 that will be performed next is recorded, and the macro 121 is created based on the recorded operation history information.

[0138] The procedure for creating the macro 121 in the second embodiment will be described with reference to FIGS. FIG. 20 is a flowchart showing the procedure of a macro generation process in the second embodiment. First, the input / output processing unit 32 outputs the operation screen 700A to the input / output unit 31 (S501 in FIG. 20).

[0139] (Operation screen 700A) Fig. 21 is a diagram showing an example of an operation screen 700A in the second embodiment. In Fig. 21, reference numerals are omitted for configurations similar to those in Fig. 15 as appropriate. The operation screen 700A has the same configuration as the operation screen 700 shown in Fig. 15, except that a recording start button 751, a recording end button 752, and a macro creation button 504 are added. Note that the operation screen 700A shown in Fig. 21 is a screen displayed in step S501 in Fig. 20. Also, Fig. 2 will be referred to as appropriate.

[0140] When user P wishes to create an upcoming operation of the autonomous operating device 2 as a macro 121, user P presses record start button 751 (S502 in FIG. 20), and then manually controls the autonomous operating device 2 (S503 in FIG. 20). By pressing record start button 751, an instruction to generate macro 121 is input via input / output processing unit 32.

[0141] Manual control of the autonomous operating device 2 is performed by the user P selecting "manual control" by the operation / display selection unit 701 and operating the jog operation button 720, as shown in Figs. 15 and 16. When the user P presses the record start button 751, subsequent operation history information is sent from the operation terminal 3 to the processing device 1. Then, the macro generation unit 111 of the processing device 1 records operation history information related to the operation of the autonomous operating device 2 from the time when the record start button 751 was pressed in the storage unit 120 as operation history information for creating the macro 121. For example, the operation history information is recorded in the storage unit 120 with a flag for generating the macro 121 or the like set.

[0142] The input / output processor 32 determines whether or not the recording end button 752 has been pressed (S504). As a result of step S504, if the record end button 752 has not been pressed (S504→No), the input / output processor 32 returns the process to step S503, and manual control of the autonomous operating device 2 continues.

[0143] If it is determined in step S504 that the record end button 752 has been pressed (S504→Yes), that is, when the user P presses the record end button 752, a notice to that effect is sent from the operation terminal 3 to the processing device 1. Then, the macro generation unit 111 of the processing device 1 stops storing operation history information regarding the operation of the autonomous operating device 2 after the record end button 752 was pressed as operation history information for macro generation. In this way, the input / output processing unit 32 collects operation history information of the autonomous operating device 2 in response to an instruction to generate a macro being input via the input / output unit 31.

[0144] Then, when the user P presses the macro creation button 761 at an appropriate time (for example, after the operation of the autonomous operating device 2 is completed), the operation history screen 400 shown in Fig. 8 is displayed (S301). In the second embodiment, the check boxes 411 on the operation history screen 400 shown in Fig. 8 have check marks for the operation history information from when the record start button 751 shown in Fig. 21 is pressed until the record end button 752 is pressed.

[0145] 8 to 13 are performed to create the macro 121. That is, the macro generating unit 111 generates the macro 121 based on the collected operation history information.

[0146] According to the second embodiment, the operation of the autonomous operation device 2 by manual control that will be performed in the future can be registered as the macro 121, so that the macro 121 can be created by a simple method.

[0147] The units of operation history information include patrol start / interrupt / stop / resume, jog movement, movement to a target value, error reset, operation of peripheral devices, change of operation parameters (movement speed, etc.), etc. In addition, the following may be used as a quantitative state vector used in the similarity determination process.

[0148] (B1) Hashtag of the action. (B2) Identification symbol of the action. (B3) ID of the autonomous action device 2. (B4) Status of peripheral devices.

[0149] Also, the following may be used as a flag state vector:

[0150] (C1) Whether an error is occurring or not. (C2) The execution status of the operation. For example, whether it has ended normally, ended abnormally, been interrupted, or whether an interrupt has been executed.

[0151] Moreover, the following case is considered as an example in which the macro 121 applied in this embodiment is used. (D1) Recovery operation when self-position is lost: For example, (D1-1) reset the error → (D1-2) in order to find a landmark, user P performs a certain number of rotations with a certain degree of accuracy using jog movement (manual control) → (D1-3) resume patrol (D2) Recovery action when the towing dolly fails to engage: For example, (D2-1) resets an error → (D2-2) executes a release operation using the traction mechanism under manual control by user P → (D2-3) moves forward by jog movement under manual control by user P → (D2-4) moves backward by jog movement under manual control by user P → (D2-5) executes a gripping operation using user P's traction mechanism.

[0152] By registering the above-mentioned operations in the macro 121, a common macro 121 can be used by a plurality of robots passing through the same route.

[0153] An industrial AMR may be used as the autonomous operating device 2, and an industrial manipulator or the like may be used instead of the autonomous operating device 2. Furthermore, the technology of the present embodiment may be used for a PLC or material handling equipment instead of the autonomous operating device 2.

[0154] Furthermore, when the macro generation of this embodiment is performed for remote manual control of an industrial manipulator, the process is as follows. First, the operation history information includes image capture for object recognition, grasping / releasing of objects, etc. In addition, the battery remaining amount is not included as a state included in the similarity determination process. In addition, the coordinates of the macro execution target object are the coordinates of the TCP (the tip of the hand).

[0155] Furthermore, when an industrial manipulator is applied as the object for macro execution, the following operations may be registered as the macro 121. (E1) Recovery action when stopped due to overload: (E1-1) Reset the error. → (E1-2) The manipulator moves away from the workpiece (vertically upward) by jog movement under manual control by user P. → (E1-3) The manipulator moves to the home position under manual control by the user. → (E1-4) Re-execute the operation.

[0156] (E2) Recovery action when the target object recognition fails: (E2-1) Reset the error. → (E2-2) In order to recognize the workpiece from a different angle, User P executes jog movement by manual control a certain number of times. → (E203) Re-execute recognition.

[0157] By registering the above-mentioned operations as the macro 121, the macro 121 can be commonly used by a plurality of robots that perform the same task on the same workpiece.

[0158] Also, when displaying candidates (similar macros) of the macro 121, it is possible to increase the weighting coefficient for the coordinates only when the action performed by the macro 121 changes the coordinates. In this way, it is possible to filter out macros 121 that are unrelated to each other. [Explanation of symbols]

[0159] 1 Processing equipment 2. Autonomous operating device (macro execution target) 3 Operation terminal 27 Information acquisition calculator 31 Input / output section (input section, output section) 32 Input / output processing unit (output processing unit, operation history information acquisition unit) 111 Macro Generation Unit 112 Status comparison section 120 Storage section 121 Macro 122 Operation status information 200 Control computer 210 Processing section 211 Operation definition part 212 Operation receiving unit 213 Operation status control unit 214 Operation Execution Unit 215 Macro receiver 321 Motion Input Processing Unit 322 Output Processing Unit 323 Macro Input Processor 324 Parameter setting processing section 400 Operation history screen 410 History display section 411 Checkbox 430 Similar macro confirmation screen 431 Selected operation history information display section 432 Similar Macro Display Section 500 Parameter setting screen 504 Create Macro Button 510 Operation history information display section 520 Parameter setting section 521 Parameter editing field 600 Macro list screen 620 Parameter update screen 621 Operation history information display section 700 Operation screen 700A operation screen 701 Operation / display selection section 701a Pull-down menu 702 Macro Selection Section 702a Pull-down menu 703 Run button 704 Operation end button 711 Map display section 712 Image display unit 720 Jog operation button 740 Button Recognition Screen 741 Operation history information display section 745 Parameter setting section P User Z Autonomous Operation System (Macro System) S321 Search for similar macros (state comparison step) S324 Output similar macro confirmation screen (output processing step)

Claims

1. a state comparison unit that compares states of a macro execution object when a plurality of macros are executed, thereby comparing similarities between the macros; an output processing unit that displays a result of the comparison of similarity on an output unit when the macros being compared are similar to each other as a result of the comparison by the state comparison unit; A macro system comprising:

2. The state comparison unit is Comparing the state of the object of macro execution immediately before the macro is executed 2. The macro system according to claim 1.

3. The state comparison unit is Comparing the state of the object before and after the macro is executed 2. The macro system according to claim 1.

4. The comparison is performed for each of a plurality of elements related to the macro being compared; In the comparison, each of the elements is multiplied by a weighting factor; The weighting coefficient is adjusted so that an element whose change before and after the execution of the macro is less than a predetermined value can be ignored.

4. The macro system according to claim 3.

5. an operation history information acquisition unit that acquires past operation history information of the macro execution object based on an instruction inputted via an input unit; A macro generating unit that generates the macro based on the acquired operation history information.

2. The macro system according to claim 1, further comprising:

6. an operation history information acquisition unit that collects operation history information of the macro execution target object in response to a command for generating a macro being input via an input unit; A macro generating unit that generates the macro based on the collected operation history information.

2. The macro system according to claim 1, further comprising:

7. The comparison is performed for each of a plurality of elements related to the macro being compared.

2. The macro system according to claim 1.

8. The elements are composed of a quantitative state vector and a flag state vector.

8. The macro system according to claim 7.

9. The macro system a state comparison step of comparing states of a macro execution object when a plurality of macros are executed, thereby comparing similarities between the macros; an output processing step of displaying a result of the comparison of similarity on an output unit when the macros being compared are similar to each other as a result of the comparison in the state comparison step; 2. A macro management method comprising:

Citation Information

Patent Citations

  • The central device and a plurality of peripheral devices of the transmission control method for the motor de -

    JP1975056134A

  • Photomodulator

    JP1977017845A