ACCELERATION/DECELERATION TIME CONSTANT CONTROL SYSTEM OF ROBOT

Abstract: An acceleration/deceleration time constant control system of a robot for controlling the operations of the robot while setting the acceleration/deceleration time constant of a servomotor to an optimal value for each block. An arrival speed is determined from a travelling amount of a block (S1-S4). An output torque (Tmax) of the servomotor is determined from this arrival speed (S5), and a static load torque (Twn) is substracted from this output torque (Tmax) to obtain an acceleration torque (Tan) (S6). An acceleration (an) is obtained from this acceleration torque (Tan) and a load inertia of the servomotor (S7), and an acceleration/deceleration time constant (τ) is determined from this acceleration (an) (S8). With this operation, an optimal acceleration/deceleration time constant can be determined.

Description: Technical Field The present invention relates to a robot control method based on an acceleration/deceleration time constant, by which the operation of the robot is controlled by deciding the acceleration/deceleration time constant of a servomotor, and more particularly, to a robot control method based on an acceleration/deceleration time constant in which an optimum acceleration/deceleration time constant is determined for each block to thereby control the operation of the robot. Background Art When a robot is adjusted on site, an acceleration time constant and a deceleration time constant are set for each servomotor which drives each arm of the robot. These acceleration time constant and the deceleration time constant are combined, and thus are referred to as an acceleration/deceleration time constant. The acceleration/deceleration time constant depends significantly on the operating conditions of the robot, and therefore, it is difficult to establish a particular time constant to be applied to all cases. Accordingly, it must be decided by empirical judgments and trial operations, and the like. Setting those time constants with such allowances, however, prolongs the cycle times, and setting them to smaller values tends to cause vibration and the like, which has an adverse affect on the positioning accuracy. Accordingly, the time constants must be set to exact values, but it is difficult to determine a standard on which quickly made objective judgments can be based, and accordingly, it is difficult to increase the operating speed when the robot is controlled with acceleration/deceleration time constants having large allowances, even when allowances are given to the torques of the servomotors. EP-A1-0 333 867 discloses a robot controller in which different acceleration/deceleration time constants are stored in a table. Optimum time constants may be selected according to motion conditions. Disclosure of the Invention The present invention is intended to solve the above-mentioned problem, and the object of the present invention is to provide a robot control method based on exact acceleration/deceleration time constants, whereby optimum acceleration/deceleration time constants of servomotors are established in accordance with an amount of movement and a load, and the like. To attain the aforementioned object, a robot control method based on an acceleration/deceleration time constant is provided, in which the acceleration/deceleration time constant of a servomotor is determined for each block, to thereby control the operation of the robot, and wherein a reaching speed is determined from the amount of movement of the block, the output torque of the servomotor is determined from the reaching speed, a static load torque is subtracted from the output torque to determine an acceleration torque, an acceleration is determined from a load inertia of the acceleration torque and the servomotor, and an acceleration/deceleration time constant is determined from the obtained acceleration. Therefore, the reaching speed is determined from the amount of movement of a block to be implemented. For example, if the amount of movement is small, then the reaching speed is also small, and if the amount of movement exceeds a certain value, then the reaching speed becomes a teaching speed. The speed of the servomotor is obtained from the reaching speed, and an output torque of the servomotor can be determined from the torque curve. A viscosity loss is subtracted beforehand to obtain the speed and torque curve. The accelerating torque for accelerating a load is obtained by subtracting the static load torque consisting of a friction torque and a torque from gravity, and the like, from the output torque, and the acceleration/deceleration time constant is determined from the accelerating torque, to thereby control the acceleration and deceleration of the robot. Brief Description of the Drawings FIG. 1 is a flowchart of the robot control method based on the acceleration/deceleration time constant according to the present invention; FIG. 2 is a graph showing the relationship between the amount of movement and the reaching speed of each axis of the robot; FIG. 3 is a graph showing the relationship between the speed and torque of a servomotor; FIG. 4 is a skeleton diagram of the robot; and FIG. 5 is a block diagram of a robot control device for implementing the present invention. Best Mode of Carrying Out of the Invention An embodiment of the present invention is described hereinafter with reference to the accompanying drawings. FIG. 2 is the graph which shows the relationship between the amount of movement and reaching speed of each axis of the robot. The abscissa shown in FIG. 2 indicates time and the ordinate indicates speed. When the moving distance (or rotational angle) is large enough, the resulting line passes through all points, 0, a, b and c as shown by a line 2. More specifically, an axis accelerates until point "a", at a time constant τ₀ moves at a teaching speed Vt, deceleration, and stops at point "c." In this case, the area enclosed by the lines formed by points 0, a, b, c , and 0 corresponds to the moving distance. As the moving distance decreases, the time during which the speed is constant between "a" and "b" becomes shorter. When the distance between "a" and "b" is larger than 0, this is called a long motion, and when the distance is 0 or less, this is called a short motion. At the boundary between the long motion and short motion, the locus is indicated by a line 3 containing 0, a, and c₁. When the moving distance further decreases, the acceleration changes up to a straight line "0d" defined by the time constant τ₀ and a maximum speed Vmax, to form a line 4 containing 0, a₁ and c₂. When the moving distance further decreases, the locus is indicated by a line 5 containing 0, a₂ and c₃. At that time, the maximum speed is Vu; this is referred to as the reaching speed. FIG. 3 shows the relationship between the speed of a servomotor and the torque. In FIG. 3, the abscissa indicates a speed (V) and the ordinate indicates a torque (T). Accordingly, when a certain speed V is determined, the corresponding maximum torque Tmax is determined, and the relationship is stored in the robot control device as data for each servomotor of the robot. FIG. 4 is the skeleton diagram of the robot. In this figure, the angle at which the robot is set is denoted as ϑ₀, and the angles of the 1st through 6th axes are denoted as ϑ₁ through ϑ₆, a load weight is denoted as W, and the offset amounts at the centroid of a load are denoted as L₁ and L₂ . Accordingly, the inertia of each axis and a static load torque can be expressed by the following formulae, where the static load torque includes a friction torque and centroid torque. The inertia of the 1st axis is denoted as I₁, the inertia of the 2nd axis as I₂, and inertias of the remaining axes as I₃, I₄, I₅ and I₆, respectively, in the same way. Similarly, the static load torque of the 1st axis is denoted as T w1 , the static load torque of the 2nd axis as T w2 , and the static load torques of the remaining axes as T w3 , T w4 , T w5 and T w6 , respectively. Accordingly, these values can be determined from the following expressions: I₁ = F₁ (ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) I₂ = F₂ (ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) I₃ = F₃ (ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) I₄ = F₄ (ϑ₅, ϑ₆, L₁, L₂, W) I₅ = F₅ (ϑ₆, L₁, L₂, W) I₆ = F₆ (L₁, L₂, W) T w1 = G₁ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) T w2 = G₂ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) T w3 = G₃ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) T w4 = G₄ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) T w5 = G₅ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) T w6 = G₆ (ϑ₀, ϑ₁, ϑ₂, ϑ₃, ϑ₄, ϑ₅, ϑ₆, L₁, L₂, W) The functions F₁ through F₆, and G₁ through G₆ can be calculated from the structure and posture of the robot. Therefore, when the robot is placed under a particular condition, the inertias I₁ through I₆ and the static load torques T w1 through T w6 can be determined by an arithmetic operation carried out by the robot control device. When reading a program, these inertias and static load torques are sequentially computed, to obtain a present position P n and a moving target position P n+1 . Nevertheless, the values for the values for ϑ₀, L₁, L₂ and W are set at the time of teaching, because they vary depending on the particular operation of the robot. FIG. 5 is a block diagram showing an outline of the robot control device for implementing the present invention. As shown in this figure, a robot control device 30 is provided with a processor board 31 including a processor 31a, ROM 31b, and RAM 31c, and the processor 31a controls the whole robot control device 30 in accordance with the system program stored in the ROM 31b. Data such as the aforementioned L₁, L₂, and W, an operating program and the like are stored in the RAM 31c. A part of the RAM 31c consists of a nonvolatile memory, and the data, the operating program and the like mentioned above are stored in the nonvolatile memory. The processor board 31 is connected to a bus 39. A digital servo control circuit 32 is connected to the bus 39, and drives servomotors 51, 52, 53, 54, 55 or 56 via a servoamplifier 33 in response to commands issued by the processor board 31. The servomotors are incorporated in, and operate the individual axes of, a robot 1. A serial port 34 is connected to the bus 39, a teaching console 57 with a display unit, and other RS232C equipment 58. The teaching console with the display unit is used to enter an operating program or the like. A CRT 36a is connected to the serial port 34. A control panel 36b is connected to a digital I/O 35, and signals are output to the outside via the digital I/O 35 and an analog I/O 37. Also, teaching data and operating programs not being used are stored in a large-capacity memory 38. In the above explanation, the servo control circuit 32 uses a digital servo control circuit, but the above also applies when an analog servo control circuit is used. FIG. 1 is a flowchart of the robot control method based on an acceleration/deceleration time constant obtained according to the present invention, as described below. In the figure, the numerals following "S" indicate the step numbers. [S1] Taking into account the distance to a moving target position, the system decides whether or not the speed has reached the teaching speed Vt. If the result is YES, the system proceeds to S2, and if NO, proceeds to S3. [S2] The teaching speed Vt is established as the speed V. [S3] The reaching speed Vu is determined according to the following expression: Vu = (X · Vmax/τ₀) 1/2 [S4] The reaching speed Vu is established as the speed V. [S5] The maximum torque Tmax for the speed V is determined from the torque curve given in FIG. 3. [S6] The static load torque Tw is subtracted from the maximum torque Tmax to determine an acceleration torque Ta. Namely the static load torque at the present point denoted as T wn and the static load torque at the target point denoted as T wn+1 , acceleration torques Ta n and Ta n+1 are determined for the static load torques at the present point and at the target point, respectively. Ta n = Tmax - T wn Ta n+1 = Tmax - T wn+1 [S7] The accelerations a n and a n+1 are determined for each of the acceleration torques denoted as Ta n and Ta n+1 , the inertia at the present point denoted as In, and the inertia at the target point denoted as I n+1 . a n = (Ta n / I n ) a n+1 = (Ta n+1 / I n+1 ) In this case, a n or a n+1 , whichever is smaller, is taken as the acceleration a. [S8] Using the acceleration a and the speed V, the acceleration/deceleration time constant τ is calculated from the following expression: τ = a/V It is possible to adjust the acceleration/deceleration time constant and the like by multiplying a constant A for a fine adjustment at each teaching point of a program. Also, the steps from S1 through S8 are repeated for each axis. [S9] Among the six axes, the largest τ is established as the acceleration/deceleration time constant for all axes. This sets the same acceleration/deceleration time constant such that the trajectory of the end of the robot arm does not deviate from a taught track. If the trajectory is not important, then it is not necessary to use the same acceleration/deceleration time constant for all axes, and instead, an optimum acceleration/deceleration time constant may be determined for each axis. In the above description, a joint-type robot consisting of six axes is used, but the acceleration/deceleration time constant may be set to an optimum value in the same way for other types of robot, thus reducing the operation time. As explained above, according to the present invention, the acceleration/deceleration time constant for each axis can be determined from the reaching speed, inertia and the like, which allows an optimum acceleration/deceleration time constant to be determined and the operation time to be reduced.

Claims: A robot control method based on an acceleration/deceleration time constant (τ) characterized in that the acceleration/deceleration time constants (τ) of servomotors are set to optimum values for each block, to thereby control the operation of the robot, said setting to optimum values comprising: a step (S1-S4) in which a reaching speed (Vu) is determined from an amount of movement (X) of a block; a step (S5) in which an output torque (Tmax) of a servomotor is determined from said reaching speed (Vu); a step (S6) in which a static load torque (T wn ) is subtracted from said output torque (Tmax) to determine an acceleration torque (Ta n ); a step (S7) in which an acceleration (a n ) is determined from said acceleration torque (Ta n ) and a load inertia (I n ) of said servomotor; and a step (S8) in which an acceleration/deceleration time constant (τ) is determined from said acceleration (a n ). The robot control method based on an acceleration/deceleration time constant (τ) according to claim 1, wherein said static load torque (T wn ) is used as an erasable parameter at a time of teaching so that the acceleration/deceleration time constant (τ) can be changed in accordance with a load of the robot. The robot control method based on an acceleration/deceleration time constant (τ) according to claim 1, wherein said acceleration (a n ) or said acceleration/deceleration time constant (τ) can be adjusted with a specific constant at each teaching point of an operating program. The robot control method based on an acceleration/deceleration time constant (τ) according to claim 1, wherein the largest value among said acceleration/deceleration time constants (τ) of the individual servomotors is selected (S9) for a control of all of the servomotors. The robot control method based on an acceleration/deceleration time constant (τ) according to claim 1, wherein said acceleration/deceleration time constant (τ) for each servomotor is separately determined.

Inventors: KATO TETSUAKI - FANUC MANSION, KINOSHITA SATOSHI - FANUC MANS, NAITO YASUO - FANUC MANSION HA, NIHEI RYO - FANUC MANSION HARI, TORII NOBUTOSHI, KATO, TETSUAKI 8-101, FANUC MANSION HARIMOMI, KINOSHITA, SATOSHI 9-306, FANUC MANSION HARIMOMI, NAITO, YASUO 7-205, FANUC MANSION HARIMOMI, NIHEI, RYO 7-210, FANUC MANSION HARIMOMI, TORII, NOBUTOSHI
Applicants: FANUC LTD, FANUC LTD.
Application year: 1991
Main classification: G05B19
IPC codes: G05D3, B25J9, G05B19