Method for adjusting force control parameter for force-controlled operation of robot, robot system, and computer program

A three-step optimization process for force control parameters in robots addresses the challenge of workpiece physical characteristics, enhancing simulation accuracy and reducing actual machine operations to minimize damage, thereby optimizing force control adjustments.

JP2024146960AInactive Publication Date: 2024-10-16SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023059689
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-03
Publication Date
2024-10-16
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing methods for adjusting force control parameters in robots fail to consider the influence of workpiece physical characteristics, leading to difficulties in reproducing force and torque during contact, making it challenging to adjust these parameters effectively in simulation environments.

Method used

A method involving a three-step optimization process using a force control operation simulator to determine candidate values for force control parameters, including a first optimization process for simulation parameters, a second optimization process using a simulator, and a third optimization process with an actual robot, to accurately set and adjust force control parameters.

Benefits of technology

This approach allows for precise adjustment of force control parameters, reducing the need for extensive actual machine operations and minimizing the risk of workpiece damage by optimizing simulation parameters and force control parameters through a combination of simulation and actual robot testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146960000001_ABST
    Figure 2024146960000001_ABST
Patent Text Reader

Abstract

To provide a technology that can appropriately adjust a force control parameter for a robot.SOLUTION: A method disclosed herein includes the steps of: (a) determining a simulation parameter by executing, using a force control operation simulator, a first optimization process for a simulation parameter including physical characteristics of a workpiece that is to be subjected to a force control operation; (b) determining a candidate value group including one or more candidate values for a force control parameter by executing, using a simulator having been set with the simulation parameter, a second optimization process for the force control parameter; and (c) determining actual candidate values for the force control parameter from the candidate value group, and also determining the force control parameter by executing, using an actual robot having been set with the actual candidate values, a third optimization process for the force control parameter.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a method, a robot system, and a computer program for adjusting force control parameters for force-controlled motion of a robot. [Background technology]

[0002] Patent Document 1 discloses a technique for adjusting a model of a control target such as a robot or a machine tool. This conventional technique adjusts the model by comparing simulated operation data of the control target with actual operation data. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-3893 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, when adjusting the force control parameters of a robot through simulation, it is necessary to consider the effects of parameters related to the physical characteristics of the workpiece, etc. In other words, if the parameters related to the physical characteristics of the workpiece, etc. are not appropriately adjusted, it is not possible to reproduce the force and torque at the time of contact, which has led to the problem that it is difficult to adjust the force control parameters in a simulation environment. [Means for solving the problem]

[0005] According to a first aspect of the present disclosure, there is provided a method for adjusting a force control parameter for a force control operation of a robot, the method including: (a) using a simulator for the force control operation, executing a first optimization process for a simulation parameter including a physical characteristic of a workpiece to be subjected to the force control operation, thereby determining the simulation parameter, (b) using the simulator in which the simulation parameter is set, executing a second optimization process for the force control parameter, thereby determining a candidate value group including one or more candidate values ​​for the force control parameter, and (c) determining an actual candidate value for the force control parameter from the candidate value group, and executing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set, thereby determining the force control parameter.

[0006] According to a second aspect of the present disclosure, a robot system is provided. The robot system includes a robot, a simulator that performs a simulation of a force control operation of the robot, and a parameter adjustment unit that performs a process of adjusting a force control parameter for the force control operation. The parameter adjustment unit performs the following processes: (a) a process of determining the simulation parameter by performing a first optimization process for a simulation parameter including a physical characteristic of a workpiece that is a target of the force control operation using the simulator, (b) a process of determining a candidate value group including one or more candidate values ​​for the force control parameter by performing a second optimization process for the force control parameter using the simulator in which the simulation parameter is set, and (c) a process of determining an actual candidate value for the force control parameter from the candidate value group, and a process of determining the force control parameter by performing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set.

[0007] According to a third aspect of the present disclosure, there is provided a computer program for causing a processor to execute a process of adjusting a force control parameter for a force-controlled operation of a robot. The computer program causes the processor to execute the following processes: (a) a process of determining the simulation parameter by executing a first optimization process for a simulation parameter including a physical characteristic of a workpiece to be subjected to the force-controlled operation using a simulator of the force-controlled operation, (b) a process of determining a candidate value group including one or more candidate values ​​of the force control parameter by executing a second optimization process for the force control parameter using the simulator in which the simulation parameter is set, and (c) a process of determining an actual candidate value of the force control parameter from the candidate value group, and a process of determining the force control parameter by executing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is an explanatory diagram showing a configuration of a robot system according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of an information processing device. [Diagram 3] FIG. 11 is an explanatory diagram showing an example of a force control operation. [Figure 4] 11 is a graph showing an example of time-series data in a force control operation. [Diagram 5] 10 is a graph showing another example of time-series data in a force control operation. [Figure 6] 11 is a flowchart showing the overall procedure of a process for adjusting a force control parameter. [Figure 7] 4 is a flowchart showing the procedure of a first optimization process regarding simulation parameters. [Figure 8] 10 is a flowchart showing the procedure of a second optimization process related to a force control parameter. [Figure 9] 10 is a flowchart showing the procedure of a third optimization process related to force control parameters. [Figure 10] 11A and 11B are explanatory diagrams showing examples of changes in the search range for candidate values ​​of a force control parameter. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] 1 is an explanatory diagram showing an example of a robot system according to an embodiment. The robot system includes a robot 100, a control device 200 that controls the robot 100, and an information processing device 300. The robot 100 is placed on a stand 500. The information processing device 300 is, for example, a personal computer.

[0010] The robot 100 includes a base 110 and a robot arm 120. The robot arm 120 is connected in sequence by four joints J1 to J4. A force sensor 410 and an end effector 150 are attached to the tip of the robot arm 120. A TCP (Tool Center Point) is set near the tip of the robot arm 120 as a control point of the robot 100. In this embodiment, a four-axis robot having four joints J1 to J4 is illustrated as an example, but a robot having any arm mechanism having a plurality of joints can be used. In addition, the robot 100 in this embodiment is a horizontal multi-joint robot, but a vertical multi-joint robot may also be used.

[0011] The force sensor 410 is a sensor that detects a force applied to the end effector 150. As the force sensor 410, a load cell capable of detecting a force in a single axial direction, or a force sensor or torque sensor capable of detecting force components in multiple axial directions can be used. In this embodiment, a six-axis force sensor is used as the force sensor 410. The six-axis force sensor detects the magnitude of a force parallel to three detection axes that are mutually orthogonal in a unique sensor coordinate system, and the magnitude of a torque around the three detection axes. Note that the force sensor 410 may be provided at a position other than the position of the end effector 150, for example, at one or more of the joints J1 to J4.

[0012] 2 is a block diagram showing functions of an information processing device 300 in an embodiment. The information processing device 300 can be realized as an information processing device such as a personal computer. The information processing device 300 has a processor 310, a memory 320, an interface circuit 330, and an input device 340 and a display device 350 connected to the interface circuit 330. The interface circuit 330 is further connected to a control device 200. Measurement results of the sensors 400 of the robot 100 are supplied to the information processing device 300 via the control device 200.

[0013] 1, the sensors 400 include a current sensor 420 that measures the current of a motor provided in each joint of the robot 100, and a joint encoder 430 that detects the motion position of each joint. The sensors 400 can be used to find an evaluation function for the optimization process described later.

[0014] The processor 310 has the functions of a simulator 370 that simulates the force control operation of the robot 100 and a parameter adjustment unit 380 that adjusts the force control parameters of the robot 100 .

[0015] The simulator 370 includes a robot simulation unit 374 and a control device simulation unit 375. The robot simulation unit 374 includes a force sensor simulation unit 371, a current sensor simulation unit 372, and a joint encoder simulation unit 373. The robot simulation unit 374 is further configured to simulate the mechanical structure of the robot 100.

[0016] The parameter adjustment unit 380 includes the functions of an operation execution unit 381, a parameter search unit 382, ​​and an evaluation function calculation unit 383. The operation execution unit 381 causes the robot 100 to execute a task according to a robot control program. The parameter search unit 382 executes a process of searching for candidate values ​​of simulation parameters and force control parameters of the robot 100 by optimization processing. The evaluation function calculation unit 383 calculates an evaluation function used in the optimization processing.

[0017] The functions of the simulator 370 and the parameter adjustment unit 380 are realized by the processor 310 executing a computer program stored in the memory 320. However, some or all of the functions of the simulator 370 and the parameter adjustment unit 380 may be realized by a hardware circuit. Furthermore, the simulator 370 may be realized by a device different from the information processing device 300.

[0018] The memory 320 stores parameter initial values ​​IP, operation end conditions TC, and a robot control program RP. The parameter initial values ​​IP are the initial values ​​of the simulation parameters and force control parameters that are search targets for the optimization process. The parameter adjustment conditions AC are conditions used when adjusting the force control parameters. The parameter adjustment conditions include, for example, operation end conditions for force control operations, and a search range and evaluation function in the optimization process. The operation end conditions for force control operations are conditions for ending the operation when the simulator 370 or the actual robot 100 is made to attempt a force control operation. Examples of operation end conditions will be described later. The robot control program RP is composed of a plurality of commands for operating the robot 100.

[0019] The robot 100 shown in FIG. 1 is capable of executing various force control operations, for example, as follows. (1) Contact: Stop when it is detected that the first workpiece W1 has come into contact with the second workpiece W2. (2) Surface matching: The bottom surface of the first workpiece W1 is matched with the top surface of the second workpiece W2. (3) Probing: The first workpiece W1 is moved and stopped at the position of a hole or step provided in another workpiece. (4) Tracking: The first workpiece W1 is moved along the uneven surface of another workpiece. (5) Pressing: The first workpiece W1 is pressed against another workpiece with a desired force. In this embodiment, the robot 100 executes a surface matching operation of the first workpiece W1 and the second workpiece W2 as a force control operation.

[0020] FIG. 3 is an explanatory diagram showing the state of the surface matching operation. In this figure, the X-axis, Y-axis, and Z-axis constituting the coordinate system of the force sensor 410 are drawn. The surface matching operation is an operation in which the lower surface of the first workpiece W1 is brought into exact contact with the upper surface of the second workpiece W2. That is, first, the first workpiece W1 is lowered from a state in which the end effector 150 grasps the first workpiece W1 at a standby position above the second workpiece W2, and when the first workpiece W1 contacts the upper surface of the second workpiece W2, the first workpiece W1 is rotated so that the lower surface of the first workpiece W1 is brought into exact contact with the upper surface of the second workpiece W2 to stop the first workpiece W1. During this rotation, force control is performed to rotate the first workpiece W1 until the torque in the rotation direction becomes zero while maintaining the force in the Z direction detected by the force sensor 410 within an allowable range. In the example of FIG. 3, the "torque in the rotation direction" is the torque around the X-axis.

[0021] The operation end condition of the force control operation can be set to include, for example, the following success condition SC and failure condition FC. <Operation end condition TC> (1) Success condition SC If the following constraints CC1 to CC3 are satisfied simultaneously for a duration Δt, the operation is deemed to have been successful and is terminated. ·Constraint condition CC1 regarding the force Fz in the Z-axis direction: FL≦Fz≦FU ·Constraint CC2 on torque Tx around the X-axis: -Te≦Tx≦+Te ·Constraint condition CC3 on torque Ty around the Y axis: -Te≦Ty≦+Te Here, FL and FU are upper and lower limit values ​​that define the allowable range of the force Fz, and Te is a tolerance that defines the allowable range close to zero of the torques Tx and Ty. (2) Failure condition FC If the success condition SC is not met and the upper operation time limit Tmax has elapsed since the start of the operation, the operation is deemed to have failed and is terminated.

[0022] FIG. 4 is a graph showing an example of time-series data of characteristic values ​​obtained by the force control operation. This time-series data is data of a successful example of the surface matching operation, and shows the time change of the force Fz in the Z-axis direction and the torque Tx around the X-axis. Although the torque Ty around the Y-axis is not shown, the torque Ty is almost zero in the operation of FIG. 3. The lower limit FL and upper limit FU of the force Fz define the allowable range of the force Fz indicating that the first workpiece W1 is in firm contact with the surface of the second workpiece W2. The absolute values ​​of these values ​​FL and FU are set to values ​​in the range of 5N to 20N, for example. The allowable value Te that defines the allowable range of the torque Tx is a small value that can be considered to be in a range close to zero. This allowable value Te is set to a value in the range of 20Nmm to 80Nmm, for example. In the example of FIG. 4, the surface matching operation is started at time t0, the first workpiece W1 comes into contact with the second workpiece W2 at time t1, and all of the constraint conditions CC1 to CC3 are satisfied at time t2. Thereafter, the constraint conditions CC1 to CC3 are maintained over the duration Δt, so the success condition SC is met at time t3, and the surface matching operation ends. The time from time t0 to time t3 is called the "operation time of the force control operation."

[0023] FIG. 5 is a graph showing another example of time-series data of characteristic values ​​obtained by the force control operation. This time-series data is data of a failed example of the face matching operation. That is, the face matching operation starts at time t10, the first workpiece W1 contacts the second workpiece W2 at time t11, and the constraint conditions CC1 to CC3 are all satisfied at time t12. However, since the torque Tx changes significantly thereafter, the constraint conditions CC1 to CC3 are not satisfied simultaneously over the duration Δt, and the upper operation time limit Tmax elapses at time t14. As a result, the failure condition FC is satisfied at time t14, and the face matching operation is terminated. That is, the face matching operation is terminated due to a timeout. In this example, the time from time t10 to time t14 corresponds to the "operation time of the force control operation."

[0024] The above-mentioned motion end conditions are merely examples, and motion end conditions appropriate for the type of force control motion are set. In general, the motion end conditions for a force control motion can be set to include at least one of the following conditions: (i) Constraints on force control (ii) Constraints on the location of the control point TCP (iii) Conditions relating to duration (iv) Conditions regarding maximum operating time Of these conditions, (i) the constraint condition related to force control and (ii) the constraint condition related to the position of the control point TCP are each set as an interval. In the example of the operation end condition for the surface matching operation described above, the constraint conditions CC1 to CC3 correspond to "(i) the condition related to force control", the duration δt corresponds to "(iii) the condition related to duration", and the upper operation time limit Tmax corresponds to "(iv) the condition related to upper operation time limit". The time series data obtained by the force control operation by the simulator 370 or the actual robot 100 is created so as to include data related to force and position included in the operation end conditions.

[0025] 6 is a flowchart showing the procedure of the adjustment process of the force control parameters. In step S10, the operation execution unit 381 executes the force control operation using the actual robot 100 and the workpieces W1 and W2, and obtains the actual operation data. It is preferable that the actual operation data is created when the success condition SC is satisfied.

[0026] In step S20, the parameter adjustment unit 380 accepts the operating environment of the simulator 370 from the user and sets it in the simulator 370. The operating environment of the simulator 370 includes the type and arrangement of the robot 100 and the shapes, weights and arrangements of the workpieces W1 and W2, and is set to represent the same environment as a manufacturing site.

[0027] In step S30, parameter adjustment unit 380 accepts parameter adjustment conditions AC from a user. The parameter adjustment conditions AC are conditions used when adjusting the force control parameters, and include the above-mentioned operation end conditions, a search range in the optimization process, and a calculation formula for the evaluation function.

[0028] In step S40, the parameter adjustment unit 380 accepts initial candidate values ​​of the simulation parameters from the user and sets them in the simulator 370. Hereinafter, the simulation parameters are referred to as "SIM parameters". The SIM parameters are parameters to be adjusted to bring the simulation results closer to the actual machine operation data, and include the physical characteristics of the workpieces W1 and W2. The physical characteristics of the workpieces preferably include at least one of the coefficient of friction between the workpieces and the rigidity of each workpiece. Since the physical characteristics of the workpieces included in the SIM parameters are adjusted in the next step S50, it is preferable that they are characteristics that are difficult to measure accurately, such as the coefficient of friction and the rigidity, rather than characteristics that can be accurately measured, such as weight and shape. The SIM parameters preferably further include PID control gains for each control axis of the robot 100. In this way, the SIM parameters can be adjusted to effectively simulate the occurrence of vibration.

[0029] The initial candidate values ​​of the SIM parameters may be accepted in step S30 as part of the parameter adjustment conditions AC. In addition, some or all of the initial candidate values ​​of the SIM parameters may be preset default values, or may be determined to be randomly selected values.

[0030] In step S50, the parameter search unit 382 determines the SIM parameters by executing a first optimization process on the SIM parameters using the simulator 370. The detailed procedure of step S50 will be described later.

[0031] In step S60, the parameter search unit 382 executes a second optimization process for the force control parameters using the simulator 370 to determine a candidate value group including one or more candidate values ​​for the force control parameters. At this time, the SIM parameters determined in step S50 are set in the simulator 370. As the force control parameters, for example, one or more items from among the target force for each control axis in the impedance control, the virtual mass coefficient, the virtual viscosity coefficient, and the virtual elasticity coefficient can be selected. In the present disclosure, a set of force control parameters is also simply referred to as "one force control parameter." For example, when a set of force control parameters is composed of three values, the virtual mass coefficient, the virtual viscosity coefficient, and the virtual elasticity coefficient, these three values ​​correspond to "one force control parameter."

[0032] The force control method is not limited to impedance control, but may be a position control-based force control such as stiffness control or damping control, or a torque control-based force control such as active stiffness control. Different types of force control parameters are used for each of these controls. The detailed procedure of step S60 will be described later.

[0033] In step S70, parameter searching unit 382 determines the force control parameters by executing a third optimization process for the force control parameters using actual robot 100. At this time, actual candidate values ​​for the force control parameters are determined from the group of candidate values ​​for the force control parameters determined in step S60, and the actual candidate values ​​are set in robot 100 and control device 200. The detailed procedure of step S70 will be described later.

[0034] The optimization process in steps S50, S60, and 70 is performed using an optimization algorithm such as random search, genetic algorithm, Bayesian optimization, or CMA-ES (Covariance Matrix Adaptation Evolution Strategy). In this embodiment, CMA-ES is used. The evaluation function or objective function used in the optimization process will be described later.

[0035] Fig. 7 is a flowchart showing the procedure of the first optimization process for SIM parameters. In step S51, the parameter search unit 382 sets candidate values ​​of the SIM parameters in the simulator 370. When the routine in Fig. 7 is executed for the first time, the initial candidate values ​​of the SIM parameters have already been set in step S40, so step S51 is skipped.

[0036] In step S52, the simulator 370 executes a simulation of a force control operation under the operating environment of the simulator 370 set in step S20 and the parameter adjustment conditions set in step S30. In addition, time-series data representing the simulated operation is acquired as a simulation result. The simulation result includes the force and torque detected by the force sensor simulation unit 371 and the position and posture of a specific position of the robot simulation unit 374.

[0037] In step S53, the evaluation function calculation unit 383 calculates a first evaluation function, which is an evaluation function for the first optimization process. The evaluation function is also called an "objective function." As the first evaluation function, a value expressing the similarity between the actual machine operation data acquired in step S10 and the simulation result obtained in step S52 can be used. As this similarity, it is possible to use one that is correlated with the inverse of the distance of the force change in the actual machine operation data and the simulation result. For example, the first evaluation function E1 is calculated by the following formula. E1 = Si = 1 / (1+Dis) …(q1) Here, Si is the similarity between the actual machine operation data and the simulation result, and Dis is the distance between the force change in the actual machine operation data and the simulation result.

[0038] As the distance Dis of the force change between the actual machine operation data and the simulation result, it is possible to use distances calculated by various methods such as Euclidean distance, Fourier transform distance, DTW (Dynamic Time Warping) distance, etc. "Force change" means time series data of force. As the "force", among the forces and torques measurable by the force sensor 410, those to be monitored in the force control operation are used. For example, in the force control operation described in FIG. 4, the force Fz and the torques Tx and Ty are used to calculate the distance Dis. However, all the forces and torques measurable by the force sensor 410 may be used to calculate the distance Dis. The first evaluation function E1 calculated by the above formula (q1) takes a value in the range of 0 to 1. The reciprocal 1 / Dis of the distance Dis may be used as the similarity Si.

[0039] The first evaluation function E1 may be calculated by the following equation, instead of the above equation (q1). E1 = 1 / (1+C1×Dis + C2×δFmax + C3×δTmax + C4×δPmax) …(q2) Here, C1 to C4 are positive coefficients, δFmax is the difference in maximum force between the actual machine operation data and the simulation result, δTmax is the difference in maximum torque between the actual machine operation data and the simulation result, and δPmax is the maximum value of the differences in position and orientation between the actual machine operation data and the simulation result. The "difference in position and orientation" is, for example, the Euclidean distance of a six-dimensional vector representing the position and orientation.

[0040] The first evaluation function E1 given by the above formula (q2) is a value that is correlated with the reciprocal of the distance Dis of the force change, the reciprocal of the maximum force difference δFmax, the reciprocal of the maximum torque difference δTmax, and the reciprocal of the maximum position-posture difference δPmax. By using such a first evaluation function E1, it is possible to determine SIM parameters that reproduce the environment of the actual machine with higher accuracy through the first optimization process.

[0041] In step S54, the parameter search unit 382 judges whether or not a first end condition for the first optimization process is satisfied. For example, the first end condition may be that the first evaluation function E1 is equal to or less than a first target value set in advance. Alternatively, the number of SIM parameters for which the first evaluation function E1 is equal to or less than the first target value reaches a minimum number set in advance. If the first end condition is not satisfied, the process proceeds to step S55, where the generation of the SIM parameters is updated according to the CMA-ES algorithm. If an optimization algorithm other than CMA-ES is used, the next candidate value of the SIM parameters may be determined in step S55. After the process of step S55, the process returns to step S51, and steps S51 to S54 are executed again.

[0042] On the other hand, if the first end condition is satisfied, the process proceeds to step S56, where the parameter search unit 382 determines one optimal SIM parameter from among the solutions in which the first evaluation function E1 is ranked high. Here, the "solution" refers to the SIM parameters used in the first optimization process that satisfy the success condition SC. As the optimal SIM parameter, it is possible to select a solution in which the first evaluation function E1 is ranked high, or a solution in which the first evaluation function E1 is the median value, from among the solutions in which the first evaluation function E1 is ranked high. In this embodiment, the solution in which the first evaluation function E1 is ranked high is determined as the optimal SIM parameter. Thus, when the process of FIG. 7 is completed, the second optimization process in step S60 of FIG. 6 is executed. In the second optimization process, the optimal SIM parameter determined in step S50 is used.

[0043] FIG. 8 is a flowchart showing the procedure of the second optimization process related to the force control parameter. In step S61, parameter search unit 382 determines a tentative candidate value of the force control parameter and sets it in simulator 370. The initial value of the tentative candidate value is accepted as a parameter adjustment condition in step S30 of FIG. 6. Furthermore, when step S61 is executed for the second or subsequent time, the tentative candidate value is determined according to an optimization algorithm in the second optimization process. In this embodiment, CMA-ES is used as the optimization algorithm in the second optimization process. The term "tentative candidate value" means a candidate value of the force control parameter in the second optimization process.

[0044] In step S62, simulator 370 executes a simulation of a force control operation using the tentative candidate values ​​of the force control parameters, thereby obtaining time-series data representing the simulated operation as a simulation result.

[0045] In step S63, the evaluation function calculation unit 383 calculates a second evaluation function, which is an evaluation function of the second optimization process. As the second evaluation function, it is preferable to use one that includes the motion time of the force control motion. The second evaluation function E2 is given by, for example, the following equation. E2 = t + k1×ΔFz +k2×ΔTx + k3×ΔTy …(q3) Here, t is the motion time of the force control motion, k1 to k3 are coefficients equal to or greater than 0, and ΔFz, ΔTx, and ΔTy are deviations from the force constraints CC1 to CC3 at the motion end time. The motion time t is the time from the motion start time to the motion end time. Note that k1 to k3 may all be set to zero.

[0046] The second to fourth terms on the right side of the above formula (q3) are penalties according to the amount of deviation from the force constraint conditions CC1 to CC3. If the force control operation is successful, the amount of deviation from the force constraint conditions CC1 to CC3 is zero, so the three penalty terms are zero. On the other hand, if the force control operation fails, one or more of the three penalty terms will be positive values. In the second optimization process, candidate values ​​for the force control parameters are searched for so as to reduce the second evaluation function E2. The second evaluation function E2 may be calculated using an equation other than the above formula (q3). In this case, too, it is preferable to set the equation for the second evaluation function E2 so that the penalty increases according to the amount of deviation from the force constraint conditions.

[0047] In step S64, parameter search unit 382 determines whether a second end condition for the second optimization process is satisfied. For example, the second end condition may be that the second evaluation function E2 is equal to or less than a second target value set in advance. Alternatively, the number of force control parameters for which the second evaluation function E2 is equal to or less than the second target value reaches a minimum number set in advance. If the second end condition is not satisfied, the process proceeds to step S65, where the generation of the tentative candidate value of the force control parameter is updated according to the CMA-ES algorithm. If an optimization algorithm other than CMA-ES is used, the next tentative candidate value of the force control parameter may be determined in step S65. After the process of step S65, the process returns to step S61, and steps S61 to S64 are executed again.

[0048] On the other hand, if the second end condition is satisfied, the process proceeds to step S66, where the parameter search unit 382 determines a candidate value group including one or more candidate values ​​of the force control parameter from among the multiple solutions in which the second evaluation function E2 is ranked high. Here, the "solution" means a force control parameter used in the second optimization process that satisfies the success condition SC. The candidate value group may be composed of multiple solutions in which the second evaluation function E2 is ranked high. The candidate value group may also be composed of only one solution in which the second evaluation function E2 is ranked high, or only one solution in which the second evaluation function E2 is the median. When the process of FIG. 8 is thus completed, the third optimization process in step S70 of FIG. 6 is executed.

[0049] FIG. 9 is a flowchart showing the procedure of the third optimization process related to the force control parameter. In step S71, the parameter search unit 382 determines an actual candidate value of the force control parameter and sets it in the control device 200 of the robot 100. The term "actual candidate value" means a candidate value of the force control parameter in the third optimization process. The initial value and initial search range of the actual candidate value may be set by the user using the candidate value group determined in step S66 of FIG. 8. Alternatively, the initial value and initial search range of the actual candidate value may be determined according to the optimization algorithm in the third optimization process using the candidate value group determined in step S66 of FIG. 8. In this embodiment, WS-CMA-ES (Warm Starting CMA-ES) is used as the optimization algorithm in the third optimization process.

[0050] FIG. 10 is an explanatory diagram showing an example of change in the search range for candidate values ​​of force control parameters. Here, it is assumed that CMA-ES is used as the optimization algorithm in the second optimization process, and WS-CMA-ES is used as the optimization algorithm in the third optimization process. The upper diagram of FIG. 10 shows the range of the candidate value group determined in step S66 of FIG. 8. Here, it is assumed that one set of force control parameters is composed of two parameter values ​​CP1 and CP2. The black circles indicate the candidate values ​​(CP1, CP2) of the force control parameters, and the solid line indicates the range that includes the candidate value group. The dashed line in the lower diagram of FIG. 10 shows the initial search range used in the third optimization process of FIG. 9. In WS-CMA-ES, a range obtained by expanding the range of the candidate value group represented by the solid line by a certain width α is used as the initial search range. In this way, by utilizing the candidate value group obtained by the second optimization process using the simulator 370, it is possible to reduce the number of trials in the third optimization process using the actual machine.

[0051] In step S72, the operation execution unit 381 uses the actual candidate values ​​of the force control parameters to cause the actual robot 100 to try a force control operation. During the force control operation, the measurement values ​​of the sensors 400 including the force sensor 410 are acquired as time-series data.

[0052] In step S73, the parameter search unit 382 calculates a third evaluation function that is an evaluation function for the third optimization process. As the third evaluation function, it is possible to use the same as the second evaluation function used in the second optimization process. However, as the third evaluation function, a function different from the second evaluation function may be used. In this case, it is also preferable to use a third evaluation function that includes the operation time of the force control operation.

[0053] In step S74, parameter search unit 382 determines whether a third end condition for the third optimization process is satisfied. For example, the third end condition may be that the third evaluation function is equal to or less than a third target value set in advance. Alternatively, the number of force control parameters for which the third evaluation function is equal to or less than the third target value reaches a minimum number set in advance. If the third end condition is not satisfied, the process proceeds to step S75, where the generation of the actual candidate value of the force control parameter is updated according to the WS-CMA-ES algorithm. If an optimization algorithm other than WS-CMA-ES or CMA-ES is used, the next actual candidate value of the force control parameter may be determined in step S75. After the process of step S75, the process returns to step S71, and steps S71 to S74 are executed again.

[0054] On the other hand, if the third end condition is met, the process proceeds to step S76, where the parameter search unit 382 determines one or more optimal force control parameters from among the multiple solutions with the top third evaluation function, and presents them to the user. Here, the "solution" refers to a force control parameter used in the third optimization process that satisfies the success condition SC. As the optimal force control parameter, it is possible to select, among the multiple solutions with the top third evaluation function, a solution with the top third evaluation function, a solution with the median third evaluation function, or the like. In this embodiment, the solution with the top third evaluation function is determined as the optimal force control parameter. When the optimal force control parameter is presented to the user, all processing is terminated.

[0055] As described above, in the above embodiment, the SIM parameters including the physical characteristics of the workpiece can be optimized by the first optimization process using a simulator. In addition, since the force control parameters are optimized by the second optimization process using a simulator and the third optimization process using an actual machine, appropriate force control parameters can be determined with fewer operations of the actual machine compared to optimization using only the actual machine. In particular, since the first optimization process determines the optimal values ​​of the SIM parameters including the physical characteristics of the workpiece, it is not necessary to search for force control parameters near the vibration limit when adjusting using the actual robot 100. As a result, the possibility of large vibrations occurring and damaging the workpiece can be reduced.

[0056] Other embodiments: The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various forms without departing from the spirit of the present disclosure. For example, the present disclosure can be realized in the following aspects. The technical features in the above-mentioned embodiments corresponding to the technical features in each aspect described below can be appropriately replaced or combined in order to solve some or all of the problems of the present disclosure, or to achieve some or all of the effects of the present disclosure. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted.

[0057] (1) According to a first aspect of the present disclosure, there is provided a method for adjusting a force control parameter for a force-controlled operation of a robot, the method including: (a) using a simulator for the force-controlled operation to execute a first optimization process for a simulation parameter including a physical characteristic of a workpiece to be subjected to the force-controlled operation, thereby determining the simulation parameter, (b) using the simulator in which the simulation parameter is set, to execute a second optimization process for the force control parameter, thereby determining a candidate value group including one or more candidate values ​​for the force control parameter, and (c) determining an actual candidate value for the force control parameter from the candidate value group, and executing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set, thereby determining the force control parameter. According to this method, simulation parameters including the physical characteristics of the workpiece can be optimized by a first optimization process using a simulator. In addition, force control parameters are optimized by a second optimization process using a simulator and a third optimization process using an actual machine, so appropriate force control parameters can be determined with fewer operations of the actual machine compared to optimization using only the actual machine.

[0058] (2) The above method may further include a step of acquiring actual operation data relating to the force control operation performed by the robot, and the first optimization process may be performed using an evaluation function representing a similarity between the actual operation data and a simulation result by the simulator. According to this method, the simulation parameters can be adjusted to appropriate values ​​so as to increase the degree of agreement between the actual machine operation data and the simulation results.

[0059] (3) In the above method, the physical characteristics of the workpiece may include at least one of a coefficient of friction and a modulus of rigidity. This method allows the simulation parameters, including the workpiece and physical properties such as friction coefficient and rigidity modulus, to be adjusted to appropriate values.

[0060] (4) According to a second aspect of the present disclosure, a robot system is provided. The robot system includes a robot, a simulator that performs a simulation of a force control operation of the robot, and a parameter adjustment unit that performs a process of adjusting a force control parameter for the force control operation. The parameter adjustment unit performs the following processes: (a) a process of determining the simulation parameter by performing a first optimization process for a simulation parameter including a physical characteristic of a workpiece that is a target of the force control operation using the simulator, (b) a process of determining a candidate value group including one or more candidate values ​​for the force control parameter by performing a second optimization process for the force control parameter using the simulator in which the simulation parameter is set, and (c) a process of determining an actual candidate value for the force control parameter from the candidate value group, and a process of determining the force control parameter by performing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set.

[0061] (5) According to a third aspect of the present disclosure, there is provided a computer program for causing a processor to execute a process of adjusting a force control parameter for a force-controlled operation of a robot. The computer program causes the processor to execute the following processes: (a) a process of determining the simulation parameter by executing a first optimization process for a simulation parameter including a physical characteristic of a workpiece that is a target of the force-controlled operation using a simulator for the force-controlled operation, (b) a process of determining a candidate value group including one or more candidate values ​​for the force control parameter by executing a second optimization process for the force control parameter using the simulator in which the simulation parameter is set, and (c) a process of determining an actual candidate value for the force control parameter from the candidate value group, and a process of determining the force control parameter by executing a third optimization process for the force control parameter using an actual machine of the robot in which the actual candidate value is set.

[0062] The present disclosure may be realized in various forms other than those described above, such as a robot system including a robot and a robot control device, a computer program for implementing the functions of the robot control device, a non-transitory storage medium on which the computer program is recorded, etc. [Explanation of symbols]

[0063] 100...robot, 110...base, 120...robot arm, 150...end effector, 200...control device, 300...information processing device, 310...processor, 320...memory, 330...interface circuit, 340...input device, 350...display device, 370...simulator, 371...force sensor simulation unit, 372...current sensor simulation unit, 373...joint encoder simulation unit, 374...robot simulation unit, 375...control device simulation unit, 380...parameter adjustment unit, 381...motion execution unit, 382...parameter search unit, 383...evaluation function calculation unit, 400...sensors, 410...force sensor, 420...current sensor, 430...joint encoder

Claims

1. 1. A method for adjusting force control parameters for force-controlled motion of a robot, comprising: (a) determining simulation parameters by performing a first optimization process on simulation parameters including physical characteristics of a workpiece that is a target of the force controlled motion using a simulator of the force controlled motion; (b) determining a candidate value group including one or more candidate values ​​of the force control parameter by executing a second optimization process for the force control parameter using the simulator in which the simulation parameters are set; (c) determining an actual candidate value of the force control parameter from the group of candidate values, and executing a third optimization process for the force control parameter using an actual robot for which the actual candidate value has been set, thereby determining the force control parameter; The method includes:

2. 10. The method of claim 1 further comprising: acquiring actual motion data relating to the force control motion executed by the robot; The method, wherein the first optimization process is performed using an evaluation function that represents a degree of similarity between the actual machine operation data and a simulation result by the simulator.

3. 2. The method of claim 1 , The physical properties of the workpiece include at least one of a coefficient of friction and a modulus of rigidity.

4. 1. A robot system comprising: Robots and A simulator for simulating a force control operation of the robot; a parameter adjustment unit that performs a process of adjusting a force control parameter for the force control operation; Equipped with The parameter adjustment unit is (a) determining simulation parameters by performing a first optimization process on the simulation parameters, the simulation parameters including physical characteristics of a workpiece that is a target of the force control operation, using the simulator; (b) determining a candidate value group including one or more candidate values ​​of the force control parameter by executing a second optimization process for the force control parameter using the simulator in which the simulation parameters are set; and (c) determining an actual candidate value of the force control parameter from the group of candidate values, and executing a third optimization process for the force control parameter using an actual robot for which the actual candidate value has been set, thereby determining the force control parameter; A robot system that executes the above.

5. A computer program that causes a processor to execute a process for adjusting a force control parameter for a force-controlled operation of a robot, comprising: (a) determining simulation parameters by performing a first optimization process on simulation parameters including physical characteristics of a workpiece that is a target of the force controlled motion using a simulator of the force controlled motion; (b) determining a candidate value group including one or more candidate values ​​of the force control parameter by executing a second optimization process for the force control parameter using the simulator in which the simulation parameters are set; and (c) determining an actual candidate value of the force control parameter from the group of candidate values, and executing a third optimization process for the force control parameter using an actual robot for which the actual candidate value has been set, thereby determining the force control parameter; A computer program for causing the processor to execute the following:

Citation Information

Patent Citations

  • Robust adjustment device and model creation method

    JP2020003893A