Hand load estimation device, robot control system, and robot system
The hand load estimating device corrects for modeling errors and unmodeled characteristics in robot systems by using inverse dynamics models and learning techniques, providing accurate hand load parameter estimation for improved robot control and safety.
Patent Information
- Application Number
- JP2021064141
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-04-05
AI Technical Summary
Existing methods for estimating hand load parameters in robots, such as those described in Patent Document 1, suffer from inaccuracies due to modeling errors and unmodeled characteristics, leading to unreliable estimation results.
A hand load estimating device that utilizes an inverse dynamics model, a learning unit, and an inference section to calculate hand load parameters by inputting motion data of robot joints, learning from differences between actual and nominal torques, and using neural networks or Gaussian Process Regression to correct for modeling errors and unmodeled characteristics.
The device achieves highly accurate estimation of hand load parameters by accounting for modeling errors and unmodeled characteristics, enabling precise control of robot movements and improved safety through enhanced collision detection.
Smart Images

Figure 0007575007000009 
Figure 0007575007000010 
Figure 0007575007000011
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a hand load estimation device that estimates parameters regarding a load applied to a hand of a robot, a robot control system, and a robot system. [Background technology]
[0002] In controlling industrial robots and other robots, it is necessary to appropriately set parameters such as the mass or center of gravity position of the load applied to the hand that is the object of operation so that the robot can perform high-speed operation and high-precision positioning. Hereinafter, the parameters regarding the load applied to the hand of the robot are referred to as hand load parameters.
[0003] Patent Document 1 discloses a method for identifying hand load parameters for a multi-joint robot based on the state quantities of each joint when the robot is operated. In the method of Patent Document 1, the hand load parameters are identified from state quantities such as the position, speed, acceleration, and current required for operation of each joint of the robot based on a linearized equation for the hand load parameters and a driving torque shown in a robot model. According to the method of Patent Document 1, the hand load parameters can be estimated without limiting the type of load or the motion pattern of the robot. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 4137673 Summary of the Invention [Problem to be solved by the invention]
[0005] In the method of Patent Document 1, the hand load parameters are estimated based only on data acquired for load estimation. Therefore, in the case of the method of Patent Document 1, the estimated hand load parameters may have errors from the actual hand load parameters due to the influence of modeling errors in the robot model or the influence of characteristics not included in the robot model. Therefore, the conventional technology of Patent Document 1 has a problem in that it is difficult to obtain highly accurate estimated hand load parameters.
[0006] The present disclosure has been made in consideration of the above, and has an object to provide a hand load estimation device that can obtain highly accurate estimation results of hand load parameters. [Means for solving the problem]
[0007] In order to solve the above-mentioned problems and achieve the object, the hand load estimation device according to the present disclosure is a hand load estimation device that estimates a hand load parameter that is a parameter for a load applied to the hand of a robot. The hand load estimation device according to the present disclosure includes an inverse dynamics model unit that outputs a nominal torque value that is a torque calculated based on the inverse dynamics model by inputting motion data that is at least one of data on the position, speed, and acceleration of a joint of the robot to the inverse dynamics model, a learning unit that learns a hand load parameter from which the influence of modeling errors of the inverse dynamics model and the influence of characteristics of the robot that are not included in the inverse dynamics model are removed based on learning data including the motion data and the difference between the actual torque and the nominal torque of the joint, and an inference unit that receives inference data including the motion data and the difference between the actual torque and the nominal torque and infers the hand load parameter based on the learning result by the learning unit. Effect of the Invention
[0008] The hand load estimating device according to the present disclosure has the effect of being able to obtain highly accurate estimation results of hand load parameters. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing a configuration of a hand load estimation device according to a first embodiment; [Diagram 2] FIG. 1 is a diagram showing a configuration of a hand load estimation device according to a first embodiment when the hand load estimation device performs supervised learning of hand load parameters using an RNN; [Diagram 3] FIG. 1 is a conceptual diagram showing a configuration of a neural network used for learning in the first embodiment. [Figure 4] A diagram showing an example of an LSTM unit that constitutes the neural network shown in Figure 3. [Diagram 5] FIG. 1 is a diagram showing a configuration of a hand load estimating device according to a first embodiment in a case where the hand load estimating device uses a torque value detected by a torque sensor as an actual torque value; [Figure 6] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a second embodiment. [Figure 7] FIG. 11 is a diagram for explaining GPR used for learning in the second embodiment. [Figure 8] FIG. 13 is a diagram for explaining a histogram filter used in inference in the second embodiment. [Figure 9] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a third embodiment. [Figure 10] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a fourth embodiment. [Figure 11] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a fifth embodiment. [Figure 12] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a sixth embodiment. [Figure 13] FIG. 13 is a diagram showing a configuration of a hand load estimation device according to a seventh embodiment. [Figure 14] A conceptual diagram for explaining updating of a probability distribution by Bayesian linear regression in the seventh embodiment. [Figure 15] FIG. 13 is a diagram showing a configuration of a robot system according to an eighth embodiment. [Figure 16] FIG. 1 is a diagram showing a first example of a hardware configuration for realizing a hand load estimation device according to the first to seventh embodiments. [Figure 17] FIG. 13 is a diagram showing a second example of the configuration of hardware for realizing the hand load estimation device according to the first to seventh embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, a hand load estimating device, a robot control system, and a robot system according to embodiments will be described in detail with reference to the drawings.
[0011] Embodiment 1 FIG. 1 is a diagram showing a configuration of a hand load estimation device 1 according to a first embodiment. The hand load estimation device 1 estimates a hand load parameter which is a parameter regarding a load applied to a hand of a robot. In the first embodiment, the robot is an industrial robot. The robot has a plurality of joints which operate a movable part of the robot. The hand is the tip of the movable part. A load is attached to the hand. An example of the load is a detachable part such as a hand or a tool.
[0012] The hand load estimation device 1 has an input unit 11, an inverse dynamics model unit 12, a learning unit 13, a learning result storage unit 14, and an inference unit 15. Data on the internal state quantities of the robot are input to the input unit 11 for each control cycle of the robot. In this way, the hand load estimation device 1 obtains time-series data on the internal state quantities of the robot. The state quantity data may be input for each integer multiple of the control cycle.
[0013] The state quantity data includes position data and current data. The position data is data representing the position of the joint. Here, the position data is a feedback value of the joint position. The position of the joint is the position in the rotation direction of the joint, and is represented by, for example, a rotation angle. The current data is data representing a current flowing through a motor that rotates the joint. Here, the current data is a feedback value of the current flowing through the motor. Position data, which is a position feedback (FB) value of each joint, and current data, which is a current feedback (FB) value of each joint are input to the input unit 11.
[0014] During learning by the learning unit 13, the input unit 11 acquires time series data of the position FB value and time series data of the current FB value as input data during learning. During inference by the inference unit 15, the input unit 11 acquires time series data of the position FB value and time series data of the current FB value as input data during inference. Fig. 1 shows an image of the input data of the input unit 11 during learning and an image of the input data of the input unit 11 during inference.
[0015] The position θ, velocity θ' and acceleration θ'' of each joint are calculated from the position data input to the input unit 11. Means for calculating the position θ, velocity θ' and acceleration θ'' from the position data are omitted from the illustration. Movement data, which is the data on the position θ, velocity θ' and acceleration θ'' of each joint calculated from the position data of each joint, is input to the inverse dynamics model unit 12. The inverse dynamics model is a model that calculates torque by solving an equation of motion. By inputting the position θ, velocity θ' and acceleration θ'' of each joint to the inverse dynamics model, the inverse dynamics model unit 12 calculates the nominal torque τ of each joint. mdl The nominal torque τ mdl is a torque calculated from the equation of motion for the joint. The inverse dynamics model is stored in the hand load estimating device 1 in advance.
[0016] When calculating the equation of motion, the inverse dynamics model unit 12 refers to pre-set nominal parameters. As the nominal parameters, parameters such as the mass, center of gravity position, or inertia tensor of each link of the robot are set. Values at the time of designing the robot may be used for the nominal parameters. Alternatively, values identified in advance by the robot from which position data and current data are acquired may be used for the nominal parameters.
[0017] During learning by the learning unit 13, the inverse dynamics model unit 12 calculates a nominal torque τ based on the position θ, velocity θ', and acceleration θ'' obtained from the input data during learning. mdlDuring inference by the inference unit 15, the inverse dynamics model unit 12 calculates a nominal torque τ mdl In FIG. 1, in order to show the data flow during learning and the data flow during inference separately, the inverse dynamics model unit 12 is shown divided into two.
[0018] Actual torque τ real is obtained by multiplying the current data input to the input unit 11 by the torque constant. That is, the hand load estimating device 1 calculates the value obtained by multiplying the current data by the torque constant as the actual torque τ real The hand load estimation device 1 uses the actual torque τ real and the nominal torque τ output from the inverse dynamics model unit 12. mdl Difference τ real -τ mdl Calculate.
[0019] The learning unit 13 stores, as learning data, the position θ, velocity θ′, and acceleration θ″ of each joint, which are motion data obtained from input data during learning, and the difference τ real -τ mdl are input. Learning data for each joint is input to the learning unit 13. The learning unit 13 uses the learning data to learn hand load parameters from which the influence of modeling errors in the inverse dynamics model and the influence of robot characteristics not included in the inverse dynamics model have been removed. Hereinafter, the robot characteristics not included in the inverse dynamics model are referred to as out-of-model characteristics. The learning unit 13 stores the learning results in the learning result storage unit 14.
[0020] The inference unit 15 stores, as inference data, the position θ, velocity θ′, and acceleration θ″ of each joint, which are motion data obtained from input data at the time of inference, and the difference τ real -τ mdlare input. Inference data for each joint is input to the inference unit 15. The inference unit 15 also reads out the learning result by the learning unit 13 from the learning result storage unit 14. The inference unit 15 estimates hand load parameters based on the learning result by the learning unit 13. In the configuration shown in FIG. 1, the hand load estimation device 1 can apply any method as the learning method in the learning unit 13. The hand load parameter is at least one of the parameters of the mass of the load, the center of gravity position of the load, and the inertia tensor of the load. Note that the motion data input to each of the inverse dynamics model unit 12, the learning unit 13, and the inference unit 15 is not limited to data on all of the position θ, the velocity θ', and the acceleration θ'', but may be data on at least one of the position θ, the velocity θ', and the acceleration θ''.
[0021] The inference unit 15 obtains, as inference data, motion data based on the position FB value immediately after the robot starts to move and a difference τ real -τ mdl and are used. This allows the hand load estimation device 1 to estimate the hand load parameters at an early point in time from when the robot starts to operate. Also, it becomes possible to reflect the estimation results of the hand load parameters in the command values for controlling each joint at an early point in time from when the robot starts to operate.
[0022] Next, a specific example of the learning method will be described. Here, a case where supervised learning of hand load parameters is performed using an RNN (Recurrent Neural Network) will be described. Fig. 2 is a diagram showing the configuration of the hand load estimation device 1 according to the first embodiment when the hand load estimation device 1 performs supervised learning of hand load parameters using an RNN.
[0023] The learning unit 13a of the hand load estimating device 1 shown in FIG. 2 stores, as learning data, the position θ, velocity θ′, and acceleration θ″ of each joint, and the difference τ real -τ mdlThe learning unit 13a also receives a teacher signal. The teacher signal is a correct answer label of the hand load parameter. The correct answer label is a hand load parameter that does not include errors due to modeling errors of the inverse dynamics model and out-of-model characteristics. The learning unit 13a receives the position θ, velocity θ', acceleration θ'' and difference τ real -τ mdl A neural network is constructed such that the output for the inputs corresponds to the correct label, and the learning results are stored in the learning result storage unit 14a.
[0024] Examples of RNN include Elman / Jordan net, LSTM (Long Short Term Memory), GRU (Gated Recurrent Unit), etc. Any of these may be used. In the first embodiment, the case of using LSTM will be described as an example.
[0025] Fig. 3 is a conceptual diagram showing the configuration of a neural network used for learning in the first embodiment. The neural network includes an input layer 21, an intermediate layer 22, and an output layer 23. The input layer 21 includes neurons 24, the number of which corresponds to the number of elements of input data, i.e., the number of inputs. In Fig. 3, only the topmost neuron 24 in the input layer 21 is labeled, but circles in the input layer 21 with no label are also neurons 24. In Fig. 3, the number of neurons 24 is three, but the number of neurons 24 is not limited to three.
[0026] The hidden layer 22 includes a plurality of neurons 25. Each neuron 25 is an LSTM unit. In FIG. 3, only the top neuron 25 in the hidden layer 22 is labeled, but double circles without labels in the hidden layer 22 are also neurons 25. In FIG. 3, the hidden layer is one layer, but the hidden layer may be two or more layers. In FIG. 3, the number of neurons 25 is five, but the number of neurons 25 is not limited to five.
[0027] The output layer 23 includes neurons 26, the number of which corresponds to the number of elements of the data to be output, i.e., the number of outputs. In Fig. 3, only the topmost neuron 26 in the output layer 23 is labeled, but circles without labels in the output layer 23 are also neurons 26. In Fig. 3, the number of neurons 26 is three, but the number of neurons 26 is not limited to three.
[0028] The input layer 21 outputs the input data to the intermediate layer 22. In detail, each neuron 24 outputs the input data to each neuron 25 in the intermediate layer 22. Each neuron 24 multiplies the input value by a weight and then outputs the value to each neuron 25 in the intermediate layer 22. Each neuron 25 in the intermediate layer 22 performs LSTM processing and outputs the processing result to each neuron 26 in the output layer 23. Each neuron 26 in the output layer 23 adds the data output from each neuron 25 in the intermediate layer 22 and outputs the addition result. Each neuron 26 in the output layer 23 multiplies the data output from each neuron 25 in the intermediate layer 22 by a weight and adds the results of the weight multiplication.
[0029] In RNN, the input value is expressed as a vector x t , a vector whose elements are the output values of the intermediate layer 22 is h t Then, the vector h t can be expressed by the following formula (1). t is a time discretized in units of control periods, and is an integer indicating the number of control periods. Vector x t Let the dimension of be M, and the vector h t where N is the dimension of the matrix, W is a linear transformation matrix of dimension N×M, R is a linear transformation matrix of dimension N×N, b is a bias vector, and g(·) is the activation function.
[0030]
number
[0031] x t 1 ,x t 2 ,xt 3 is the vector x t Let the input value be an element of h t 1 ,h t 2 ,h t 3 ,h t 4 ,h t 5 is the vector h t The output value is the element of y t 1 ,y t 2 ,y t 3 is the vector y t The output values are the elements of the vector y t is a vector whose elements are the output values of the output layer 23.
[0032] Fig. 4 is a diagram showing an example of an LSTM unit constituting the neural network shown in Fig. 3. In the configuration example shown in Fig. 4, the LSTM unit performs the calculations shown in the following equations (2)-(7).
[0033]
number
[0034] W f ,W i ,W z ,W o is a linear transformation matrix of dimensions N × M, and R f ,R i ,R z ,R o is a linear transformation matrix of dimension N×N, and b f ,b i ,b z ,b o is a bias vector. These are determined by learning by the learning unit 13a. σ(·) is a sigmoid function used as an activation function. tanh(·) is a hyperbolic tangent function used as an activation function.
[0035] In the first embodiment, the input layer 21 includes a position θ, a velocity θ′, an acceleration θ″, and a difference τ real -τ mdl Each data is input. Vector x t is the position θ, the velocity θ', the acceleration θ'' and the difference τ real -τ mdl In the case of a 6-axis vertical articulated robot, the vector x t The dimension of the vector x is 24. The input data is not limited to data of all the joints of the robot, and may be data of some of the joints. The input data may be data of only the joints that are in motion among all the joints of the robot. By inputting data of only some of the joints, the learning unit 13a can t The dimension of may be reduced.
[0036] In the first embodiment, the output layer 23 stores the position θ, the velocity θ′, the acceleration θ″, and the difference τ real -τ mdl The hand load parameter values estimated from the data are output. t is a vector whose elements are the values of the hand load parameters estimated from the data at time t. The hand load parameters are the mass of the load, the XYZ coordinates indicating the center of gravity of the load, and the diagonal components of the inertia tensor I xx ,I yy ,I zz , and the off-diagonal components of the inertia tensor I xy ,I yz ,I zx To estimate all of these parameters, we use the vector y t The dimension of is 10. The learning unit 13a outputs only some of these parameters as data, so that the vector y t The dimension of may be reduced.
[0037] The learning unit 13a constructs a neural network capable of extracting features that depend on past values of time-series data by applying an LSTM unit to the intermediate layer 22. The learning unit 13a also adjusts the weighting coefficients of the neurons 24, 25, and 26 so that the output for the input of learning data matches the correct value of the hand load parameter. This allows the learning unit 13a to generate a trained model of the RNN that can absorb the influence of modeling errors and characteristics outside the model. The learning result storage unit 14a stores the trained model that is the result of learning.
[0038] The inference unit 15a reads out the trained model of the RNN from the learning result storage unit 14a. The inference unit 15a reads the inference data, which are the position θ, the velocity θ′, the acceleration θ″, and the difference τ real -τ mdl Each piece of data is input to the trained model. The inference unit 15a outputs the output of the trained model for the input as an estimation result of the hand load parameter.
[0039] According to the first embodiment, the hand load estimation device 1 learns hand load parameters from which the influence of modeling errors of the inverse dynamics model and the influence of characteristics outside the model have been removed, and infers the hand load parameters based on the learning results. The hand load estimation device 1 can estimate hand load parameters from which errors due to the influence of modeling errors and the influence of characteristics outside the model have been reduced, thereby enabling highly accurate estimation of the hand load parameters immediately after the robot starts to move. This provides the effect that the hand load estimation device 1 can obtain highly accurate estimation results of the hand load parameters.
[0040] The position data is a feedback value of the position of each joint, but is not limited to this. The position data may be a command value for controlling each joint. The hand load estimating device 1 obtains the command value from the robot control device.
[0041] The hand load estimation device 1 multiplies the current data by a torque constant to obtain the actual torque τ realHowever, the present invention is not limited to this. The hand load estimation device 1 uses the value of the torque detected by the torque sensor provided in the robot as the actual torque τ real may be used as the value of
[0042] 5 is a diagram showing the configuration of the hand load estimation device 1 according to the first embodiment when the hand load estimation device 1 uses the torque value detected by the torque sensor 27 as the actual torque value. The torque sensor 27 detects the torque actually applied to the hand of the robot and outputs the detected value. In the hand load estimation device 1 shown in FIG. 5, the detected value from the torque sensor 27 is input instead of the input of the current data and the multiplication of the torque constant in the hand load estimation device 1 shown in FIG. 1. "Torque output" in FIG. 5 represents the detected value output from the torque sensor 27.
[0043] When the learning unit 13 is performing learning, the input unit 11 acquires a detected torque value as input data for learning. When the inference unit 15 is performing inference, the input unit 11 acquires a detected torque value as input data for inference. The hand load estimation device 1 acquires an actual torque τ real and the nominal torque τ output from the inverse dynamics model unit 12. mdl Difference τ real -τ mdl In this case, the hand load estimation device 1 can obtain a highly accurate estimation result of the hand load parameter. In the hand load estimation device 1 shown in FIG. 2, the detected torque is calculated as the actual torque τ real may be used as the value of
[0044] Although the neural network used by the learning unit 13a is an RNN, the present invention is not limited to this. The learning unit 13a may use a feedforward type, i.e., forward propagation type, neural network. In other words, the learning unit 13a is not a neural network in which the output of the intermediate layer 22 at time t is recursively input to the intermediate layer 22 at the next time, but a neural network in which the position θ, velocity θ′, acceleration θ″, and difference τ of each joint are input. real -τ mdlSupervised learning of the hand load parameters may be performed using a neural network whose output is determined only by the input of time series data of t. In this case, the learning unit 13a inputs data to the neural network after a predetermined batch size of data has been accumulated, rather than inputting data to the neural network sequentially every time data at time t is acquired.
[0045] In the first embodiment, the learning units 13, 13a learn hand load parameters from which the influence of modeling errors and the influence of out-of-model characteristics have been removed. That is, the learning units 13, 13a learn the hand load parameters and the torque error corresponding to the hand load parameters together using one neural network. The learning units 13, 13a may be divided into a neural network that learns the hand load parameters and a neural network that learns the torque error. In this case, the neural network that learns the hand load parameters learns the position θ, velocity θ', acceleration θ'' and difference τ real -τ mdl The neural network that learns the torque error is constructed so that the hand load parameter output by inputting the position θ, velocity θ', acceleration θ'' and hand load parameter is the correct label, and the torque error output is the difference τ real -τ mdl The hand load estimation device 1 corrects the inference result of the hand load parameter based on the inference result of the torque error. In this case, too, the hand load estimation device 1 can estimate the hand load parameter from which the influence of the modeling error and the influence of the characteristics outside the model are removed, and can obtain a highly accurate estimation result of the hand load parameter.
[0046] Embodiment 2 In the second embodiment, a case where learning is performed using data when no load is applied to the hand using GPR (Gaussian Process Regression) will be described. Hereinafter, the state where no load is applied to the hand will be referred to as "no load." FIG. 6 is a diagram showing the configuration of a hand load estimation device 2 according to the second embodiment. In the second embodiment, the same components as those in the first embodiment are given the same reference numerals, and the configuration different from the first embodiment will be mainly described.
[0047] The hand load estimation device 2 has an input unit 11, inverse dynamics model units 12 and 12b, a learning unit 13b, a learning result storage unit 14b, and an inference unit 15b. During learning by the learning unit 13b, the inverse dynamics model unit 12 calculates a nominal torque τ from the position θ, velocity θ', and acceleration θ'' at no load based on an inverse dynamics model in which nominal parameters are set. mdl The learning unit 13b calculates the position θ, velocity θ′, and acceleration θ″ at no load, and the difference τ real -τ mdl The learning unit 13b uses the learning data to learn the hand load parameters from which the modeling error at no load and the influence of the characteristics outside the model have been removed. The learning unit 13b stores the learning results in the learning result storage unit 14b.
[0048] When the inference unit 15b performs inference, the inverse dynamics model unit 12b calculates an estimated torque τ est The inference unit 15b calculates the position θ, velocity θ′, and acceleration θ″ of each joint as inference data, and the difference τ real -τ est The inference unit 15b also reads out the learning result by the learning unit 13b from the learning result storage unit 14b. The inference unit 15b estimates the hand load parameters based on the learning result by the learning unit 13b.
[0049] FIG. 7 is a diagram for explaining GPR used for learning in the second embodiment. GPR is a method used for estimating a nonlinear function y=f(x). In GPR, assuming that the observed value y follows a super-multidimensional Gaussian distribution N(u,S), an internal parameter z of a kernel function S is adjusted so that the likelihood p(f|z) in Bayesian estimation is maximized. The Gaussian distribution N(u,S) is determined by a mean function u(x) corresponding to a certain average value and a kernel function S(x,x') corresponding to a certain variance value. The estimated function f~N(u,S) is output as a distribution of functions. In a region where the kernel function S is large, the uncertainty of the output y for the input x becomes large. The following formula (8) represents the estimated function f~N(u,S).
[0050]
number
[0051] The learning unit 13b equipped with GPR receives the position θ, velocity θ′, and acceleration θ″ under no load as learning data, and calculates the difference τ real -τ mdl The learning unit 13b learns the distribution of a function having an output of θ. The learning unit 13b stores the obtained distribution of the function in the learning result storage unit 14b. The learning data may be only a part of the data of the position θ, the velocity θ', and the acceleration θ''. For example, only the data of the velocity θ' out of the position θ, the velocity θ', and the acceleration θ'' may be input to the learning unit 13b as the learning data. In this way, the learning unit 13b may reduce the dimension of the input data by limiting the input data to only a part of the data of the position θ, the velocity θ', and the acceleration θ''.
[0052] The inference unit 15b may obtain the estimation result of the hand load parameter by using a histogram filter, which is a type of Bayes filter. In the histogram filter, the existence range of the parameter to be estimated is divided into specific intervals, and a candidate point is set for each interval, and the existence probability of each candidate point is updated based on the time series data.
[0053] 8 is a diagram for explaining a histogram filter used for inference in the second embodiment. The inverse dynamics model unit 12b reads out the distribution of the function, which is the result of GPR learning, from the learning result storage unit 14b, and corrects the inverse dynamics model based on the distribution of the function. The inverse dynamics model unit 12b calculates an estimated torque τ est Output.
[0054] Actual torque τ of the inference data when a load is applied to the hand and the robot is operated real and the estimated torque τ est Difference τ real -τ est can be considered as the offset torque generated by the load. Hereinafter, the offset torque is referred to as the offset torque Δτ. The inference unit 15b prepares candidate points for the parameters to be estimated, and outputs the candidate point with the highest probability of obtaining the actual offset torque Δτ data for the position θ, velocity θ', and acceleration θ'' as the hand load parameter estimation result.
[0055] In Fig. 8, the parameter to be estimated is only one type, for example, the mass of the hand. In Fig. 8, the range of possible mass values is divided into j equal parts, and the candidate points m1, m2, . . . , m j A candidate point m is one of i In the above example, the probability of obtaining the input offset torque Δτ data is maximized. j is an arbitrary integer, and i is an integer that satisfies 1≦i≦j. When there are K types of parameters to be estimated, the range of each parameter is divided into j parts. K It is possible to prepare candidate points, where K is an integer equal to or greater than 2.
[0056] The interval of the candidate points may be different for each type of parameter to be estimated. When updating the existence probability of each candidate point by inputting data of the position θ, velocity θ', and offset torque Δτ for the acceleration θ'' at time t, the inference unit 15b may change the possible range of each parameter to be estimated or the interval of each parameter.
[0057] Histogram filter candidate point m i The probability of existence of p i Then, the expected value of the amount of information of the entire histogram filter is expressed by the following equation (9).
[0058]
number
[0059] H in formula (9) is called entropy. Entropy H has a positive value. The closer entropy H is to zero, the more the histogram filter converges to a candidate point. In order to avoid adverse effects of outliers in the inference data, the inference unit 15b may calculate entropy H every time data at time t is input, and may consider the data to be valid only when entropy H is smaller than the previously calculated value of entropy H, and may update the existence probability of each candidate point.
[0060] According to the second embodiment, the hand load estimation device 2 learns the hand load parameters based on the learning data at no load, and infers the hand load parameters based on the actual torque and the estimated torque at no load. This allows the hand load estimation device 2 to obtain a highly accurate estimation result of the hand load parameters.
[0061] In the second embodiment, the hand load estimation device 2 performs learning using data obtained when the robot is operated without a load, but this is not limited to the above. The hand load estimation device 2 may perform learning using data obtained when the robot is operated with a load, the hand load parameters of which are known, such as mass or center of gravity position, attached to the hand. That is, the hand load estimation device 2 estimates the actual torque τ real and the nominal torque τ calculated based on the unloaded parameters. mdl Difference τ real -τ mdl Instead of learning by GPR, the actual torque τ real and the nominal torque τ calculated based on the known hand load parameters. mdl Difference τ real -τ mdl The hand load estimation device 2 learns the actual torque τ real and the estimated torque τ assuming that the same load as during learning is attached to the hand. est Difference τ real -τ est From this, the hand load parameters can be estimated using a histogram filter.
[0062] In the learning in the second embodiment, a learning method of an approximation function instead of GPR may be applied to learn a nonlinear unknown function. For example, a method such as Neural Processes or GP Net may be applied to the learning. Neural Processes is known as a method of learning a neural network that generates a model of a stochastic process from data. GP Net is known as a method of approximating a predictive distribution by data using a Bayesian neural network, assuming that the prior distribution of an unknown function follows a Gaussian process. In these methods, the average value and variance value of a function can be output, as in the case of GPR. In addition, in the inference in the second embodiment, a method such as Particle Swarm Optimization (PSO), Genetic Algorithm (GA), or Simulated Annealing (SA), which are known as methods for solving combinatorial optimization problems, may be applied to update the candidate points of the hand load parameters to match the data of the offset torque Δτ.
[0063] In the second embodiment, the learning by GPR may be combined with other learning to learn a nonlinear unknown function. For example, learning is performed by using the data input in the learning by GPR as the input of a neural network, and using the average value and variance value of the function output by the GPR as teacher signals. In this case, the hand load estimating device 2 can output the average value and variance value at the time of inference using the trained neural network.
[0064] Embodiment 3 In the third embodiment, a case where joint temperature data is used for learning will be described. Fig. 9 is a diagram showing the configuration of a hand load estimating device 3 according to the third embodiment. In the third embodiment, the same components as those in the first or second embodiment are given the same reference numerals, and the configuration different from the first or second embodiment will be mainly described.
[0065] The hand load estimation device 3 has an input unit 11, an inverse dynamics model unit 12, a learning unit 13c, a learning result storage unit 14c, and an inference unit 15c. A position FB value, which is position data, a current FB value, which is current data, and a temperature feedback (FB) value, which is temperature data, are input to the input unit 11. The temperature FB value is the temperature of each joint when the robot is operating.
[0066] The learning unit 13c stores, as learning data, the position θ, velocity θ′, and acceleration θ″ of each joint based on the input data at the time of learning, and the difference τ real -τ mdl and temperature data of each joint. The learning unit 13c uses the learning data to learn hand load parameters from which the influence of temperature dependency of friction characteristics in the joints has been removed. The learning unit 13c stores the learning results in the learning result storage unit 14c.
[0067] The inference unit 15c stores, as inference data, the position θ, velocity θ′, and acceleration θ″ of each joint based on the input data at the time of inference, and the difference τ real -τ mdl and the temperature data of each joint are input. The inference unit 15c also reads out the learning result by the learning unit 13c from the learning result storage unit 14c. The inference unit 15c estimates the hand load parameters based on the learning result by the learning unit 13c.
[0068] The temperature dependency of frictional characteristics is one of the factors of modeling error or out-of-model characteristics. According to the third embodiment, the hand load estimation device 3 learns hand load parameters from which the influence of the temperature dependency of frictional characteristics has been removed, and infers the hand load parameters based on the learning results. The hand load estimation device 3 can obtain highly accurate estimation results of the hand load parameters by being able to infer hand load parameters from which the influence of the temperature dependency of frictional characteristics has been reduced. Note that the same learning and inference as in the third embodiment may be applied to the hand load estimation devices 1 and 2 of the first and second embodiments.
[0069] Embodiment 4 In the fourth embodiment, a case will be described where motion data, which is data on the position θ, velocity θ', and acceleration θ'' of each joint, is converted into variables. FIG. 10 is a diagram showing the configuration of a hand end load estimating device 4 according to the fourth embodiment. In the fourth embodiment, the same components as those in the first to third embodiments are given the same reference numerals, and the configuration different from the first to third embodiments will be mainly described.
[0070] The hand load estimation device 4 has an input unit 11, an inverse dynamics model unit 12, a learning unit 13d, a learning result storage unit 14d, an inference unit 15d, and a variable conversion unit 16. The position θ, velocity θ', and acceleration θ'' calculated from the position data are input to the variable conversion unit 16. The variable conversion unit 16 converts the position θ, velocity θ', and acceleration θ'' into variables for setting a torque equation linearized with respect to the hand load parameters. The variable conversion unit 16 outputs the converted variables.
[0071] During learning by the learning unit 13d, the variable conversion unit 16 converts the data of the position θ, velocity θ', and acceleration θ'' obtained from the input data during learning into variables, and outputs the variables to the learning unit 13d. During inference by the inference unit 15d, the variable conversion unit 16 converts the data of the position θ, velocity θ', and acceleration θ'' obtained from the input data during inference into variables, and outputs the variables to the inference unit 15d. Note that in FIG. 10, for the convenience of separately showing the data flow during learning and the data flow during inference, the variable conversion unit 16 is shown as being divided into two.
[0072] The learning unit 13d stores, as learning data, variables converted from data on the position θ, velocity θ′, and acceleration θ″ of each joint, and the difference τ real -τ mdl The learning unit 13d uses the learning data to learn the hand load parameters from which the influence of the modeling error of the inverse dynamics model and the influence of the out-of-model characteristics have been removed. The learning unit 13d stores the learning results in the learning result storage unit 14d.
[0073] The inference unit 15d stores, as inference data, variables converted from the data of the position θ, velocity θ′, and acceleration θ″ of each joint, and the difference τreal -τ mdl The inference unit 15d reads out the learning result by the learning unit 13d from the learning result storage unit 14d. The inference unit 15d estimates the hand load parameters based on the learning result by the learning unit 13d.
[0074] The equations of motion for a robot are nonlinear with respect to position θ, velocity θ', and acceleration θ''. However, if a parameter vector M is made up of parameters such as the mass and center of gravity of the load arranged in the form (mass) x (center of gravity), the equations of motion can be linearized as shown in the following equation (10). K(θ,θ',θ'') is called the regressor matrix. K(θ,θ',θ'') are variables converted from the position θ, velocity θ', and acceleration θ'' of each joint.
[0075]
number
[0076] The above RNN and GPR can handle processing by nonlinear regression. The hand load estimation device 4 can handle processing handled by nonlinear regression as processing in a linear domain by converting the data of the position θ, velocity θ', and acceleration θ'' into variables. This enables the hand load estimation device 4 to learn and infer by simple processing. The hand load estimation device 4 can obtain highly accurate estimation results of hand load parameters by simple processing. The same variable conversion as in the fourth embodiment may be applied to the hand load estimation devices 1, 2, and 3 of the first to third embodiments. In the seventh embodiment described later, an example will be described in which a regressor matrix is applied to inference by combining sequential identification of hand load parameters and probability distribution.
[0077] Embodiment 5. In the fifth embodiment, a case will be described in which information on friction characteristics related to the position θ, velocity θ', or acceleration θ'' of each joint is used for learning. FIG. 11 is a diagram showing the configuration of a hand end load estimating device 5 according to the fifth embodiment. In the fifth embodiment, the same components as those in the first to fourth embodiments are given the same reference numerals, and the configuration different from the first to fourth embodiments will be mainly described.
[0078] The hand load estimation device 5 includes an input unit 11, an inverse dynamics model unit 12, a learning unit 13e, a learning result storage unit 14e, and an inference unit 15e. The learning unit 13e stores, as learning data, the position θ, velocity θ′, and acceleration θ″ of each joint based on the input data during learning, and the difference τ real -τ mdl is entered.
[0079] Further, information on friction characteristics is input to the learning unit 13e. The information on friction characteristics input to the learning unit 13e is information identified in advance separately from the learning data, and is information related to at least one of the position θ, velocity θ', and acceleration θ'' of each joint. Note that the fact that the friction characteristics are related to at least one of the position θ, velocity θ', and acceleration θ'' means that the friction characteristics change in response to a change in at least one of the position θ, velocity θ', and acceleration θ''.
[0080] The learning unit 13e learns hand load parameters from which the influence of friction characteristics related to the position θ, velocity θ', or acceleration θ'' of each joint has been removed by learning using the learning data and information on friction characteristics. The learning unit 13e stores the learning results in the learning result memory unit 14e. The inference unit 15e reads out the learning results by the learning unit 13e from the learning result memory unit 14e. The inference unit 15e estimates the hand load parameters based on the learning results by the learning unit 13e.
[0081] Friction characteristics related to position θ, velocity θ' or acceleration θ'' are cited as one of the causes of modeling error or characteristics outside the model. According to embodiment 5, the hand load estimation device 5 learns hand load parameters from which the influence of friction characteristics related to the position θ, velocity θ' or acceleration θ'' of each joint has been removed, and infers the hand load parameters based on the learning results. The hand load estimation device 5 is capable of inferring hand load parameters from which the influence of friction characteristics related to position θ, velocity θ' or acceleration θ'' has been reduced, thereby making it possible to obtain highly accurate estimation results of the hand load parameters.
[0082] Information on friction characteristics related to the temperature of each joint may be input to the learning unit 13e. The information on friction characteristics related to the temperature of each joint is information identified in advance separately from the learning data. In this case, the learning unit 13e learns hand load parameters from which the influence of the friction characteristics related to the temperature of each joint has been removed. The friction characteristics being related to temperature means that the friction characteristics change in response to a change in temperature. In this case as well, the hand load estimation device 5 can obtain a highly accurate estimation result of the hand load parameters. The same learning as in the fifth embodiment may be applied to the hand load estimation devices 1, 2, 3, and 4 of the first to fourth embodiments.
[0083] Embodiment 6 In the sixth embodiment, a case where an index indicating the reliability of a hand load parameter is calculated and output will be described. Fig. 12 is a diagram showing the configuration of a hand load estimating device 6 according to the sixth embodiment. In the sixth embodiment, the same components as those in the first to fifth embodiments are given the same reference numerals, and the configuration different from the first to fifth embodiments will be mainly described.
[0084] The hand load estimation device 6 includes an input unit 11, an inverse dynamics model unit 12, a learning unit 13f, a learning result storage unit 14f, and an inference unit 15f. The learning unit 13f uses learning data to learn hand load parameters from which the influence of temperature dependency of friction characteristics in joints has been removed. The learning unit 13f stores the learning results in the learning result storage unit 14f. The inference unit 15f reads out the learning results of the learning unit 13f from the learning result storage unit 14f. The inference unit 15f infers the hand load parameters based on the learning results of the learning unit 13f. Furthermore, the learning unit 13f calculates a reliability index and stores the calculation result in the learning result storage unit 14f. The inference unit 15f reads out the reliability index from the learning result storage unit 14f, and outputs the reliability index together with the inference result of the hand load parameters.
[0085] When performing inference using a neural network, the reliability index can be obtained by using a measure that represents the difference between the probability distribution at the time of learning and the probability distribution at the time of inference. As the measure, there are JS divergence (Jensen-Shannon divergence), KL divergence (Kullback-Leibler divergence), etc., and any of them may be used. The learning unit 13f sets the average value and variance for each parameter as the output of the neural network. Here, the measure that represents the difference is the difference between the probability distribution of the correct label and the probability distribution of the inference value expressed by the average value and variance obtained as the output of the neural network, and is a value obtained by calculating using KL divergence or the like. The correct label is a teacher signal for the average value. The learning unit 13f performs learning so as to bring the average value and variance of each parameter closer to the probability distribution of the correct label by constructing a neural network. The hand load estimation device 6 treats the average value of each parameter as an estimated value and the variance as an index of reliability. The smaller the variance, the higher the reliability of the estimated value is evaluated.
[0086] When making inferences using neural networks, the output results from Dropout can also be used as a reliability index. Dropout is known as a technique in which each unit of a neural network is randomly set to be used or not used at a certain rate during learning. In this case, several neural networks are prepared in which units are randomly used or not used at the same rate during inference, and estimations are made with each of them, ensuring variation in the estimations. The average value of multiple estimation results is treated as the estimate, and the variance is treated as a reliability index, with the smaller the variance, the higher the reliability of the estimate is evaluated.
[0087] When inference is made using a histogram filter, the magnitude of the certainty of the histogram filter can be used as a reliability index. In this case, the greater the probability of the candidate point that shows the maximum existence probability when normalized so that the sum of the existence probabilities at all candidate points is 1, the higher the reliability of the estimated value is evaluated. It can also be evaluated that the smaller the value of the entropy H of the histogram filter calculated by the above formula (9), the higher the reliability of the estimated value.
[0088] When learning using GPR, the variance of the distribution of the function obtained as a result of learning can be used as a reliability index. In this case, the smaller the variance of the distribution of the torque error function indicated by GPR in the region of the position θ, velocity θ', and acceleration θ'' at the time of inference, the higher the reliability of the estimated value is evaluated to be.
[0089] According to the sixth embodiment, the hand load estimation device 6 calculates an index indicating the reliability of the hand load parameter and outputs the reliability index together with the inference result of the hand load parameter, thereby making it possible to evaluate the reliability of the estimated hand load parameter.
[0090] Embodiment 7 In the seventh embodiment, an example will be described in which the inference unit outputs a reliability index together with the estimated value of the hand load parameter. Fig. 13 is a diagram showing the configuration of a hand load estimation device 7 according to the seventh embodiment. In the seventh embodiment, the same components as those in the first to sixth embodiments are given the same reference numerals, and the configuration different from the first to sixth embodiments will be mainly described.
[0091] The hand load estimation device 7 has an input unit 11, inverse dynamics model units 12, 12g, a learning unit 13g, a learning result storage unit 14g, an inference unit 15g, and a variable conversion unit 16. When the learning unit 13g performs learning, the variable conversion unit 16 converts the position θ, velocity θ', and acceleration θ'' that are motion data obtained from the input data at the time of learning into variables, and outputs the variables to the learning unit 13g. When the inference unit 15g performs inference, the variable conversion unit 16 converts the position θ, velocity θ', and acceleration θ'' obtained from the input data at the time of inference into variables, and outputs the variables to the inference unit 15g.
[0092] The learning unit 13g receives, as learning data, K(θ, θ′, θ′′) and the difference τ real -τ mdl The regressor matrix K(θ, θ′, θ″) is a variable converted from the position θ, velocity θ′, and acceleration θ″, as described in the fourth embodiment. Furthermore, information on nominal parameters is input to the learning unit 13g. The learning unit 13g equipped with GPR receives the position θ, velocity θ′, and acceleration θ″ at no load, which are learning data, as input, and calculates the difference τ real -τ mdl The learning unit 13g learns the distribution of a function having an output of . The learning unit 13g stores the distribution of the function, which is the learning result, in the learning result storage unit 14g.
[0093] The inverse dynamics model unit 12g reads out the distribution of the function, which is the result of the GPR learning, from the learning result storage unit 14g, and corrects the inverse dynamics model based on the distribution of the function. The inverse dynamics model unit 12g calculates an estimated torque τ est Output.
[0094] The inference unit 15g receives K(θ, θ′, θ″) and the offset torque Δτ as inference data. real and the estimated torque τ est Difference τ real -τ est The inference unit 15g reads out the learning result by the learning unit 13g from the learning result storage unit 14g. The inference unit 15g estimates the hand load parameters based on the learning result by the learning unit 13g.
[0095] The K(θ,θ′,θ′′) and the parameter vector M in the above equation (10) can be expanded to include a term related to the friction torque. real Using as input Y, a vector in which θ, θ′, and θ″ are arranged, K, a regret matrix calculated by variable conversion unit 16 from the position θ, velocity θ′, and acceleration θ″ at each time, and the nominal parameters included in the inverse dynamics model, an optimal solution for parameter vector M is calculated such that the nominal torque calculated by the above equation (10) at no load matches the actual torque. The optimal solution for parameter vector M is expressed by the following equation (11). In equation (11), M with "^" above it represents the optimal solution for parameter vector M. M with " ̄" above it represents the nominal parameter. T represents the transpose matrix. W represents the weighting matrix.
[0096]
number
[0097] The following equation (12) holds for the offset torque Δτ and the hand load parameter vector m to be estimated: This allows the inference unit 15g to estimate the hand load parameter vector m by any linear regression method.
[0098]
number
[0099] When Bayesian linear regression is used as the linear regression method, the inference unit 15g can output an index regarding the reliability of the estimation result together with the estimation result of the hand load parameter.
[0100] FIG. 14 is a conceptual diagram for explaining the update of the probability distribution by Bayesian linear regression in the seventh embodiment. The prior probability distribution N(m|u0,S0) is updated to the posterior probability distribution N(m|u,S) by the observation data Δτ,K(θ,θ′,θ″). Such updating is repeated. In the Bayesian linear regression, the hand load parameter vector m when the data at time t is input is assumed to follow the probability distribution N(m|u,S), and the mean u and variance S are updated according to the following formulas (13) and (14), respectively. u0 represents the prior probability distribution of the mean. S0 represents the prior probability distribution of the variance. β is a parameter representing the inverse of the covariance of the torque error, and is set according to the noise distribution included in the torque data.
[0101]
number
[0102] The inference unit 15g outputs the mean u of the probability distribution as an estimate of the hand load parameter. The inference unit 15g also outputs the variance S of the probability distribution as an index of reliability. The smaller the variance S, the higher the reliability of the estimate is evaluated.
[0103] According to the seventh embodiment, the hand load estimating device 7 outputs an index of reliability together with the inference result of the hand load parameter, thereby making it possible to evaluate the reliability of the estimated hand load parameter.
[0104] Embodiment 8 FIG. 15 is a diagram showing a configuration of a robot system 8 according to an eighth embodiment. The robot system 8 includes a robot control system 9 and a robot 40. The robot control system 9 includes a hand load estimation device 1 and a robot control device 30 that controls the robot 40. In the eighth embodiment, the robot control device 30 adjusts the acceleration / deceleration of the robot 40 based on the hand load parameters output from the hand load estimation device 1 while the robot 40 is in operation. In the eighth embodiment, the same components as those in the first to seventh embodiments are denoted by the same reference numerals, and the configuration different from the first to seventh embodiments will be mainly described. The robot system 8 may include the hand load estimation device according to any one of the first to seventh embodiments.
[0105] The robot controller 30 has a command generating unit 31. The robot controller 30 receives the hand load parameters output from the hand load estimation device 1. The command generating unit 31 generates a command to be sent to the robot 40 based on the hand load parameters output from the hand load estimation device 1. The robot controller 30 sends the generated command to the robot 40.
[0106] The hand load estimation device 1 is communicably connected to the robot control device 30. The hand load estimation device 1 is not limited to being an external device to the robot control device 30. The hand load estimation device 1 may be built into the robot control device 30. The learning and inference in any one of the first to seventh embodiments may be performed inside the robot control device 30.
[0107] Alternatively, of the learning unit 13 and the inference unit 15 of the hand load estimation device 1, the learning unit 13 may be realized by a device outside the robot control device 30, and the inference unit 15 may be built into the hand load estimation device 1 inside the robot control device 30. In this case, a learning device having the input unit 11, the inverse dynamics model unit 12, the learning unit 13, and the learning result storage unit 14 is provided outside the robot control device 30. Also, the input unit 11 and the inverse dynamics model unit 12 similar to the learning device, and the inference unit 15 that performs inference based on a learned model read from the learning result storage unit 14 of the learning device are provided in the hand load estimation device 1 inside the robot control device 30. In this way, the learning in any one of the first to seventh embodiments may be performed outside the robot control device 30, and the inference in any one of the first to seventh embodiments may be performed inside the robot control device 30.
[0108] Next, a description will be given of how the robot controller 30 changes the acceleration and deceleration of the robot 40. The robot controller 30 has a function of calculating the shortest acceleration time and deceleration time within a range that does not exceed the allowable value of the torque that operates each joint. The robot controller 30 obtains the acceleration time and deceleration time by calculating an equation of motion for each of the acceleration start point, acceleration end point, deceleration start point, and deceleration end point of the robot 40 using the hand load parameters. The robot controller 30 changes the acceleration and deceleration based on the acceleration time and deceleration time.
[0109] The robot controller 30 calculates the deceleration start point and the deceleration end point using the hand load parameters estimated from the data up to the acceleration / deceleration end point. In this case, the deceleration time can be shortened compared to the case where the deceleration time is calculated based on the hand load parameters set to a conservative fixed value so that the actual torque does not exceed the allowable value. By being able to shorten the deceleration time within a range that does not exceed the allowable torque value, the robot controller 30 can realize an increase in the speed of the robot 40 without excessive torque.
[0110] When an index indicating the reliability of the estimation result is obtained together with the hand load parameter estimation result, the robot controller 30 may further adjust the acceleration / deceleration speed according to the index of reliability. For example, the robot controller 30 may reflect the reliability in the value of the hand load parameter used in the calculation of the optimal acceleration / deceleration. In this case, the robot controller 30 may correct the hand load parameter in a conservative direction according to the reliability within a range in which the deceleration time is not longer than when the hand load parameter is a fixed value.
[0111] The robot controller 30 may reflect the reliability in the deceleration time calculated using the estimated hand load parameter value as is. In this case, the robot controller 30 uses the deceleration time calculated using the estimated hand parameter value as is multiplied by a correction coefficient a (where a>1) according to the reliability as the deceleration time of the robot 40.
[0112] The robot control device 30 may use the estimated hand load parameter when calculating the acceleration time and deceleration time of the next operation that is continued under load after one operation to obtain data used to estimate the hand load parameter is completed.
[0113] According to the eighth embodiment, the robot system 8 can realize high speed operation of the robot 40 by changing the acceleration / deceleration of the robot based on the hand load parameters.
[0114] Embodiment 9 In the ninth embodiment, an example of adjusting parameters for detecting a collision of the robot 40 in the robot system 8 will be described with reference to Fig. 15. The robot control device 30 adjusts a threshold value, which is a parameter for detecting a collision of the robot 40, based on a hand load parameter while the robot 40 is in operation. The threshold value is a threshold value for determining whether or not the robot 40 has collided with an obstacle.
[0115] The robot controller 30 has a function of detecting a collision by comparing the actual torque and estimated torque of each joint. When the actual torque is greater than the estimated torque and the difference between the actual torque and the estimated torque is greater than a preset threshold, the robot controller 30 determines that the robot 40 has collided with an obstacle. A margin is set in advance for the threshold to prevent erroneous detection due to an error between the actual torque and the estimated torque when the robot 40 is operating normally. In addition, the robot controller 30 can increase the collision detection sensitivity by adjusting the threshold based on the hand load parameters, compared to when the threshold is fixed.
[0116] When an index indicating the reliability of the estimation result is obtained together with the estimation result of the hand load parameter, the robot controller 30 may further adjust the threshold value according to the index of reliability. For example, the robot controller 30 can reflect the reliability in the value of the hand load parameter used in the calculation of the estimated torque. In this case, the robot controller 30 can adjust the threshold value based on the hand load parameter corrected according to the reliability, thereby adjusting the threshold value in a so-called conservative direction.
[0117] The robot controller 30 may reflect the reliability of the threshold calculated by directly using the value of the hand load parameter, which is the estimation result. In this case, the robot controller 30 calculates the estimated torque by directly using the estimation result of the hand parameter, and adjusts the threshold by multiplying the threshold calculated based on the estimated torque by a correction coefficient b (where b>1) according to the reliability.
[0118] As in the eighth embodiment, the hand load estimation device 1 is not limited to being a device external to the robot control device 30. The hand load estimation device 1 may be built into the robot control device 30. The learning and inference in any one of the first to seventh embodiments may be performed inside the robot control device 30. Alternatively, the learning in any one of the first to seventh embodiments may be performed outside the robot control device 30, and the inference in any one of the first to seventh embodiments may be performed inside the robot control device 30.
[0119] According to the ninth embodiment, the robot system 8 can reduce collisions of the robot 40 with obstacles and improve the safety of the robot 40 by adjusting parameters for collision detection based on the hand load parameters.
[0120] Next, a hardware configuration for realizing the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 according to the first to seventh embodiments will be described. Fig. 16 is a diagram showing a first example of the hardware configuration for realizing the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 according to the first to seventh embodiments. The first example of the hardware configuration is a configuration example in which the inverse dynamics model units 12, 12b, and 12g, the learning units 13, 13a, 13b, 13c, 13d, 13e, 13f, and 13g, the inference units 15, 15a, 15b, 15c, 15d, 15e, 15f, and 15g, and the variable conversion unit 16, which are the main parts of the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7, are realized by a processing circuit 51 having a processor 53 and a memory 54.
[0121] The input unit 52 is a circuit that receives an input signal for the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 from the outside. The input unit 11 shown in FIG. 1 and the like is realized by the input unit 52. The output unit 55 is a circuit that outputs a signal generated by the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 to the outside. The output unit 55 outputs hand load parameters that are the estimation results and an index of reliability in the sixth and seventh embodiments.
[0122] The processor 53 is a CPU (Central Processing Unit). The processor 53 may be an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor). The memory 54 is, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), or a non-volatile or volatile semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disk).
[0123] The processor 53 executes a hand load estimation program. The hand load estimation program is a program in which processing is described for each part constituting the main part of the hand load estimation device 1, 2, 3, 4, 5, 6, 7. The hand load estimation program is stored in advance in the memory 54. The processor 53 reads out and executes the hand load estimation program stored in the memory 54 to operate as each part constituting the main part of the hand load estimation device 1, 2, 3, 4, 5, 6, 7. The memory 54 also stores various information. The learning result storage units 14, 14a, 14b, 14c, 14d, 14e, 14f, 14g are realized by the memory 54. The memory 54 is also used as a temporary memory when the processor 53 executes various processes.
[0124] The hand load estimation program is stored in advance in the memory 54, but is not limited to this. The hand load estimation program may be provided to a user of the hand load estimation device 1, 2, 3, 4, 5, 6, 7 in a state written in a storage medium readable by a computer system, and may be installed in the memory 54 by the user. The storage medium may be a portable storage medium such as a flexible disk, or a flash memory such as a semiconductor memory. The hand load estimation program may be installed in the memory 54 from another computer or a server device via a communication network.
[0125] The main parts of the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 according to the first to seventh embodiments may be realized by dedicated hardware. Fig. 17 is a diagram showing a second configuration example of the hardware that realizes the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 according to the first to seventh embodiments. The second configuration example is a configuration example in which the function of the processing circuit 51 shown in Fig. 16 is realized by a processing circuit 56 that is dedicated hardware.
[0126] The processing circuit 56 is, for example, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a combination of these. In the example shown in FIG. 17, the main parts of the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 are realized by a single processing circuit 56, but this is not limited to this. The hardware may include multiple processing circuits 56, and the main parts of the hand load estimation devices 1, 2, 3, 4, 5, 6, and 7 may be realized by different processing circuits 56. The storage device 57 is a hard disk drive (HDD) or a solid state drive (SSD) and stores various information. The learning result storage units 14, 14a, 14b, 14c, 14d, 14e, 14f, and 14g are realized by the storage device 57.
[0127] Incidentally, a part of the main components of the hand load estimating devices 1, 2, 3, 4, 5, 6, and 7 may be realized by the processor 53 and memory 54 shown in FIG.
[0128] The configurations shown in the above embodiments are examples of the contents of the present disclosure. The configurations of each embodiment can be combined with other known technologies. The configurations of each embodiment can be appropriately combined. A part of the configuration of each embodiment can be omitted or modified without departing from the gist of the present disclosure. [Explanation of symbols]
[0129] 1,2,3,4,5,6,7 Hand load estimation device, 8 Robot system, 9 Robot control system, 11,52 Input section, 12,12b,12g Inverse dynamics model section, 13,13a,13b,13c,13d,13e,13f,13g Learning section, 14,14a,14b,14c,14d,14e,14f,14g Learning result storage section, 15,15a,15b,15c,15d,15e,15f,15g Inference section, 16 Variable transformation section, 21 Input layer, 22 Hidden layer, 23 Output layer, 24,25,26 Neuron, 27 Torque sensor, 30 Robot control device, 31 Command generation section, 40 Robot, 51,56 Processing circuit, 53 Processor, 54 Memory, 55 Output section, 57 memory device.
Claims
1. A hand load estimation device that estimates a hand load parameter which is a parameter regarding a load applied to a hand of a robot, comprising: an inverse dynamics model unit that outputs a nominal torque value, which is a torque calculated based on an inverse dynamics model, by inputting motion data, which is at least one of data on a position, a velocity, and an acceleration of a joint of the robot, into the inverse dynamics model; a learning unit that learns the hand load parameters from which an influence of a modeling error of the inverse dynamics model and an influence of a characteristic of the robot that is not included in the inverse dynamics model are removed, based on learning data including the motion data and a difference between the actual torque and the nominal torque of the joint; an inference unit to which inference data including the motion data and the difference between the actual torque and the nominal torque is input, and which infers the hand load parameter based on a learning result by the learning unit; A hand load estimation device comprising:
2. Position data representing positions of the joints is input to the hand load estimation device, 2. The hand load estimating device according to claim 1, wherein the movement data obtained from the position data is input to the inverse dynamics model section, the learning section and the inference section.
3. The hand load estimating device according to claim 2 , wherein the position data is a command value for controlling the joint or a feedback value of the position of the joint.
4. 4. The hand load estimating device according to claim 1, wherein the actual torque value for calculating the difference is a value obtained by multiplying the current data of the joint by a torque constant.
5. 4. The hand load estimation device according to claim 1, wherein the actual torque value for calculating the difference is a torque value detected by a torque sensor provided in the robot.
6. A hand load estimation device as described in any one of claims 1 to 5, characterized in that the movement data when a load is applied to the hand, the difference calculated based on the actual torque and the nominal torque when a load is applied to the hand, and a correct label of the hand load parameter are input to the learning unit.
7. The motion data when no load is applied to the hand and the difference calculated based on the actual torque and the nominal torque when no load is applied to the hand are input to the learning unit, 6. The hand load estimation device according to claim 1, wherein the inference unit infers the hand load parameter based on a difference between the actual torque and an estimated torque, which is the nominal torque when no load is added to the hand.
8. The motion data when a load having a known hand load parameter is applied to the hand, and the difference calculated based on the actual torque and the nominal torque when a load having a known hand load parameter is applied to the hand are input to the learning unit, The hand load estimation device according to any one of claims 1 to 5, characterized in that the inference unit infers the hand load parameter based on a difference between the actual torque and an estimated torque, which is the nominal torque when a load, the hand load parameter of which is known, is applied to the hand.
9. 9. The hand load estimating device according to claim 1, wherein information on friction characteristics related to at least one of the position, velocity, and acceleration of the joint is input to the learning section.
10. A hand load estimation device as described in any one of claims 1 to 5, characterized in that temperature data indicating the temperature of the joint is input to the learning unit, and the learning unit learns the hand load parameters that do not include errors due to the temperature dependence of friction characteristics in the joint.
11. 11. The hand load estimating device according to claim 10, wherein information on friction characteristics related to at least one of the position, velocity, acceleration, and temperature of the joint is input to the learning section.
12. A variable conversion unit converts the motion data into variables for setting a linearized torque equation with respect to the hand load parameters, 12. The hand load estimating device according to claim 1, wherein the variables are input to the learning section and the inference section.
13. The learning unit calculates an index indicating a reliability of the hand load parameter, 13. The hand load estimating device according to claim 1, wherein the inference unit outputs the index together with an inference result of the hand load parameter.
14. the estimated value of the hand load parameter obtained by the inference unit is an average value of a probability distribution updated by sequential identification from the motion data and the difference, 14. The hand load estimating device according to claim 13, wherein the index indicating the reliability of the estimated value is a variance value of the probability distribution.
15. A hand load estimation device according to any one of claims 1 to 14, a robot control device that generates a command to be sent to a robot based on the hand load parameters output from the hand load estimation device; A robot control system comprising:
16. 16. The robot control system according to claim 15, wherein the robot control device adjusts the acceleration / deceleration of the robot based on the hand load parameter while the robot is in operation.
17. 17. The robot control system according to claim 15, wherein the robot control device adjusts a parameter for detecting a collision of the robot based on the hand load parameter while the robot is in operation.
18. 18. The robot control system according to claim 15, wherein the hand load estimating device is provided inside the robot control device.
19. 18. A robot control system according to claim 15, wherein an inference section of the hand load estimating device that infers the hand load parameter is provided inside the robot control device.
20. A robot control system according to any one of claims 15 to 19; a robot that operates according to commands from the robot control system; A robot system comprising:
Citation Information
Patent Citations
Parameter estimation apparatus, parameter estimation method, program, and control apparatus
JP2016215357A
Control device and learning device
JP2020097072A
Load parameter identification method
JP4137673B2
Control device, control method, and control system
WO2020017370A1
