Device for machine learning, robot system and machine learning system for learning a workpiece picking process
Patent Information
- Application Number
- DE102016015936
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-11-30
- Filing Date
- 2016-07-26
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2036-07-26
Smart Images

Figure DE102016015936B4_0000_ABST
Abstract
Description
The present invention relates to a robot system and a method to be executed by a robot for picking up workpieces which are deposited in an arbitrary manner including a loosely loaded state.A conventionally known robot system grasps and transports workpieces filled as bulk material in a basket-shaped box by using the hand unit of a robot, as disclosed in JP 5 642 738 B2 and JP 5 670 397 B2, for example. Such a robot system acquires the position information of a plurality of workpieces by using a three-dimensional measurement device located above a basket-shaped box, and sequentially acquires the workpieces based on the acquired position information using the hand unit of a robot.US 2014 / 0 114 888 A1 relates to an information processing apparatus including a manipulation model learning unit configured to learn a manipulation model concerning manipulation of a first object by a second object by using an actual image that is an actually observed image including the first object and the second object, wherein the manipulation model associates a position and a state change of the second object with a state change of the first object caused by the state change of the second object when a state of the second object at a position in an object reference coordinate system changes with the first object viewed as a reference.US 2012 / 0 158 180 A1 relates to an object gripping device comprising an image acquisition unit configured to acquire an image of a region including a plurality of products, an acquisition unit configured to acquire distance information of the region including the plurality of products, a measurement unit configured to measure three-dimensional positions and orientations of a plurality of gripping candidate products from the plurality of products based on the image and the distance information and thereby generate three-dimensional position and orientation information, a selection unit configured to select a target gripping product from the gripping candidate products based on the three-dimensional position and orientation information, a gripping unit configured to grip the target gripping product, and an update unit, configured to update the three-dimensional position and orientation information by measuring the three-dimensional positions and orientations of the grasp candidate products at a predetermined time interval during the grasp of the target grasp product, wherein when the grasp by the grasp unit is finished, the selection unit selects the next target grasp product based on the updated three-dimensional position and orientation information of the grasp candidate products.US 2010 / 0 092 032 A1 relates to a method for operating an image-based system comprising acquiring an image of an area in which a plurality of objects can be located, computationally analyzing the acquired image for a corresponding representation of any of the objects, computationally determining a preferred action from a plurality of different possible non-object capture actions that cause movement of the objects in the area based on the computerized analysis of the acquired image without physically capturing any of the objects, and communicatively transmitting at least one signal to cause the determined preferred action to occur.JP 2013-052 490 A relates to providing a workpiece extraction device that reduces missearch in extracting a workpiece from a plurality of workpieces and repetitive running operation. A measurement characteristic determination part estimates the easy-to-grasp performance of a part of the workpiece measured by a sensor based on information on success or failure of past extraction in a DB 1. A gripping operation calculation part and an opening / closing operation calculation part preferably decides not to grip a workpiece hard in gripping but to adjust the opening / closing amount, the operation speed, and / or the gripping force of a hand to perform a careful removal operation when there is no workpiece for gripping.Further technological background is provided by EP 2 832 503 A1 and JP-2014 206 795 A.Unfortunately, the above-mentioned conventional robot system can preferably involve, for example, presetting how to extract a workpiece to be picked up from distance images of a plurality of workpieces measured by a three-dimensional measuring device and the position where a workpiece to be picked up is located. It may be further preferable to preprogram how to operate the hand unit of a robot when picking up a workpiece. As a specific example, a human may preferably teach the robot to perform a picking operation of a workpiece using a teach pendant.If the setting for extracting a workpiece to be picked up from distance images of a plurality of workpieces is improper or an operation program for a robot is improperly created, the success rate of picking up and transporting a workpiece by the robot decreases. In order to improve the success rate, the workpiece recognition setting and the operation program for a robot may be preferably advanced while searching for optimum operation of the robot by a human by trial.In consideration of the above-described situation, it is an object of the present invention to provide a robot system and a method to be executed by a robot that can learn an optimum operation of a robot in picking up workpieces stored in an arbitrary manner including a loosely loaded state without human intervention.According to the present invention, there are provided a robot system for picking up an object according to claim 1 and a method for picking up an object by a robot according to claim 30. Preferred embodiments are defined in the dependent claimsA machine learning device that learns an operation of a robot for picking up, by a hand unit, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state includes: a state variable observation unit that observes a state variable representing a state of the robot and includes data output from a three-dimensional measurement device that fetches a three-dimensional image for each workpiece; a work result fetch unit that fetches a result of a picking-up operation of the robot for picking up the workpiece by the hand unit; and a learning unit that, in conjunction with the state variable of the robot and the result of the picking operation when the output from the state variable observation unit and the output from the operation result retrieval unit are received, learns a manipulated variable including command data for instructing the robot to perform the picking operation of the workpiece. The machine learning device may further include a decision unit that decides the command data for instructing the robot by referring to the manipulated variable learned by the learning unit.Another machine learning device that learns an operation of a robot for picking up, by a hand unit, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state includes: a state variable observation unit that observes a state variable representing a state of the robot and includes data output from a three-dimensional measurement device that measures a three-dimensional image for each workpiece; an operation result acquisition unit that acquires a result of an acquisition operation of the robot for picking up the workpiece by the hand unit; and a learning unit that, in conjunction with the state variable of the robot and the result of the capturing operation when the output from the state variable observation unit and the output from the operation result acquisition unit are received, learns a manipulated variable including a measurement parameter of the three-dimensional measurement device. The machine learning device may further include a decision unit that decides the measurement parameter of the three-dimensional measurement device by referring to the manipulated variable learned by the learning unit.A state variable observation unit may further observe a state variable of the robot including output data from a coordinate calculation unit that calculates a three-dimensional position for each workpiece based on the output of the three-dimensional measurement device. The coordinate calculation unit may further calculate an orientation for each workpiece, and outputs data of the three-dimensional position and the orientation calculated for each workpiece. The operation result obtaining unit may use the data output from the three-dimensional measurement device. The machine learning device may further include a preprocessing unit that processes the data output from the three-dimensional measurement device before the data is input to the state variable observation unit, and the state variable observation unit may receive data output from the preprocessing unit as a state variable of the robot. The preprocessing unit may unify each workpiece in direction and height in the data output from the three-dimensional measurement device. The operation result obtaining unit may obtain at least one of information indicating one of success and failure in picking up the workpiece, a state of damage to the workpiece, and a reaching state in relaying the picked-up workpiece to a subsequent process.The learning unit may include a reward calculation unit that calculates a reward based on the output of the operation result obtaining unit; and a value function update unit that includes a value function that describes a value of the capturing operation of the workpiece and updates the value function according to the reward. The learning unit may include a learning model for learning the capturing operation of the workpiece, and the learning unit may further include an error calculation unit that calculates an error based on the output of the operation result acquisition unit and the output of the learning model; and a learning model update unit that updates the learning model according to the error. The machine learning device may include a neural network. A robot system includes a machine learning device that learns an operation of a robot for picking up, by a hand unit, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state, the device including: a state variable observation unit that observes a state variable representing a state of the robot and includes data output from a three-dimensional measurement device that fetches a three-dimensional image for each workpiece; a work result fetch unit that fetches a result of a picking operation of the robot for picking up the workpiece by the hand unit; and a learning unit that, in conjunction with the state variable of the robot and the result of the capturing operation when the output from the state variable observation unit and the output from the operation result obtaining unit are received, learns a manipulated variable including command data for instructing the robot to perform the capturing operation of the workpiece, wherein the system further includes the robot, the three-dimensional measurement device, and a controller that independently controls the robot and the three-dimensional measurement device.A robot system includes a machine learning device that learns an operation of a robot for picking up, by a hand unit, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state, the device including: a state variable observation unit that observes a state variable representing a state of the robot and includes data output from a three-dimensional measurement device that reads a three-dimensional image for each workpiece; an operation result retrieval unit that retrieves a result of a picking operation of the robot for picking up the workpiece by the hand unit; and a learning unit that, in conjunction with the state variable of the robot and the result of the capturing operation when the output from the state variable observation unit and the output from the operation result acquisition unit are received, learns a manipulated variable including a measurement parameter of the three-dimensional measurement device, wherein the system further includes the robot, the three-dimensional measurement device, and a controller that independently controls the robot and the three-dimensional measurement device.The robot system may include a plurality of robots, the machine learning device is provided for each robot, and the plurality of machine learning devices provided for the plurality of robots are configured to share or exchange data with each other via a communication medium. The machine learning device may be located on a cloud server.A machine learning method for learning an operation of a robot for picking up, by a hand unit, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state, the method comprising: observing a state variable representing a state of the robot and including data output from a three-dimensional measurement device that measures a three-dimensional position for each workpiece; retrieving, by the hand unit, a result of the picking up operation of the robot for picking up the workpiece; Learning, in association with the observed state variable of the robot and the acquired result of the picking operation of the robot, when the state variable and the result of the picking operation of the robot are received, a manipulated variable including command data for instructing the robot to perform the picking operation of the workpiece.The present invention will be more clearly understood with reference to the accompanying drawings, wherein FIG. 1 is a block diagram illustrating the conceptual configuration of a robot system in an embodiment of the present invention; FIG. 2 is a diagram schematically illustrating a model for a neuron; FIG. 3 is a diagram schematically illustrating a three-layer neural network formed by grouping neurons as illustrated in FIG. 2 together; FIG. 4 is a flowchart illustrating an example operation flow of the machine learning device illustrated as FIG. 1 ; FIG. 5 is a block diagram illustrating the conceptual configuration of a robot system in another embodiment of the present invention; FIG. 6 is views for explaining exemplary processing of a preprocessing unit in the robot system illustrated as FIG. 5 ; and FIG. 7 is a block diagram illustrating a modification of the robot system illustrated as FIG. 1.Hereinafter, a machine learning device, a robot system, and a machine learning method according to the present invention will be described in detail with reference to the accompanying drawings. It is to be understood, however, that the present invention is not to be limited to the drawings or the following embodiments. In the drawings, like reference numerals designate like parts. Furthermore, like reference numerals denote components having the same functions. For ease of understanding, different scales are expediently used in these drawings.FIG. 1 is a block diagram illustrating the conceptual configuration of a robot system in an embodiment of the present invention. A robot system 10 in this embodiment includes a robot 14, a three-dimensional measurement device 15, a controller 16, a coordinate calculation unit 19, and a machine learning device 20. The three-dimensional measurement device 15 measures a three-dimensional image of the surfaces of the workpiece 12.The machine learning device 20 includes a state variable (state quantity) observation unit 21, an operation result acquisition unit 26, a learning unit 22, and a decision unit 25. the machine learning device 20 learns manipulated variables such as command data for instructing the robot 14 to perform a pickup operation of the workpiece 12 or measurement parameters of the three-dimensional measurement device 15 and outputs them as described later.The robot 14 is realized as a six-axis multi-joint robot, for example. The respective drive shafts of the robot 14 and the hand unit 13 are controlled by the controller 16. The robot 14 is used to pick up the workpieces 12 one by one from the box 11 set at a predetermined position to move them to a designated position such as a conveyor or a work table (not shown) in sequence.When picking up the loosely loaded workpieces 12 from the box 12, the hand unit 13 or the workpieces 12 may collide with or come into contact with the wall of the box 11. In other cases, the hand unit 13 or a workpiece 12 may be caught on another workpiece 12. In such a case, the function of detecting a force acting on the hand unit 13 may be preferably used to immediately avoid application of too high a load to the robot. For this reason, a six-axis force sensor 17 is connected between the hand unit 13 and the tip of the arm unit of the robot 14. The robot system 10 in this embodiment also includes the function of estimating the force acting on the hand unit 13 based on the current value of a motor (not illustrated) that drives the drive shaft of each joint unit of the robot 14.Since the force sensor 17 can recognize a force acting on the hand unit 13, it can also be determined whether the hand unit 13 actually grips the workpiece 12. In other words, when the hand unit 13 grips the workpiece 12, the weight of the workpiece 12 acts on the hand unit 13, and thus it can be determined that the hand unit 13 grips the workpiece 12 when the value detected by the force sensor 17 after picking up the workpiece 12 is larger than a predetermined threshold value. It may also be determined whether the hand unit 13 grips the workpiece 12, for example, based on data captured by a camera used for the three-dimensional measurement device 15, or the output of a photoelectric sensor (not illustrated) attached to the hand unit 13, or the like. This determination may be made based on data retrieved by a pressure gauge for a suction hand (described later).The hand unit 13 may take various forms as long as it can hold the workpiece 12. For example, the hand unit 13 may take a form in which it grips the workpiece 12 by opening and closing two gripper parts, or may include an electromagnet or a vacuum generator that generates a suction force to act on the workpiece 12. In other words, although the hand unit 13 grips the workpiece with its two gripper parts in FIG. 1, the hand unit 13 is not limited to this, as a matter of course.The three-dimensional measuring device 15 is positioned at a predetermined position above a plurality of workpieces 12 by a support unit 18 to measure the plurality of workpieces 12. Examples of the three-dimensional measurement device 15 may include a three-dimensional vision sensor that acquires three-dimensional position information by processing image data of the workpiece 12 captured by two cameras (not illustrated). Specifically, a three-dimensional image (the surface positions of multiple loosely deposited workpieces 12) is measured using, for example, the triangulation method, the optical cutting method, the runtime method, the depth from defocus method, or combinations thereof.The coordinate calculation unit 19 calculates (measures) the surface positions of a plurality of loosely loaded workpieces 12 using the three-dimensional image acquired by the three-dimensional measurement device 15 as an input. In other words, three-dimensional position data (x, y, z) or three-dimensional position data (x, y, z) and orientation data (w, p, r) can be retrieved for each workpiece 12 by using the output of the three-dimensional measurement device 15. Although the state variable observation unit 21 receives both the three-dimensional image from the three-dimensional measurement device 15 and the position data (orientation data) from the coordinate calculation unit 19 and monitors the state variable (state quantity) representing a state of the robot 14, it may also receive, for example, only the three-dimensional image from the three-dimensional measurement device 15 and observe the state variable of the robot 14. A preprocessing unit 50 may be added and used to process (preprocessing) the three-dimensional image from the three-dimensional measurement device 15 before the three-dimensional image is input to the state variable observation unit 21, and then input the processed three-dimensional image to the state variable observation unit 21, as described later with reference to FIG. 5.The relative position between the robot 14 and the three-dimensional measuring device 15 is determined in advance by calibration. The three-dimensional measurement device 15 according to the present invention may be a laser range finder instead of a three-dimensional vision sensor. In other words, the distance from the position of the three-dimensional measuring device 15 to the surface of each workpiece 12 may be measured by laser scanning, or various sensors such as a monocular camera or a touch sensor may be used to acquire three-dimensional positions and orientation data (x, y, z, w, p, r) of a plurality of loosely loaded workpieces 12.In other words, according to the present invention, a three-dimensional measuring device 15 using any kind of suitable three-dimensional measuring method is applicable as long as, for example, data (x, y, z, w, p, r) can be retrieved for each workpiece 12. In addition, the manner in which a three-dimensional measurement device 15 is disposed is not particularly limited, and the three-dimensional measurement device 15 may be attached to a floor, a wall, or the like, or may be attached to the arm unit of the robot 14 or the like. The three-dimensional measuring device 15 acquires a three-dimensional image of a plurality of workpieces 12 loosely loaded in the box 11 in response to a command from the controller 16. The coordinate calculation unit 19 acquires (calculates) data of the three-dimensional positions of the plurality of workpieces 12 based on the three-dimensional map, and outputs the data to the controller 16, and the state variable observation unit 21 and the operation result acquisition unit 26 of the machine learning device 20 (as described later). Specifically, for example, the coordinate calculation unit 19 estimates the boundary line between one workpiece 12 and another workpiece 12 or between the workpieces 12 and the box 11 based on image data generated by acquiring the plurality of workpieces 12 to acquire three-dimensional position data for each workpiece 12.The three-dimensional position data for each workpiece 12 refers to, for example, data that can be acquired by estimating the position at which each of the plurality of loosely loaded workpieces 12 is positioned or can be held from the positions of a plurality of points on the surfaces of the workpieces 12. The three-dimensional position data for each workpiece 12 can, of course, comprise data of the orientations of the workpieces 12.The acquisition of three-dimensional position and orientation data for each workpiece 12 by the coordinate calculation unit 19 includes the use of the machine learning technique. Object detection, angle estimation, or the like from an input image, a laser range finder, or the like, using a technique such as supervised learning (described later), may also be applied.When three-dimensional data for each workpiece 12 is input from the three-dimensional measuring device 15 to the controller 16 via the coordinate calculation unit 19, the controller 16 controls an operation of the hand unit 13 to pick up a workpiece 12 from the box 11. At this time, the motors (not illustrated) for the axes of the hand unit 13 and the robot 14 are driven based on command values (manipulated variables) corresponding to an optimum position, orientation, and pick-up direction of the hand unit 13 and fetched by the machine learning device 20 (described later).The machine learning device 20 can also learn variables for the imaging conditions of a camera used for the three-dimensional measurement device 15 (measurement parameters of the three-dimensional measurement device 15: e.g., the exposure time set in imaging by an exposure meter and the illumination of an illumination system illuminating an object to be imaged), and control the three-dimensional measurement device 15 based on the learned measurement parameters and manipulated variables via the controller 16. The variables for the position and orientation estimation conditions used for estimating the position and orientation at which the workpiece 12 is located or can be held from the positions of the plurality of workpieces 12 measured by the three-dimensional measuring device 15 may be included in the data output from the above-mentioned three-dimensional measuring device 15.Further, the data output from the three-dimensional measurement device 15 may be preprocessed by, for example, the preprocessing unit 50 (described in detail later with reference to FIG. 5 ), and the processed data (image data) may be supplied to the state variable observation unit 21 as described above. For example, the operation result obtaining unit 26 may obtain a result of picking up the workpiece 12 by the hand unit 13 of the robot 14 from data output from the three-dimensional measurement device 15 (data output from the coordinate calculation unit 19), and may naturally obtain the arrival level when the picked-up workpiece 12 is transferred to a subsequent process, and obtain an operation result indicating whether the picked-up workpiece has undergone changes such as breakage by other means (e.g., a camera or a sensor configured in the subsequent process). In the above description, the state variable observation unit 21 and the operation result retrieval unit 26 serve as function blocks, and can also be seen to perform the two functions by a single block.The machine learning device 20 illustrated as FIG. 1 will be described in detail below. The machine learning device 20 has a function of extracting, e.g., a useful rule, a knowledge representation, and a determination criterion based on analysis of a data set input to the device, outputting the determination results, and learning the knowledge (machine learning). A variety of learning techniques are available that are roughly classified into, for example, "supervised learning", "unsupervised learning", and "reinforcement learning". To implement these techniques, another technique called "deep learning" is available in which the extraction of feature amounts itself is learned. Although these types of machine learning (machine learning device 20) may use a general-purpose computer or processor, the use of, for example, GPGPU (General-Purpose Computing on Graphics Processing Units) or large-format PC clusters allows for a higher processing speed.First, in supervised learning, a large number of data sets of specific inputs and results (labels) are input to the machine learning device 20, the features observed in these data sets are learned, and a model for estimating the result from the input, i.e., their relationship is inductively learned. The supervised learning is applicable to this embodiment for use in, for example, a portion where a workpiece position is estimated from a sensor input or a portion where a likelihood of success of retrieving a workpiece candidate is estimated. Supervised learning can be realized by using an algorithm such as a neural network (described later).In unsupervised learning, only input data is input in a large amount to a learning device that learns the distribution of the input data and, in turn, performs learning with a device that, for example, compresses, classifies, and shapes the input data without corresponding teacher output data being input to the learning device. This enables, for example, the combination of features seen in these data sets into similar features. The result obtained can be used to define certain criteria and to assign outputs in an optimized manner according to the criteria and thus predict an output.A problem solution between unsupervised learning and supervised learning, referred to as partially supervised learning, is also available. This is true, for example, when only some data serves as records of inputs and outputs and the remaining data includes only inputs. In this embodiment, learning can be effectively performed by applying data (e.g., image data or simulation data) to unsupervised learning even without actual motion of the robot.Reinforcement learning will be described below. The problem solution of reinforcement learning is considered as follows:The robot monitors the environmental condition to decide its action;The environment may change according to a certain rule, and a human may change the environment by his / her own action;A reward signal is returned each time an action is taken;The sum of (discounted) rewards in the future is to be maximized; learning starts in a state in which a result to be brought about by the action is completely unknown or is known only incompletely. In other words, the robot can retrieve the result of an action as data only after it is actually taken. This means that an optimal action is preferably sought by trial; andLearning may be started at a good starting point by starting from the state in which learning has been performed in advance to mimic human behaviors (a technique such as the above-mentioned supervised learning or inverse reinforcement learning).In reinforcement learning, in addition to the determination and classification, an action is learned to obtain a method of learning an appropriate action in consideration of interactions exerted on the environment by the action, that is, learning to maximize the reward to be obtained in the future. In this embodiment, for example, this means achieving an action influencing the future, such as breaking apart an aggregate of workpieces 12 to facilitate picking up workpieces 12 in the future. Although this description is followed by an example of the Q-learning, the present invention is not limited thereto.In Q learning, a value Q(s, a) of selection of an action a in a certain environmental state s is learned. In other words, an action having the highest value Q(s, a) in the certain state s may preferably be selected as an optimum action. However, first, a correct value Q(s, a) is completely unknown for a pair of a state s and an action a. The agent (the subject of an action) selects various actions a in the determined state s and rewards are offered for the actions a. With this operation, the agent learns to select a better action, i.e., a correct value Q(s, a).Finally, in order to maximize the sum of rewards to be obtained in the future as a result of the actions, Q(s, a)=E[Σ(γ t) r t] needs to be satisfied, where E[] is the expected value, t is the time, γ is a parameter referred to as a discount rate (described later), rt is the reward at time t, and Σ is the sum at time t. The expected value in this expression is taken in response to a change in state following an optimal action, and is an unknown value learned by a search. An updated expression of such a value Q(s,a) is given by, for example: where s t is the environmental state at time t and at is the action at time t. In the action at, the state changes to s t+1. r t+1 is the reward received upon a change of the state. The expression appended to max is the product of the Q value multiplied by γ when an action having the highest known Q value is selected in the state s t+1 γ is a parameter called the discount rate that satisfies 0<γ≤1. α is a learning factor that satisfies 0<α≤1.Expression (1) represents a method of updating, based on the reward r t+1, returned as a result of the experiment at, the evaluation value Q(s t, a t) of the action at in the state s t. Specifically, if the sum of the reward r t+1 and the evaluation value Q(s t+1, max a t+1) of the best action max a in the post-state state s after the action a is larger than the evaluation value Q(s t, at) of the action a in the state s, then Q(s t, a t) is increased; otherwise, Q(s t, at) is reduced. In other words, the value of a particular action in a particular state is brought close to the reward immediately returned as a result and the value of the best action in the state following the particular action.Methods for presenting Q(s, a) on the computer include a method of maintaining the numerical values of all state / action pairs (s, a) in the form of a table and a method of providing a function approximating Q(s, a). With the latter method, the above-mentioned expression (1) can be realized by adjusting the parameter of an approximation function by a technique such as the stochastic gradient method. A neural network (described later) can be used as the approximating function.Neural networks can also be used as learning models for supervised learning and unsupervised learning or as approximation algorithms for value functions in reinforcement learning. FIG. 2 is a diagram schematically illustrating a model for a neuron, and FIG. 3 is a diagram schematically illustrating a three-layered neural network formed by grouping neurons together as illustrated in FIG. 2. More specifically, the neural network is realized by, for example, an arithmetic device and a memory which imitate a model for a neuron as shown as, for example, Fig. 2.As illustrated as FIG. 2, the neurons serve to output an output (result) y for a plurality of inputs x (FIG. 2 illustrates inputs x 1 to x 3 as an example). Each input x (x1, x2, x3) is multiplied by a weight w (w1, w2, w3) corresponding to the input x. With this operation, the neurons output results y indicated by: where θ is the systematic measurement deviation and f k is the activation function. Note that the input x, the result y, and the weight w are vectors, respectively.A three-layer neural network formed by grouping neurons as shown in Fig. 2 together will be described below with reference to Fig. 3. Multiple inputs x (inputs x1 to x3 are taken as an example herein) are input from the left side of the neural network and the results y (results y1 to y3 are taken as an example herein) are output from the right side of this network, as shown as Figure 3. Specifically, the inputs x 1, x 2, and x 3 are multiplied by a weight corresponding to each of three neurons N 11 to N 13, and are then input to the neurons. The weights used to multiply these inputs are collectively referred to herein as W 1.The neurons N 11 to N 13 output z 11 to z 13, respectively. Referring to FIG. 3, z 11 to z 13 are collectively referred to as feature vectors Z 1, and may be regarded as vectors obtained by extracting the feature amounts of input vectors. The feature vectors Z 1 are defined between the weights W and W 2. Z 11 to Z 13 are multiplied by a weight corresponding to each of the two neurons N 21 and N 22, and are then input to the neurons. The weights used to multiply these feature vectors are collectively referred to herein as W2.The neurons N 21 and N 22 output z 21 and z 22, respectively. Referring to FIG. 3, z 21 and z 22 are collectively referred to as feature vectors z 2. The feature vectors Z 2 are defined between the weights W 2 and W 3. z 21 and z 22 are multiplied by a weight corresponding to each of three neutrons N 31 to N 33, and input. The weights used to multiply these feature vectors are collectively referred to herein as W 3.Finally, the neurons N 31 to N 33 output results y 1 to y 3, respectively. The operation of the neural network includes a learning mode and a value prediction mode. For example, the weight W is learned using a learning data set in the learning mode, and a robot action is determined in the prediction mode using the parameter. Although reference has been made above to "prediction" for simplicity, it is understood that a variety of tasks such as recognition, classification and inference are possible.Data acquired by actually operating the robot in the prediction mode may be immediately learned and reflected in the subsequent action (online learning), or a group of data collected in advance may be used to perform collective learning and subsequently perform the recognition mode using the same parameters (batch learning). As another intermediate approach, the learning mode may be interposed each time a certain amount of data has accumulated.The weights W 1 to W 3 may be learned by the error feedback method. The information of errors enters right and flows to left. The error feedback method is used to adjust (learn) each weight to reduce the difference between the true output y (teacher) and the output y when the input x is input.Such a neural network may have more than three layers (referred to as deep learning). It is possible to automatically acquire only teacher data from an arithmetic device that extracts features of the input stepwise and returns a result.The machine learning device 20 according to this embodiment includes, for example, a state variable observation unit 21, an operation result acquisition unit 26, a learning unit 22, and a decision unit 25 as illustrated as FIG. 1 to perform the above-described Q-learning. However, the machine learning method applied to the present invention is not limited to the Q-learning as mentioned above. In other words, various techniques such as "supervised learning", "unsupervised learning", "partially supervised learning", and "reinforcement learning" that can be used by the machine learning device are applicable. Although these types of machine learning (machine learning device 20) may use a general-purpose computer or processor, the use of, for example, GPGPU (General-Purpose Computing on Graphics Processing Units) or large-format PC clusters allows for a higher processing speed.In other words, according to this embodiment, a machine learning device that learns an operation of a robot 14 for picking up, by a hand unit 13, any one of a plurality of workpieces 12 stored in an arbitrary manner including a loosely loaded state includes a state variable observation unit 21, an operation result acquisition unit 26, and a learning unit 22. The operation result obtaining unit 26 obtains a result of a picking operation of the robot 14 for picking up the workpiece 12 by the hand unit 13. The learning unit 22, in conjunction with the state variable of the robot 14 and the result of the picking operation, when receiving an output from the state variable observation unit 21 and an output from the operation result retrieval unit 26, learns manipulated variables including command data for instructing the robot 14 to perform a picking operation of the workpiece 12.Examples of the state variables observed by the state variable observation unit 21 may include state variables for adjusting the position, orientation, and picking direction of the hand unit 13 when picking up a workpiece 12 from the box 11. Examples of the manipulated variables to be learned may be command values for, for example, the torque, the speed, and the rotational position transmitted from the controller 16 to the respective drive shafts of the robot 14 and the hand unit 13 when picking up the workpiece 12 from the box 11.When picking one of a plurality of loosely loaded workpieces, the learning unit 22 learns the above-mentioned state variables in association with the result of picking up the workpiece 12 (the output of the operation result retrieving unit 26). In other words, the controller 16 arbitrarily determines data and command data for the hand unit 13 output from the three-dimensional measurement device 15 (coordinate calculation unit 19), or does not arbitrarily determine it based on a predetermined rule, and performs a picking operation of the workpiece 12 by the hand unit 13. Examples of the aforementioned predetermined rule may include picking up a plurality of loosely loaded workpieces 12 in descending order of height (Z). The data output from the three-dimensional measuring device 15 and the command data for the hand unit 13 thus correspond to an action of picking up a workpiece. Since success and failure of picking up the workpiece 12 occur, the learning unit 22 evaluates state variables including data output from the three-dimensional measuring device 15 and command data for the hand 13 every time such success or failure occurs.The learning unit 22 stores data output from the three-dimensional measurement device and command data for the hand unit 13 in picking up the workpiece 12 and a score for the result of picking up the workpiece in association with each other. Examples of failure herein may include the case where the hand unit 13 cannot grasp the workpiece 12 or the workpiece 12 collides with or comes into contact with the wall of the box 11 even if the hand unit 13 can grasp the workpiece 12. Such success or failure of picking up the workpiece 12 is determined based on the value detected by the force sensor 17 or data picked up by the three-dimensional measuring device. The machine learning device 20 can also perform learning by using, for example, a part of the command data output from the controller 16 for the handheld unit 13.The learning unit 22 in this embodiment preferably includes a reward calculation unit 23 and a value function update unit 24. for example, the reward calculation unit 23 calculates a reward such as a score based on the success or failure of picking up the workpiece 12 with respect to the above-mentioned state variables. The reward is set high for success of picking up the workpiece 12 and low for failure of picking up the workpiece 12. A reward may be calculated based on how often picking up the workpiece 12 in a predetermined time results in success. Such a reward may be further calculated according to each stage of picking up the workpiece 12, such as success in gripping by the hand unit 13, success in transport by the hand unit 13, or success in depositing the workpiece 12.The value function updating unit 24 includes a value function that describes the value of a capturing operation of the workpiece 12 and updates the value function according to the above-mentioned reward. The value function is updated using an update expression Q(s, a) as described above. In this update, an action value table is preferably generated. The action value table herein means an entry of related information between data output from the three-dimensional measuring device 15 and command data for the hand unit 13 in picking up the workpiece 12, and a value function (i.e., an evaluation value) updated according to the pickup result of the workpiece 12 in the picking-up operation.A function approximated using the above-described neural network can also be used as such an action value table, and this is particularly effective when the state s involves a lot of information such as image data. The above-mentioned value function is not limited to a particular type. Examples of the value function may include a value function for evaluating success or failure in gripping the workpiece 12 by the hand unit 13 and that for evaluating the time (cycle time) required by the hand unit 13 to grip and transport the workpiece 12.As the above-mentioned value function, a value function for evaluating interference interference between the box 11 and the hand unit 13 or the workpieces 12 at picking-up may be used. In order to calculate a reward used for updating the value function, the state variable observation unit 21 preferably observes a force acting on the hand unit 13, such as a value detected by the force sensor 17. When the amount of change in the force detected by the force sensor 17 is larger than a predetermined threshold, it can be estimated that the aforementioned interference has occurred. Therefore, the reward obtained in this case is preferably set to take a negative value, for example, so that the value defined by the value function is low.According to this embodiment, the measurement parameters of the three-dimensional measurement device 15 can also be learned as manipulated variables. In other words, according to this embodiment, a machine learning device that learns an operation of a robot 14 for picking up, by a hand unit 13, any one of a plurality of workpieces 12 stored in an arbitrary manner including a loosely loaded state includes a state variable observation unit 21, an operation result acquisition unit 26, and a learning unit 22. The operation result obtaining unit 26 obtains a result of a picking operation of the robot 14 for picking up the workpiece 12 by the hand unit 13. The learning unit 22, in conjunction with the state variable of the robot 14 and the result of the capturing operation, when receiving the output from the state variable observation unit 21 and the output from the operation result acquisition unit 26, learns manipulated variables including measurement parameters of the three-dimensional measurement device 15.The robot system 10 in this embodiment may further include an automatic hand exchange device (not illustrated) that exchanges the hand unit 13 attached to the robot 14 with a hand unit 13 having a different shape. In this case, the value function updating unit 24 may preferably include the above-mentioned value function for each shape-specific hand unit 13, and update the value function for the exchanged hand unit 13 according to the reward. This enables learning an optimum operation of the hand unit 13 for each hand-specific hand unit and in turn allows the automatic hand exchange device to select a hand unit 13 having a higher value function.The decision unit 25 preferably selects data output from the three-dimensional measuring device 15 and command data for the hand unit 13 corresponding to the highest evaluation value by reading in the action value table generated as described above. The decision unit 25 then outputs optimum data for the selected hand unit 13 and the three-dimensional measuring device 15 to the controller 16.The controller 16 uses optimum data for the hand unit 13 and the three-dimensional measurement device 15 output from the learning unit 22 to independently control the three-dimensional measurement device 15 and the robot 14 to pick up the workpiece 12. For example, the controller 16 operates the respective drive shafts of the hand unit 13 and the robot 14 based on the state variables to respectively set an optimum position, orientation, and picking direction of the hand unit 13 retrieved by the machine learning device 20.The robot system 10 in the above-described embodiment includes a machine learning device 20 for a robot 14 as illustrated as FIG. 1. However, in the present invention, the number of robots 14 and machine learning devices 20 is not limited to one. For example, the robot system 10 may include a plurality of robots 14 such that at least one machine learning device 20 is arranged in correspondence with each robot 14. The robot system 10 preferably shares optimum state variables retrieved by the machine learning device 20 of the respective robots 14 for the three-dimensional measurement device 15 and the hand unit 13, or exchanges them with each other via a communication medium such as a network. Even if the work rate of a specific robot 14 is lower than that of another robot 14, an optimum work result acquired by the machine learning device 20 of the other robot 14 can be used for the operation of the specific robot 14. The time used for learning can be even shortened by sharing learning models between a plurality of robots, or sharing manipulated variables including measurement parameters of the three-dimensional measurement device 14 and the state variable and the capturing operation result of each robot 14.The machine learning device 20 may be located inside or outside the robot 14. Alternatively, the machine learning device 20 may be located within the controller 16 or on a cloud server (not shown).When the robot system 10 includes a plurality of robots 14, one robot 14 can pick up a workpiece 12 with one hand unit 13 of the robot 14, while another robot 14 transports a workpiece 12 gripped by one hand unit 13 of the latter robot 14. The value function update unit 24 may further update the value function by using the time during which such robots 14 picking up the workpieces 12 are switched from one to another. The machine learning device 20 may even include state variables for a plurality of hand models, execute a shot simulation based on the plurality of hand models during the shot, and learn the state variables for the plurality of hand models in association with the result of the shot of the workpiece 12 according to the result of the shot simulation.In the above-mentioned machine learning device 20, data output from the three-dimensional measurement device 15 is transmitted to the state variable observation unit 21 after acquiring data of a three-dimensional image for each workpiece 12 from the three-dimensional measurement device 15. Since such transmitted data does not always include abnormal data, the machine learning device 20 may have the function of filtering abnormal data, i.e., the function of selecting whether to input the data from the three-dimensional measurement device 15 to the state variable observation unit 21. With this arrangement, the learning unit 22 of the machine learning device can effectively learn an optimum operation of the hand unit 13 by the three-dimensional measurement device 15 and the robot 14.In the above-mentioned machine learning device 20, the controller 16 receives data output from the learning unit 22. Also, since the data output from the learning unit 22 does not always include abnormal data, a function of filtering abnormal data, that is, the function of selecting whether to output the data from the learning unit 22 to the controller 16 can be provided. With this arrangement, the controller 16 can enable the robot 14 to more safely perform an optimal operation of the hand unit 13.The above-mentioned abnormal data can be detected according to the following procedure: a probability distribution for input data is estimated, the probability distribution is used to derive the probability of occurrence for a new input, and abnormal data greatly deviating from a typical behavior is considered to be found when the probability of occurrence falls below a predetermined threshold.An exemplary operation of the machine learning device 20 of the robot 10 in this embodiment will be described below. FIG. 4 is a flowchart illustrating an exemplary operation of the machine learning device illustrated as FIG. 1. As illustrated in FIG. 4, in the machine learning device 20 illustrated in FIG. 1, when learning is started, three-dimensional measurement is performed by the three-dimensional measurement device 15, and the measurement result is output (step S 11 in FIG. 4 ). In other words, in step S 11, for example, a three-dimensional image (data output from the three-dimensional measurement device 15) for each workpiece 12 stored in an arbitrary manner including a loosely loaded state is acquired and output to the state variable observation unit 21, and the coordinate calculation unit 19 receives the three-dimensional image for each workpiece 12 and calculates a three-dimensional position (x, y, z) for each workpiece 12 and outputs it to the state variable observation unit 21, the operation result acquisition unit 26, and the controller 16. The coordinate calculation unit 19 may calculate and output an orientation (w, p, r) based on the output of the three-dimensional measurement device 15.The output (three-dimensional image) of the three-dimensional measurement device 15 may be input to the state variable observation unit 21 via a preprocessing unit 50 that processes the output (three-dimensional image) before being input to the state variable observation unit 21, as described later with reference to FIG. 5. Only the output of the three-dimensional measurement device 15 may be input to the state variable observation unit 21, and may also be input to the state variable observation unit 21 via the preprocessing unit 50, as described later with reference to FIG. 7. In this way, the execution and output of the three-dimensional measurement in step S 11 may include various shapes.Specifically, in the case of FIG. 1, the state variable observation unit 21 observes a three-dimensional image for each workpiece 12 from the three-dimensional measurement device 15 and a state variable (data output from the three-dimensional measurement device 15) such as the three-dimensional position (x, y, z) and orientation (w, p, r) for each workpiece 12 from the coordinate calculation unit 19. the operation result acquisition unit 26 acquires a result of an acquisition operation of the robot 14 for acquiring the workpiece 12 by the hand unit 13 based on the data output from the three-dimensional measurement device 15 (the data output from the coordinate calculation unit 19). The operation result obtaining unit 26 can obtain not only the data from the three-dimensional measurement device but also the result of the capturing operation such as the reaching state when the captured workpiece 12 is transferred to a subsequent process and a breakage of the captured workpiece 12.For example, the machine learning device 20 decides an optimum operation based on the data output from the three-dimensional measurement device 15 (step S 12 in FIG. 4 ), and the controller 16 outputs command data (manipulated variables) to the hand unit 13 (robot 14) and performs a picking operation of the workpiece 12 (step S 13 in FIG. 4 ). The workpiece pick-up result is fetched by the above-mentioned operation result fetch unit 26 (step S 14 in FIG. 4 ).It is then determined based on the output from the operation result obtaining unit 26 whether picking up the workpiece 12 has resulted in success or failure (step S 15 in FIG. 4 ). If picking up the workpiece 12 has succeeded, a positive reward is set (step S 16). When picking up the workpiece 12 has failed, a negative reward is set (step S 17 in FIG. 4 ). The action value table (value function) is then updated (step S 18 in FIG. 4 ).It may be determined, for example, based on the data output from the three-dimensional measuring device 15 after the capturing operation of the workpiece 12, whether the capturing of the workpiece 12 has led to success or failure. The determination of whether picking up the workpiece 12 has led to success or failure is not limited to the evaluation of whether picking up the workpiece 12 has led to success or failure, and may include evaluation of, for example, the reaching level in relaying the picked-up workpiece 12 to a follow-up process, the occurrence or non-occurrence of a change in the state such as breakage of the picked-up workpiece 12, or the time (tact time), or energy (current amount) required for gripping and transporting the workpiece 12.A reward value is calculated by the reward calculation unit 23 based on the determination as to whether the acquisition of the workpiece 12 has caused success or failure, and the action value table is updated by the value function update unit 24. In other words, when picking up the workpiece 12 has succeeded, the learning unit 22 sets a positive reward of a value Q(s, a) in the above-mentioned update expression (step S 16); otherwise, the learning unit 22 sets a negative reward in the above-mentioned update expression (step S 17). The learning unit 22 updates the above-mentioned action value table each time the workpiece 12 is picked up (step S 18). The learning unit 22 (learns) continues updating the action value table by repeating the above-mentioned steps S 11 to S 18.In the above description, data input to the state variable observation unit 21 is not limited to data output from the three-dimensional measurement device 15, but may include data such as output from other sensors, and even a part of the command data may be used by the controller 16. Thus, the controller 16 causes the robot 14 to perform a picking operation of the workpiece 12 using command data (manipulated variables) output from the learning device 20. Learning by the learning device 20 is not limited to the capturing operation of the workpiece 12, and for example, measurement parameters of the three-dimensional measurement device 15 may be learned as described above.As described above, the robot system 10 including the machine learning device 20 in this embodiment can learn an operation of the robot 14 for picking, by the hand unit 13, any one of a plurality of workpieces stored in an arbitrary manner including a loosely loaded state. Thus, the robot system 10 can learn the selection of an optimal operation of the robot 14 to pick up the loosely loaded workpieces 12 without human intervention.FIG. 5 is a block diagram showing the conceptual configuration of a robot system in another embodiment of the present invention, and illustrates a robot system using supervised learning. As is apparent from a comparison of FIG. 5 with FIG. 1 described above, a robot system 10' using supervised learning shown as FIG. 5 is provided by adding a result (label) bearing data recording unit 40 to the robot system 10 using Q-learning (reinforcement learning) shown as FIG. 1. The robot system 10' shown in FIG. 5 further comprises a preprocessing unit 50 which preprocesses data output from the three-dimensional measuring device 15. The preprocessing unit 50 can of course be provided for the robot system 10 illustrated as FIG. 2.A machine learning device 30 in the robot system 10' using supervised learning includes a state variable observing unit 31, an operation result obtaining unit 36, a learning unit 32, and a decision unit 35 as illustrated as FIG. 5. The learning unit 32 includes an error calculation unit 33 and a learning model update unit 34. Also in the robot system 10' according to this embodiment, the machine learning device 30 learns and outputs manipulated variables such as command data for instructing a robot 14 to perform a picking operation of a workpiece 12, or measurement parameters of the three-dimensional measurement device 15.In other words, in the robot system 10' using supervised learning illustrated as FIG. 5, the error calculation unit 33 and the learning model update unit 34 correspond to the reward calculation unit 23 and the value function update unit 24, respectively, in the robot system 10 using Q-learning illustrated as FIG. 1. Other configurations such as those of the three-dimensional measurement device 15, a controller 16, and the robot 14 are the same as those in FIG. 1 described above, and description thereof will not be given.The error calculation unit 33 calculates the error between the result (label) output from the operation result observation unit 36 and the output of a learning model installed in the learning unit. For example, the result (label) bearing data recording unit 40 may include result (label) bearing data that is retrieved the day before a predetermined day when the robot 14 performs a task when the shapes of the workpieces 12 and the processes by the robot 14 remain unchanged, and provide the result (label) bearing data included in the result (label) bearing data recording unit 40 to the error calculation unit 33 at the predetermined day. Alternatively, data retrieved by a simulation performed outside the robot system 10', for example, or result (label) bearing data retrieved by another robot system may be provided to the error calculation unit 33 of the robot system 10' via a memory card or a communication line. The result (label) bearing data recording unit 40 may be realized even in a nonvolatile memory such as a flash memory and incorporated into the learning unit 32, so that the result (label) bearing data included in the result (label) bearing data recording unit 40 may be directly used in the learning unit 32.FIG. 6 is views for explaining exemplary processing of a preprocessing unit in the robot system illustrated as FIG. 5. FIG. 6 illustrates, in (a), an example of data of the three-dimensional positions (orientations) of a plurality of workpieces 12 loosely poured into a box 11, i.e., data output from the three-dimensional measuring device 15, and in (b) to (d), example image data after preprocessing the workpieces 121 to 123 illustrated in (a) of FIG. 6.Metal cylindrical parts are adopted as the workpieces 12 ( 121 to 123), and a suction pad that attracts, for example, the elongated central portions of the cylindrical workpieces 12 by means of a negative pressure instead of gripping them with the two gripper parts is adopted as the hand ( 13). As long as the positions of the elongated central portions of the workpieces 12 are determined, the workpiece 12 can be picked up by moving the suction pad (13) to these positions and attracting the workpiece 12 by suction. The numerical values used in (a) to (d) of FIG. 6 represent the X, Y, and Z directions in units of [mm]. Note that the Z direction corresponds to the direction of the height (depth) of image data obtained by acquiring the box 11 in which a plurality of loosely loaded workpieces 12 are accommodated by the three-dimensional measuring device 15 (e.g., including two cameras) located above the box 11.As is apparent from a comparison of (b) to (d) of FIG. 6 with (a) of FIG. 6, as an exemplary processing by the preprocessing unit 50 in the robot system 10' illustrated as FIG. 5, the workpieces 12 of interest (e.g., the three workpieces 121 to 123) are rotated and processed based on data (three-dimensional image) output from the three-dimensional measuring device 15 to set their center heights to "0".In other words, the data output from the three-dimensional measuring device 15 includes, for example, information indicating the three-dimensional position (x, y, z) and orientation (w, p, r) of the elongated central portion of each workpiece 12. In this case, the three workpieces 121, 122, and 123 of interest are rotated by -r and subtracted by z to uniformize all their states, as shown as (b), (c), and (d) of FIG. 6. By such preprocessing, the load of the machine learning device 30 can be reduced.The three-dimensional image represented as (a) of FIG. 6 does not correspond to the data itself output from the three-dimensional measuring device 15 but, for example, to that obtained by decreasing the limit value for selection from an image acquired by a conventionally realized program defining the order of capturing the workpieces 12. This processing itself may also be executed by the preprocessing unit 50. Such processing may, of course, vary differently depending on a variety of conditions including, for example, the shapes of the workpieces 12 and the type of hand 13.In this manner, the preprocessing unit 50 inputs, to the state variable observation unit 31, data output from the three-dimensional measurement device 15 (a three-dimensional image for each workpiece 12) which is processed before being input to the state variable observation unit 31. Referring again to FIG. 5, for example, if y is the output of the neural network shown in FIG. 3 as a learning model, then the error calculation unit 33 receiving a result (label) output from the operation result obtaining unit 36 determines that an error -log(y) exists when the current capturing operation of the workpiece has succeeded and that an error -log(1-y) exists when this operation has failed, and executes processing aimed at minimizing the error. As an input to the neural network shown as FIG. 3, for example, image data of the workpieces 121 to 123 of interest after the pre-processing shown as (b) to (d) of FIG. 6 and data of the three-dimensional position and orientation (x, y, z, w, p, r) are provided for each of the workpieces 121 to 123.FIG. 7 is a block diagram illustrating a modification of the robot system illustrated as FIG. 1. As is apparent from a comparison of FIG. 7 with FIG. 1, in the modification of the robot system 10 illustrated as FIG. 7, the coordinate calculation unit 19 is omitted, and the state variable observation unit 21 observes the state variable of the robot 14 upon receiving only one three-dimensional image from the three-dimensional measurement device 15. The configuration illustrated as FIG. 7 may also be applied to, for example, the robot system 10' using the supervised learning described above with reference to FIG. 5. In other words, in the robot system 10' illustrated as FIG. 5, the preprocessing unit 50 may be omitted, and the state variable observation unit 31 may observe the state variable of the robot 14 upon receiving only one three-dimensional image from the three-dimensional measurement device 15. In this way, various changes and modifications can be made to the above-described embodiments.As described above in detail, according to this embodiment, it is possible to provide a machine learning device, a robot system, and a machine learning method that learns an optimum operation of a robot in picking up workpieces stored in an arbitrary manner including a loosely loaded state without human intervention. The machine learning devices 20 and 30 in the present invention are not limited to those using reinforcement learning (e.g., Q-learning) or supervised learning, and various machine learning algorithms are applicable.The machine learning device, the robot system, and the machine learning method according to the present invention have an advantageous effect of learning, without human intervention, an optimum operation of a robot in picking up workpieces stored in an arbitrary manner including a loosely loaded state. All examples and conditional language provided herein serve the purpose of paedagogical, aid the reader in understanding the invention, and aid the concepts contributed by the inventor to promoting the art, and are not to be construed as limitations on such specifically recited examples and conditions, and organization of such examples in the specification also does not relate to superiority and inferiority of the invention.
Claims
A robot system for picking up an object (12), the robot system comprising: a robot (14) for picking up the object (12); a measurement device (15) configured to obtain information of the object (12); a state variable observation unit (21) configured to obtain the information of the object (12); a decision unit (25) configured to decide command data for instructing the robot to perform a picking-up operation of the object (12) by referring to an output from a learning model, the output being generated by inputting the information of the object (12) obtained by the state variable observation unit to the learning model; and a controller (16) configured to control the robot based on the command data.The robot system according to claim 1, wherein the learning model is a neural network.The robot system according to claim 1 or 2, wherein the information input to the learning model includes image data of the object (12).The robot system according to claim 3, wherein the information input to the learning model includes distance image data of the object (12).The robot system according to claim 1 or 2, wherein the information input to the learning model includes position information of the object (12).The robot system according to claim 5, wherein the information input to the learning model further comprises orientation information of the object (12).The robot system according to any one of claims 1 to 6, wherein the information input to the learning model includes information of a plurality of objects (12), and the decision unit (25) is configured to decide the command data for instructing the robot to perform the capturing operation of the object (12) by inputting the information of the plurality of objects (12) to the learning model.The robot system according to any one of claims 1 to 7, wherein the learning model outputs information regarding a manipulated variable for picking up the object (12).The robot system according to any one of claims 1 to 7, wherein the learning model outputs information regarding a success probability of the capturing operation of the object (12).The robot system according to any one of claims 1 to 7, wherein the learning model outputs information regarding success or failure of the capturing operation of the object (12).The robot system according to any one of claims 1 to 7, wherein the learning model outputs information regarding a position of the object (12).The robot system according to any one of claims 1 to 11, wherein the learning model has been updated by reinforcement learning.The robot system according to claim 12, wherein the learning model has been updated using a reward based on information related to a capturing operation of another object.The robot system according to claim 13, wherein the reward is calculated based on at least one of success or failure of the capturing operation of the other object, number of successful capturing operations, time required for capturing or transporting the other object, force acting on a hand unit (13), degree of success of an operation after capturing, change of state of the other object, or energy for the capturing operation of the other object.The robot system according to any one of claims 1 to 11, wherein the learning model has been updated by supervised learning.The robot system according to claim 15, wherein the learning model has been updated using an error based on a label and an output of the learning model, wherein the label comprises information related to a capturing operation of another object, and wherein the output is generated by inputting information of the other object into the learning model.The robot system according to any one of claims 1 to 16, wherein the command data includes information regarding at least one of a position, an orientation, or a pick-up direction of a hand unit (13) of the robot (14).The robot system according to any one of claims 1 to 16, wherein the command data includes information related to at least one of a torque, a speed, or a rotation for a drive shaft of the robot (14).The robot system according to any one of claims 1 to 18, wherein the state variable observation unit (21) is further configured to obtain information related to the command data output from the decision unit.The robot system according to any one of claims 1 to 19, wherein the learning model outputs information related to a manipulated variable for the measurement device (15).The robot system according to any one of claims 1 to 20, wherein a hand unit (13) of the robot (14) is configured to generate a suction force for picking up the object.The robot system according to claim 21, wherein the hand unit (13) of the robot (14) comprises at least one of an electromagnet or a vacuum generator.The robot system according to any one of claims 1 to 22, wherein the learning model has been updated using information obtained from another robot.The robotic system of any of claims 1 to 23, wherein the learning model has been updated using simulated data.The robot system according to any one of claims 1 to 24, further comprising: a preprocessing unit (50) configured to process the information of the object (12) obtained by the measurement device (15), wherein the state variable observation unit is configured to acquire data output from the preprocessing unit (50) as the information of the object (12) input to the learning model.The robotic system of any of claims 1 to 25, wherein the learning model is located on a cloud server.The robot system according to any one of claims 1 to 26, wherein a position of the measurement device (15) is changed based on a movement of an arm unit (13) of the robot (14).The robot system according to claim 27, wherein the measurement device (15) is attached to the arm unit of the robot (14).Robot system according to one of claims 1 to 28, wherein the measuring device (15) is a three-dimensional vision sensor and / or a laser range finder and / or a camera.A method of picking up an object (12) by a robot (14), the method comprising: obtaining information of the object (12); deciding command data for instructing the robot to perform a picking-up operation of the object (12) by referring to an output from a learning model, the output being generated by inputting the information of the object (12) into the learning model; and controlling the robot (14) based on the command data.The method of claim 30, wherein the learning model is a neural network.The method of claim 30 or 31, wherein the information input to the learning model comprises image data of the object (12).The method according to any one of claims 30 to 32, wherein the information comprises information of a plurality of objects (12), and the command data is decided by inputting the information of the plurality of objects (12) into the learning model.
Citation Information
Patent Citations
Robot system and product manufacturing method
EP2832503A1
Workpiece takeout device
JP2013052490A
Reinforcement learning method based on linear model, device therefor and program
JP2014206795A
Apparatus and method for robotically removing bulk-stacked goods
JP5642738B2
Apparatus and method for robotically removing bulk-stacked goods
JP5670397B2
