APPARATUS OF CONFIRMING THE OPERATION ABILITY OF AN INDUSTRIAL ROBOT

Abstract: In an industrial robot, shafts ( theta , U, W, Z) of joints are driven by electric motors (Mz, M theta , Mu, Mw, Mz), respectively. The drive currents of the electric motors (Mz, M theta , Mu, Mw, Mz) for driving the shafts ( theta , U, W, Z) are detected by a motor current detector (30). One of the shafts ( theta , U, W, Z) is selected in the interval between a first time and a second time in the operation programs of the shafts ( theta , U, W, Z), and the current of the motor (Mz, M theta , Mu, Mw, Mz) for the selected shaft is sampled at very short intervals. The ratio of the rms value of the sampled currents in said first and second times to the rated current of the motor is calculated by operation means (CPU), and the rms value and the ratio of it to the rated current are displayed on a display unit (40), so that the operator is allowed to confirm the proper degree in the operation ability of the robot operation portions (16, 18, 20, 22, 24) inclusive of robot arms.

Description: TECHNICAL FIELD The present invention relates to a method of and apparatus for ascertaining the motion abilities of an industrial robot, to thereby allow the industrial robot to operate without overloading the drive sources thereof. More particularly, it relates to a method of ascertaining the motion abilities of an industrial robot and an apparatus for carrying out that method, capable of ascertaining the propriety of the movements of robot functional units of the industrial robot about corresponding articulatory axes, in comparison with the respective motion abilities thereof, on the basis of rated electric currents supplied to corresponding electric drive motors during the operation of the industrial robot, respectively. BACKGROUND ART Various industrial robots including articulated industrial robots each having articulated functional units, such as a plurality of robot arms, a robot wrist and a turnable robot body, employing electric drive motors (electric servomotors) as drive sources are in use. To enable such an industrial robot to perform robot motions, a robot control unit inputs commands or instructions to respective servomechanisms to electrically drive electric drive motors and mechanically drive the robot functional units according to a control program previously taught to and stored in the robot control unit, and the servomechanisms control the electric drive motors to thereby drive the functional robot units for movement about corresponding articulatory axes. In such an industrial robot employing electric motors as drive sources for moving the robot units about the corresponding articulatory axes, the motion ranges of the robot functional units about the articulatory axes, the operation speeds of the robot units, and the allowable loads on the robot units are limited by the electric rated performance of the corresponding electric drive motors. Namely, an accident, such as abnormal overheating and resultant burning of the electric drive motor associated with an articulatory axis when an electric current exceeding the rated value is supplied continuously to the electric drive motor, to meet a required power exceeding the rated power thereof, may occur when carrying out a series of robot motions according to the control program to shift the working point thereof from a given position in the operating space to a subsequent desired position. Nevertheless, the conventional industrial robot depends on a very primitive means of preventing such a possible accident. That is, an alarm is given when an excessive electric drive-current is supplied to the electric motor and the electric motor becomes overheated during a robot motion due to an excessive load on the industrial robot, or when an inappropriate set motion range or an inappropriate set operating speed occurs, and the conventional preventive means carries out a cumbersome procedure to determine the cause of the alarm through a trial-and-error method including measuring the electric drive current supplied to the electric drive motor, by a current measuring device, i.e., an ammeter, while the electric motor is in operation, recording the output of the current measuring device by a recorder, calculating the level of the actual electric drive current supplied to the electric drive motor with respect to the rated current of the electric drive motor, by a suitable calculator, and deciding whether or not the set operating speed and set acceleration of the related robot unit about the articulatory axis are appropriate. Accordingly, it has been impossible to quickly ascertain the propriety of the instant motions of the industrial robot at an optional moment in the operation of the industrial robot, and to change the control program when necessary. Furthermore, heat generated by the electric drive motors may cause a thermal distortion of a robot functional unit, such as a robot arm, which is a serious problem when the respective robot functional units must move with a high accuracy. Therefore, an object of the present invention is to provide a robot capable of performing a method of ascertaining the motion abilities of an industrial robot, whereby the disadvantages of the conventional method and are eliminated, and which is capable of easily ascertaining a control program for and operating conditions of the motions of each unit about a corresponding articulatoryaxis through a test of one motion of the industrial robot. A further object of the present invention is to provide a multiarticulated industrial robot provided with an apparatus for carrying out the foregoing ascertaining method, and electric motors as drive sources for driving robot units about corresponding articulatory axes. WO-A-8704276, DE-A-3151831 and JP-A-60-209802 discloses electric motor control systems with current monitoring. SU-A-930135 discloses r.m.s quantity measurement apparatus. In accordance with the present invention, there is provided an industrial robot as defined in claim 1. The apparatus is capable of directing carrying out the foregoing method of ascertaining the motion faculties of an industrial robot. The above and other objects, features and advantages of the present invention will become more apparent from the following description of preferred embodiment thereof taken in conjunction with the accompanying drawings, in which: Figure 1 is a schematic perspective view illustrating the basic constitution of a horizontal arm type multi-articulated industrial robot having a motion ability ascertaining function according to an embodiment of the present invention; Fig. 2 is a flow chart of an operation program for ascertaining the motion ability of each joint axis of the robot during a robot operation; Fig. 3 is a flow chart of a control program for implementing the calculation of a ratio of the root-mean-square value of the electric current supplied to an electric drive motor to the rated electric current of the same electric drive motor by the motion ascertaining function of the industrial robot according to the embodiment of the present invention; and Fig. 4 is a plan view of the screen of a display for displaying the ratio of the root-mean-square value of the electric current supplied to each of the electric drive motors to the rated current of the same electric drive motor. BEST MODE OF CARRYING OUT THE INVENTION Referring to Fig. 1, a horizontal arm type multi-articulated industrial robot 10 having a motion ascertaining function according to an embodiment of the present invention, has a robot body 14 mounted upright on a robot base 12 and holding a vertical shaft 16 for vertical movement along a vertical axis Z relative to the robot body 14. A first robot arm 18 is joined pivotally at the rear end thereof to the upper end of the vertical shaft 16 for a horizontal turning motion about a vertical axis , and a second robot arm 20 is joined pivotally at the rear end thereof to the front end of the first robot arm 18 for a horizontal turning motion about a vertical axis U. A robot wrist 22 is pivotally attached to the front end of the second robot arm 20 for a horizontally turning motion about a vertical axis W, and a robot hand 24, i.e., an end effector, is detachably attached to the front end of the robot wrist 22. The horizontal arm type multi-articulated industrial robot 10 having the horizontally turnable robot arms 18 and 20 and the horizontally turnable robot wrist 22 is provided with electric drive motors (electric servomotors), associated respectively with the axis Z and the articulatory axes , U and W as drive sources. The speed of the rotative outputs of the electric drive motors is reduced and transmitted through reduction mechanisms or transmission mechanisms, such as worm gearings, belt-pulley transmission mechanisms or ball-and-screw mechanisms, to drive the robot arms 18 and 20, the robot wrist 22 and the vertical shaft 16, respectively. In Fig. 1, the electric drive motors associated with the axis Z and the articulatory axes , U and W are indicated at Mz, M, Mu and Mw, respectively. Each of the electric drive motors Mz, M, Mu and Mw is controlled and driven by a servo-control system including a motor driving unit 28 having a servomechanism and an electric drive circuit therein, in accordance with instructions given by a robot control unit 26 to the motor drive unit 28, to thereby move the associated functional robot unit at an operating speed denoted by the instructions. Although only the motor drive unit 28 for the electric drive motor Mu is illustrated in Fig. 1, it is obvious that motor drive units similar to the motor drive unit 28 are provided individually for the other electric motors Mz, M and Mw. Each of the servo-control systems for the electric drive motors Mz, M, Mu and Mw further includes a motor-current detecting unit. For example, the servo-control system for the electric drive motor Mu includes a motor-current detecting unit 30 for detecting an electric current of a drive current supply circuit for the electric drive motor Mu. Namely, the motor-current detecting unit 30 detects the electric current for driving the motor Mu by a measurement of an electric voltage drop across a resistor R provided in the drive current supply circuit, converts the value of the detected electric current to a corresponding digital value through an analogue-to-digital conversion, and sends the digital value to the robot control unit 26. As is well known, the robot control unit 26 is provided with a CPU 32, i.e., processing means, for controlling the robot motions of the industrial robot. An interface 36, a ROM circuit 38 storing control programs, a first RAM (1) 44, i.e., an erasable first storage means, a second RAM (2) 46, i.e., an erasable second storage means, and an operating panel 42 provided with a display 40 are connected by a bus 34 to the CPU 32. The motor drive currents detected by the motor-current detecting units 30 respectively for the electric drive motors M, Mu, and Mw are transmitted through the interface 36 to and stored individually in the first RAM 44 of the robot control unit 26. Various motion control programs for controlling the industrial robot in accordance with working conditions required for the robot, are taught by manually operating the operating panel 42. The motion control programs include a root-mean-square value calculating program for calculating the root-mean-square values of the electric drive currents respectively supplied to the electric drive motors Mz, M, and Mw associated respectively with the articulatory axes in carrying out a series of robot motions. During the series of robot motions, the ratio of the root-mean-square value of the electric drive current supplied to each of the electric motors Mz, M, Mu and Mw to the rated electric current of each of the electric drive motors Mz, M, Mu and Mw, which is stored previously in, for example, the first RAM 44, is calculated, and the results of calculation are indicated on the display 40 of the operating panel 42 to enable the operator to visually check whether the electric drive motors Mz, M, Mu, and Mw are overloaded and the industrial robot is using a full motion faculty thereof. When necessary, the instructions, such as moving speeds, contained in the motion control programs for controlling motions about the articulatory axes can be replaced by other appropriate instructions. Figure 2 illustrates an operation program including a motor drive current calculating command. The operating program illustrated in Fig. 2 comprises a calculation start command S1, program of a series of motions to be sequentially executed, and a calculation end command S2 for terminating the calculation. When carrying out the robot motions between the calculation start command and the calculation end command, the root-means-square value of the electric drive current supplied to one selected electric motor among the electric drive motors Mz, M, and Mw and the ratio of the root-mean-square value to the rated electric current of the selected electric motor are calculated. Figure 3 illustrates a flow chart of the foregoing calculation routine to be implemented by the robot control unit 26. Upon receipt of the calculation start command S1, the CPU 32 clears a mean current calculating register for calculating the mean current relating to one selected articulatory axis among the articulatory axes, and a time integrating register for integrating a time elapsed from when the calculation is started by the second RAM 46 (Step 1). Then, the CPU 32 reads the measured drive currents (digital values) for each electric drive motor from the first RAM 44 (Step 2), and squares the values of the measured drive currents (Step 3). Subsequently, when the time integrating register of the second RAM 46 integrates fixed sampling periods ΔT from an elapsed time Ts (Ts = 0 at the start of the calculation) from the start of the calculation (Step 4), the CPU 32 calculates the root-mean-square value of the electric drive current during the elapsed time (Step 5): The CPU calculates the ratio of the root-mean-square value of the current to the rated electric current of the corresponding electric drive motor stored previously in the first RAM 44 (Step 6), and displays the calculated ratio on the display 40 of the operating panel 42 (Step 7). The above root-mean-square value of the electric drive current and the integrated times are both stored in a predetermined register of the second RAM 46 each time the calculation is completed. The above-mentioned calculation is repeated at a fixed sampling period ΔT for a time Ts until the CPU 32 receives the calculation end command (Step 8). Thus, the root-mean-square value of the electric drive current supplied to an electric drive motor between the calculation start command S1 and the calculation end command S2 can be calculated, and on the basis of that calculation, a discrimination of whether or not an electric drive current exceeding the rated electric current is supplied to the electric drive motor is carried out. The display 40 displays the respective root-mean-square values of the electric drive currents supplied respectively to the electric drive motors Mz, M, and Mw, and the ratios of respective root-mean-square values of the electric current supplied to respective electric drive motors to the electric rated current of the corresponding electric drive motor. Figure 4 illustrates an example of the ratios of respective root-mean-square values to the corresponding electric rated current, and the root-mean-square values for the electric drive motors Mz, M, Mu and Mw displayed on the display 40. It is known from the data displayed on the display 40 that the ratios for the electric motors H and Mu are greater than 1.0, namely, the electric drive currents supplied respectively to the electric motors M and Mu are greater than the corresponding electric rated currents, and thus the electric drive motors M and Mu could be overheated. In such a case, the robot control program is changed and corrected so that all ratios exceeding 1.0 are reduced to approximately 1.0. On the other hand, if some of the ratios are much less than 1.0, it is determined that the motions about the articulatory axes relating to the ratios much less than 1.0 are not employing the full ability of the industrial robot. In such a case, the robot control program is corrected to increase the speed and acceleration of movements about the related articulatory axes. As apparent from the foregoing description, according to the present invention, the robot control unit of an industrial robot employing electric drive motors as drive sources for the movements of the component functional robot units respectively about articulatory axes calculates, by a simple calculation process, data for determining whether the moving range and moving speed of the functional robot units and load on the electric drive motors when carrying out a series of robot motions are appropriate; i.e., if the motion ability of the industrial robot is properly exerted when moving the functional robot units about the articulatory axes, and displays the results of the calculation on a screen so that the operating condition of the industrial robot can be visually ascertained. The robot control program is corrected, if necessary, by reference to the displayed data, to provide an optimum robot control program. Accordingly, the industrial robot is able to exert its full ability and overheating of the electric drive motors can be prevented. Although the present invention has been described as applied to a horizontal arm type multi-articulated industrial robot, the present invention is equally applicable to various articulated industrial robots other than the horizontal arm type multi-articulated industrial robot. Many changes and variations of the present invention are possible in the light of the above teachings, without departing from the scope thereof, and therefore it should be understood that the present invention is applicable to industrial robots employing electric motors as drive sources for driving the functional robot units thereof, other than articulated industrial robots, to provide the industrial robots with a motion ability ascertaining function.

Claims: An industrial robot (10) employing electric motors (Mu,Mw,Mz) as drive sources respectively for driving a plurality of functional robot units (16,18,20) for movement respectively about a plurality of articulatory axes under the control of a robot control unit, said industrial robot comprising: current detecting means (30) for detecting the electric currents supplied to each of said electric motors associated with the articulatory axis during motion of an associated functional robot unit about the same articulatory axis, comprising an analogue detector (30) for detecting the electric drive currents supplied to said electric motors in analogue values, and an A-D converter for the analogue values to corresponding digital values ; characterised by first storage means (44) for storing digital values representing the electric currents detected by said current detecting means (30); second storage means (46) for integrating predetermined minute sampling times in a period between a first time and a second time during motion of each functional robot unit (16,18,20), and for storing a sum of said predetermined minute sampling times; computing means (32) for calculating a ratio of a root-mean-square value of said electric current supplied to each said electric motor (Mu,Mw,Mz) to the rated current of said same electric motor on the basis of said sample currents read from said first storage means at each predetermined minute sampling time and said sum of said predetermined minute sampling times calculated by and stored in said second storage means; display means (40) for displaying said root-mean-square values of said electric current supplied to said electric motors and the ratios each of the root-mean-square value of said electric current supplied to each said electric motor to the rated current of said same electric motor calculated by said computing means, to thereby ascertain the propriety of motions of said functional robot units about the associated articulatory axes with reference to said rated currents of said electric motors; said robot control unit (26) including said first and second means (44,46), said computing means (32) and said display means (40), and said current detecting means (30) inputting said digital values to said first storage means (44). An industrial robot (10) according to claim 1, wherein said current detecting means (30) for detecting the electric currents supplied to said electric motors (Mu,Mw,Mz) is an external means connected to the robot control unit (26). An industrial robot (10) according to claim 2, wherein said first (44) and second (46) storage means comprise RAMs. An industrial robot (10) according to claim 1, wherein said functional robot units associated respectively with the articulatory axes are a vertically movable shaft (16) and at least two articulated horizontal robot arms (18,20) rotatably supported on the vertically movable shaft (16).

Inventors: NIHEI RYO, TERADA AKIHIRO, TORII NOBUTOSHI, NIHEI, RYO, TERADA, AKIHIRO, TORII, NOBUTOSHI, NIHEI, RYO FANUC DAI-3 VIRA-KARAMATSU, TERADA, AKIHIRO FANUC MANSION HARIMOMI 8-207
Applicants: FANUC LTD, FANUC LTD.
Application year: 1989
Main classification: G05B19
IPC codes: G05B19, B25J19