Links

Images

Classifications

G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS

G05B19/00—Programme-control systems

G05B19/02—Programme-control systems electric

G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

G05B19/408—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data

G05B19/4083—Adapting programme, configuration

G—PHYSICS

G05—CONTROLLING; REGULATING

G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS

G05B19/00—Programme-control systems

G05B19/02—Programme-control systems electric

G05B19/42—Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine

G05B19/425—Teaching successive positions by numerical control, i.e. commands being entered to control the positioning servo of the tool head or end effector

Abstract

In a robot having a servo control section for driving an actuator, an arithmetic operating unit, memories, and input and output devices, a method and apparatus provide teaching data from one robot to another. First, there is detection of mechanism errors peculiar to a particular robot of interest. Standard position information obtained from the result of a teaching operation and compensation of the mechanism errors of another robot is used with the mechanism errors of the particular robot to calculate the corrected standard position information (teaching data for the particular robot). This information is derived by subtracting the mechansim errors of the particular robot from that standard position information to produce the teaching data for the particular robot.

Description

BACKGROUND OF THE INVENTION

The present invention relates to generation and utilization of teaching data of a robot and, more particularly, to a method and apparatus for generating and applying teaching data whereby teaching data of one robot can be commonly used for another robot.

A servo command value for a robot is frequently indicated by joint angles, e.g. θ1A, θ2A shown in FIG. 3A. There is a relation of

X(P)

between joint angles and a command position DA by a mechanism parameter P including the angle θ2A. X denotes a vector indicative of the position and orientation of a robot. P is a mechanism parameter indicative of the length of arm, attaching angle, or the like.

When considering a 2 degree-freedom SCARA robot shown in, e.g., FIG. 4A, the command values are θ1 and θ2 in FIG. 4B. (Although the definitions of the θ1 and θ2 differ in every robot, they are defined as shown in FIG. 4B in this example). Only arm lengths r1 and r2 are provided as mechanism parameters. Consequently, the following equation is derived. ##EQU1##

On the contrary, joint angles can be also obtained from X(P) by the well-known coordinates transformation of a robot.

For instance, in the case of FIGS. 4A and 4B, assuming that ##EQU2## θ1 and θ2 can be obtained by ##EQU3##

However, since the mechanism parameter P includes the assembling error and the machining error of the dimensions and angle ΔP (which is referred to as the mechanism errors) which occur upon working, even if the robot is operated in accordance with a command value, the robot does not reach the command position DA but actually moves to a position TA.

For example, when the arm lengths r1 and r2 of the robot shown in FIG. 4A include errors of Δr1 and Δr2, if θ1 and θ2 are given, the robot does not reach the position DA ##EQU4## but it obviously moves to the position TA ##EQU5##

Further, if the origin positions (the positions when θ=0) of θ1 and θ2 are deviated by Δθ1 and Δθ2, the equation (4) becomes as follows. ##EQU6##

That is, even if the robot is desired to move to the position DA of the equation (3) by using (r1, r2, θ1, θ1), the robot arrives at the position TA of the equation (5) due to (Δr1, Δr2, Δθ1, Δθ2).

In other words, when the robot is controlled by the command position DA =X(P), the robot eventually reaches the position TA =X(P+ΔP). Therefore, the operator performs a teaching work for allowing the robot to be positioned to the actual position TA, and the command position X(P) is stored as teaching data into a memory, and playback processes are executed on the basis of this teaching data.

A method of obtaining the mechanism error ΔP has been disclosed in U.S. Pat. No. 4,670,849 by Okada et al, filed on June 2, 1987. On the other hand, a method of obtaining what is called a coordinates transformation equations corresponding to the equations (1) and (2) suitable for general robots such as robots other than the SCARA robot has been disclosed in detail in Richard P. Paul, "Robot Manipurators: Mathematics, Programming and Control", The MIT Press.

In the case of using a plurality of robots of the same type, there is a large demand such that the data taught to one of the robots is used even for the other robots. However, since the mechanism error ΔP of the robot as mentioned above differs in each robot, the data taught to one robot cannot be directly used for the other robots. Therefore, hitherto, when the teaching data is implanted to the other robots, the complicated adjustments of the positioning points are executed by using a teaching box after the teaching data was implanted. Namely, hitherto, the teaching data cannot be mutually used by the other robots.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide a method and apparatus for generating and utilizing teaching data whereby teaching data are commonly usable among a plurality of robots.

Another object of the invention is to provide a robot control unit which is able to use another robot's teaching data without adjusting it manually.

The above object is accomplished by presuming the mechanism errors of individual robots and by making standard position information from which the mechanism errors were eliminated as teaching data.

Generation of the standard position information from which the mechanism errors were eliminated has the following meanings. That is, the current position of a robot in the robot coordinate system assumes X(P). X denotes the position and orientation of the robot and P represents the mechanism parameter (arm length, attaching angle, etc.).

The state of a robot in the space can be represented by six independent data of the position coordinates of the robot hand and the orientation thereof. It is sufficient that the position coordinates are set to three points (x, y, z) in a three-dimensional space. The orientation can be represented by various expressing methods. Typical examples of the expressing methods are shown in FIGS. 5A to 5C. (Refer to the foregoing literature of R. Paul.)

The method of FIG. 5A is called a robot hand coordinates system expression. The method of FIG. 5B is called an Eulerian angle expression. The method of FIG. 5C is called a roll pitch yaw expression. In the cases of the Eulerian angle and the roll pitch yaw, three independent data are used. In the case of the robot hand coordinates system, three vectors f, g, and h are used. However, since

h=f×g

there is no need to store h. Since f and g between the remaining two vectors f and g (the number of components is six) are the direction cosine, its length is set to 1. That is, ##EQU7## Therefore, since either one of (fx, fy, fz) or either one of (gx, gy, gz) is expressed by the other components, it is also unnecessary to store it.

For instance, since fz2 =1-fx2 -fy2, fz can be omitted. On the other hand, since f and g cross perpendicularly, the inner product is 1. That is,

f·g=f.sub.x ·g.sub.x +f.sub.y ·g.sub.y +f.sub.z ·g.sub.z =1

From this equation, another component becomes unnecessary. For example, gy can be completely expressed by the other components fx, gx and fy. Therefore, in the case of the robot hand coordinates system, even if there are three vectors (the number of components is 9), the number of independent components among them is still three. For instance, it is sufficient to have the data of only fx, fy and gx. However, actually, six data of f and g are provided as redundancy data for convenience of the calculations.

The current position after the teaching operation is expressed as X(P+ΔP) in the absolute coordinates system in which the installing position of the robot is set to an origin. ΔP denotes an error of the mechanism parameter.

The robot coordinates system and absolute coordinates system will now be described. First, absolute coordinates system is the ordinary xyz coordinates system in which the installing position of the robot is set to an origin as mentioned above. Although the definitions of x, y and z differ in dependence on the respective robot manufacturers, they are defined as shown in FIG. 16 in this embodiment.

On the other hand, the robot coordinates system relates to a space which is drawn by each articulated angle (in the case of a mechanism having a joint which translates, a translational distance thereof) to control the robot. For instance, in the case of the robot shown in FIG. 4B, the robot coordinates system corresponds to a two-dimensional plane in which θ1 and θ2 are set to axes. The points (θ1, θ2) (which are equal to X(P)) in the robot coordinates system are set to X(P+ΔP) in the case of the absolute coordinates system.

That is, if the current position of a robot is X(P+ΔP) in the absolute coordinates system, the command values to the robot is actually the value X(P) in the robot coordinates system. In other words, the robot moves to the position of X(P+ΔP) due to the mechanism errors when the robot is controlled so as to move to the position of the command value X(P). No problem occurs so long as teaching data is given and executed by using the same robot. However, when the command value (teaching data) X(P) is transferred to the other robot and executed, this robot moves to the position of X(P+ΔPB) because the mechanism errors ΔPB differ. Therefore, the standard position information X(P+ΔP) is previously made from the command value X(P) by using the known mechanism errors ΔP and the command value for positioning is made on the basis of the standard position information. Due to this, the teaching data can be efficiently mutually used.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a control unit for a robot to which a teaching data generating method according to an embodiment of the present invention is applied;

FIG. 2 is a flowchart showing a procedure of the teaching data generating method according to the embodiment of the invention;

FIGS. 3A and 3B are diagrams showing the coordinates systems of robots A and B, respectively;

FIGS. 4A and 4B are a diagram showing an example of a biaxial SCARA robot and a diagram showing a coordinates system expression, respectively;

FIGS. 5A to 5C are a diagram showing a robot hand coordinates system expression, an explanatory diagram of an Eulerian angle, and an explanatory diagram of a roll pitch yaw, respectively;

FIG. 6 is a diagram showing an example of a storage format of teaching points;

FIG. 7 is an explanatory diagram of the moving operation among a plurality of points;

FIG. 8 is a format diagram of error parameters;

FIG. 9 is a flowchart for explaining a method of obtaining the current position of a robot;

FIG. 10 is a diagram showing a method of obtaining the current position of a robot whose degree of freedom is two;

FIG. 11 is a flowchart for explaining the operating steps of previously calculating a command value with respect to a special robot and storing into a memory;

FIG. 12 is a diagram showing a storage format of the command value X(P) and the current position X(P+ΔP);

FIG. 13 is a diagram showing a modification of FIG. 12;

FIG. 14 is a flowchart for explaining a processing procedure when a mechanism parameter changes;

FIG. 15 is a flowchart for explaining the processes in another embodiment according to the invention; and

FIG. 16 is an explanatory diagram of the absolute coordinates system.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

An embodiment of the present invention will be described hereinbelow with reference to the drawings.

FIG. 1 is a block diagram of a control unit for a robot. Reference numeral 1 denotes a robot and 2 indicates a control unit for the robot. The control unit 2 comprises: a servo section 3; an arithmetic operating unit 4; an input/output (I/O) processing section 5; an internal memory 6; and an external memory 7 to store teaching data. A teaching pendant 8 to input the teaching operation, an input apparatus 9 to input commands, and an output apparatus 10 are connected to the control unit 2. Arrows 11 to 21 show flows of information among the respective components and represent a command value 11 to an actuator of the robot from the servo section 3, a status signal 12 of the actuator, a signal 13 indicative of a servo command and a servo status, input/output (I/O) information 14, I/O information 15 to the teaching pendant 8, input information 16 from the input apparatus 9, output information 17 to the output apparatus 10, I/O data 18 and 19 of teaching data from/into the internal memory 6, and I/O data 20 and 21 of the teaching data from/into the external memory 7.

The control by the teaching playback of the robot is executed in the following steps.

(a) The robot is positioned at a desired position in the space, at a certain orientation, by pressing buttons (for instance, X+ denotes that the robot is moved in the + direction on the x axis but not shown) on the teaching pendant 8.

(b) To take in the command values X(P) of the position and orientation, the button to "take in the teaching points" (not shown) on the teaching pendant is pressed.

(c) The arithmetic operating unit 4 performs the following operation for those processes.

(i) The status 12 of the actuator is taken in (the status includes the data regarding the current position of each actuator).

(ii) Each of the articulated angles (θ1 to θn in FIG. 3) of the robot is obtained from the data regarding the current position of each actuator.

(iii) The position (x, y, z) and orientation (f, g) of the robot hand are obtained from the respective articulated angles.

(iv) The position and orientation data obtained are stored in the external memory 7. At this time, a storage format is as shown in FIG. 6. The orientation can be also expressed as shown in FIG. 5B or 5C without limiting to (f, g). On the other hand, the articulated angles θ1 to θn in the step (ii) may be also together provided (as shown in an example of FIG. 6). Or only the articulated angles can be also stored. Even if those data were stored, they can be mutually converted and they can be said to be all equivalent for purposes of this operation.

(d) A plurality of teaching points are set to positioning points and such a playback operation as to connect these points is executed. This operating process has been described in detail, for example, in the fifth chapter, 6th to 9th paragraphs, of the book by R. Paul.

FIG. 2 is a flowchart showing a procedure of a teaching data generating method according to the present invention and shows the case where teaching data of the robot B is made from teaching data of the robot A. In this embodiment, the teaching data is made in five steps comprising: a step 22 of estimating the mechanism errors of the robot A; a step 23 of generating teaching data; a step 24 of generating the standard position information; a step 25 of estimating the mechanism errors of the robot B; and a step 26 of generating teaching data of the robot B from the standard position information of the robot A.

In the steps 22 and 25 of estimating the mechanism errors, the mechanism errors of the robots are estimated. As a method of obtaining the mechanism errors (also including the installation errors of the robots in more detail) ΔP, the method described in, e.g., Okada et al, U.S. Patent mentioned above can be also used. After the mechanism errors were once obtained, they are not changed so long as the robot is not moved to the other place or struck with obstacles. Therefore, they are stored in the external memory 7 in a format as shown in FIG. 8. The mechanism errors relate to the errors of the parts of the robot and the degree of freedom of the part in the space is six, so that each part has six parameters. Therefore, in the case of the robot whose degree of freedom is n, at most 6n error parameters exist. Further, when the installation errors are also included in those parameters, 6(n+1) parameters exist.

In the next step 23, the teaching data is made. This step 23 relates to the teaching operation. In this step, the robot A is moved to a desired position by using the teaching pendant 8, the current position of the robot is obtained from the status 12 including the encoder value from the robot, and the current position obtained is stored into the internal memory 6 or external memory 7. The details of these processes are as mentioned above.

The robot A has only the teaching data of the command position X(P). However, the position and orientation at which the operator wants to actually position the robot are the position X(P+ΔP) in the absolute coordinates system. Therefore, in step 24, the position X(P+ΔP) is obtained from the command position X(P) by using the mechanism parameter errors ΔP obtained in step 22.

The details of the method are as shown in FIG. 9.

In the case of explaining the method as an example in the robot shown in FIG. 4, it is assumed that ##EQU8##

(limited to only the errors in the plane) have already been given, and the X(P+ΔP) is derived as shown in FIG. 10 by using the equation (2) and (5). The X(P+ΔP) indicates the actual position of the robot A in the space when it is controlled by using the command values X(P).

Consequently, X(P+ΔP) is the position to which the robot B is to be actually moved. The X(P+ΔP) can be said to be the standard position information when the teaching data is mutually used among the robots.

In step 26, the teaching data of the robot B is obtained by the standard position information. In order to actually move both of the robots A and B to the same position, the standard position information also corresponds to the values TB =Y(P+.sub.Δ PB) (=X(P+ΔP)) of the positioning points of the robot B in the absolute coordinates system (FIG. 3B). ΔPB indicates the mechanism errors of the robot B. Y denotes a vector indicative of the position and orientation of the robot B. The practical functional form of Y is the same as that of X if the robots A and B have the same mechanism. Y(P) is obtained from the Y(P+ΔPB) and the robot B is moved by using the Y(P) as the command position. Thus, the robot B can be positioned to the position Y(P+ΔPB), that is, to the positioning point X(P+ΔP) of the robot A. In this manner, the teaching data can be mutually used.

The Y(P) can be obtained from the position Y(P+ΔPB) to which the robot B is to be moved by performing the arithmetic operations (namely, the process to subtracting the mechanism errors ΔPB) opposite to those in step 24.

In other words, a situation such that the robot moves to the position X(P+ΔP) in spite of the instruction of the command value X(P) means that the mechanism errors ΔP are cancelled and the robot moves to the position X(P) on the basis of the instruction of the command value X(P+ΔP). By use of this meaning, it can be said that the command value to position the robot to the position Y(P) is Y(P+ΔPB)

Since Y(P) is equal to X(P+ΔP), when using the same arithmetic operating equations as those in step 24, the command position DB can be obtained by

Y(P)=X(P+ΔP+ΔP.sub.B) (6)

because it is sufficient to eliminate the influence by ΔPB. The right side of the equation (6) can be approximated as follows. ##EQU9## Now, since ##EQU10## this equation can be modified as follows. ##EQU11## By substituting this equation to the equation (7), we have ##EQU12## Since the mechanism errors ΔP and ΔPB are small, their product is further small. By ignoring this product, X(P+ΔP+ΔPB) can be also obtained. At this time, ##EQU13## (where Xi, Pi, ΔPi are the i-th components of the vectors X, P, and ΔP.)

Since each Xi (P) has already been known as shown in the equation (1), ##EQU14## can be calculated. For example, in the case of the robot of FIG. 4A, ##EQU15##

Now, θ1 and θ2 are obtained from X(P), r1 and r2 are constants, and Δr1, Δr2, Δθ1, and Δθ2 are obtained as the mechanism errors. Therefore, by substituting these values to the equation (8), ##EQU16## Therefore, ##EQU17## where, x' and y' denote x' and y' in FIG. 10.

The teaching data DB obtained in this manner and indicative of the command position for the robot B is stored into the memory 6 or 7 in the same format as that of FIG. 6. This data indicates the command position of the robot B.

The Y(P) are previously calculated in correspondence to all of the X(P) of the robot A and stored in the memory. This procedure is shown in FIG. 11.

Therefore, in the robot B, by playing back at the command position DB =Y(P), the robot can be positioned to the positioning point X(P+ΔP) of the robot A.

It is also possible to control the robot while calculating the Y(P) upon playback without calculating them at once.

For this purpose, the X(P+ΔP) itself is stored into the memory 6 or 7 in the format of FIG. 6, and each time the point data X(P+ΔP) is read out of the memory, the processes in steps 30 to 42 in FIG. 11 are calculated by using the mechanism errors ΔPB.

On the other hand, the X(P) and X(P+ΔP) can be also stored in place of the teaching data shown in FIG. 6.

This example is shown in FIG. 12. In this case, θ1 to θn in step 32 in FIG. 11 are obtained from the X(P).

In addition, since the ΔP have already been stored, only the X(P) can be also stored. This example is shown in FIG. 13.

At this time, θ1 to θn in step 32 in FIG. 11 are obtained from the X(P) as shown in step 26 in FIG. 9. The X(P+ΔP) in step 32 in FIG. 11 is obtained by using the ΔP by the same method as FIG. 9.

The system of the present invention is not limited to only the mutual use of the teaching data for the other robots but can be also effective even if the mechanism parameters are changed due to some reason (for example, an end-effector was struck or the like). For this purpose, it is sufficient to execute the processes in steps 44 to 50 shown in FIG. 14.

In the present system, it will be obviously understood that the robots A and B are not necessarily the same type when considering the processing system. If the equations to obtain the position and orientation of the robot A and the mechanism parameters XA (PA) of the robot A and the equations to obtain the position and orientation of the robot B and the mechanism parameters XB (PB) of the robot B are known, the invention can be extended by the same method as shown in steps 52 to 62 in FIG. 15.

On the other hand, the precision of the approximate expression can be improved by considering the partial differentiation of second or higher order. The following is the equation when considering until the second order. ##EQU18## The equation of X can be calculated without any problem since it is partially differentiable many times.

Although the foregoing embodiment has been described as an example with respect to the robots A and B, the invention can be also similarly applied to three or more robots 1 to n. For instance, it will be understood that arbitrary one of a group of robots is set to the foregoing robot A and the other robots are handled as the robots B, so that desired teaching data can be used commonly for each robot. In this case, an arbitrary robot is not necessarily a standard apparatus of the special specifications. As already mentioned above, the teaching data can be also supplied to the robot using the teaching data in any of the online and offline control manners. Particularly, in the case of the online control, the teaching data is supplied from one robot to the other robots by using communication lines or the like due to the parallel connection, ring-shaped connection, or hierarchy connection and each of the other robots is automatically controlled in accordance with the common teaching data. Thus, the teaching operation of the operator becomes unnecessary.

According to the present invention, teaching data can be mutually used and there is an advantage such that even in the robot itself, even if the mechanism errors change due to some reason, the old teaching data can be used.

Claims (13)

We claim:

1. In a system for controlling a plurality of robots, each robot including input/output devices, a servo control section for driving actuators of the robot, a memory, and an arithmetic operating unit coupled with each of said input/output devices, said servo control section, and said memory, a method for generating and commonly applying data to the plurality of robots for executing arithmetic operations of data, said method comprising the steps of:

(a) estimating mechanism errors ΔP which are peculiar to a first robot;

(b) moving said first robot to a first position by using a teaching pendant and obtaining a current position X (P) of said first robot from status data of each actuator as teaching data, said current position corresponding to a command position produced by said teaching pendant;

(c) obtaining as data of a desired position X(P+ΔP) from said teaching data indicative of a command position X (P) by using said mechanism errors ΔP decided in the step (a) wherein said data of a desired position are standard position information which represent a position orientation for another robot;

(d) determining mechanism errors associated with a second robot; and

(e) arithmetically operating said standard position information and the mechanism errors of said second robot and obtaining corrected command position data X (P+ΔP-ΔPB) for said second robot from said desired position data by using mechanism errors ΔPB of said second robot, thereby enabling the second robot to be controlled on the basis of the teaching data of the first robot.

2. A method according to claim 1, wherein each time said standard position information is supplied from the first robot, the second robot fetches a teaching point included in said information and obtains a command value Y (P-ΔPB) of the second robot using said teaching point and said mechanism errors of said second robot.

3. A method according to claim 1, wherein said steps of determining the mechanism errors of the first and second robots each include a step of updating the corresponding robot mechanism errors, obtaining new mechanism errors, and storing the new mechanism errors, and new teaching data are generated using said teaching data and the new mechanism errors and said new teaching data are stored to enable compensation of a change in mechanism parameter when a parameter change occurs.

4. A method according to claim 2, wherein each time the second robot receives the teaching data from the first robot, the second robot again executes said step of determining the mechanism errors thereof and obtains an updated mechanism error parameter and again arithmetically operates the standard position information from the first robot by the updated mechanism error parameter, thereby generating new teaching data.

5. A method according to claim 1, further comprising the steps of:

fetching teaching points XA (PA +ΔPA) and θ1 to θn from the first robot, where XA (PA) denotes a command value which is peculiar to the first robot, PA and ΔPA indicate mechanism parameter and mechanism errors respectively, and θ1 to θn represent articulated angles;

obtaining articulated angles θ1 ' to θm ' of the second robot from said teaching points XA (PA +ΔPA); and

calculating a position XB (PB -ΔPB) to which the second robot is to be actually controlled by the following approximate equation from both of the articulated angles θ1 ' to θm ' obtained and the mechanism parameter errors ΔPB of the second robot ##EQU19## where, PB denotes a mechanism parameter of the second robot.

6. A method according to claim 5, wherein said calculating operation of said position XB (PB -ΔPB) to which the second robot is to be actually controlled is prepared in advance, in order to reduce the time needed at execution of the second robot, as a command value for the second robot.

7. A method according to claim 5, wherein said calculating operation of said position XB (PB -ΔPB) to which the second robot is to be actually controlled is executed each time the teaching point of the second robot is supplied from the first robot.

8. A method of controlling a plurality of robots by applying common data to said plurality of robots comprising the steps of:

determining a mechanism error parameter ΔPB of a particular robot;

from another robot, obtaining data of a desired position information X(P+ΔP), indicative of a desired command position corresponding to teaching data X(P) by using mechanism errors P associated with said another robot, said data of a desired position information being standard position information which represents a position orientation for another robot; and

subtracting said determined mechanism error parameter ΔPB from said standard position information to obtain a data X(P+ΔP-ΔPB) as peculiar teaching data of said particular robot; and

moving said particular robot to a desired position of said another robot in accordance with said peculiar teaching data.

9. A method according to claim 8, wherein said peculiar teaching data of the particular robot which is obtained by said subtracting step is stored in a memory of said particular robot.

10. A method according to claim 8, wherein said subtracting step includes:

fetching positioning points X(P+ΔP) and θ1 to θn, where X denotes a command value to said another robot, P and ΔP indicate mechanism parameters and mechanism errors, and θa to θn, represent articulated angles, from the standard position information supplied from said another robot;

obtaining ##EQU20## by using both of the mechanism errors ΔPB of said particular robot and the θ1 to θn ;

obtaining the command value ##EQU21## of said particular robot by substituting said obtained value of ##EQU22## for the second term of the equation for Y(P) and

calculating the articulated angles θ1 ' to θn ' of said particular robot from the command value Y(P) derived.

11. A method according to claim 10, wherein said command value Y (P) and articulated angles θ1 ' to θn ' calculated are stored in a memory in said particular robot.

12. An apparatus for controlling robots in accordance with peculiar teaching data to the robots comprising:

first means for determining a mechanism error parameter ΔPB of a particular robot;

second means for obtaining in another robot data of a desired position X(P+ΔP) from teaching data by using the mechanism error parameters of said another robot, said desired position data indicating a position and an orientation of said another robot to be actually positioned and the teaching data indicating a desired command position; and

third means, connected to said first and second means, for subtracting the determined mechanism error parameter in the first means from said desired position data and obtaining said peculiar teaching data of said particular robot as the result of the substraction;

fourth means, connected to said third means, for positioning said particular robot at the desired command position of said particular robot in accordance with said peculiar teaching data.

13. An apparatus according to claim 12, wherein said particular robot includes:

a memory storing said desired position data from said another robot so that said desired position data can be updated said memory also storing the mechanism error parameters from said first means; and

a central processing unit for executing predetermined procedures to move said particular robot to obtain all of said peculiar teaching data of said particular robot from both said stored desired position data and said stored mechanism error parameters and then storing said peculiar teaching data in said memory so as to be able to read out when said particular robot is to be moved to points corresponding to said peculiar teaching data.