Robot control method
The robot control method improves collision detection sensitivity by real-time friction torque estimation and smoothing filters, addressing inaccuracies in friction torque calculation and enhancing collision detection accuracy.
Patent Information
- Application Number
- PCT/JP2024/013819
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-04-03
- Publication Date
- 2024-10-31
AI Technical Summary
Current robot collision detection methods suffer from low sensitivity due to inaccurate friction torque calculation, which is exacerbated by temperature changes and individual differences in motors, leading to decreased accuracy and reliability in collision detection.
A robot control method that calculates dynamic torque and friction torque using inverse dynamics, with real-time friction torque estimation and smoothing filters to improve collision detection sensitivity, and returns to previous friction estimation values during collisions to correct errors.
Enhances the sensitivity and accuracy of collision detection by reducing errors caused by temperature changes and motor variations, allowing for more precise collision torque calculation and improved robot safety.
Smart Images

Figure JP2024013819_31102024_PF_FP_ABST
Abstract
Description
Robot Control Method
[0001] The present disclosure relates to a robot control method. Patent Document 1 discloses a collision detection and stop control method that detects the collision and immediately stops the robot when a link of a robot consisting of multiple joints or a tool or workpiece held at the tip of the link collides with a nearby obstacle or the like, in order to avoid deformation of the link or damage to the moving parts of the robot.
[0002] Patent No. 4756618
[0003] The present disclosure has been devised in view of the above-described conventional situation, and aims to improve the sensitivity of collision detection in a robot.
[0004] The present disclosure provides a robot control method that includes a collision detection method for a robot driven by a motor via a reducer, which detects an external force by subtracting a dynamic torque and a friction torque calculation value obtained by inverse dynamics calculation of the robot from the torque output by the motor to the reducer, and determines that the robot has collided if the detected value of the external force is higher than a predetermined threshold value that has been set in advance, and if it is determined that no collision has occurred, updates a friction estimation filter value obtained by smoothing a friction torque estimate value used to set the friction torque calculation value from the friction estimation filter value from a predetermined time ago, and saves the friction estimation filter values before and after the update as friction estimation saved values.
[0005] These comprehensive or specific aspects may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a recording medium, or may be realized as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium.
[0006] According to the present disclosure, the sensitivity of collision detection of a robot can be improved.
[0007] Control block diagram of a conventional dynamics calculation method. Diagram showing approximation error of friction torque calculation value. Block diagram of a control device according to this embodiment. Flowchart of friction torque calculation process according to this embodiment. Diagram showing a case where the collision detection threshold is smaller than the friction estimation threshold. Diagram showing a case where the collision detection threshold is larger than the friction estimation threshold. Control block diagram of a dynamics calculation method according to this embodiment.
[0008] (Background to the Present Embodiment) In recent years, there has been a demand for highly accurate collision detection in robots in order to improve safety in the event of a collision or to prevent losses due to breakage. However, using a highly accurate collision sensor increases costs, and the weight of the sensor places a burden on the robot, reducing the accuracy and reliability of robot control. For these reasons, there is a demand for highly accurate sensorless collision detection.
[0009] A sensorless collision detection method is a dynamics calculation method in which the collision force is calculated by subtracting the robot's dynamic torque, calculated from the robot's inverse dynamics calculation, from the reducer output torque, which is obtained by subtracting the torque lost due to the inertia and friction of the motor and reducer from the torque generated by the motor's drive current.
[0010] In order to increase the sensitivity of collision detection in robots and further reduce damage during collisions, it is essential to improve the accuracy of calculation of torque related to collisions (hereinafter referred to as "collision torque"). When calculating collision torque, torque caused by friction (hereinafter referred to as "friction torque") is also calculated.
[0011] In Patent Document 1, friction torque is calculated by the sum of the product of the dynamic viscosity coefficient and the motor speed and the product of the Coulomb friction coefficient and a sign function. In other words, the friction torque is calculated using a linear approximation of the motor speed. As such, the calculated value of friction torque used in collision torque calculation is often calculated using a linear approximation. However, in reality, there is a large approximation error, and the error becomes even larger due to temperature changes and individual differences between robots, resulting in a problem of degraded collision torque calculation accuracy.
[0012] Hereinafter, with appropriate reference to the drawings, embodiments specifically disclosing a robot control method according to the present disclosure will be described in detail. However, more detailed description than necessary may be omitted. For example, detailed descriptions of already well-known matters and redundant descriptions of substantially identical configurations may be omitted. This is to avoid unnecessary redundancy in the following description and to facilitate understanding by those skilled in the art. Note that the accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter recited in the claims.
[0013] First, a conventional dynamics calculation method will be described with reference to Fig. 1. Fig. 1 is a control block diagram of the conventional dynamics calculation method. In the dynamics calculation method shown in Fig. 1, calculation processing is performed by a processor (not shown) or the like built into a device that controls the motor.
[0014] In the position control block 6, a speed command is calculated from the position command. First, the difference between the position command θcom and the motor position feedback θm is calculated. The position command θcom is the value obtained by integrating the speed component dθcom of the position command. 1 / s represents the integral element. The position feedback θm is the actual rotational position of the motor detected by a motor rotation angle detector 99, such as an encoder attached to the motor. Here, the subscript m represents the axis of the robot driven by the motor. For example, if the motor drives a six-axis robot, m is an integer between 1 and 6 corresponding to each axis. The speed command ωcom is calculated by multiplying the difference between the position command θcom and the motor position feedback θm by the position proportional gain KPP.
[0015] In the speed control block 10, the motor current is calculated from the speed command. First, the motor angular velocity ωm, which is the velocity feedback value obtained by differentiating the position feedback θm, is calculated. s represents the differential element. The motor current Im is calculated by multiplying the difference between the speed command ωcom and the motor angular velocity ωm by a speed proportional gain KP and the difference between the speed command ωcom and the motor angular velocity ωm by a speed integral gain KI / s.
[0016] The torque generated in the motor (hereinafter referred to as "motor generated torque") is calculated in the torque control block 18. First, the motor current Im is multiplied by the motor torque constant Kt to calculate the motor generated torque τm.
[0017]
[0018] Equation (1) represents the torque generated by the motor as viewed from the drive side of the motor, while equation (2) represents the torque generated by the motor as viewed from the load side of the motor.
[0019]
[0020] where Kt is the motor torque constant, Im is the motor current, αm is the motor angular acceleration, ωm is the motor angular velocity, Jm is the motor inertia, D is the viscous friction coefficient, τμ is the kinetic friction torque, τdyn is the kinetic torque, and τdis is the collision torque. The kinetic torque τdyn is the sum of the gravitational torque, the inertial force, the centrifugal force, and the Coriolis force.
[0021] The dynamic friction torque τμ can be calculated using equation (3).
[0022]
[0023] Here, Kμ represents the magnitude of dynamic friction. sgn is 1 when ωm>0, 0 when ωm=0, and −1 when ωm<0. The sign of ωm is determined by direction determination 21.
[0024] The collision torque τdis can be obtained by transforming equations (1) and (2) into equation (4).
[0025]
[0026] Equation (4) is expressed as a block diagram in the collision torque estimation block 30. In the dynamic torque calculation block 26, the position feedback θm, the motor angular acceleration αm, the motor angular velocity ωm, and the position feedback θm of the other axis are subjected to inverse dynamic calculation to calculate the dynamic torque τdyn. In the collision torque estimation block 30, the collision torque τdis calculated according to Equation (4) is output to the collision determination block 31.
[0027] A collision is detected using a predetermined collision detection threshold in a collision determination block 31. When the absolute value of the collision torque τdis is greater than the collision detection threshold, it is determined that a collision has occurred.
[0028] Here, D×ωm indicating the viscous friction and τμ indicating the kinetic friction in equation (4) are collectively defined as a friction torque calculation value τμcal.
[0029]
[0030] Equation (4) is converted into equation (6) from equation (5).
[0031]
[0032] In this way, the calculation accuracy of the collision torque τdis is affected by the accuracy of the friction torque calculation value τμcal and the dynamic torque τdyn. The friction torque calculation value τμcal is calculated using a linear approximation equation of the motor angular velocity ωm as shown in equation (5).
[0033] Next, the approximation error of the calculated friction torque value will be described with reference to Fig. 2. Fig. 2 is a diagram showing the approximation error of the calculated friction torque value.
[0034] In the graph shown in FIG. 2, the horizontal axis represents the motor angular velocity ω [%], and the vertical axis represents the magnitude of the friction torque.
[0035] Graph W1 is a linear approximation of the measured values of graph W2. As shown in equation (5), graph W1 has an intercept τμ and a slope D when the motor angular velocity ω is positive, and an intercept −τμ and a slope D when the motor angular velocity ω is negative.
[0036] Graph W2 shows values measured using reciprocating uniform velocity motion. Here, as a method for calculating the friction torque measurement values of graph W2, a method for measuring friction torque by attaching a load to the robot will be described. The gravitational torque caused by the load attached to the robot is expressed by equation (7).
[0037]
[0038] where θr is the robot joint angle, Rg is the reduction ratio of the reducer, and τgA[θr] is the gravitational torque caused by the arm of the robot body. If the current when the robot is operated at a constant angular velocity of -ωm0 in the negative direction of sgn=-1 is Im[θr]m, and the motor current when the robot is operated at a constant angular velocity of ωm0 in the positive direction of sgn=1 is Im[θr]p, then equation (7) becomes equations (8) and (9), respectively.
[0039]
[0040]
[0041] Subtracting equation (9) from equation (8) gives equation (10) below.
[0042]
[0043] Here, if the viscous friction and the kinetic friction are collectively referred to as a friction torque measurement value τμmes, it is expressed by the following formula (11).
[0044]
[0045] From equations (10) and (11), the friction torque measurement value τμmes is given by the following equation (12).
[0046]
[0047] As described above, the friction torque measurement value shown in graph W2 for a motor angular velocity ωm0 is calculated by subtracting the motor currents in the positive and negative directions at the same angle θr, multiplying the result by the motor torque constant Kt, and dividing by 2. The friction torque measurement value shown in graph W2 will have errors depending on the speed when compared with graph W1, which shows a linearly approximated friction torque value.
[0048] Furthermore, the friction torque measurement value shown in graph W2 also changes with temperature. For example, as the temperature increases, the friction torque decreases. Also, as the temperature decreases, the friction torque increases. This is because, for example, the hardness of the grease used in the motor changes with temperature, which causes the friction torque to change. Furthermore, the error in the friction torque measurement value increases due to individual differences in the motor. Thus, when the friction torque is calculated using a linear approximation of the motor angular velocity, as expressed in equation (5), the calculated friction torque value deviates greatly from the actual friction torque value. As the error in the friction torque increases, the error in the collision torque τdis calculated using the friction torque increases, resulting in a problem of reduced collision detection sensitivity. Below, we describe a robot control method devised in consideration of this situation, which estimates friction torque in real time during motor operation and improves the accuracy of the friction torque estimation.
[0049] Next, a block diagram of the control device 100 according to this embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram of the control device 100 according to this embodiment.
[0050] The control device 100 is a device that controls the driving of the motor and includes a communication I / F 101, a processor 102, and a memory 103.
[0051] The communication I / F 101 is an interface circuit that performs wireless or wired communication between the control device 100 and an external device (not shown). Examples of external devices include a teach pendant, a robot driven by a motor, an amplifier that supplies current to the motor, or an encoder attached to the motor. Here, I / F represents an interface. Communication methods used by the communication I / F 101 include, for example, wide area networks, local area networks, long term evolution, mobile communications such as 4G and 5G, power line communications, short-range wireless communications (e.g., Bluetooth (registered trademark) communications), and communications for mobile phones.
[0052] The processor 102 is, for example, a central processing unit, a digital signal processor, a graphic processing unit, or a field programmable gate array. The processor 102 functions as a controller that manages the overall operation of the control device 100. The processor 102 performs control processing for overseeing the operation of each unit of the control device 100, data input / output processing between each unit of the control device 100, data calculation processing, and data storage processing. The processor 102 uses the memory 103 during operation, and temporarily stores data generated or acquired by the processor 102 in the memory 103. The processor 102 performs calculations of the motor-generated torque.
[0053] The memory 103 is configured using, for example, a random access memory (hereinafter referred to as "RAM") and a read only memory (hereinafter referred to as "ROM"), and temporarily stores programs necessary for the operation of the control device 100, as well as data generated during operation. The RAM is, for example, a work memory used during operation of the control device 100. The ROM stores and holds, for example, programs for controlling the control device 100 in advance.
[0054] Next, the calculation process of the friction torque according to this embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart of the calculation process of the friction torque according to this embodiment.
[0055] The processor 102 determines whether a collision can be detected with high sensitivity by determining whether the collision detection threshold is smaller than the friction estimation threshold (step St100). The collision detection threshold and the friction estimation threshold will be described below.
[0056] The calculated value of the collision torque τdis includes a model error or a parameter error, and is not "0 (zero)" even when no collision occurs. Here, the model error is an error that occurs when the characteristics of friction, reducers, etc. are linearly approximated. The parameter error is an error that occurs due to temperature fluctuations in friction, individual differences, or user settings of the load attached to the robot. The user is, for example, the person who performs the collision judgment.
[0057] The collision detection threshold is set to a value that is sufficiently higher than the maximum value of the calculated collision torque τdis when no collision occurs, by displaying the calculated value of the collision torque τdis on a teach pendant or the like in actual operation under the user's environment. By setting the collision detection threshold in this way by the user, the collision sensitivity can be appropriately adjusted without false collision detection.
[0058] Here, by deriving the friction torque estimated value τμest (see below) in real time, the error between the actual friction torque and the estimated value is reduced, and the calculated value of the collision torque τdis when no collision occurs approaches "0 (zero)." This allows the collision detection threshold value (i.e., collision detection sensitivity) to be lowered (i.e., collision sensitivity can be increased) using the above-mentioned method for setting the collision detection threshold value (i.e., collision detection sensitivity).
[0059] The collision detection threshold (i.e., collision detection sensitivity) is a value set by the user and is not necessarily small. For example, if the parameters (mass, center of gravity position, etc.) of the load attached to the robot are inaccurate, errors may occur in the dynamics calculation, making it impossible to increase the collision detection sensitivity. If the collision detection threshold is high, a collision may not be determined even if an external force is applied due to a collision. The friction estimation threshold is a threshold used to determine whether the collision detection threshold set by the user is low (i.e., whether the collision detection sensitivity is high). For example, when determining whether the collision detection threshold is set to a motor maximum torque ratio of 20% or less (i.e., whether the collision detection sensitivity is 80% or more), the friction estimation threshold is 20%. By comparing this friction estimation threshold with the collision detection threshold, the processor 102 determines whether a collision can be determined with high sensitivity.
[0060] If the processor 102 determines that the collision detection threshold is greater than the friction estimation threshold and that a collision cannot be determined with high sensitivity (NO in step St100), the processor 102 ends the processing. If the processor 102 determines that a collision cannot be determined with high sensitivity, the processor 102 may output a signal to a display device (not shown) or the like to prompt the user to change the setting of the collision detection threshold.
[0061] When the processor 102 determines that the collision detection threshold is smaller than the friction estimation threshold and thus determines that a collision can be detected with high sensitivity (step St100, YES), the processor 102 determines whether a collision has occurred (step St101). The processor 102 determines whether a collision has occurred when the collision torque τdis is greater than the collision detection threshold.
[0062] When the processor 102 determines that a collision has not occurred (step St101, NO), it calculates a friction torque estimated value τμest (step St102). Because a collision has not occurred, the value of the collision torque τdis is close to zero. The friction torque estimated value τμest is the friction torque calculated value τμcal when the collision torque τdis in equation (6) is considered to be zero. The friction torque estimated value τμest is derived using equation (13).
[0063]
[0064] By setting the collision detection threshold lower than the friction estimation threshold to increase the sensitivity of collision detection, the friction torque estimate value τμest can be derived in real time using equation (13) while no collision is detected. In equation (13), the motor current Im is a value that changes due to temperature changes and individual differences between motors. By deriving the friction torque estimate value τμest in real time, the processor 102 can prevent errors in the calculated friction torque due to temperature changes and individual differences between motors.
[0065] The processor 102 performs filtering (smoothing) on the friction torque estimation value for each motor speed to calculate a friction estimation filter value. The filtering will be described in the processing of step St104. First, the processor 102 calculates speed array elements to calculate the friction estimation filter value (step St103). The speed array elements are expressed by the following equation (14).
[0066]
[0067] Here, N is an integer equal to or greater than 1, and j is an integer between 1 and N. The processor 102 calculates a friction estimation filter value for each velocity array element obtained in step St103 using equation (15) (step St104).
[0068]
[0069] Here, τμf[ωj][i] is the friction estimation filter value for each speed, A is a filter constant that takes a value of 0<A<1, and i is the sampling period. The sampling period is, for example, about 1 msec and is a value that is predetermined by the user. Note that the sampling period is not limited to 1 msec. The filter constant is a value that can be set by the user to a value between 0 and 1. The first item on the right side of equation (15) is a value that includes information about past friction estimation filter values. The second item on the right side of equation (15) is the current friction estimation filter value. In other words, the friction estimation filter value is a value obtained by adding together past and current values that are weighted by the value of the filter constant. For example, when A=0.5, the friction estimation filter value is a value obtained by adding together past and current values in equal proportions.
[0070] The processor 102 updates the friction estimation stored value τμreg[ωj][k], which is a value stored in the memory 103, at predetermined time intervals (step St105). For example, the processor 102 updates the friction estimation stored value every few minutes. The processor 102 stores the friction estimation filter value updated in the processing of step St105 and the friction estimation filter value before the update in the memory 103 as the friction estimation stored value. Note that the update interval is not limited to every few minutes. The friction estimation stored value is expressed by equations (16) and (17).
[0071]
[0072]
[0073] Equation (16) is the value of the friction compensation storage value immediately before being updated.
[0074] The processor 102 determines whether the motor angular velocity ωm is equal to or greater than 0 (i.e., whether the motor angular velocity ωm is positive or negative) (step St106). Whether the motor angular velocity ωm is positive or negative is determined based on the rotation direction of the motor.
[0075] When the processor 102 determines that the motor angular velocity ωm is equal to or greater than 0 (YES in step St106), the processor 102 sets the friction torque calculation value τμcal to the equation (18) (step St107).
[0076]
[0077] When the processor 102 determines that the motor angular velocity ωm is less than 0 (NO in step St106), the processor 102 sets the friction torque calculation value τμcal to the equation (19) (step St108).
[0078]
[0079] The processor 102 calculates the collision torque τdis according to the equation (6) using the friction torque calculation value τμcal of the equation (18) or the equation (19).
[0080] When the processor 102 determines that a collision has occurred (YES in step St101), the processor 102 returns the friction estimation filter value to the value from a predetermined time ago as shown in equation (20) (step St109).
[0081]
[0082] If a collision has occurred, the collision torque τdis is already non-zero before the collision is detected (i.e., before the collision torque τdis becomes equal to or greater than the collision detection threshold), so the friction torque estimated value τμest calculated using equation (13) becomes inaccurate and the error becomes large. However, by returning the friction estimation filter value to the value from a predetermined time ago based on equation (20) in the processing of step St109, the error in the friction estimation filter value τμf[ωj][i] due to the occurrence of a collision can be eliminated.
[0083] As described above, the robot control method according to this embodiment estimates the friction torque value in real time while the motor is operating, preventing errors in the estimated friction torque due to temperature changes and individual differences between motors, and enabling highly accurate calculation of collision torque. As a result, the robot control method can reduce estimation errors in the collision torque and improve the sensitivity of collision detection.
[0084] Next, the relationship between the collision detection threshold and the friction estimation threshold will be described with reference to FIGS.
[0085] First, FIG. 5 is a diagram showing a case where the collision detection threshold τdisth is smaller than the friction estimation threshold τμth.
[0086] Graph W3 shows the change in collision torque τdis over time. In graph W3, the horizontal axis represents time (seconds) and the vertical axis represents the value of collision torque τdis.
[0087] In the example shown in Figure 5, a collision occurs around 0.4 seconds, and the value of the collision torque τdis begins to increase. It is determined that a collision has been detected around 0.5 seconds, when the collision torque τdis becomes larger than the collision detection threshold τdist. In this way, since the collision detection threshold τdist is smaller than the friction estimation threshold τμth, the sensitivity of collision detection is high, and the control device 100 can detect even a weak collision.
[0088] Furthermore, region R1 is a region in which a collision actually occurs, but is deemed not to have occurred because the collision torque τdis is smaller than the collision detection threshold τdisth. In region R1, the friction torque estimation value is calculated using equation (13) with the collision torque τdis set to zero. However, since the collision torque τdis is not actually zero, an error becomes large. The control device 100 can eliminate the error due to the occurrence of a collision by returning the friction estimation filter value to the value from a predetermined time ago (see step St109 in FIG. 4).
[0089] On the other hand, FIG. 6 is a diagram showing a case where the collision detection threshold τdisth is greater than the friction estimation threshold τμth.
[0090] Graph W4 shows the change in collision torque τdis over time. In graph W4, the horizontal axis represents time (seconds) and the vertical axis represents the value of collision torque τdis.
[0091] 6, in region R3, the value of the collision torque τdis begins to increase around 0.4 seconds after a collision occurs, reaches a maximum around 0.5 seconds, and then decreases. Although a collision occurs in region R3, the collision is not detected because the collision torque τdis is less than the collision detection threshold τdisth.
[0092] In region R4, the value of the collision torque τdis begins to increase around 0.7 seconds after a collision occurs, reaches a maximum around 0.8 seconds, and then decreases. Around 0.8 seconds, the value of the collision torque τdis becomes equal to or greater than the collision detection threshold τdisth, and a collision is detected.
[0093] In this way, a collision cannot be detected until a strong collision that exceeds the collision detection threshold τdisth occurs, and a weak collision such as that in region R3 is not detected. In other words, even though a collision occurs in region R3 and the actual collision torque τdis is not zero, the calculated friction torque value is calculated assuming that the collision torque τdis is zero. This increases the error in the calculated friction torque value, deteriorating the sensitivity of collision detection.
[0094] For this reason, if the collision detection threshold τdisth is equal to or greater than the friction estimation threshold τμth, it is determined that a collision cannot be detected with high sensitivity, and the collision detection threshold τdisth is set to be less than the friction estimation threshold τμth.
[0095] Next, a control block diagram of the dynamics calculation method according to this embodiment will be described with reference to Fig. 7. Fig. 7 is a control block diagram of the dynamics calculation method according to this embodiment. Since the internal configuration of the collision torque estimation block 30 is different from that of the control block diagram in Fig. 1, a description of the same parts will be omitted and only the different parts will be described.
[0096] A friction torque estimated value τμest is estimated in the collision torque estimation block 30. As shown in equation (13), the friction torque estimated value τμest is calculated by subtracting the value obtained by multiplying the motor inertia Jm by the motor angular acceleration αm and the value of the dynamic torque τdyn calculated by the dynamic torque calculation block 26 from the value obtained by multiplying the motor current Im by the motor torque constant Kt.
[0097] The friction torque estimated value τμest is filtered in the friction estimation block 27 to calculate the friction torque calculation value τμcal. As shown in equation (6), the collision torque τdis is calculated by subtracting the calculated friction torque calculation value τμcal from the value obtained by multiplying the motor current Im by the motor torque constant Kt, which is then subtracted from the value obtained by multiplying the motor inertia Jm by the motor angular acceleration αm and the value of the kinetic torque τdyn calculated by the kinetic torque calculation block 26. The collision determination block 31 determines whether a collision has occurred based on the calculated collision torque τdis. If the collision determination block 31 determines that a collision has occurred, the friction estimation block 27 returns the friction torque calculation value τμcal to the friction estimation filter value from a predetermined time ago. The collision torque τdis is calculated using this friction estimation filter value from the predetermined time ago.
[0098] (Summary of the Present Embodiment) The above description of the present embodiment discloses the following techniques.
[0099] <Technology 1> A robot control method according to this embodiment includes a collision detection method for a robot driven by a motor via a reducer, which detects an external force by subtracting a dynamic torque and a friction torque calculation value determined by inverse dynamics calculation of the robot from the torque output by the motor to the reducer, and determines that the robot has collided if the detected value of the external force is higher than a predetermined threshold value. If it is determined that no collision has occurred, a friction estimation filter value obtained by smoothing a friction torque estimate value used to set the friction torque calculation value is updated from the friction estimation filter value from a predetermined time ago, and the friction estimation filter values before and after the update are saved as a friction estimation saved value. Furthermore, if it is determined that a collision has occurred, the friction estimation filter value is restored to the friction estimation saved value before the update.
[0100] As a result, the robot control method according to this embodiment can suppress errors due to temperature changes and individual differences in the motor by updating the friction estimation filter value at predetermined time intervals using the friction torque estimation value calculated in real time, thereby enabling the friction torque calculation value to be calculated with high accuracy.
[0101] Furthermore, in the robot control method, when a collision occurs, the friction estimation filter value is restored to the friction estimation saved value before updating, thereby preventing errors from occurring in the friction torque calculation value due to the influence of the collision.
[0102] This allows the robot control method to calculate the collision torque with high precision, thereby improving the sensitivity of collision detection for the robot.
[0103] <Technology 2> The robot control method described in Technology 1 executes smoothing processing when the collision detection threshold used to derive the detected value of the external force is smaller than a predetermined friction estimation threshold.
[0104] As a result, the robot control method according to this embodiment can detect weak collisions, thereby improving the sensitivity of collision detection for the robot.
[0105] <Technology 3> In the robot control method described in Technology 1 or Technology 2, the smoothing process is a process of weighting and adding together a friction torque estimate value estimated a predetermined time ago and a friction torque estimate value currently estimated.
[0106] As a result, the robot control method according to this embodiment can calculate an estimated friction torque value that takes into account a previously calculated estimated friction torque value, thereby preventing a large error from occurring in the calculated friction torque value when a collision actually occurs but is not detected because the collision torque is less than the collision detection threshold value.
[0107] <Technology 4> In the robot control method according to any one of Technology 1 to Technology 3, the friction torque estimated value is calculated at predetermined time intervals.
[0108] As a result, the robot control method according to this embodiment can calculate the friction torque estimated value in real time, thereby preventing errors in the calculated friction torque value due to temperature changes or individual differences between motors.
[0109] <Technology 5> The robot control method according to any one of Technology 1 to Technology 4 calculates a friction estimation filter value by smoothing the friction torque estimated value for each motor speed.
[0110] As a result, the robot control method according to the present embodiment can calculate the collision torque for each motor speed value using the friction estimation filter value.
[0111] Although the embodiments have been described above with reference to the accompanying drawings, the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications, alterations, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also fall within the technical scope of the present disclosure. Furthermore, the components in the above-described embodiments may be combined in any manner without departing from the spirit of the invention.
[0112] The technology of the present disclosure is useful as a robot control method that improves the sensitivity of collision detection in a robot.
[0113] 6 Position control block 10 Speed control block 18 Torque control block 21 Direction determination 26 Dynamic torque calculation block 30 Collision torque estimation block 31 Collision determination block 99 Motor rotation angle detector W1, W2, W3, W4 Graph R1, R3, R4 Area
Claims
1. A robot control method comprising: a collision detection method for detecting an external force in a robot driven by a motor via a reducer by subtracting a dynamic torque and a friction torque calculation value determined by an inverse dynamics calculation of the robot from the torque output by the motor to the reducer, and determining that the robot has collided if the detected value of the external force is higher than a predetermined threshold value set in advance; and if it is determined that the robot has not collided, updating a friction estimation filter value obtained by smoothing a friction torque estimate value used for setting the friction torque calculation value from the friction estimation filter value from a predetermined time ago, and storing the friction estimation filter values before and after the update as a friction estimation saved value.
2. The robot control method according to claim 1, further comprising the steps of: restoring the friction estimation filter value to the friction estimation stored value before updating when it is determined that a collision has occurred.
3. The robot control method according to claim 1 or 2, further comprising the step of: executing the smoothing process when a collision detection threshold used in deriving the detection value of the external force is smaller than a predetermined friction estimation threshold.
4. A robot control method according to claim 1 or 2, wherein the smoothing process is a process of weighting and adding together the friction torque estimate value estimated a predetermined time ago and the friction torque estimate value currently estimated.
5. The robot control method according to claim 1 or 2, wherein the friction torque estimated value is calculated at predetermined time intervals.
6. The robot control method according to claim 1 or 2, further comprising the step of smoothing the friction torque estimated value for each speed of the motor to calculate the friction estimation filter value.
Citation Information
Patent Citations
Friction parameter control method for robot manipulator
JP1998249763A
Collision detecting method of robot
JP2006116650A
Robot collision detection method
WO2017047009A1
Cited By
Mechanical arm collision detection method, control method and cooking robot
CN121018603A
