Source: http://www.google.com/patents/US20080188983?dq=5,963,646
Timestamp: 2017-07-22 05:05:03
Document Index: 56132165

Matched Legal Cases: ['Application No. 2007', 'Application No. 2006', 'Application No. 2006', 'Application No. 2006', 'art 51', 'art 52', 'art 53', 'art 54', 'art 55', 'art 56']

Patent US20080188983 - Calibration device and method for robot mechanism - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsA calibration device and method for automatically determining the position and the orientation of a robot used for measurement. First, an initial position of a preliminary position is generated based on a designated basic position, and it is judged whether the initial position is within an operation...http://www.google.com/patents/US20080188983?utm_source=gb-gplus-sharePatent US20080188983 - Calibration device and method for robot mechanismAdvanced Patent SearchTry the new Google Patents, with machine-classified Google Scholar results, and Japanese and South Korean patents.Publication numberUS20080188983 A1Publication typeApplicationApplication numberUS 12/068,113Publication dateAug 7, 2008Filing dateFeb 1, 2008Priority dateFeb 5, 2007Also published asCN101239469A, CN101239469B, EP1953496A2, EP1953496A3, US7853359Publication number068113, 12068113, US 2008/0188983 A1, US 2008/188983 A1, US 20080188983 A1, US 20080188983A1, US 2008188983 A1, US 2008188983A1, US-A1-20080188983, US-A1-2008188983, US2008/0188983A1, US2008/188983A1, US20080188983 A1, US20080188983A1, US2008188983 A1, US2008188983A1InventorsKazunori Ban, Katsutoshi Takizawa, Gang ShenOriginal AssigneeFanuc LtdExport CitationBiBTeX, EndNote, RefManPatent Citations (12), Referenced by (20), Classifications (11), Legal Events (2) External Links: USPTO, USPTO Assignment, EspacenetCalibration device and method for robot mechanism
US 20080188983 A1Abstract
[0001] The present application claims priority from Japanese Patent Application No. 2007-25323, filed on Feb. 5, 2007, the entire contents of which are fully incorporated herein by reference.
[0003] The present invention relates to a calibration device and a calibration method for mechanical parameters of an industrial multi-jointed robot. In particular, the invention relates to a device and a method for automatically generating the position and the orientation a robot used for measuring in calibration.
[0005] A method for positioning a robot with a high degree of accuracy is known, in which the relationship between inputted and outputted displacements of the robot is measured and the optimum values of the mechanical parameters of the robot is evaluated or corrected based on a measured result. Such a method for correction is generally referred to as “calibration”. As generally known, the accuracy of the calibration depends on the measurement accuracy and an error model of the mechanism. Also, the accuracy of the calibration is greatly affected by the position and the orientation of the robot used for the measurement.
[0006] There are many methods for determination and evaluation of the position and orientation of a robot used for calibration. For example, a determination method used for the measurement and an evaluated value used for the evaluation are explained in Transactions of the Japan Society of Mechanical Engineers (“C” edition), vol. 69, No. 682 (2003-6), pp. 1691-1698. Also, Japanese Unexamined Patent Publication No. 2005-201824 discloses a measurement device for determining the direction of a view line from a light receiving device mounted on the front end of a robot arm, such as a camera or a PSD, to a target to be measured, by a method easier than using conventional calibration which needs a special calibration plate. In this measurement device, a light receiving surface of the light receiving device (typically, the camera) mounted on or near the front end of the robot art receives light from the target, the robot is moved to a position such that an image of the target is captured on a predetermined point (for example, the center of a camera image), and the position of the robot is stored. Based on such a function, the relationship between the robot and the view line of the camera can be determined by moving the robot so that the position and the orientation of the light receiving device are variously changed. Once the relationship is determined, by capturing the target by using the light receiving device from different two directions, the three-dimensional position of the target may be calculated based on a principle of stereo measurement.
[0007] As described above, there are many methods for calibration. On the other hand, in the industrial field in which the robot is used, the robot position during the calibration may be determined empirically. Alternatively, the robot position may be determined by equally dividing an operation range of the robot or calculating the probability distribution equivalent to the equal division. For example, the applicant has developed a calibration method using a measurement device having a noncontact-type light receiving device such as a camera, as described in Japanese Patent Publication (Kokai) No. 2005-201824 and Japanese Patent Application No. 2006-183375.
[0008] In the calibration as described above, it is desirable to automatically determine the position and the orientation of the robot for the measurement. In other words, a fully automated calibration is desired. At this point, the position and the orientation of the robot must satisfy the following two conditions: the robot can reach the position and the orientation; and the positioning accuracy of the robot must be improved by the calibration based on the measurement result at the position and the orientation.
[0009] One major problem regarding the calibration in the industrial field is that the selected position and the orientation of the robot cannot be appropriately judged until a series of operations of the calibration have taken place, including measuring, correcting and evaluating. In particular, when the position and the orientation of the robot empirically obtained cannot be used in the industrial field and the position and the orientation are changed corresponding to the environment of the industrial field, the result of the calibration cannot be predicted until the evaluating result is obtained. Therefore, if the positioning accuracy of the robot is low, it is necessary to remeasure or measure after the position and the orientation of the robot are changed, and evaluate the positioning accuracy again.
[0010] On the other hand, in the calibration described in the Transactions of the Japan Society of Mechanical Engineers (“C” edition), vol. 69, No. 682 (2003-6), pp. 1691-1698, there are many advanced methods regarding the previous evaluation and the selection of the position and the orientation of the robot for measurement. However, there are few methods that have put into practical use so as to adapt the industrial field. Because, the position and the orientation of the robot selected offline cannot always be implemented in the industrial field. In the industrial field of the robot, the operation range of the robot is often limited due to the existence of external equipment, such as processing equipment, safety fence, column, etc. Therefore, the position and orientation of the robot must be determined in view of such a limitation.
[0011] However, it is very difficult to formulate the operation range of the robot in view of interference between the robot and the above interfering articles. Even when the formulation is successful, the number of possible combinations of the positions and the orientations of the robot is generally enormous, whereby the formulation takes a lot of time. For example, in a case where three position parameters and three orientation parameters are prepared and each parameter includes three numeric values, the number of the combinations of the position and the orientation of the robot becomes 729. Further, when three combinations should be selected among the combinations, it is necessary to check more than sixty millions patterns. In order to reduce the calculation time, in the Transactions of the Japan Society of Mechanical Engineers (“C” edition), vol. 69, No. 682 (2003-6), pp. 1691-1698, an exploratory method is used. However, the exploratory method includes a trade-off problem: if the operation range of the robot is finely divided, the exploration time is long; or if the operation range is roughly divided, the exploration result is likely to diverge from the optimum value.
[0012] Also, the measurement device used in the calibration is generally an external device, whereby an installation error necessarily exists. Depending on the magnitude of the installation error, the target is not necessarily positioned within a measurement range of the measuring device at the position and the orientation generated offline. This may be also an obstacle to the practical use of an algorithm for automatically generating the position and the orientation of the robot.
[0013] Accordingly, an object of the present invention is to provide a calibration device for solving the above problems.
[0014] According to one aspect of the present invention, there is provided a device for calibrating a multi-jointed robot mechanism, comprising: an aligning part for carrying out an alignment in which the positional relationship between a first coordinate system fixed to a part of a robot and a second coordinate system fixed outside of the robot satisfies a predetermined condition; an initial position designating part for designating a position of the robot as an initial position, where the positional relationship between the first and second coordinate systems generally satisfies a predetermined condition, in order to carry out the alignment at a plurality of positions; a preliminary position determining part for automatically determining a plurality of preliminary positions for carry out the alignment, based on the initial position designated by the initial position designating part, the first coordinate system and a predetermined parameter; a judging part for judging, before the alignment is carried out, whether each of the plurality of preliminary positions determined by the preliminary position determining part is included in an operation range of the robot; and a position correcting part for correcting one or more preliminary position which is judged not to be included in the operation range of the robot, such that the one or more preliminary position is included in the operation range of the robot.
[0015] The device may further comprise an evaluating part for evaluating, before the alignment is carried out, whether an accuracy of the calibration using one or more preliminary position satisfies a predetermined criterion, in relation to all of the preliminary positions including the corrected position by the position correcting part; and a redetermining part for redetermining one or more preliminary position when the evaluating part evaluates that the accuracy of the calibration does not satisfy the predetermined criterion.
[0016] The device may further comprise a camera fixed on the outside of the robot; an image inputting part for inputting an image captured by the camera; a detecting part for detecting a target point on the first coordinate system included in the image inputted by the image inputting part; and a controller for controlling the robot such that the target point in the image detected by the detecting part satisfies a predetermined condition in order to carry out the alignment.
[0017] Alternatively, the device may further comprise a camera mounted near the front end of the robot; an image inputting part for inputting an image captured by the camera; a detecting part for detecting a target point on the second coordinate system included in the image inputted by the image inputting part; and a controller for controlling the robot such that the target point in the image detected by the detecting part satisfies a predetermined condition in order to carry out the alignment.
[0018] According to another aspect of the present invention, there is provided a method for calibrating a multi-jointed robot mechanism, comprising the steps of: carrying out an alignment in which the positional relationship between a first coordinate system fixed to a part of a robot and a second coordinate system fixed outside of the robot satisfies a predetermined condition; designating a position of the robot as an initial position, where the positional relationship between the first and second coordinate systems generally satisfies a predetermined condition, in order to carry out the alignment at a plurality of positions; automatically determining a plurality of preliminary positions for carry out the alignment, based on the designated initial position, the first coordinate system and a predetermined parameter; judging, before the alignment is carried out, whether each of the determined preliminary positions is included in an operation range of the robot; and correcting one or more preliminary position which is judged not to be included in the operation range of the robot, such that the one or more preliminary position is included in the operation range of the robot.
[0019] The method may further comprise the steps of evaluating, before the alignment is carried out, whether an accuracy of the calibration using one or more preliminary position satisfies a predetermined criterion, in relation to all of the preliminary positions including the corrected position; and redetermining one or more preliminary position when it is evaluated that the accuracy of the calibration does not satisfy the predetermined criterion.
[0020] The above and other objects, features and advantages of the present invention will be made more apparent by the following description of the preferred embodiments thereof, with reference to the accompanying drawings, wherein:
[0021] FIG. 1 is a diagram showing a schematic configuration of one embodiment according to the present invention;
[0022] FIG. 2 is a diagram showing a schematic configuration of another embodiment according to the present invention;
[0023] FIG. 3 is a diagram showing a schematic configuration of still another embodiment according to the present invention;
[0024] FIG. 4 is a diagram showing a schematic configuration of still another embodiment according to the present invention;
[0025] FIG. 5 is a diagram showing a block configuration of a robot controller used in the embodiment;
[0026] FIG. 6 is a diagram showing a block configuration of an image processor used in the embodiment;
[0027] FIG. 7 is a flowchart showing an overall procedure executed in the embodiment;
[0028] FIG. 8 is an explanatory diagram of the process of step T3 of FIG. 7;
[0029] FIG. 9 is a diagram showing a monitor and the positional relationship between a camera and a target;
[0030] FIG. 10 is a diagram showing the state in which the target is aligned to a certain position from the position of FIG. 9;
[0031] FIG. 11 is a flowchart showing a detail of step T3 of FIG. 7;
[0032] FIG. 12 is a diagram showing a schematic configuration of still another embodiment according to the present invention; and
[0033] FIG. 13 is a diagram showing a constitution of a calibration device according to the present invention.
[0034] As described above, in order to calibrate a robot mechanism, a relationship between input and output displacements of the robot must be measured. Generally, the input displacement means a displacement of each axis of the robot, and is detected by an encoder. Ideally, the output displacement is an absolute displacement of a point in a mechanical interface coordinated system of the robot in a stationary coordinate system. However, since a measurement device itself includes an installation error, a measuring object in relation to the output displacement is often a displacement of the point in the mechanical interface coordinate system relative to the stationary coordinate system.
[0035] In the present invention, in order to minimize an error generated by the measurement device, a measurement method is used, in which the position and the orientation angle of the robot are adjusted (or aligned) such that the positional relationship between a fixed point in the mechanical interface coordinate system of the robot and a fixed point in the stationary coordinate system satisfies a predetermined condition, and the position of the robot after the alignment is used as a measurement result. This measurement method does not require a specific measurement device. For example, the method may be a conventional touch-up method using a pin, or, an automatic measurement method using a non-contact type light receiving device such as a camera, as described in Japanese Patent Application No. 2006-183375, in which the measurement device does not need to be calibrated. In these methods, the position of the robot preliminarily selected does not always coincide with the measurement result. In other words, the fixed point in the mechanical interface coordinate system of the robot relative to the fixed point in the stationary coordinate system does not always coincide with a predetermined robot position. At this point, the preliminarily selected robot position and the obtained robot position as a measurement result are referred to as “a preliminary position” and “an aligned position”, respectively. Further, in order to simplify identification calculation in the calibration, the position of aligned each axis is used as a representative value of the input displacement of the robot.
[0036] In a process for determining the preliminary position of the robot, first, one position of the robot is taught as an initial position, where the positional relationship between a fixed point in the mechanical interface coordinate system of the robot and a fixed point in the stationary coordinate system, within the operation range of the robot, generally satisfies a predetermined condition, corresponding to an actual usage environment of the robot. When a robot position at or near the center of the operation range of the robot is taught, other robot positions automatically generated are easily to be reached by the robot. Then, the position of the fixed point in the mechanical interface coordinate system is roughly determined such that a generated preliminary position is within a measurement range of the measurement device. After that, by using parameters of the preliminary position previously set, the preliminary position of the robot is automatically determined, based on the initial position, the roughly determined position of the fixed point of the mechanical interface coordinate system and the operational restriction of the robot. In relation to the determined preliminary position, first, it is judged whether the robot itself is within the considered operation range. When the robot cannot reach a preliminary position, such a preliminary position is adjusted to approach the initial position within the actual operation range. Due to this method, the preliminary position of the robot within the operation range may be obtained by a small amount of computation. If the robot cannot reach one or more preliminary position, such a preliminary position may be adjusted toward the initial position independently of the offline environment and the field environment. Therefore, a plurality of preliminary positions within the operation range of the robot may be easily obtained by a small amount of computation and less teaching time. Further, by combining a measurement device such as a camera with the calibration device, a series of process as described above may be automated.
[0037] By improving the practicality of the automated preliminary position as described above, prior to carry out the actual alignment, the relationship between the plurality of preliminary positions and the calibration result may be evaluated by using a known evaluation criterion. By presenting the evaluated result to the operator and adjusting or adding a preliminary position of the robot based on the result, the time required for trial and error may be reduced and an efficiency of the calibration may be improved.
[0038] The present invention is different from the prior art in that more practical preliminary positions may be obtained, and further, the optimization of a set of preliminary positions may be done by adjusting each preliminary position according to the operation range of the robot. Therefore, in the invention, the trade-off problem of the exploratory method in which the exploration time becomes longer as the operation range of the robot is finely divided.
[0039] The present invention will be described below with reference to the drawings. FIG. 1 shows a schematic configuration of a measuring system according to one embodiment of the present invention. As shown in FIG. 1, a robot 1, which may be a typical multi-jointed robot having an arm portion la and a base portion 1 b, is connected to a robot controller 5. A camera 4 is attached to a tool attachment surface 32 or a front end of the arm portion 1 a. In the robot 1, a robot coordinate system Σb is set and fixed to the robot base portion 1 b and a mechanical interface coordinate system Σf is set and fixed to the tool attachment surface 32. The robot controller 5 may be informed of the position of the origin and the orientation of the mechanical interface coordinate system Σf, as needed. A teaching board 18 having a conventional manual key is connected to the robot controller 5, whereby an operator may operate the robot 1 by means of the manual key.
[0040] The camera 4 is a CCD camera, for example, which is a conventional light receiving device capable of capturing and detecting a two-dimensional image on a light receiving surface (or a CCD array) thereof. The camera 4 is connected to an image processing unit 2 having a monitor 3 such as a LCD, a CRT or the like. In the embodiment, the camera 4 may image a mark 7 on a target 6 arranged in a space represented by the robot coordinate system Σb.
[0041] On the other hand, in another embodiment of the invention as shown in FIG. 2, the target 6 may be fixed to the tool attachment surface 32 or the mechanical interface coordinate system Σf and the camera 4 may be arranged in a space represented by the robot coordinate system Σb. In this way, the light receiving device and the target may be relatively freely arranged. Further, since the positional relationship between the light receiving device and the target may be automatically and precisely adjusted as described below, it is not necessary to control the accuracy regarding the arrangement of the light receiving device and the target.
[0042] Also, as shown in FIG. 3, a designated point (for example, an apex of a pin 33) fixed to the mechanical interface coordinate system If may be aligned with an apex of a touch-up pin 34 on the stationary coordinate system.
[0043] Further, as shown in FIG. 4, instead of aligning the designated point such as the apex of the pin 33 fixed to the coordinate system If, the position of the designated point may be directly measured. As an usable measurement device in this case, a one-directional measurement device such as a laser interferometer or a double-ball bar 35, a two-dimensional measurement device such as a camera or a cross grid encoder (KGM), and a three-dimensional measurement device such as a laser tracking system. Since the procedure of measurement in the system of FIGS. 2 to 4 may be the same of that of FIG. 1, the explanation below is related to the system of FIG. 1.
[0044] FIG. 5 shows a block configuration of the robot controller 5. The robot controller 5 has a main CPU (a main central processing unit; hereinafter, simply referred to as a CPU) 11, a memory 12 including a RAM (random access memory), a ROM (read-only memory) and a non-volatile memory, a teaching board interface 13, a communication interface 14, a servo control unit 15 and an input/output interface 16 for external units, which are connected each other in parallel via a bus 17.
[0045] The teaching board 18 connected to the teaching board interface 13 may have usual display functions. The operator prepares, corrects, and registers a motion program for the robot by manually operating the teaching board 18. The operator also sets various parameters, operates the robot based on the taught motion program, and jog feeds, in the manual mode. A system program, for supporting the basic function of the robot and the robot controller, is stored in the ROM of the memory 12. The motion program of the robot taught according to the application and relevant set data are stored in the non-volatile memory of the memory 12. Also, a program and parameters used to carry out processes (for movement of the robot to calculate mechanical parameters and for communication with the image processing unit therefor) as described below are also stored in the non-volatile memory of the memory 12.
[0046] The RAM of the memory 12 is used for a storage area to temporarily store various data processed by the CPU 11. The servo control unit 15 has servo controllers #1 to #n, where n is a total number of axes of the robot, and n is assumed to be equal to 6 in this case. The servo control unit 15 receives a shift command prepared through operations (such as a path plan preparation, and interpolation and an inverse transformation based on the plan) to control the robot. The servo control unit 15 outputs torque commands to servo amplifiers A1 to An based on the shift command and feedback signals received from pulse coders not shown belonging to the axes. The servo amplifiers A1 to An supply currents to servomotors of the respective axes based on the torque commands, whereby driving the servomotors. The communication interface 14 is connected to the image processing unit 2 (FIG. 1). The robot controller 5 exchanges commands relevant to measurement and measured data described below with the image processing unit 2 via the communication interface 14.
[0047] The image processing unit 2 has a block configuration as shown in FIG. 6. The image processing unit 2 has a CPU 20 including a microprocessor, and also has a ROM 21, an image processor 22, a camera interface 23, a monitor interface 24, an input/output (I/O) unit 25, a frame memory (i.e., an image memory) 26, a non-volatile memory 27, a RAM 28 and a communication interface 29, that are connected to the CPU 20 via a bus line 30.
[0048] A camera as an imaging unit, which is a CCD camera in this case, is connected to the camera interface 23. When the camera receives an imaging command via the camera interface 23, the camera picks up an image using an electronic shutter function incorporated in the camera. The camera sends a picked-up video signal to the frame memory 26 via the camera interface 23, and the frame memory 26 stores the video signal in the form of a grayscale signal. The monitor (FIG. 1) such as a LCD, a CRT or the like is connected to the monitor interface 24. The monitor displays images currently picked up by the camera, past images stored in the frame memory 26, or images processed by the image processor 22, as required.
[0049] As shown in FIG. 1, the camera 4 images the mark 7 on the target 6 arranged in a space represented by the robot coordinate system Σb. The image processor 22 analyses the video signal of the image of the mark 7 stored in the frame memory 26 and, the two-dimensional position and the size of the mark is calculated, as described later in detail. A program and parameters for this purpose are stored in the non-volatile memory 27. The RAM 28 temporarily stores data used by the CPU 20 so as to execute various processing. The communication interface 29 is connected to the robot controller 5 via the communication interface 14 at the robot controller side.
[0050] FIG. 1 shows a view line 40 of the camera 4 extending from a representative point (for example a center of the light receiving surface) of the camera 4 to the target 6. A coordinate system Σv as shown in FIG. 1 relates to the view line 40 extending from the representative point of the camera to the target 6. The origin of the coordinate system Σv is positioned on the view line 40 and one axis of the coordinate system (for example, Z axis) coincides with the view line 40. As described above, the mechanical interface coordinate system Σf represents the position and the orientation of the tool attachment surface 32. The coordinate system Σf in this case also represents the position and the orientation (an angle of orientation) of the robot 1. Unless otherwise noted, the expression “the position of the robot” means “the position of the origin of the mechanical interface coordinate system Σf on the robot coordinate system Σb”. Further, when the orientation of the robot also should be considered, the former expression means “the position and the orientation of the origin of the mechanical interface coordinate system Σf on the robot coordinate system Σb”. Therefore, unless otherwise noted, the term “alignment” also means that the both of the position and the orientation are aligned.
[0051] Next, a procedure of calibration according to the invention by using the configuration of FIG. 1 will be described with reference to a flowchart of FIG. 7. Generally, before a series of steps of the procedure are executed, the positional relationship between the robot, the target and the camera is unknown. Therefore, it is necessary to predetermine the relationship between the direction and the distance of movement of the target in the image and the direction and the distance of movement of the robot (in other words, how the robot should be moved in order to move the target in the image by a desired distance in a desired direction). For example, by moving the robot in an arbitrary direction in the coordinate system Σf more than once detecting the feature of the shape of the mark 7 imaged on the light receiving surface each time, the relationship between the direction and the distance of each axis of the robot and the change of the feature of the target may be calculated. Since the method for calculating the relationship regarding the direction and the distance of the robot is known, a detailed description thereof is omitted. This predetermination is finished before the below steps are executed.
[0052] Step T1 [0053] In the invention, the mark 7 of the target only has to be within the field of vision of the camera 4. In other words, it is not necessary to precisely position the camera and the target. In step T1, the operator operates the robot such that the mark 7 is within the field of vision of the camera 4 (concretely, the mark 7 is indicated in the monitor 3 of the image processing unit 2). Then, the position of the robot after moving is taught as an initial position.
[0054] Step T2 [0055] In step T2, a method described in Japanese Patent Application No. 2006-183375, filed by the applicant of the present application, is improved. The position of a gaze point 31 of the camera in the mechanical interface coordinate system Σf and the position of a prescribed point of the mark 7 in the robot coordinate system Σb (for example, a TCP) are automatically calculated, and simultaneously, the gaze point 31 of the camera is moved to coincide with the prescribed point of the mark 7. In this method, the camera images the prescribed point of the mark 7 from different directions (or in a plurality of positions of the robot), so as to calculate the position the gaze point 31 in the coordinate system Σf and the position of the prescribed point of the mark 7 in the coordinate system Σb. This method is similar to a conventional method in which a tool center point (TCP) attached to the mechanical interface coordinate system Σf is mechanically “touched-up” or aligned with a prescribed point in the robot coordinate system Σb from different directions, so as to calculate the positions of the TCP and the prescribed point. Therefore, a detailed description of the method is omitted. In this step, it is not necessary to precisely calculate the positions of the camera and the target. In other words, it is sufficient to keep the target within the field of vision of the camera even when the orientation of the robot is changed around the gaze point of the camera while keeping the state in which the gaze point is aligned with the prescribed point of the target. Therefore, as long as the target is within the field of vision of the camera, a value of the TCP may be set by visual observation or by using a designed value.
[0056] Step T3 [0057] In step T3, based on the calculated position the gaze point 31 in the coordinate system Σf and the calculated position of the prescribed point of the mark 7 in the coordinate system Σb, a plurality of preliminary positions of the robot, contained in the operation range of the robot, are automatically calculated and stored in the memory. In an example of the plurality of the preliminary positions of the robot, the distance between the camera 4 and the prescribed point (e.g., the center) of the mark 7 in each preliminary position is constant and the slope of the view line extending through the prescribed point in each preliminary position is different, otherwise, the distance between the camera 4 and the prescribed point of the mark 7 in each preliminary position is different and the slope of the view line extending through the prescribed point in each preliminary position is constant. FIG. 8 shows the former case, i.e., in which the distance between the camera 4 and the prescribed point of the mark 7 in each of three preliminary positions is constant and the slope of the view line extending through the prescribed point in each preliminary position is different. The detail of step T3 is described below.
[0058] Steps T4 and T5 [0059] In step T4, “automatic touch-up operation” as described below is executed from each preliminary position, as a start position, determined and stored in step T3. Then, the robot is moved such that the feature of the mark 7 imaged on the light receiving surface satisfies a predetermined condition. Next, the position of the robot after the movement (or the position after the alignment) is stored in the memory in step T5. In other words, a plurality of aligned positions are stored in the memory, corresponding to the start positions or the plurality of preliminary positions.
[0060] As the “automatic touch-up operation”, for example, a method described in Japanese Unexamined Patent Publication No. 2005-201824, filed by the applicant of the present application, is preferred. In other words, the invention is based on the movement of the robot such that a value or a parameter representing the geometrical feature of the mark 7 imaged on the light receiving surface satisfies the predetermined condition in relation to a plurality of different robot positions.
[0061] At this point, the process for moving the robot such that a value representing the geometrical feature of the mark 7 imaged on the light receiving surface of the camera 4 satisfies the predetermined condition in relation to one preliminary position, is explained with reference to FIGS. 9 and 10. in this case, the mark 7 is constituted by a circle with cross lines marking the center of the circle, as shown in FIG. 1. The feature of an image 7 a of the mark 7 on the light receiving surface includes the position of the center and the length of a log axis of an ellipse, as shown in FIGS. 9 and 10. Since the mark 7 is not opposed to the light receiving surface face to face in many cases, the shape of the image 7 a becomes the ellipse. FIGS. 9 and 10 show the process for moving the center of the ellipse to a certain point (in this case, the center point M of the light receiving surface) and aligning the ellipse such that the length of the long axis of the ellipse coincide with a certain value (in this case, the diameter of the mark 7). FIGS. 9 and 10 also show the change of the positional relationship between the camera 4 and the target 6. FIG. 9 shows the state in which the ellipse 7 a is offset from the point M and the length of the long axis of the ellipse is smaller than the diameter of the mark 7. FIG. 10 shows the state in which the positional relationship between the camera 4 and the target 6 is changed by moving the robot 1 such that the center of the ellipse is aligned with the point M and the length of the long axis of the ellipse coincides with the diameter of the mark 7. Concretely, by automatically executing the above process, the difference between the centers of the ellipse and the circle, and the difference between the long axis of the ellipse and the diameter of the circle are within a certain error range. On the light receiving surface, the feature value of the ellipse may be detected by image processing (a detail of which is omitted, since various known method may be used for image processing), whereby the difference between the feature value and the predetermined value may be calculated.
[0062] Step T6 [0063] In this step, mechanical parameters of the robot are determined by identifying calculation using the plurality of robot positions stored in step T5 when the “automatic touch-up operation” is completed. The mechanical parameters, to be corrected in the invention, include parameters contained in a relational expression used for controlling the robot, for determining the correlation between the displacement of each drive axis of the robot (or an input) and the position of the front end of the robot (or an output). The representative parameter is the length of each link or the position of the origin of each axis. Otherwise, a backlash generated due to the rotation of the axis, the amount of elastic deformation of the link or a reducer may be possible. In the invention, the mechanical parameter determined by identifying calculation is not limited to a specified one, in other words, the possible parameter is one which can be formulated and is independent from other parameters.
[0064] Next, a method for calculating the mechanical parameter of the robot will be explained on the assuming that the gaze point 31 of the camera 4 coincides with the prescribed point of the mark 7 at all aligned positions. Before the calibration, only a set value or an initial value P0 of the mechanical parameter is known, and a true value P of the mechanical parameter is determined by calculating an error 6 between the values P and P0. At this point, errors of the mechanical parameters, for identifying calculation of errors of np-number of mechanical parameters Pk,0=[Pk,0,1, Pk,0,2, . . . , Pk,0,np], errors of the position of the gaze point 31 Ps=[Xs, Ys, Zs] on Σf and errors of the position of the prescribed point of the mark 7 Pm=[Xm, Ym, Zm] on Σb, are defined as PID=[ΔPk, ΔPs, ΔPm]. In an ideal condition (i.e., all components of PID are equal to zero), the position Pi of the gaze point 31, calculated by the position Ps of the gaze point 31 on Σf and the position of the robot when the automatic touch-up operation is finished corresponding to stored i-th position/orientation for measurement, definitely coincides with the position Pm of the prescribed point of the mark 7 on Σb. However, errors ei are generated between the positions Pi and Pm, due to the error PID including the error of the mechanical parameter, as shown in equation (1) below.
[0000] ei=Pi-Pm (1)
[0065] As will be understood from the geometrical relationship when the value of each axis is assumed to be constant, the value Pi is represented as a function of the value PID. Accordingly, the error ei is also a function of the value PID.
[0066] In the embodiment, by using a Newton-Raphson method, an optimum PID is calculated such that an error E=[e1, e2, . . . , ens], between the position Pi of the gaze point 31 on Σb at ns-number of aligned positions and the position Pm of the prescribed point of the mark 7 on Σb, is minimized. In this calculation, as shown in equation (2), a differential value gi,j corresponding to a j-th identifying parameter PID,j of the error ei is calculated.
[0000] g i,j =de i /dP ID,j=(e′ i,j-e i)/ΔP ID,j (2)
[0067] At this point, the value e′i,j is an error, when a minute error value ΔPID,j is added to the value PID,j, between the position P′i of the gaze point 31 on Σb at i-th aligned position and the position Pm of the prescribed point of the mark 7 on Σb.
[0068] By using equation (2), the calculated gi,j may be represented as a matrix [G], as shown in equation (3).
[0069] By using the matrix [G], the relation of error may be represented by equation (4).
[0000] ET=[G]PT ID (4)
[0070] Therefore, the value PID may be calculated by equation (5).
[0000] PT ID=[G]+ET (5)
[0071] At this point, [G]+ is a pseudo inverse matrix of the matrix [G] and calculated by equation (6).
[0000] [G] +=([G] T [G])−1 [G] T (6)
[0072] By the above equations, the mechanical parameters Pk,l may be calculated by equation (7).
[0000] [P k,l , P s,l , P m,l ]=[P k,0 , P s,0 , P m,0 ]+P ID (7)
[0073] Since the values PID and Pi have a nonlinear relationship, the value [Pk,l, Ps,l, Pm,l] calculated by equation (7) still includes an error. Therefore, based on the Newton-Raphson method, equations (1) to (7) are repeated until all components of PID become minimal values, by using the value [Pk,l, Ps,l, Pm,l] instead of the value [Pk,o, Ps,0, Pm,0]. In effect, the above equations are repeated until each component of PID is equal to or lower than a predetermined threshold. As another calculation method used for calibration, an optimization approach for nonlinear problem, such as a genetic algorithm method or a neural network, may be possible, the details of which are omitted since these approaches are known.
[0074] Step T7 [0075] In step T7, the prior mechanical parameters of the robot stored in the robot controller is overwritten with the calculated mechanical parameters, so as to reflect the calculated parameters in the robot control.
[0076] FIG. 11 shows a flowchart indicating a detail of step T3, i.e., the process for automatically determining or generating the preliminary position and evaluating the preliminary position. A point of each step in step T3 is explained below.
[0077] Step S1 [0078] First, the robot position is designated as a basic position, where the gaze point 31 of the camera coincides with the prescribed point of the mark 7 in step T2 of FIG. 7. The function of the basic position is similar to the initial position. However, a preliminary position generated based on the basic position is closer the position after the alignment than a preliminary position generated based on the initial position.
[0079] Step S2 [0080] As shown in equation (8) below, by adding determined values (dWiW, dPiP, dRiR) to posture roll angle, pitch and yaw angle (W0, P0, R0) of the robot basic position, initial values (W1, P1, R1) of a robot preliminary position are generated. In this case, iw=1, . . . , nw, ip=1, . . . , np, and iR=1, . . . , nR.
[0000] (W 1 , P 1 , R 1)=(W 0 +dW iW , P 0 +dP iP , R 0 +dR iR) (8)
[0081] Step S3 [0082] It is judged whether the robot can reach the preliminary position generated in step S2. A criterion of judgment is that the initial value of the preliminary position is within the operation range of the robot, and/or that the robot does not interfere with external equipments. Concretely, in the former criterion, it is judged whether the displacement of each robot axis is possible and does not exceed a limit value, further, the initial value of the preliminary position is not a singular point. On the other hand, in the latter criterion, it is judged whether each part of the robot corresponding to the initial value of the preliminary position does not included in a predetermined interference area.
[0083] Step S4 [0084] When it is judged that the robot cannot reach the initial value of the preliminary position, the preliminary position is adjusted to close to the basic position. Concretely, an exploratory method may be possible, in which the posture angle included in the preliminary position is close to that of the basic position by using a predetermined step value, by repeatedly using equation (9) below.
[0000] (W n , P n , R n)=(W n-1-W 0)×k w +W 0, (P n-1-P 0)×k p +P 0, (R n-1-R 0)×k R +R 0) (9)
[0085] where 0<kw, kp, kR<1
[0086] At this point, depending on the values kw, kp and kR used in equation (9), the obtained posture angle may be too close to the center of the operation range of the robot. In this case, a more accurate exploratory approach may be possible by using the obtained exploratory result. In other words, the values of kw, kp and kR are reduced so as to search optimum value near the boundary of the operation range. Since a method for optimizing the accuracy and the time for exploratory approach in variable operation range is known, the detail of this is omitted. As another method for closing the posture angle of the preliminary position to that of the basic position, a predetermined value may be added to each component of (Wn-1, Pn-1, Rn-1), instead of using equation (9). Also, the added predetermined value may be variable.
[0087] Step S5 [0088] Since the identifying mechanical parameter of the error may include an error, the preliminary position is evaluated in step S5. As a cause of the error, the imperfection of an error model and/or a measurement error may be possible. On the other hand, regardless of a calibration method of the mechanical parameter in the calibration, the above equation (4) is always true. Therefore, the relationship between a calculation error ΔPID of the mechanical parameter and a measurement data error ΔE due to the imperfection of the error model and the measurement error, is represented by equation (10) below.
[0000] ΔPID=[G]+ΔE (10)
[0089] The relationship between the mechanical parameter error ΔPID and a positioning error δE of the robot in the field is represented by equation (11) below. In this case, [G′] is a matrix including an input/output relationship corresponding to all robot positions in the field.
[0000] δE=[G′]ΔPID (11)
[0090] Since the aligned positions in the calibration are generally broadly dispersed in the operation range, the matrix [G′] in equation (11) may be rewritten by using the matrix [G] in equation (10). Therefore, the relationship between the positioning error δE after the calibration and the measurement data error ΔE is represented by equation (12) below.
[0000] δE=[G][G]+ΔE (12)
[0091] Generally, in the same kind of mass-produced robots, the magnitudes of repetitive errors in the robots are approximately equal. The same can be applied to the magnitude of the measurement errors of the same kind of measurement devices such as a camera. Therefore, it is expected that the measurement data error ΔE has generally the same level as long as the same kind of robots and measurement devices are used. At this point, the positioning error pf the robot after the calibration may be generally figured out if the matrixes [G] and [G]+ can be evaluated. Also, when the preliminary position is not significantly different from the aligned position, the matrix [G] may be calculated by determining the preliminary position, whereby the positioning error of the robot after the calibration may be previously evaluated without the alignment.
[0092] An example of a method for representing the matrix [G] by using one value is explained below. By using a singular value v of the matrix [G], an evaluation index EI of [G][G]+ is calculated by equation (13) below.
[0000] EI=σ [G]max×σ[G]+max=σ[G]max/σ[G]min (13)
[0093] Also, the index EI may be calculated by equation (14) below, which includes less calculation amount.
[0000] EI=||[G]||×||[G] +|| (14)
[0094] In this case, ||[G]|| may be calculated by equation (15) below, by using a sum ||hj|| of an absolute value of each component of j-th row vector of [G].
[0000] ||[G||=max||hj|| (15)
[0095] It is apparently possible to use [G]T[G] in which more preliminary position are used and the matrix [G] is a non-square matrix, instead of using the matrix [G], whereby the measurement error may be reduced. Also, a normal matrix may be used. In addition, a study is already disclosed, in which only the matrix [G] or [G]+ is evaluated, without evaluating the product [G][G]+, and a product of all singular points is used as a representative value instead of using a maximum singular value of [G] as the representative value.
[0096] Steps S6 and S7 [0097] In step S6, if the combination of the preliminary positions or a set of evaluation index does not satisfy a predetermined condition (or does not reach a certain threshold), a defined value of posture angle is increased so as to increase the set of evaluation index of the preliminary positions, as shown in equation (16), in step S7. In this case, each value Aw, Ap, AR is larger than one. If necessary, equation (16) may be used repeatedly. Also, instead of equation (16), a predetermined value may added to each value dWiW, dPiP, dRiR. Further, the added predetermind value may be variable.
[0000] dW′iW =dW iW ×A w [0000] dP′
×Ap [0000] dR′ iR =dR iR ×A R (16)
[0098] Depending on the limitation of the operation range of the robot, even when the defined value of the posture angle is increased, the posture angle of the reachable preliminary position may not be increased. In this case, as shown in equation (17), an intermediate value is calculated in relation to each parameter for generating the posture angle of the preliminary position, and is added as a generation parameter, whereby the number of generated preliminary positions may be increased and the calibration effect may be improved.
[0000] dW nW+m=(dW m+dW m+1)/2
[0000] dP nP+m=(dP m+dP m+1)/2
[0000] dR nR+m=(dR m +dR m+1)/2 (17)
[0099] The equations for automatically generating the robot positions as described above merely one example. Therefore, in automatically generating the preliminary position which satisfies the condition in which the target is always positioned on the same view line of the camera at the different measurement positions, the generation of the preliminary position and the calibration may be carried out, merely by changing the generating parameter of the corresponding preliminary position, a generating equation and an identifying equation of the calibration. The generating equation may be constituted by arbitrarily combining parameters as shown in equation (8), and also, may be constituted by directly designating the posture of the robot during measurement, by combining only specified parameters, or by combining different generating equations. In the process for automatically generating the preliminary position, the judgment may be carried out every when one preliminary position is generated, and the position correction may be carried out as required. Further, in order to carry out the measurement using less preliminary positions, the exploratory method, as described in Transaction of the Japan Society of Mechanical Engineers (“C” edition), vol. 69, No. 682 (2003-6), pp. 1691-1698, may be used after the preliminary position is generated.
[0100] In the above embodiment, the light receiving device is a CCD camera for capturing a two-dimensional image. However, another device having the equivalent function, such as a CMOS camera, may also be used.
[0101] The target 6 may be replaced with a point light source such as a light emitting device. In this case, a two dimensional position sensitive detector (PSD), capable of calculating a position of a center of gravity of a distribution of received light, may be used as the light receiving device. When the PSD is used, however, the image processing unit 2 is replaced with another suitable device. For example, when the PSD is used, a processing unit, capable of calculating the position of the center of gravity of the distribution of received light by processing a signal outputted from the PSD, may be used.
[0102] Since the above procedure for calibration is one example of the invention, the procedure may be arranged depending on the configuration of the measurement system. For example, in effect, it may be difficult to uniformly formulate the error of the robot. In other words, it may be difficult to effectively formulate the error over all operation range of the robot. Further, due to an obstacle or the like, the preliminary position generated based on one basic position occasionally can be used in a narrow operation range only. Accordingly, a plurality of targets may be arranged corresponding to the operation area of the robot, so as to carry out the measurement several times. For example, a plurality of targets as shown in FIG. 12 may be measured. As shown in FIG. 12, two targets 6 a and 6 b are arranged in the robot coordinate system. In this case, each target is captured within the field of vision of the camera by the operator in step T1 of FIG. 7, and the procedure from steps T2 to T5 is repeated twice. Then, steps T6 and T7 are executed. In addition, a plurality of cameras may be arranged in relation to one target, so as to improve the accuracy of measurement.
[0103] Also, it is not necessary to use the basic position obtained after step T2 is executed. In other words, the basic position may be independently taught before step T2 is executed.
[0104] In a system using a pin as shown in FIG. 3, the image processing unit 2 is not necessary. Therefore, a merit, that labor and time is few because of automatic measurement, cannot be obtained in this case. However, even when the operator has no experience in calibration, the operator can effectively generate the preliminary position by touch-up, whereby the accuracy of the calibration may be improved. Also, this system may be used as an alternative system when the automatic measurement using the camera or the like cannot satisfy a predetermined condition.
[0105] As shown in FIG. 4, when a contact-type measurement device such as a double-ball bar is used instead of the image processing unit 2, the automatic calibration may also be carried out. An algorithm for automatically generating the preliminary position according to the invention has no limitation due to a measurement method, whereby the algorithm may be incorporated into another known calibration method.
[0106] FIG. 13 is a diagram showing a constitution of the calibration device according to the present invention. The calibration device 50 includes an aligning part 51, an initial position designating part 52, a preliminary position determining part 53, a judging part 54 and a position correcting part 55. Further, the calibration device may include an evaluating part 56 and a redetermining part. In effect, the function of each part is provided to the robot 1, the image processing unit 2, the camera 4, the robot controller 5 or the combination thereof.
[0107] According to the present invention, when the calibration using the robot is carried out, the preliminary position where the robot can reach is automatically generated. Further, the preliminary position may be previously evaluated and automatically corrected based on the evaluation. Therefore, the accuracy of the calibration may be improved.
[0108] Further, by combining the calibration device with the noncontact-type light receiving device such as a camera, the calibration with high accuracy may be effectively carried out without depending on the skill of the operator, even when there are many limitations in operation range of the robot.
[0109] While the invention has been described with reference to specific embodiments chosen for the purpose of illustration, it should be apparent that numerous modifications could be made thereto, by one skilled in the art, without departing from the basic concept and scope of the invention.
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS7447615 *Oct 26, 2004Nov 4, 2008Fanuc LtdSimulation apparatus for robot operation having function of visualizing visual field by image capturing unitUS7490019 *Dec 21, 2006Feb 10, 2009Konica Minolta Sensing, Inc.Method and apparatus for three-dimensional measurementUS7532949 *Jan 14, 2005May 12, 2009Fanuc LtdMeasuring systemUS20020087233 *Jan 15, 2002Jul 4, 2002Simon RaabPortable coordinate measurement machine with pre-stressed bearingsUS20050096892 *Oct 26, 2004May 5, 2005Fanuc LtdSimulation apparatusUS20050159842 *Jan 14, 2005Jul 21, 2005Fanuc LtdMeasuring systemUS20050225278 *Apr 7, 2005Oct 13, 2005Fanuc LtdMeasuring systemUS20050273199 *Jun 2, 2005Dec 8, 2005Fanuc Ltd.Robot systemUS20060025890 *Aug 1, 2005Feb 2, 2006Fanuc LtdProcessing program generating deviceUS20080004750 *Jul 2, 2007Jan 3, 2008Fanuc LtdMeasuring system and calibration methodUS20080188986 *Oct 25, 2005Aug 7, 2008University Of DaytonMethod and System to Provide Improved Accuracies in Multi-Jointed Robots Through Kinematic Robot Model Parameters DeterminationUS20080319557 *Jan 26, 2006Dec 25, 2008Airbus Uk LimitedProgram-Controlled Process* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS8185242 *May 7, 2008May 22, 2012Lam Research CorporationDynamic alignment of wafers using compensation values obtained through a series of wafer movementsUS8306661 *Apr 8, 2008Nov 6, 2012Denso Wave IncorporatedMethod and system for establishing no-entry zone for robotUS9109868 *Dec 11, 2013Aug 18, 2015Mitutoyo CorporationMethod and program for using gestures to control a coordinate measuring deviceUS9199378 *Sep 16, 2010Dec 1, 2015Kuka Roboter GmbhCalibration of a manipulatorUS9221176 *Feb 11, 2014Dec 29, 2015Canon Kabushiki KaishaRobot system and method for controlling the sameUS9248573Sep 28, 2012Feb 2, 2016Universal Robots A/SCalibration and programming of robotsUS9335160 *Apr 26, 2011May 10, 2016Nikon CorporationProfile measuring apparatusUS20080249659 *Apr 8, 2008Oct 9, 2008Denso Wave IncorporatedMethod and system for establishing no-entry zone for robotUS20090279989 *May 7, 2008Nov 12, 2009Lam Research CorporationDynamic alignment of wafers using compensation values obtained through a series of wafer movementsUS20100094461 *Oct 9, 2009Apr 15, 2010Abb AgMethod for teaching an industrial robot, and a correspondingly equipped industrial robotUS20110066393 *Sep 16, 2010Mar 17, 2011Kuka Roboter GmbhCalibration Of A ManipulatorUS20110270562 *Apr 26, 2011Nov 3, 2011Nikon CorporationProfile measuring apparatusUS20140190027 *Dec 11, 2013Jul 10, 2014Mitutoyo CorporationMethod and program for using gestures to control a coordinate measuring deviceUS20140229005 *Feb 11, 2014Aug 14, 2014Canon Kabushiki KaishaRobot system and method for controlling the sameUS20150314450 *Apr 15, 2015Nov 5, 2015Hong Fu Jin Precision Industry (Shenzhen)Co., Ltd.Calibration method for coordinate system of robot manipulatorCN102022989A *Sep 29, 2010Apr 20, 2011山东科技大学Robot calibration method based on exponent product modelEP2796249A1Sep 18, 2012Oct 29, 2014Universal Robots A/SProgramming of robotsWO2011009108A2 *Jul 17, 2010Jan 20, 2011Universal Robotics, Inc.System and method for automatic calibration of stereo imagesWO2011009108A3 *Jul 17, 2010Apr 28, 2011Universal Robotics, Inc.System and method for automatic calibration of stereo imagesWO2013045314A1Sep 18, 2012Apr 4, 2013Universal Robots A/SCalibration and programming of robots* Cited by examinerClassifications U.S. Classification700/245, 901/15International ClassificationG06F17/00Cooperative ClassificationB25J9/1692, G05B2219/39045, G01B11/002, G05B2219/39393, G01B21/042European ClassificationB25J9/16T5, G01B21/04B, G01B11/00DLegal EventsDateCodeEventDescriptionMar 13, 2008ASAssignmentOwner name: FANUC LTD, JAPANFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAZUNORI, BAN;TAKIZAWA, KATSUTOSHI;SHEN, GANG;REEL/FRAME:020677/0766Effective date: 20080204May 14, 2014FPAYFee paymentYear of fee payment: 4RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services