# US 2006/0071625 A1 · Robot arm control method and control device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0071625 A1
- Document ID: US20060071625A1
- Status: Published application
- Kind: A1
- Application number: 10/546,712
- Filed: 2004-07-02
- Published: 2006-04-06
- Earliest claimed: 2003-07-29
- Assignees: Matsushita Electric Industrial Co., Ltd.
- Inventors: Hiroyuki Nakata; Naoto Masunaga; Atsumi Hashimoto; Yasushi Mukai
- Web page: https://patentgrep.com/patent/US20060071625A1

## CPC

- G05B 19/4061: Avoiding collision or forbidden zones
- B25J 9/1633: {compliant, force, torque control, e.g. combined with position control}
- B25J 9/1676: {Avoiding collision or forbidden zones}
- G05B 2219/39355: Observer, disturbance observer
- G05B 2219/40226: Input control signals to control system and to model, compare their outputs
- G05B 2219/42288: Limit, stop drive current if axis obstructed, blocked, force against stop
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})

## Abstract

When either a command value or an actually measured value is appropriately selected as an angular velocity used for the frictional torque calculation, the frictional compensation can be made valid at all times in both the case in which a robot is actively operated according to an angular velocity command and the case in which the robot is passively operated being pushed by an external force. In the case where a motor rotating direction and a collision direction are reverse to each other after a collision has been detected, the control mode is switched from the positional control to the electric current control and a torque, the direction of which is reverse to the direction of the motor rotation is generated by the motor, so that the motor rotating speed can be reduced and the collision energy can be alleviated. After that, when the motor rotating speed is reduced to a value not more than the setting value, the control mode is switched to the compliance control and the distortion caused in a reduction gear is dissolved. On the other hand, in the case where the motor rotating direction and the collision direction are the same, the control mode is directly switched from the positional control to the compliance control without passing through the electric current control. When the robot is operated whole following a collision force, the collision force can be alleviated.

## Claims

### Claim 1

A method of controlling a robot arm comprising:
a step of detecting a rotary angle of a motor to drive a robot arm;
a step of calculating an actually measured angular velocity from the rotary angle;
a step of calculating a command angular velocity from a command value given to the motor;
a step of calculating a frictional torque according to one of the command angular velocity and the actually measured angular velocity, wherein an absolute value of the command angular velocity and an absolute value of the actually measured angular velocity are compared with each other and the angular velocity of a higher absolute value is used for calculating the frictional torque; and
a step in which a value corresponding to the frictional torque is added to the command value given to the motor when the motor is driven according to the command value.

### Claim 2 (depends on 1)

A method of controlling a robot arm according to claim 1, further comprising: a step in which at least one of the command angular velocity and the actually measured angular velocity is multiplied by a weighting factor or alternatively the weighting factor is added to at least one of the command angular velocity and the actually measured angular velocity.

### Claim 3 (depends on 1)

A method of controlling a robot arm according to claim 1, further comprising: a step in which at least one of the command angular velocity and the actually measured angular velocity is multiplied by a friction compensation rate.

### Claim 4

A method of controlling a robot arm driven by a motor via a reduction gear, comprising:
a step of calculating a generation torque generated by the motor;
a step of calculating a frictional torque, which includes at least a dynamic frictional torque of a reduction gear necessary for an output of the reduction gear, from the torque by an inverse dynamic calculation;
a step of increasing a dynamic torque of the reduction gear according to the frictional torque necessary for the output of the reduction gear; and
a step of calculating an external force by subtracting the increased frictional torque from the generated torque.

### Claim 5

A method of controlling a robot arm driven by a motor via a reduction gear, comprising:
a step of conducting a motor output torque compensation by feedforward control according to the inverse dynamic calculation of the robot for finding a torque necessary for the reduction gear output and according to the dynamic frictional torque calculation of the reduction gear,
wherein the dynamic frictional torque of the reduction gear is increased in proportional to the torque necessary for the reduction gear output in the case of conducting feedback control.

### Claim 6

A method of controlling a robot in a stopping operation conducted after the detection of a collision of a robot driven by a motor, in an axis in which a motor rotary direction and a collision torque direction are reverse to each other, when a control mode is switched from the positional control, in which an electric current command to make an actual position follow a positional command is generated, to the electric current control in which an electric current to generate a torque, the direction of which is reverse to the rotary direction of the motor, by the motor is commanded, a motor rotating speed is decreased, and when the motor rotating speed is decreased to a value not more than the setting value, the control mode is switched to a compliance control in which the robot follows a collision force direction; and
in an axis in which the motor rotary direction and the collision torque direction are the same, the control mode is switched from the positional control to the compliance control.

### Claim 7 (depends on 6)

A method of controlling a robot according to claim 6, wherein in an axis in which a collision detecting torque is lower than the setting value, irrespective of the motor rotary direction and the collision torque direction, the control mode is switched from the positional control to the electric current control, and when a torque, the direction of which is reverse to the direction of the motor rotation, is generated by the motor, the motor rotating speed is reduced, and when the motor rotating speed is reduced to a value not more than the setting value, the control mode is switched to the compliance control.

### Claim 8 (depends on 6)

A method of controlling a robot according to claim 6, wherein when the electric current control is conducted in which a torque, the direction of which is reverse to the motor rotary direction, is generated by the motor in an axis in which the motor rotary direction and the collision torque direction are reverse to each other and the motor rotating speed and the collision torque detection value exceed the setting values, after the motor rotating speed is reduced, a torque in the reverse direction is kept being impressed until the speed direction is inverted, and when the motor rotating speed is increased to a value not less than the setting value, the control mode is switched to the compliance control in which the robot follows the collision force direction.

### Claim 9 (depends on 6)

A method of controlling a robot according to claim 6, wherein when the electric current control, in which a torque, the direction of which is reverse to the direction of motor rotation, is generated by the motor, is conducted after the collision detection, an electric current to generate the maximum torque of the motor is commanded.

### Claim 10

A device of controlling a robot comprising:
a collision torque detecting means for detecting an intensity and direction of torque given to a motor, which drives an arm of the robot, by a collision force given to the arm of the robot;
a collision judgment means for judging a collision by comparing the collision torque detecting value with the threshold value of the collision torque which has been set;
a motor rotation detecting means for detecting a rotating speed and a rotating direction of the motor;
a collision direction discriminating means for comparing the collision torque detecting direction with the motor rotary direction; and
a motor deceleration judging means for confirming a deceleration of the motor by comparing the motor rotating speed with the threshold value which has been set, wherein in an axis in which a motor rotary direction and a collision torque direction are reverse to each other, when a control mode is switched from the positional control, in which an electric current command to make an actual position follow a positional command is generated, to the electric current control in which an electric current to generate a torque, the direction of which is reverse to the rotary direction of the motor, by the motor is commanded, a motor rotating speed is decreased, and when the motor rotating speed is decreased to a value not more than the setting value, the control mode is switched to a compliance control in which the robot follows a collision force direction,
a device of controlling a robot further comprising a control mode switching means for switching from the positional control means to the compliance control means in an axis in which the motor rotary direction and the collision torque direction are the same.

### Claim 11 (depends on 10)

A device of controlling a robot according to claim 10, further comprising:
a collision torque threshold value judging means for comparing the collision torque detection value with the collision direction discriminating torque threshold value; and
a control mode switching means for switching the control mode from the positional control means to the electric current control means in an axis, in which the collision torque detection value is lower than the collision direction discriminating torque threshold value, irrespective of the motor rotary direction and the collision torque direction and for switching the control mode to the compliance control means when the motor rotating speed is reduced by generating a torque, the direction of which is reverse to the direction of the motor rotation, by the motor so as to reduce the rotating speed of the motor and the rotating speed of the motor is reduced to a value not more than the setting value.

### Claim 12 (depends on 10)

A device of controlling a robot according to claim 10, wherein when the electric current control is conducted in which a torque, the direction of which is reverse to the motor rotary direction, is generated by the motor in an axis in which the motor rotary direction and the collision torque direction are reverse to each other and the motor rotating speed and the collision torque detection value exceed the setting values, after the motor rotating speed is reduced, a torque in the reverse direction is kept being impressed until the speed direction is inverted, and when the inverted motor rotating speed is increased to a value not less than the setting value, the control mode is switched to the compliance control in which the robot follows the collision force direction.

### Claim 13 (depends on 10)

A device of controlling a robot according to claim 10, further comprising: an electric current control means for commanding an electric current to generate the maximum torque by the motor, the direction of which is reverse to the direction of the motor rotation, when the electric current control means is selected by the control mode switching means after the collision has been detected.
