Robot control based on evaluation of current status of work space
The robot monitoring system addresses real-time evaluation and control challenges by using a trained model to analyze video data and adapt robot operations, enhancing efficiency and safety in dynamic work environments.
Patent Information
- Application Number
- US19/749628
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2026-07-22
- Publication Date
- 2026-12-03
AI Technical Summary
Existing robot monitoring systems struggle to effectively evaluate and respond to real-time changes in a robot's work environment, particularly when dealing with unpredictable workpieces or unexpected objects, without predefined motion patterns.
A robot monitoring system that uses a trained model to analyze current video data from a camera, evaluating the work space status and controlling the robot based on the evaluation results, allowing for real-time adaptation to normal or abnormal conditions.
Enables real-time monitoring and adaptive control of robots, even with unpredictable workpieces or unexpected objects, ensuring efficient task completion and safety by quantifying tacit knowledge through machine learning.
Smart Images

Figure US20260388043A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation application of PCT Application No. PCT / JP2024 / 005336, filed on Feb. 15, 2024. The entire contents of the above listed PCT and priority applications are incorporated herein by reference.BACKGROUNDField
[0002] One aspect of the present disclosure relates to a robot monitoring system, a robot monitoring method, and a robot monitoring program.Description of the Related Art
[0003] Japanese Unexamined Patent Publication No. 2022-158518 describes a method for selecting appropriate training data to be used for machine learning from data in which images of a normal state and images of abnormal states are mixed. Japanese Patent No. 6597320 describes a method for capturing, with a camera, an image of a robot hand that holds an object and performs an assembly operation, and determining an abnormality in the assembly operation.SUMMARY
[0004] A robot monitoring system according to one aspect of the present disclosure includes: a camera configured to generate current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task; and circuitry configured to: acquire the current video data from the camera; input the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space; and control the robot based on a result of evaluating the current status to cause the robot to process a workpiece.BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIG. 1 is a diagram showing an example application of a robot monitoring system.
[0006] FIG. 2 is a diagram showing an example functional configuration of the robot monitoring system.
[0007] FIG. 3 is a diagram showing an example hardware configuration of a computer used for the robot monitoring system.
[0008] FIG. 4 is a diagram schematically showing an example of collection of training data.
[0009] FIG. 5 is a flowchart showing an example of processing executed by the robot monitoring system.
[0010] FIG. 6 is a diagram showing an example of a method for calculating a degree of normality.
[0011] FIG. 7 is a diagram showing an example of a history of a degree of progress.DETAILED DESCRIPTION
[0012] In the following description, with reference to the drawings, the same reference numbers are assigned to the same components or to similar components having the same function, and overlapping description is omitted.Overview of System
[0013] A robot monitoring system according to the present disclosure is a computer system that monitors a real work space in which a real robot that executes a predetermined task is placed. In the present disclosure, a task refers to an operation that a robot is caused to execute in order to achieve a certain purpose. For example, a task is processing a workpiece. Monitoring may include at least one of evaluating whether the work space is normal or abnormal, and evaluating a progress status of the task. For example, monitoring may include evaluating at least one of the motion of the robot and the state of the workpiece, or may include evaluating a progress status of an operation performed on the workpiece. Alternatively, monitoring may include evaluating a situation around the robot and the workpiece, such as the appearance of an unexpected object. An unexpected object refers to a real object that is not expected to be present when the robot executes the task. As in these examples, the robot monitoring system may treat at least one of the robot, the workpiece, and the surrounding environment of the robot or the workpiece as a monitoring target.
[0014] In the present disclosure, a workpiece refers to a tangible object that is directly or indirectly affected by the motion of the robot. The workpiece may be a tangible object directly processed by the robot, or may be another tangible object present in the vicinity of a tangible object directly processed by the robot. For example, in a case where the task is a process of opening a packaging material that wraps a certain product, the workpiece may be at least one of the packaging material and the product. As another example, in a case where the task is a process of packing products having an indeterminate appearance into a container, the workpiece may be at least one of the product and the container. The robot may process a workpiece whose state transition is not reproducible. A “workpiece whose state transition is not reproducible” refers to a workpiece for which it is difficult to predict what state it will be in next or what state it will ultimately be in. A “workpiece whose state transition is not reproducible” may also be said to be a workpiece whose state changes irregularly. An example of a workpiece whose state transition is not reproducible is a tangible object whose external shape changes irregularly due to an external force (for example, the motion of the robot), such as a soft resin packaging material or a bag. A “workpiece having an indeterminate appearance” means that the appearance is not completely identical among individual workpieces. Examples of tangible objects having an indeterminate appearance include fresh foods such as vegetables, fruits, fish, and meat.
[0015] The robot monitoring system inputs current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task, into a trained model, and evaluates a current status of the work space. The video data capturing the motion of the robot may be video data that directly captures at least a part of the motion of the robot, or may be video data that indirectly indicates the motion of the robot. For example, the video data may indicate a change in the status of the workpiece or a change in the shooting range due to the motion of the robot. The trained model is a computational model generated by machine learning, which is a technique for autonomously finding rules or patterns through iterative learning based on given information. By using this trained model, evaluation of the work space based on tacit knowledge (knowledge based on human experience or intuition) may be quantified. Therefore, the robot monitoring system may appropriately monitor the work space in real time, even in a case where the motion of the robot is not uniquely defined in advance. For example, the robot monitoring system may appropriately monitor the work space in real time, even in a case where the robot is controlled while the motion of the robot is sequentially determined in real time. As another example, the robot monitoring system may appropriately monitor in real time the motion of a robot that executes a task of processing a workpiece whose state transition is not reproducible or a workpiece having an indeterminate appearance, or the progress status of such a task.Configuration of System
[0016] FIG. 1 is a diagram showing an example application of a robot monitoring system. The robot monitoring system 1 shown in this example monitors a real work space 9 in which a real robot 2 that processes a real workpiece 8 is placed. The robot monitoring system 1 is connected, via a communication network, to a robot controller 3 that controls the robot 2 and to a camera 4 that captures the work space 9. The communication network may be a wired network or a wireless network. The communication network may include at least one of the Internet and an intranet. Alternatively, the communication network may be implemented simply by a single communication cable.
[0017] The example of FIG. 1 shows, as the workpiece 8, a product 81 and a sheet-shaped packaging material 82 that wraps the product 81. In this example, the robot 2 performs an operation of opening the packaging material 82 that wraps the product 81.
[0018] The robot 2 is a device that receives power and performs a predetermined operation according to a purpose, thereby executing useful work. In some examples, the robot 2 includes a plurality of joints, an arm, and an end effector 2a attached to a distal end of the arm. Examples of the end effector 2a include a gripper, a suction hand, and a magnetic hand. A joint axis is set for each of the plurality of joints. Some components of the robot 2, such as the arm and a swivel unit, rotate about the joint axes, and as a result, the robot 2 is able to change the position and posture of the end effector 2a within a predetermined range. In some examples, the robot 2 is a multi-axis, serial-link, vertical articulated robot. The robot 2 may be a six-axis vertical articulated robot or a seven-axis vertical articulated robot in which one redundant axis is added to the six axes. The robot 2 may be a self-propelled mobile robot, for example, an autonomous mobile robot (AMR) or a robot supported by an automated guided vehicle (AGV). Alternatively, the robot 2 may be a stationary robot fixed at a predetermined location.
[0019] The robot controller 3 is a device that controls the robot 2 in accordance with a motion program generated in advance. In some examples, the robot controller 3 calculates joint angle target values (an angle target value for each joint of the robot 2) for aligning the position and posture of the end effector 2a with a target value indicated by the motion program, and controls the robot 2 according to the angle target values.
[0020] The camera 4 is a device that captures at least a part of a region within the work space 9 to generate video data. As described above, the camera 4 generates current video data capturing a current motion of the robot 2 that is placed in the work space and executes a predetermined task. The video data includes one or more frame images arranged consecutively along a time axis. The video data may capture at least one of the robot 2 and the workpiece 8, and may further capture a surrounding area of the robot 2 or the workpiece 8. The camera 4 transmits the video data to the robot monitoring system 1. In some examples, a relative position of the camera 4 with respect to the robot 2 is fixed. That is, when the camera 4 is viewed from a reference position, which is regarded as the position of the robot 2, the position of the camera 4 does not change. The reference position may be the position where the robot 2 is installed, or may be the position of a specific part of the robot 2. The camera 4 may be fixed to a pillar, a ceiling, or the like, or may be attached near the distal end of the arm of the robot 2.
[0021] FIG. 2 is a diagram showing an example functional configuration of the robot monitoring system 1. In this example, the robot monitoring system 1 includes, as functional components, a training unit 11, a sample database 12, an evaluation unit 13, a robot control unit 14, an analysis unit 15, and a history database 16. The training unit 11 is a functional module configured to generate, by machine learning, a trained model 19 used for evaluating the current status of the work space 9. The sample database 12 is a functional module configured to store training data used for machine learning. The evaluation unit 13 is a functional module configured to input video data from the camera 4 into the trained model 19 and evaluate the current status of the work space 9. In some examples, the result of evaluation by the evaluation unit 13 may be expressed as an evaluation value. The robot control unit 14 is a functional module configured to control the robot 2 based on an evaluation result (for example, an evaluation value). In some examples, the robot control unit 14 is configured to generate motion information (for example, joint angles) for operating the robot 2 in real time and control the robot 2 in real time based on the motion information. The analysis unit 15 is a functional module configured to record a motion history indicating the current motion of the robot 2, based on an evaluation result (for example, an evaluation value). The history database 16 is a functional module configured to store the motion history.
[0022] The robot monitoring system 1 may be implemented by any type of computer. The computer may be a general-purpose computer such as a personal computer or a business server, or may be incorporated into a dedicated device that executes specific processing.
[0023] FIG. 3 is a diagram showing an example hardware configuration of a computer 100 used for the robot monitoring system 1. In this example, the computer 100 includes a main body 110, a monitor 120, and an input device 130.
[0024] The main body 110 is a device having circuitry 160. The circuitry 160 comprises a processor 161, a memory 162, a storage 163, an input / output port 164, and a communication port 165. The number of each hardware component may be one, or two or more. The storage 163 stores a program that configures each functional module of the main body 110. The storage 163 is a computer-readable recording medium such as a hard disk, a nonvolatile semiconductor memory, a magnetic disk, or an optical disc. The memory 162 temporarily stores a program loaded from the storage 163, calculation results of the processor 161, and the like. The processor 161, in cooperation with the memory 162, executes the program to constitute each functional module. The input / output port 164, in response to commands from the processor 161, performs input and output of electrical signals with the monitor 120 or the input device 130. The communication port 165, in accordance with commands from the processor 161, performs data communication with other devices such as the robot controller 3 via a communication network N.
[0025] The monitor 120 is a device for displaying information output from the main body 110. For example, the monitor 120 is a device capable of displaying graphics, such as a liquid crystal panel.
[0026] The input device 130 is a device for inputting information to the main body 110. Examples of the input device 130 include operation interfaces such as a keypad, a mouse, and an operation controller.
[0027] The monitor 120 and the input device 130 may be integrated as a touch panel. For example, the main body 110, the monitor 120, and the input device 130 may be integrated like a tablet computer.
[0028] Each functional module of the robot monitoring system 1 is implemented by loading a robot monitoring program into the processor 161 or the memory 162 and causing the processor 161 to execute that program. The robot monitoring program contains code for implementing each functional module of the robot monitoring system 1. In accordance with the robot monitoring program, the processor 161 operates the input / output port 164 and the communication port 165, and reads and writes data in the memory 162 or the storage 163.
[0029] The robot monitoring program may be provided after being recorded on a non-transitory recording medium such as a CD-ROM, a DVD-ROM, or a semiconductor memory. Alternatively, the robot monitoring program may be provided via a communication network as data signals superimposed on carrier waves.Machine Learning
[0030] In some examples, the training unit 11 generates the trained model 19 by supervised learning. In supervised learning, training data (sample data) is used that includes a plurality of data records each indicating a combination of input data to be processed by a machine learning model and a correct answer for output data from the machine learning model. The training unit 11 executes the following processing for each data record of the training data. That is, the training unit 11 inputs the input data indicated by the data record into the machine learning model. The training unit 11 executes backpropagation based on an error between the output data estimated by the machine learning model and the correct answer indicated by the data record, and updates a set of parameters in the machine learning model. The training unit 11 repeats the processing for each data record until a predetermined termination condition is satisfied, thereby generating the trained model 19. The termination condition may be processing all data records of the training data. It should be noted that the trained model 19 is a computational model estimated to be optimal, and is not necessarily “a computational model that is optimal in reality.” The trained model 19 is implemented by, for example, a network structure called a Transformer, or a neural network such as a deep neural network (DNN).
[0031] In some examples, the sample database 12 stores in advance, as training data, a plurality of data records each indicating a combination of past video data capturing the work space 9 and an evaluation reference value set for a past status of the work space 9 indicated by the video data. The evaluation reference value may be expressed in various formats such as images, numerical values, and text. In a case where the relative position of the camera 4 with respect to the robot 2 is fixed, the past video data is obtained by the camera 4 capturing a past motion of the robot 2 from the relative position. In machine learning, the training unit 11 uses the video data as input data and uses the evaluation reference value indicated by the training data as the correct answer. By this machine learning, a trained model 19 is generated that calculates an evaluation reference value for current video data capturing the current motion of the robot 2. The evaluation reference value may be used to generate an evaluation value, or may be used as an evaluation value as is.
[0032] In some examples, each piece of past video data used as training data captures a past normal motion of the robot 2 without capturing a past abnormal motion of the robot 2. An example of collection of training data will be described with reference to FIG. 4. FIG. 4 is a diagram schematically showing the example.
[0033] Example 200 schematically shows various past motions of the robot 2 with a plurality of arrows. These motions are divided into normal motions 201 and abnormal motions 202. In example 200, the training unit 11 executes machine learning using a set 203 of normal motions 201 as training data, without using the abnormal motions 202. Each individual motion 201 is represented by past video data including a plurality of frame images (past frame images) arranged consecutively along the time axis. The plurality of frame images include a final frame image located last along the time axis and two or more input frame images other than the final frame image. The input frame images are located before the final frame image along the time axis. Each record of the training data includes two or more input frame images indicating a certain normal motion 201 and a final frame image indicating the normal motion 201 and used as the correct answer. The training unit 11 generates a trained model 19 for generating (calculating) a predicted frame image indicating the status of the work space 9 at the time point corresponding to the final frame image, by machine learning using training data having such a data structure.
[0034] Example 210 also schematically shows various past motions of the robot 2 with arrows. Example 210 shows a start S and a goal (completion) G of a task that is an operation performed on a workpiece, and a plurality of arrows representing various past motions of the robot 2 in executing the task. These motions are divided into normal motions 211 that completed the task and abnormal motions 212 that failed to complete the task. In example 210, the training unit 11 executes machine learning using a set 213 of normal motions 211 as training data, without using the abnormal motions 212. Each individual motion 211 is represented by past video data including a plurality of frame images (past frame images) arranged consecutively along the time axis. Each record of the training data includes one or more input frame images indicating a normal motion 211 of the robot 2 at a specific point in time while performing an operation on the workpiece, and a degree of progress of the operation at that point in time. The degree of progress is used as the correct answer. The training unit 11 generates a trained model 19 for calculating a degree of progress of the robot 2 with respect to the workpiece 8 in the work space 9, by machine learning using training data having such a data structure. The degree of progress refers to an index indicating the progress status of an operation performed on a workpiece. The progress status of an operation performed on a workpiece indicates how far the workpiece has progressed toward the goal (completion) of the task. The degree of progress is an example of an evaluation value for the current status of the work space. As the operation progresses from the start of the task toward the goal of the task, the degree of progress increases. For example, the degree of progress may be expressed as a numerical value between 0 and 1, such that the degree of progress is 0 at the start of the task and 1 at the end of the task.
[0035] The degree of progress indicated as the correct answer by the training data may be expressed using a frame number obtained by numbering, in order, a plurality of frame images capturing the period from the start to the end of the task, with the frame image corresponding to the start of the task assigned the number 1. It is assumed that the period from the start to the end of the task is represented by m frame images, and that at least a part of the training data is generated using the m frame images. In this case, the degree of progress indicated as the correct answer may be set linearly using the total number m of frame images and the frame number. For example, in a case where m=50, a degree of progress of 0.2 (=10 / 50) is set for the 10th frame, a degree of progress of 0.5 (=25 / 50) is set for the 25th frame, and a degree of progress of 1 (=50 / 50) is set for the 50th frame.
[0036] As described with reference to FIG. 4, the training unit 11 may execute machine learning using past video data that captures a past normal motion of the robot 2 without capturing a past abnormal motion of the robot 2, thereby generating the trained model 19. Therefore, it may be said that the evaluation reference value generated by the trained model 19 is a value corresponding to the normal motion of the robot 2. That is, the trained model 19 may indicate a criterion indicating that the past operating environment of the robot in the work space 9 is normal.
[0037] The generation of the trained model 19 corresponds to a learning phase of machine learning. The processing of evaluating the current status of the work space 9 using the generated trained model 19 (hereinafter also simply referred to as “evaluation processing”) corresponds to an operation phase of machine learning.Robot Monitoring Method
[0038] As an example of the robot monitoring method according to the present disclosure, an example of processing executed by the robot monitoring system 1 will be described with reference to FIG. 5. FIG. 5 is a flowchart showing the example as processing flow S1. That is, the robot monitoring system 1 executes the processing flow S1. The processing flow S1 presupposes that the trained model 19 has been generated, and therefore corresponds to the operation phase.
[0039] In step S11, the evaluation unit 13 acquires current video data from the camera 4. The acquired video data includes one or more frame images. As described above, in some examples, the relative position of the camera 4 with respect to the robot 2 is fixed, and the past video data used as training data is obtained by the camera 4 capturing a past motion of the robot 2 from the relative position. In this case, the camera 4 captures the current motion of the robot 2 from the relative position to generate current video data, and the evaluation unit 13 acquires this video data. In this example, it may be said that the angle of the camera 4 is unified between the current video data and the past video data.
[0040] In step S12, the evaluation unit 13 inputs the current video data into the trained model 19 and evaluates the current status of the work space 9.
[0041] In some examples, the evaluation unit 13 executes, as evaluation of the current status of the work space 9, evaluation based on a degree of normality. FIG. 6 is a diagram showing an example of a method for calculating the degree of normality. The degree of normality refers to an index indicating how normal the current status of the work space 9 is. The degree of normality is an example of an evaluation value for the current status of the work space.
[0042] In the example of FIG. 6, the evaluation unit 13 acquires, from the camera 4, current video data 300 including five frame images arranged consecutively along a time axis t. The five frame images include a final frame image 305 located last along the time axis t and input frame images 301 to 304 other than the final frame image 305. As shown in this example, the current video data includes two or more input frame images and a final frame image. The evaluation unit 13 inputs the input frame images 301 to 304 into the trained model 19. The trained model 19 generates (calculates) a predicted frame image 310 indicating the current status of the work space 9 at the time point corresponding to the final frame image 305, as an evaluation reference value.
[0043] The evaluation unit 13 acquires the predicted frame image 310, and compares the final frame image 305 with the predicted frame image 310 to evaluate the current status of the work space 9. In some examples, the evaluation unit 13 calculates a difference (image difference) between the predicted frame image 310 and the final frame image 305 based on the luminance of each pixel of the predicted frame image 310 and the luminance of each pixel of the final frame image 305, and calculates the degree of normality based on this difference. As described above, the trained model 19 may be generated by machine learning using past video data that captures a past normal motion of the robot 2 without capturing a past abnormal motion of the robot 2. Therefore, it may be said that the predicted frame image 310 calculated by the trained model 19 indicates a normal motion of the robot 2. The evaluation unit 13 may calculate the degree of normality using an algorithm designed such that the degree of normality increases as the image difference decreases. The calculation of the degree of normality based on the predicted frame image 310 is an example of processing for calculating the degree of normality based on a criterion indicating that the past operating environment of the robot in the work space 9 is normal.
[0044] As described above, the evaluation unit 13 may set the calculated degree of normality directly as an evaluation value.
[0045] Alternatively, the evaluation unit 13 may, as evaluation processing, evaluate whether the current motion of the robot 2 is abnormal based on the degree of normality. For example, the evaluation unit 13 may evaluate the current motion as normal if the degree of normality is equal to or greater than a threshold Ta, and may evaluate the current motion as abnormal if the degree of normality is less than the threshold Ta. In this case, the evaluation unit 13 may set flag information indicating whether the current motion is normal or abnormal as an evaluation value. Examples of robot motions evaluated as abnormal include unscheduled stops, postures, accelerations, and decelerations.
[0046] Alternatively, the evaluation unit 13 may, as evaluation processing, evaluate whether an abnormality exists in the workpiece 8 processed by the robot 2 based on the degree of normality. For example, the evaluation unit 13 may evaluate the workpiece 8 as normal if the degree of normality is equal to or greater than a threshold Tb, and may evaluate the workpiece 8 as having an abnormality if the degree of normality is less than the threshold Tb. In this case, the evaluation unit 13 may set flag information indicating whether the workpiece is normal or whether an abnormality exists in the workpiece as an evaluation value. Examples of workpieces evaluated as abnormal include an abnormality in the workpiece itself (for example, damage) and processing of an unplanned workpiece (for example, picking of a container holding a plurality of products to be picked).
[0047] Alternatively, the evaluation unit 13 may, as evaluation processing, evaluate whether an unexpected object has appeared around the robot 2 based on the degree of normality. Examples of unexpected objects include an unintended person or tangible object. For example, the evaluation unit 13 may evaluate that no unexpected object is present if the degree of normality is equal to or greater than a predetermined threshold Tc, and may evaluate that an unexpected object has appeared if the degree of normality is less than the threshold Tc. In this case, the evaluation unit 13 may set flag information indicating whether an unexpected object has appeared as an evaluation value.
[0048] As another example, the evaluation unit 13 executes, as evaluation of the current status of the work space 9, evaluation based on a degree of progress. The evaluation unit 13 may evaluate the progress status of an operation performed on the workpiece 8 whose state changes irregularly due to the motion of the robot 2 in the work space 9. The evaluation unit 13 inputs the current video data (one or more frame images) into the trained model 19. The trained model 19 calculates, as an evaluation reference value or an evaluation value, a degree of progress indicating the progress status of the operation performed on the workpiece 8 at the time point indicated by the video data.
[0049] In step S13, the robot control unit 14 controls the robot 2 based on the evaluation result.
[0050] In a case where the evaluation result satisfies a predetermined criterion (evaluation criterion) related to the degree of normality, the robot control unit 14 may control the robot 2 so as to continue the current motion. In other words, the robot control unit 14 may control the robot 2 so as to continue processing the workpiece 8, that is, to continue executing the current task. In the present disclosure, this control is also referred to as standard control. For example, the robot control unit 14 may execute the standard control in a case where the degree of normality is equal to or greater than a predetermined threshold, in a case where the current motion of the robot 2 is normal, in a case where the workpiece 8 is normal, or in a case where no unexpected object is present.
[0051] In a case where the evaluation result does not satisfy the predetermined criterion (evaluation criterion) related to the degree of normality, the robot control unit 14 may control the robot 2 so as to make a change to the current motion. In the present disclosure, this control is also referred to as exception control. For example, the robot control unit 14 may execute the exception control in a case where the degree of normality is less than a predetermined threshold, in a case where the current motion of the robot 2 is abnormal, in a case where an abnormality exists in the workpiece 8, or in a case where an unexpected object has appeared.
[0052] As the exception control, the robot control unit 14 may control the robot 2 so as to change the motion of the robot 2 from the current motion to another motion. For example, the robot control unit 14 may generate, in real time, alternative motion information (for example, joint angles) for the other motion, and may change, in real time, the motion of the robot 2 from the current motion to the other motion based on the alternative motion information. In some examples, the robot control unit 14 controls the robot 2 in real time so as to return the posture of the robot 2 to a pre-motion posture, which is the posture before the current motion. Subsequently, the robot control unit 14 generates, in real time, alternative motion information for executing the other motion from the pre-motion posture. Then, the robot control unit 14 controls the robot 2 in real time, based on the alternative motion information, so that the robot 2 executes the other motion from the pre-motion posture. In this manner, the robot control unit 14 may control the robot 2 so as to cancel the current motion and then execute the other motion.
[0053] As another example of the exception control, the robot control unit 14 may immediately stop the robot 2, or may stop the robot 2 after returning the posture of the robot 2 to the above-described pre-motion posture. Alternatively, the robot control unit 14 may control the robot 2 so as to continue the current motion while reducing the operating speed of the robot 2. Alternatively, the robot control unit 14 may, in addition to such controls, output information such as a notification or an alert to a user of the robot monitoring system 1.
[0054] As described above, various examples may be given for robot control based on the evaluation result. In any case, the robot control unit 14 is configured to generate, based on the evaluation result, a motion program for controlling the real robot 2. The motion program includes data for controlling the robot 2, for example, a path indicating a trajectory of the robot 2. The trajectory of the robot 2 refers to a path of movement of the robot 2 or a component thereof. For example, the trajectory of the robot 2 may be a trajectory of the tip portion or the end effector 2a. The robot control unit 14 is configured to control the real robot 2 based on the motion program. The robot control unit 14 outputs the motion program to the robot controller 3 and causes the robot controller 3 to control the robot 2. The robot controller 3 operates the robot 2 based on the motion program.
[0055] In step S14, the analysis unit 15 records a motion history indicating the current motion of the robot 2. As some examples, in a case where the evaluation result satisfies the evaluation criterion, the analysis unit 15 generates a data record of the motion history by associating the current motion with flag information indicating that the current motion is normal and the current date and time. On the other hand, in a case where the evaluation result does not satisfy the evaluation criterion, the analysis unit 15 generates a data record of the motion history by associating the current motion with flag information indicating that the current motion is not normal and the current date and time. As another example, the analysis unit 15 may generate a data record of the motion history by associating the current motion, the degree of progress, and the current date and time. The analysis unit 15 stores the generated data record in the history database 16. The robot 2 may include, in the data record, as information indicating the current motion, at least one of the video data used for evaluation (for example, the video data 300 in FIG. 6) and motion information corresponding to the current motion (temporal changes in joint angles). The analysis unit 15 may record the motion history in at least one of a case where the evaluation result satisfies the evaluation criterion and a case where the evaluation result does not satisfy the evaluation criterion.
[0056] As shown in step S15, the robot monitoring system 1 may continuously monitor the current status of the work space 9. In a case of continuing the monitoring (NO in step S15 ), the process returns to step S11. In repeated step S11, the evaluation unit 13 acquires new current video data from the camera 4. Assuming that the new video data include a plurality of frame images, when viewed along the time axis, the plurality of frame images are located in a time period later than the plurality of frame images constituting the previous video data acquired in step S11 of the previous loop. At least some of the plurality of frame images constituting the new video data are different from any of the plurality of frames constituting the previous video data. For example, the previous video data may include five frame images F1, F2, F3, F4, and F5, and the new video data may include five frame images F3, F4, F5, F6, and F7. Assuming that the new current video data is composed of a single frame image, when viewed along the time axis, that frame image is located at a time point later than the single frame image constituting the previous video data acquired in step S11 of the previous loop. In repeated step S12, the evaluation unit 13 inputs the new current video data into the trained model 19 and evaluates the current status of the work space 9. In repeated step S13, the robot control unit 14 further controls the robot 2 based on the result of that evaluation. In repeated step S14, the analysis unit 15 records a new motion history indicating the current motion of the robot 2 captured by the new current video data.
[0057] As shown by such loop processing, the evaluation unit 13 may repeat the processing of evaluating the current status of the work space 9 by inputting the one or more frame images (for example, a plurality of frame images) into the trained model 19 while replacing, along the time axis, at least one of the one or more frame images of the video data (for example, the plurality of frame images) to be input into the trained model 19. In relation to this repetition, the evaluation unit 13 may evaluate the current status of the work space 9 based on the results of evaluation in chronological order (that is, the history of evaluation results), instead of or in addition to the evaluation in each loop. For example, the evaluation unit 13 may evaluate the degree of normality or the degree of progress of the work space 9 as low in a case where evaluation results that do not satisfy the evaluation criterion continue for a plurality of times.
[0058] As described above, the robot monitoring system 1 may input a single frame image into the trained model 19 to evaluate the current status of the work space 9, and may evaluate, for example, an instantaneous motion or status of a subject such as the robot 2. However, the number of frame images input into the trained model 19 may be two or more. In a case where the current status of the work space 9 is evaluated based on current video data including a plurality of frame images, the plurality of frame images indicate not only an instantaneous motion or status of a subject such as the robot 2, but also a transition of the motion or status along the time axis. Therefore, by using a plurality of frame images, the transition may be evaluated more accurately, and for example, the degree of normality or the degree of progress may be calculated more accurately. For example, in a case of evaluating the operation of opening the packaging material 82, the robot monitoring system 1 may evaluate whether the motion of the robot 2 is directed toward opening the packaging material 82 or toward closing the packaging material 82. In a case where a plurality of frame images are used, the number of frames may be set so as to encompass the transition of the motion or status to be evaluated.
[0059] FIG. 7 is a diagram showing an example of the results of evaluation of the progress status along the time axis (that is, the history of the degree of progress). In this example, the evaluation unit 13 is configured to repeat the processing of evaluating the progress status by inputting the one or more frame images into the trained model 19 while replacing, along the time axis, at least one of the one or more frame images of the video data to be input into the trained model 19. In this example as well, the progress status is assumed to be indicated by the degree of progress. The evaluation unit 13 evaluates whether the operation performed on the workpiece 8 is being carried out normally, based on the history of the progress status (degree of progress) in chronological order.
[0060] Both graphs shown in FIG. 7 indicate the history of the degree of progress. The vertical axis and the horizontal axis of the graphs indicate the degree of progress and time (frame number), respectively. The evaluation unit 13 may evaluate, at predetermined time intervals (for example, every 1 frame, every 10 frames, etc.), whether the operation is being carried out normally, based on the history of the degree of progress.
[0061] The history 400 indicates that the operation performed on the workpiece 8 progressed smoothly toward completion. In a case where the degree of progress gradually increases as in this example, the evaluation unit 13 continues to evaluate that the operation is being carried out normally from the start to the end of the operation.
[0062] The history 410 indicates that the operation performed on the workpiece 8 initially progressed smoothly toward completion, then regressed during a subsequent time period 411, then stagnated substantially during a subsequent time period 412, and then progressed again toward completion during a subsequent time period 413. It may be said that the operation failed during the time period 411, the operation made little progress during the time period 412, and the operation recovered during the time period 413. In a case where the degree of progress decreases as in the history during the time period 411, the evaluation unit 13 may evaluate that an abnormality has occurred in the progress of the operation. In a case where the rate of increase of the degree of progress is lower than a predetermined threshold as in the history during the time period 412, the evaluation unit 13 may also evaluate that an abnormality has occurred in the progress of the operation.
[0063] In a case where the evaluation unit 13 evaluates that the operation is being carried out normally, the robot control unit 14 may execute the above-described standard control. In a case where the evaluation unit 13 evaluates that an abnormality has occurred in the progress of the operation, the robot control unit 14 may execute some of the above-described exception control.
[0064] The motion history is accumulated in the history database 16 by the above-described loop processing. After the search is terminated (YES in step S15), the motion history may be utilized later for various purposes. For example, the motion history may be used as training data for machine learning related to robot control, or may be used as reference data for analyzing or improving robot control. Such post-processing based on the motion history may be executed by the analysis unit 15, or may be executed by a computer system other than the robot monitoring system 1.
[0065] It is to be understood that not all aspects, advantages and features described herein may necessarily be achieved by, or included in, any one particular example. Indeed, having described and illustrated various examples herein, it should be apparent that other examples may be modified in arrangement and detail.Additional Examples
[0066] The trained model is portable between computer systems. The robot monitoring system need not include functional modules corresponding to the sample database 12 and the training unit 11, and may use a trained model generated by another computer system.
[0067] At least one of robot control based on the evaluation result and recording of the motion history may be executed by a computer system separate from the robot monitoring system. Therefore, the robot monitoring system need not include a functional module corresponding to at least one of the robot control unit 14 and the analysis unit 15.
[0068] The hardware configuration of the system is not limited to an arrangement in which each functional module is realized by executing a program. For example, at least part of the above-described functional modules may be implemented by logic circuitry dedicated to the function, or may be configured as an ASIC (Application Specific Integrated Circuit) in which that logic circuitry is integrated.
[0069] The procedure of the method executed by at least one processor is not limited to the above examples. For example, some of the steps or processes described above may be omitted, or the steps may be carried out in a different order. In addition, any two or more of the above steps may be combined, or some steps may be modified or deleted. Alternatively, another step may be executed in addition to the above-mentioned steps.
[0070] In a case of comparing a magnitude relationship between two numerical values in a computer system or a computer, either criterion of “greater than or equal to” and “greater than” may be used, and either criterion of “less than or equal to” and “less than” may be used.Appendix
[0071] As may be understood from the various examples described above, the present disclosure includes the following aspects.
[0072] (Appendix 1) A robot monitoring system comprising:
[0073] a camera configured to generate current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task; and
[0074] an evaluation unit configured to input the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space.
[0075] (Appendix 2) The robot monitoring system according to appendix 1,
[0076] wherein a relative position of the camera with respect to the robot is fixed,
[0077] wherein the past video data is obtained by the camera capturing a past motion of the robot from the relative position, and
[0078] wherein the camera captures the current motion of the robot from the relative position to generate the current video data.
[0079] (Appendix 3) The robot monitoring system according to appendix 1 or 2,
[0080] wherein the evaluation unit is configured to:
[0081] repeat processing of evaluating the current status of the work space by inputting one or more frame images into the trained model while replacing, along a time axis, at least one of the one or more frame images of the video data to be input into the trained model; and
[0082] evaluate the current status of the work space based on results of the evaluation in chronological order.
[0083] (Appendix 4) The robot monitoring system according to any one of appendices 1 to 3, wherein the evaluation unit is configured to evaluate, as evaluation of the current status of the work space, a progress status of an operation performed on a workpiece whose state changes irregularly due to the motion of the robot in the work space.
[0084] (Appendix 5) The robot monitoring system according to appendix 4,
[0085] wherein the evaluation unit is configured to:
[0086] repeat processing of evaluating the progress status by inputting one or more frame images into the trained model while replacing, along a time axis, at least one of the one or more frame images of the video data to be input into the trained model; and
[0087] evaluate, as evaluation of the current status of the work space, whether the operation is being carried out normally, based on a history of the progress status in chronological order.
[0088] (Appendix 6) The robot monitoring system according to any one of appendices 1 to 3, wherein the evaluation unit is configured to calculate, as evaluation of the current status of the work space, a degree of normality of the current status of the work space based on a criterion indicating that a past operating environment of the robot in the work space is normal.
[0089] (Appendix 7) The robot monitoring system according to appendix 6,
[0090] wherein the current video data includes a plurality of frame images arranged consecutively along a time axis,
[0091] wherein the plurality of frame images include a final frame image located last along the time axis and two or more input frame images other than the final frame image, and
[0092] wherein the evaluation unit is configured to:
[0093] input the two or more input frame images into the trained model to acquire a predicted frame image indicating the current status of the work space at a time point corresponding to the final frame image; and
[0094] compare the final frame image with the predicted frame image to calculate the degree of normality.
[0095] (Appendix 8) The robot monitoring system according to appendix 7, wherein the evaluation unit is configured to:
[0096] calculate a difference between the predicted frame image and the final frame image based on luminance of each pixel of the predicted frame image and the luminance of each pixel of the final frame image; and
[0097] calculate the degree of normality based on the difference.
[0098] (Appendix 9) The robot monitoring system according to any one of appendices 6 to 8, further comprising a training unit configured to execute machine learning using the past video data that captures a past normal motion of the robot without capturing a past abnormal motion of the robot, thereby generating the trained model.
[0099] (Appendix 10) The robot monitoring system according to any one of appendices 6 to 9, wherein the evaluation unit is configured to evaluate, as evaluation of the current status of the work space, whether the current motion of the robot is abnormal, based on the degree of normality.
[0100] (Appendix 11) The robot monitoring system according to any one of appendices 6 to 9, wherein the evaluation unit is configured to evaluate, as evaluation of the current status of the work space, whether an abnormality exists in a workpiece processed by the robot, based on the degree of normality.
[0101] (Appendix 12) The robot monitoring system according to any one of appendices 6 to 9, wherein the evaluation unit is configured to evaluate, as evaluation of the current status of the work space, whether an unexpected object has appeared around the robot, based on the degree of normality.
[0102] (Appendix 13) The robot monitoring system according to any one of appendices 1 to 12, further comprising a robot control unit configured to control the robot based on a result of the evaluation.
[0103] (Appendix 14) The robot monitoring system according to appendix 13, wherein the robot control unit is configured to control the robot so as to change the motion of the robot from the current motion to another motion, in a case where the result of the evaluation does not satisfy a predetermined criterion.
[0104] (Appendix 15) The robot monitoring system according to appendix 14,
[0105] wherein the robot control unit is configured to:
[0106] generate motion information for operating the robot in real time, and control the robot in real time based on the motion information; and
[0107] in a case where the result of the evaluation does not satisfy the predetermined criterion, generate alternative motion information for the other motion in real time, and change the motion of the robot from the current motion to the other motion in real time based on the alternative motion information.
[0108] (Appendix 16) The robot monitoring system according to appendix 15, wherein, in a case where the result of the evaluation does not satisfy the predetermined criterion, the robot control unit is configured to:
[0109] control the robot in real time so as to return a posture of the robot to a pre-motion posture, which is a posture before the current motion;
[0110] generate, in real time, the alternative motion information for executing the other motion from the pre-motion posture; and
[0111] control the robot in real time, based on the generated alternative motion information, so that the robot executes the other motion from the pre-motion posture.
[0112] (Appendix 17) The robot monitoring system according to any one of appendices 1 to 16, further comprising an analysis unit configured to record a motion history indicating the current motion, based on the result of the evaluation.
[0113] (Appendix 18) A robot monitoring method executable by a robot monitoring system including at least one processor, the method comprising:
[0114] generating current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task; and
[0115] inputting the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space.
[0116] (Appendix 19) A robot monitoring program for causing a computer to execute:
[0117] generating current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task; and
[0118] inputting the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space.
[0119] According to Appendices 1, 18, and 19, current video data capturing the current motion of the robot in the work space is input into a trained model that has been trained using past video data capturing the work space, and the current status of the work space is evaluated. By introducing such a quantitative evaluation method using the trained model, the work space in which the robot is placed may be appropriately monitored, even in a case where the motion of the robot is not uniquely defined in advance.
[0120] According to Appendix 2, both the past video data and the current video data are captured by a camera whose relative positional relationship with the robot is fixed. Since the angle of the camera is unified between the past video data used for generating the trained model and the current video data for evaluating the current status, evaluation and monitoring based on the trained model may be performed accurately.
[0121] According to Appendix 3, the evaluation of the current status is repeatedly executed, and the current status of the work space is ultimately evaluated based on the results of evaluation in chronological order. By taking into account the transition of evaluation results along the time axis, considering that the motion of the robot is a continuous movement along the flow of time, the current status of the work space may be evaluated more appropriately.
[0122] According to Appendix 4, by introducing a quantitative evaluation method using a trained model that has been trained using past video data capturing the work space, the progress status of an operation of processing a workpiece whose state change is difficult to predict may be appropriately evaluated.
[0123] According to Appendix 5, the evaluation of the progress status is repeatedly executed, and the progress of the operation is ultimately evaluated based on the history of the progress status in chronological order. By taking into account the transition of the progress status along the time axis, whether the operation is being carried out normally may be evaluated more appropriately.
[0124] According to Appendix 6, by introducing a quantitative evaluation method using the trained model and a criterion indicating that the past operating environment of the robot is normal, how normal the current status of the work space is may be appropriately evaluated.
[0125] According to Appendix 7, among the plurality of frame images constituting the current video data, a plurality of input frame images other than the final frame image are input into the trained model to generate a predicted frame image. Then, the final frame image is compared with the predicted frame image to calculate the degree of normality. The current status may be accurately evaluated by comparing these two images. In addition, the basis for the evaluation may be visualized using the two images.
[0126] According to Appendix 8, by focusing on the luminance of individual pixels to obtain the difference between the predicted frame image and the final frame image, and calculating the degree of normality based on the difference, the degree of normality of the current status of the work space may be obtained with higher accuracy.
[0127] According to Appendix 9, the trained model is generated by machine learning focused on the normal motion of the robot, without referring to the abnormal motion of the robot. By using this trained model, even in a case where it is difficult to comprehensively cover abnormal situations in advance, various situations that may be abnormal may be captured and the work space may be appropriately evaluated.
[0128] According to Appendix 10, by introducing a quantitative evaluation method using a trained model that has been trained using past video data capturing the work space, the motion of the robot may be appropriately evaluated even in a case where the motion of the robot is not uniquely defined in advance.
[0129] According to Appendix 11, by introducing a quantitative evaluation method using a trained model that has been trained using past video data capturing the work space, the status of the workpiece, which is closely related to the motion of the robot, may be appropriately evaluated even in a case where the motion of the robot is not uniquely defined in advance.
[0130] According to Appendix 12, by introducing a quantitative evaluation method using a trained model that has been trained using past video data capturing the work space, the appearance of an unexpected object, such as an unintended person or tangible object, may be appropriately evaluated.
[0131] According to Appendix 13, by controlling the robot based on the evaluation result of the current status of the work space, the robot may be appropriately controlled according to the current status, even in a case where the motion of the robot is not uniquely defined in advance.
[0132] According to Appendix 14, by changing the motion of the robot in a case where the evaluation result of the current status of the work space does not satisfy a predetermined criterion, the motion of the robot may be appropriately switched according to the current status, even in a case where the motion of the robot is not uniquely defined in advance.
[0133] According to Appendix 15, in an environment where motion information for controlling the robot is generated in real time, the motion of the robot is changed in a case where the evaluation result of the current status of the work space does not satisfy a predetermined criterion. This mechanism enables the motion of the robot to be appropriately switched according to the current status when determining and executing the motion of the robot in real time.
[0134] According to Appendix 16, in a case where the evaluation result of the current status of the work space does not satisfy a predetermined criterion, the posture of the robot is first returned to the posture before the current motion, and then another motion is executed. By canceling the current motion in this manner, the motion of the robot may be appropriately switched while more reliably ensuring the safety of the work space.
[0135] According to Appendix 17, since the current motion is recorded as a motion history based on the evaluation result of the current status of the work space, the motion history may be utilized for various purposes. For example, the motion history may be used as training data for machine learning related to robot control, or may be used as reference data for analyzing or improving robot control.
Claims
1. A robot monitoring system comprising:a camera configured to generate current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task; andcircuitry configured to:acquire the current video data from the camera;input the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space; andcontrol the robot based on a result of evaluating the current status to cause the robot to process a workpiece.
2. The robot monitoring system according to claim 1,wherein a relative position of the camera with respect to the robot is fixed,wherein the past video data is obtained by the camera capturing a past motion of the robot from the relative position, andwherein the camera captures the current motion of the robot from the relative position to generate the current video data.
3. The robot monitoring system according to claim 1,wherein the circuitry is configured to:repeat processing of evaluating the current status of the work space by inputting one or more frame images into the trained model while replacing, along a time axis, at least one of the one or more frame images of the current video data to be input into the trained model; andevaluate the current status of the work space based on results of the evaluation in chronological order.
4. The robot monitoring system according to claim 1, wherein the circuitry is configured to evaluate, as evaluation of the current status of the work space, a progress status of an operation performed on the workpiece whose state changes irregularly due to the motion of the robot in the work space.
5. The robot monitoring system according to claim 4,wherein the circuitry is configured to:repeat processing of evaluating the progress status by inputting one or more frame images into the trained model while replacing, along a time axis, at least one of the one or more frame images of the current video data to be input into the trained model; andevaluate, as evaluation of the current status of the work space, whether the operation is being carried out normally, based on a history of the progress status in chronological order.
6. The robot monitoring system according to claim 1, wherein the circuitry is configured to calculate, as evaluation of the current status of the work space, a degree of normality of the current status of the work space based on a criterion indicating that a past operating environment of the robot in the work space is normal.
7. The robot monitoring system according to claim 6,wherein the current video data includes a plurality of frame images arranged consecutively along a time axis,wherein the plurality of frame images include a final frame image located last along the time axis and two or more input frame images other than the final frame image, andwherein the circuitry is configured to:input the two or more input frame images into the trained model to acquire a predicted frame image indicating the current status of the work space at a time point corresponding to the final frame image; andcompare the final frame image with the predicted frame image to calculate the degree of normality.
8. The robot monitoring system according to claim 7, wherein the circuitry is configured to:calculate a difference between the predicted frame image and the final frame image based on luminance of each pixel of the predicted frame image and the luminance of each pixel of the final frame image; andcalculate the degree of normality based on the difference.
9. The robot monitoring system according to claim 6, wherein the circuitry is configured to execute machine learning using the past video data that captures a past normal motion of the robot without capturing a past abnormal motion of the robot, thereby generating the trained model.
10. The robot monitoring system according to claim 6, wherein the circuitry is configured to evaluate, as evaluation of the current status of the work space, whether the current motion of the robot is abnormal, based on the degree of normality.
11. The robot monitoring system according to claim 6, wherein the circuitry is configured to evaluate, as evaluation of the current status of the work space, whether an abnormality exists in the workpiece processed by the robot, based on the degree of normality.
12. The robot monitoring system according to claim 6, wherein the circuitry is configured to evaluate, as evaluation of the current status of the work space, whether an unexpected object has appeared around the robot, based on the degree of normality.
13. The robot monitoring system according to claim 6, wherein the circuitry is configured to control the robot so as to change the motion of the robot from the current motion to another motion, in a case where the degree of normality is less than a predetermined threshold.
14. The robot monitoring system according to claim 1, wherein the circuitry is configured to control the robot so as to change the motion of the robot from the current motion to another motion, in a case where the result of the evaluation does not satisfy a predetermined criterion.
15. The robot monitoring system according to claim 14,wherein the circuitry is configured to:generate motion information for operating the robot in real time, and control the robot in real time based on the motion information; andin a case where the result of the evaluation does not satisfy the predetermined criterion, generate alternative motion information for the other motion in real time, and change the motion of the robot from the current motion to the other motion in real time based on the alternative motion information.
16. The robot monitoring system according to claim 15, wherein, in a case where the result of the evaluation does not satisfy the predetermined criterion, the circuitry is configured to:control the robot in real time so as to return a posture of the robot to a pre-motion posture, which is a posture before the current motion;generate, in real time, the alternative motion information for executing the other motion from the pre-motion posture; andcontrol the robot in real time, based on the generated alternative motion information, so that the robot executes the other motion from the pre-motion posture.
17. The robot monitoring system according to claim 1, wherein the circuitry is configured to record a motion history indicating the current motion, based on the result of the evaluation.
18. The robot monitoring system according to claim 1, wherein the camera is configured to generate the current video data further capturing the workpiece whose external shape changes irregularly due to the motion of the robot.
19. A robot monitoring method executable by a robot monitoring system including at least one processor, the method comprising:acquiring, from a camera, current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task, wherein the current video data is generated by the camera;inputting the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space; andcontrolling the robot based on a result of evaluating the current status to cause the robot to process a workpiece.
20. A non-transitory computer-readable storage medium storing processor-executable instructions to:acquiring, from a camera, current video data capturing a current motion of a robot that is placed in a real work space and executes a predetermined task, wherein the current video data is generated by the camera;inputting the current video data into a trained model that has been trained with past video data capturing the work space to evaluate a current status of the work space; andcontrolling the robot based on a result of evaluating the current status to cause the robot to process a workpiece.
