Computer system, method for adjusting geometric error of robot, and non-transitory computer-readable medium
The computer system automatically adjusts geometric errors in industrial robots by using a touch probe offset from the rotation axis, addressing the inefficiencies of manual methods and enabling faster line startups and renovations.
Patent Information
- Application Number
- JP2023028597
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-02-27
AI Technical Summary
Existing methods for adjusting geometric errors in industrial robots require manual operation and are time-consuming, especially when rotary tables are not available.
A computer system that includes a touch probe installed at a predetermined offset from the rotation axis of a robot's arm, allowing automatic adjustment of geometric errors by measuring and calculating positional and posture deviations without the need for a rotary table.
Enables efficient and automated geometric error adjustment in robots without rotary tables, improving the efficiency of startup and renovation processes in manufacturing lines.
Smart Images

Figure 2024121468000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for adjusting geometric errors of a robot performing a task. [Background technology]
[0002] In the manufacturing industry, in order to keep up with frequent changes in the business environment, there is a demand for shortening the time required to start up new lines and renovate existing lines. When constructing a line using industrial robots, a teaching method in a virtual environment called offline teaching is generally used to shorten the design period when starting up the line and the downtime when renovating the line. This requires adjustment work in the actual environment because there is a discrepancy (geometric error) between the position and posture of the robot taught in the virtual environment and the position and posture in the actual environment. Existing geometric error adjustment methods such as the six-point teaching method calculate the geometric error by positioning the tip of the robot's tool at multiple reference points on the reference coordinate axis. This method requires manually and visually positioning the robot by directly operating it in the actual environment, which requires a lot of man-hours.
[0003] JP 2011-38902 A (Patent Document 1) is a background technique in this technical field. This publication describes that "in a method for identifying geometric errors related to the translational axes and the rotational axes of a machine having two or more translational axes and one or more rotational axes by a control means, the method includes a measurement step of positioning a jig to be measured at multiple locations by indexing the rotational axis at multiple angles and measuring the position of the jig to be measured in a three-dimensional space by a position measurement sensor, an arc approximation step of approximating the multiple position measurement values measured in the measurement step with an arc, and an error calculation step of calculating an error in the center position of the rotational axis and / or an inclination error of the rotational axis, and an inclination error of the translational axis from the arc approximated in the arc approximation step." [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2011-38902 A Summary of the Invention [Problem to be solved by the invention]
[0005] Patent Document 1 describes a method for identifying the geometric error of equipment by positioning the jig to be measured at multiple locations and performing measurements using a position measurement sensor. However, the method in Patent Document 1 is premised on an equipment configuration in which the jig to be measured can be positioned at multiple locations by indexing the rotation axis at multiple angles, and there is a problem that it cannot be applied unless the equipment includes a component such as a rotary table that rotates the jig to be measured.
[0006] An object of the present invention is to provide a technique for automatically adjusting geometric errors without using a rotary table or the like. [Means for solving the problem]
[0007] A representative example of the invention disclosed in this application is as follows. That is, a computer system connected to a robot performing work, the robot having an arm, an end of the arm having a rotation mechanism and a coupling portion to which an end effector can be attached, a touch probe is installed at the coupling portion at a position a predetermined distance from the rotation axis of the rotation mechanism in a plane perpendicular to the rotation axis of the rotation mechanism, the computer system includes a calculation device, a storage device connected to the calculation device, and an interface connected to the calculation device, the storage device holds teaching data for controlling the robot in accordance with the work content and posture vector information for managing a posture vector representing the posture of the coupling portion after control based on the teaching data, the calculation device controls the robot based on the teaching data, rotates the rotation mechanism, controls the robot so that the touch probe contacts a reference point of a measurement object, performs a measurement process multiple times to record the position of the coupling portion, calculates a plane passing through the position of the coupling portion obtained by the multiple measurement processes, calculates a normal vector of the plane, and calculates an adjustment amount for the posture deviation of the coupling portion based on the normal vector and the posture vector. Effect of the Invention
[0008] According to the present invention, it is possible to automatically adjust geometric errors in equipment that does not have a rotary table. Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 illustrates an example of a system configuration according to a first embodiment. [Figure 2A] FIG. 2 is a diagram for explaining the attachment position of a touch probe of the robot of the first embodiment. [Figure 2B] FIG. 2 is a diagram for explaining the attachment position of a touch probe of the robot of the first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a data structure of teaching information according to the first embodiment. [Figure 4]FIG. 4 is a diagram illustrating an example of a data structure of measurement control information according to the first embodiment. [Diagram 5] FIG. 4 is a diagram illustrating an example of a data structure of measurement result information according to the first embodiment. [Figure 6] FIG. 4 is a diagram illustrating an example of a data structure of attitude vector information according to the first embodiment. [Figure 7] FIG. 4 is a diagram illustrating an example of a data structure of adjustment amount information according to the first embodiment. [Figure 8] FIG. 4 is a diagram showing an example of a data structure of correction teaching information according to the first embodiment. [Figure 9] 4 is a flowchart illustrating an example of processing executed by the geometric error adjustment system according to the first embodiment. [Figure 10] FIG. 4 is a diagram for explaining an example of a measurement process according to the first embodiment. [Figure 11] 11 is a flowchart illustrating an example of an attitude deviation adjustment process executed by the geometric error adjustment system according to the first embodiment. [Figure 12] 5 is a diagram illustrating an example of a method for calculating a position adjustment amount by the geometric error adjustment system of the first embodiment. FIG. [Figure 13] 5 is a diagram illustrating an example of a method for calculating an attitude adjustment amount by the geometric error adjustment system of the first embodiment. FIG. [Figure 14] FIG. 2 is a diagram showing an example of a screen presented to a user by the geometric error adjustment system according to the first embodiment. [Figure 15] FIG. 2 is a diagram showing an example of a screen presented to a user by the geometric error adjustment system according to the first embodiment. [Figure 16] FIG. 11 is a diagram illustrating an example of a system configuration of a second embodiment. [Figure 17] FIG. 13 is a diagram illustrating an example of a data structure of shape information according to the second embodiment. [Figure 18] FIG. 11 is a diagram illustrating an example of a data structure of measurement point information according to the second embodiment. [Figure 19] 11 is a flowchart illustrating an example of a reference point estimation process executed by the geometric error adjustment system according to the second embodiment. [Figure 20] 13A to 13C are diagrams illustrating an example of a method for estimating a reference point by the geometric error adjustment system according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, a system for adjusting the geometric error of a robot in a production line will be described based on an embodiment with reference to the drawings.
[0011] In the configurations of the invention described below, the same or similar configurations or functions are given the same reference numerals, and duplicated explanations are omitted.
[0012] In order to facilitate understanding of the invention, the position, size, shape, range, etc. of each component shown in the drawings, etc. may not represent the actual position, size, shape, range, etc. Therefore, the present invention is not limited to the position, size, shape, range, etc. disclosed in the drawings, etc. EXAMPLES
[0013] In the first embodiment, a system for adjusting the geometric error of a robot in a production line will be described.
[0014] (System Configuration) 1 is a diagram showing an example of the configuration of a system according to the embodiment 1. The system includes a geometric error adjustment system 100, a robot 160, and a measurement object 170. The number of robots 160 may be two or more.
[0015] The robot 160 has an arm. At the end of the arm is a joint 161 for attaching an end effector. A touch probe 163 is installed on the joint 161 via an offset jig 162. In actual work, an end effector is attached to the joint 161.
[0016] Here, a description will be given of the characteristics of the attachment position of the touch probe 163. Figures 2A and 2B are diagrams for explaining the attachment position of the touch probe 163 of the robot 160 of the first embodiment.
[0017] The coupling unit 161 has a rotation mechanism that rotates an end effector, etc. The touch probe 163 is installed via an offset jig 162 with the distance between the touch probe 163 and the rotation axis on a plane perpendicular to the rotation axis of the rotation mechanism being arbitrarily offset.
[0018] Fig. 2A is a diagram of the robot 160 in the ZX plane, and Fig. 2B is a diagram of the robot 160 in the XY plane. In the example shown in Fig. 2A and Fig. 2B, a touch probe 163 is installed at a position offset in the X-axis direction of the XY plane. The robot 160 can rotate and move the touch probe 163.
[0019] The measurement object 170 is an object that is brought into contact with the touch probe 163, and is provided with a reference point with which the touch probe 163 is brought into contact.
[0020] The geometric error adjustment system 100 is composed of computers such as a personal computer and a server. The number of computers constituting the geometric error adjustment system 100 may be one or two or more. The geometric error adjustment system 100 includes a calculation device 110, a storage device 120, an input device 130, and an output device 140 as a hardware configuration.
[0021] The input device 130 is a device for inputting various information, such as a keyboard, a mouse, a touch panel, etc. The output device 140 is a device for outputting various information, such as a network interface and a display.
[0022] The storage device 120 is, for example, a hard disk drive (HDD) or a solid state drive (SSD), and stores programs executed by the arithmetic device 110, information used by the programs, information generated by arithmetic processing, and the like.
[0023] The storage device 120 stores a program that realizes the geometric error adjustment unit 111. The storage device 120 also stores an input information group input via the input device 130 and an output information group obtained by arithmetic processing. The input information group includes teaching information 121, measurement control information 122, measurement result information 123, and attitude vector information 124. The output information group includes adjustment amount information 125 and correction teaching information 126.
[0024] The teaching information 121 is information for managing the position and posture of the robot 160 taught offline. The measurement control information 122 is information for managing the rotation angle of the rotation mechanism in the measurement process using the touch probe 163. The measurement result information 123 is information for managing the position of the robot 160 measured by the measurement process using the touch probe 163. The posture vector information 124 is information for managing a vector (posture vector) representing the posture of the robot 160 with respect to a reference point after control has been performed based on the teaching data.
[0025] Here, the position of the robot 160 represents the position of the joint 161 , and the posture of the robot 160 represents the direction of the joint 161 .
[0026] As described below, the deviation of the posture of the robot 160 is adjusted so that the estimated posture vector of the robot 160 coincides with the posture vector of the posture vector information 124 .
[0027] The adjustment amount information 125 is information on the amount of adjustment for eliminating the deviation of the position and the posture. The corrected teaching information 126 is information obtained by correcting the teaching information 121 based on the adjustment amount.
[0028] The arithmetic device 110 is a CPU or the like, and executes a program stored in the storage device 120. The arithmetic device 110 executes processing according to the program, thereby operating as a functional unit (module) that realizes a specific function. In the following explanation, when a process is explained with the functional unit as the subject, it indicates that the arithmetic device 110 is executing a program that realizes the functional unit. The arithmetic device 110 of the first embodiment functions as a geometric error adjustment unit 111.
[0029] (Data Structure of Information) FIG. 3 is a diagram illustrating an example of a data structure of the teaching information 121 according to the first embodiment.
[0030] The teaching information 121 stores entries including an operation ID 301, a position 302, and an attitude 303. One entry exists for one operation. In the following description, one entry is also referred to as teaching data.
[0031] The task ID 301 is a field for storing the ID of the task.
[0032] The position 302 is a field that stores the position (taught position) of the joint 161. For example, coordinates (x, y, z) of a three-dimensional Cartesian coordinate system are stored in the position 302. In this embodiment, the position 302 stores the position of the joint 161 where the tool of the end effector contacts the reference point.
[0033] The attitude 303 is a field for storing the attitude (taught attitude) of the joint unit 161 after control based on the taught data. In the attitude 303, for example, Euler angles (Roll, Pitch, Yaw) are stored.
[0034] It should be noted that, instead of the position and orientation, a combination of the angles of each joint of the robot 160 may be stored.
[0035] FIG. 4 is a diagram illustrating an example of a data structure of the measurement control information 122 according to the first embodiment.
[0036] The measurement control information 122 stores entries including a control ID 401 and a joint angle 402. One entry exists for one measurement control. In the following description, one entry is also referred to as control data.
[0037] The control ID 401 is a field for storing the ID of the measurement control. The joint angle 402 is a field for storing the rotation angle of the rotation mechanism. In the case of a six-axis robot arm, the joint angle 402 stores the angle of the sixth joint.
[0038] In this embodiment, in order to calculate a plane used for estimating the orientation of the joint portion 161, the measurement control information 122 stores three or more entries with different rotation angles.
[0039] In addition, a rotation angle that does not interfere with surrounding equipment may be searched for in advance using software such as a robot simulator, and set in the measurement control information 122.
[0040] FIG. 5 is a diagram illustrating an example of a data structure of the measurement result information 123 according to the first embodiment.
[0041] The measurement result information 123 stores entries including a result ID 501, an operation ID 502, a control ID 503, and a measurement position 504. One entry exists for one measurement process.
[0042] The result ID 501 is a field that stores the ID of the entry. The task ID 502 and the control ID 503 are the same fields as the task ID 301 and the control ID 401.
[0043] The measurement position 504 is a field for storing the position of the coupling portion 161 when the tip of the touch probe 163 comes into contact with the reference point. The measurement position 504 stores, for example, coordinates (x, y, z) of a three-dimensional Cartesian coordinate system.
[0044] FIG. 6 is a diagram illustrating an example of a data structure of the orientation vector information 124 according to the first embodiment.
[0045] The posture vector information 124 stores entries including an operation ID 601 and a posture vector 602. There is one entry for one operation.
[0046] Task ID 601 is the same field as task ID 301. Orientation vector 602 is a field that stores an orientation vector that indicates the orientation of coupling portion 161 with respect to the reference point. In orientation vector 602, a vector (x, y, z) in a three-dimensional orthogonal coordinate system is stored.
[0047] FIG. 7 is a diagram illustrating an example of a data structure of the adjustment amount information 125 according to the first embodiment.
[0048] The adjustment amount information 125 stores entries including a task ID 701, a position adjustment amount 702, and a posture adjustment amount 703. One entry exists for one task.
[0049] The task ID 701 is the same field as the task ID 301. The position adjustment amount 702 is a field for storing the adjustment amount of the teaching position included in the teaching data. The attitude adjustment amount 703 is a field for storing the adjustment amount of the teaching attitude included in the teaching data.
[0050] FIG. 8 is a diagram illustrating an example of a data structure of the correction instruction information 126 according to the first embodiment.
[0051] The corrected teaching information 126 stores entries including a task ID 801, a position 802, and a posture 803. One entry exists for one task. In the following description, one entry is also referred to as corrected teaching data.
[0052] The task ID 801 is the same field as the task ID 301. The position 802 is a field for storing the corrected teaching position. The orientation 803 is a field for storing the corrected teaching orientation.
[0053] (Processing of Geometric Error Adjustment System 100) Fig. 9 is a flowchart illustrating an example of processing executed by the geometric error adjustment system 100 according to the first embodiment. Fig. 10 is a diagram illustrating an example of measurement processing according to the first embodiment.
[0054] The geometric error adjustment system 100 executes the process described below when an execution instruction is received or periodically. Note that the execution trigger is not limited to this. For example, the execution trigger may be input or update of the teaching information 121.
[0055] The geometric error adjustment unit 111 starts loop processing of the teaching data (step S101). The geometric error adjustment unit 111 acquires one piece of teaching data from the teaching information 121.
[0056] The geometric error adjustment unit 111 starts loop processing of the control data (step S102). The geometric error adjustment unit 111 acquires one piece of control data from the measurement control information 122.
[0057] The geometric error adjustment unit 111 controls the robot 160 based on the teaching data (step S103).
[0058] The geometric error adjustment unit 111 rotates the rotation mechanism of the joint 161 of the robot 160 based on the control data (step S104). Note that the geometric error adjustment unit 111 rotates the rotation mechanism while maintaining the joints other than the joint 161.
[0059] The geometric error adjustment unit 111 controls the robot 160 based on the current position and orientation of the robot 160 so as to bring the touch probe 163 into contact with the reference point of the measurement object 170, and executes a measurement process to measure the position of the joint 161 (step S105).
[0060] Specifically, the geometric error adjustment unit 111 controls the robot 160 so that the coordinate system Ct set at the tip 1002 of the touch probe 163 coincides with the coordinate system Cw set at the reference point 1001, as shown in FIG. 10.
[0061] In this embodiment, it is assumed that teaching data for bringing the touch probe 163 into contact with the reference point 1001 is set in the teaching information 121. In this case, the distance between the origins of the coordinate systems Ct and Cw corresponds to the positional deviation (p), and the inclination of the coordinate systems Ct and Cw corresponds to the orientation deviation (R).
[0062] The geometric error adjustment unit 111 registers the position of the joint 161 of the robot 160 in a state where the touch probe 163 is in contact with the reference point in the measurement result information 123 (step S106).
[0063] Specifically, the geometric error adjustment unit 111 adds an entry to the measurement result information 123, and sets an ID in the result ID 501 of the added entry. The geometric error adjustment unit 111 sets the IDs of the teaching data and the control data in the work ID 502 and the control ID 503 of the added entry. In addition, the geometric error adjustment unit 111 sets the measured position in the measurement position 504 of the added entry.
[0064] The geometric error adjustment unit 111 determines whether or not the processing has been completed for all the control data (step S107).
[0065] If the processing has not been completed for all the control data, the geometric error adjustment unit 111 returns to step S102 and executes the same processing.
[0066] When the processing is completed for all the control data, the geometric error adjustment unit 111 executes the attitude deviation adjustment processing (step S108). The attitude deviation adjustment processing will be described in detail later.
[0067] The geometric error adjustment unit 111 determines whether or not the processing has been completed for all the teaching data (step S109).
[0068] If the processing has not been completed for all the teaching data, the geometric error adjustment unit 111 returns to step S101 and executes the same processing.
[0069] When the processing is completed for all teaching data, the geometric error adjustment unit 111 ends the processing.
[0070] Fig. 11 is a flowchart for explaining an example of an attitude deviation adjustment process executed by the geometric error adjustment system 100 of the embodiment 1. Fig. 12 is a diagram showing an example of a method for calculating a position adjustment amount by the geometric error adjustment system 100 of the embodiment 1. Fig. 13 is a diagram showing an example of a method for calculating an attitude adjustment amount by the geometric error adjustment system 100 of the embodiment 1.
[0071] The geometric error adjustment unit 111 calculates a position adjustment amount using the teaching data and a plurality of measurement results (step S201). Here, a method of calculating the position adjustment amount will be described with reference to FIG.
[0072] In FIG. 12, position P teach represents the position indicated by the teaching data, and position P ref represents the measurement position, and the distance P pt represents the position of the driver or the like, and the deviation of the touch probe 163. teach , position P ref , distance P pt is expressed as a three-dimensional vector in a Cartesian coordinate system.
[0073] (S201-1) The geometric error adjustment unit 111 selects one measurement result. The geometric error adjustment unit 111 adds a distance P pt Calculate.
[0074] (S201-2) The geometric error adjustment unit 111 calculates the amount of positional deviation P using equation (1).
[0075]
number
[0076] The geometric error adjustment unit 111 calculates a position adjustment amount for eliminating the position shift based on the position shift amount. For example, when the position shift amount P is expressed as a three-dimensional vector in a Cartesian coordinate system, the vector multiplied by a negative number (i.e., -P) becomes the position adjustment amount.
[0077] (S201-3) The geometric error adjustment unit 111 adjusts the deviation P of the TCP and the touch probe 163. pt For example, the position adjustment amount P is corrected as shown in equation (2).
[0078]
number
[0079] (S201-4) The geometric error adjustment unit 111 judges whether or not the processing has been completed for all the measurement results. If the processing has not been completed for all the measurement results, the geometric error adjustment unit 111 returns to S201-1.
[0080] (S201-5) When the processing for all the measurement results is completed, the geometric error adjustment unit 111 calculates the average value of the position adjustment amounts of the respective measurement results.
[0081] This concludes the description of the process in step S201.
[0082] The geometric error adjustment unit 111 uses a plurality of measurement results to calculate a vector (estimated attitude vector) representing the attitude of the connection unit 161 (step S202). Here, a method of calculating the estimated attitude vector will be described with reference to FIG.
[0083] Here, it is assumed that measurements have been performed at rotation angles θ1, θ2, and θ3. The geometric error adjustment unit 111 calculates a two-dimensional plane 1310 passing through positions 1301, 1302, and 1303 of the joint unit 161 corresponding to the measurement results at each rotation angle, as shown in Fig. 13. The geometric error adjustment unit 111 calculates a normal vector of the two-dimensional plane 1310 as an estimated posture vector.
[0084] If there are four or more measurement results, the geometric error adjustment unit 111 finds a two-dimensional plane from each combination of three points, and calculates the distance between the two-dimensional plane and the reference point 1001 by a method such as the least squares method. The geometric error adjustment unit 111 calculates the normal vector of the two-dimensional plane with the smallest distance as the estimated posture vector.
[0085] The geometric error adjustment unit 111 calculates an attitude adjustment amount using a reference attitude vector and an estimated attitude vector corresponding to the teaching data (step S203).
[0086] Specifically, the geometric error adjustment unit 111 calculates the angle between the reference attitude vector and the estimated attitude vector as the attitude adjustment amount. For example, the geometric error adjustment unit 111 calculates a rotation matrix R using the Rodrigues' formula shown in equation (3) and converts the rotation matrix R into Euler angles (Roll, Pitch, Yaw). Here, n ref represents the estimated pose vector, and n tgt represents the reference attitude vector, and I represents the unit matrix.
[0087]
number
[0088] If the attitude of the touch probe 163 differs from that of the tool, the attitude error (angle) may be measured in advance and corrected.
[0089] The geometric error adjustment unit 111 registers the position adjustment amount and the attitude adjustment amount in the adjustment amount information 125 (step S204).
[0090] Specifically, the geometric error adjustment unit 111 adds an entry to the adjustment amount information 125, and sets the ID of the task corresponding to the teaching data to the task ID 701 of the added entry. The geometric error adjustment unit 111 sets the calculated position adjustment amount and attitude adjustment amount to the position adjustment amount 702 and attitude adjustment amount 703 of the added entry.
[0091] The geometric error adjustment unit 111 generates corrected teaching data using the teaching data, the position adjustment amount, and the attitude adjustment amount, and registers the corrected teaching data in the corrected teaching information 126 (step S205). After that, the geometric error adjustment unit 111 ends the attitude deviation adjustment process.
[0092] Specifically, the geometric error adjustment unit 111 adds an entry to the corrected teaching information 126, and sets the ID of the task corresponding to the teaching data to the task ID 801 of the added entry. The geometric error adjustment unit 111 sets the corrected position and orientation to the position 802 and orientation 803 of the added entry.
[0093] The corrected teaching data may be generated using only one of the position adjustment amount and the attitude adjustment amount.
[0094] The geometric error adjustment unit 111 can measure multiple positions while maintaining the orientation by rotating the rotation mechanism of the connection unit 161 and performing measurements. The geometric error adjustment unit 111 can estimate the orientation of the connection unit 161 from a two-dimensional plane that passes through the multiple positions. This makes it possible to automatically adjust positional deviations and orientation deviations, i.e., geometric errors. This makes it possible to improve the efficiency of the geometric error adjustment work.
[0095] It should be noted that the present invention is not limited to the position indicated by the teaching data. The amount of movement can be known in advance from the position of the joint 161 indicated by the teaching data and the position of the reference point 1001. Therefore, the positional deviation can be estimated based on the amount of movement of the joint 161 after control based on the teaching data. The posture deviation can be calculated using a similar method since it does not depend on the position indicated by the teaching data.
[0096] (Output screen) FIG. 14 is a diagram showing an example of a screen presented to a user by the geometric error adjustment system 100 according to the first embodiment.
[0097] The geometric error adjustment system 100 presents a screen 1400 as shown in Fig. 14 to the user via the output device 140. The screen 1400 includes a selection field 1401, a display button 1402, and a display area 1403.
[0098] The selection field 1401 is a field for selecting teaching data. The display button 1402 is an operation button for instructing the display of the adjustment result of the teaching data. The display area 1403 is an area for displaying the adjustment result of the teaching data. The user operates the selection field 1401 to select the teaching data to be referenced, and presses the display button 1402. The geometric error adjustment system 100 displays the adjustment result of the teaching data selected by the user in the display area 1403.
[0099] The display area 1403 includes display fields 1411, 1412, and 1413. The display field 1411 is a field for displaying the ID of the teaching data. The display field 1412 is a field for displaying an image of the state in which the touch probe 163 is in contact with the reference point 1001 of the measurement object 170. The image of the display field 1412 is generated based on the teaching data, the measurement control information 122, and the measurement result information 123. The display field 1413 is a field for displaying information related to the position adjustment amount and the attitude adjustment amount. The information displayed in the display field 1413 is generated based on the teaching data, the adjustment amount information 125, and the corrected teaching data.
[0100] In this embodiment, the rotation angle and the reference attitude vector are set in advance, but the user may be able to select them via the screen.
[0101] FIG. 15 is a diagram showing an example of a screen presented to a user by the geometric error adjustment system 100 according to the first embodiment.
[0102] The display screen 1500 includes a selection box 1501 , display areas 1502 and 1503 , a video playback button 1504 , and an output button 1505 .
[0103] The selection field 1501 is a field for selecting teaching data. The display area 1502 is an area for displaying a moving image showing the behavior of the robot 160 based on the teaching data before adjustment. The display area 1503 is an area for displaying a moving image showing the behavior of the robot 160 based on the teaching data after adjustment (corrected teaching data).
[0104] The video playback button 1504 is an operation button for instructing display of a video in the display areas 1502 and 1503. When the video playback button 1504 is pressed, the geometric error adjustment system 100 displays a video in the display areas 1502 and 1503 based on the teaching data and corrected teaching data selected in the selection field 1501. The output button 1505 is an operation button for instructing writing out of the corrected teaching data.
[0105] When the user confirms with reference to the video that the adjustment has been made correctly, the user instructs writing of the correction teaching data.
[0106] According to the first embodiment, the geometric error can be automatically adjusted without using a rotary table or the like. EXAMPLES
[0107] The second embodiment differs from the first embodiment in that the geometric error adjustment system 100 estimates a reference point 1001 of a measurement object 170. The second embodiment will be described below, focusing on the differences from the first embodiment.
[0108] (System Configuration) 16 is a diagram showing an example of the configuration of a system according to the embodiment 2. The system includes a geometric error adjustment system 100, a robot 160, and a measurement object 170. The number of robots 160 may be two or more.
[0109] The calculation device 110 of the second embodiment differs from that of the first embodiment in that it functions as a reference point estimation unit 1601. The storage device 120 of the second embodiment differs from that of the first embodiment in that it holds shape information 1611, measurement point information 1612, and advance measurement result information 1613.
[0110] The reference point estimation unit 1601 estimates the reference point 1001. The shape information 1611 is information for managing the shapes of the touch probe 163 and the measurement object 170. The measurement point information 1612 is information for managing the measurement points of the measurement object 170. The pre-measurement result information 1613 is information for managing the results of a pre-measurement process for estimating the reference point 1001.
[0111] (Data Structure of Information) FIG. 17 is a diagram showing an example of the data structure of the shape information 1611 according to the second embodiment.
[0112] The shape information 1611 stores entries including a parameter 1701 and a parameter value 1702. There is one entry for one parameter.
[0113] The parameters 1701 are fields for storing parameters relating to the shapes of the offset jig 162 and the touch probe 163. The parameter value 1702 is a field for storing the value of the parameter. When the measurement object 170 is cylindrical, the radius and height are stored in the shape information 1611. When the tip of the touch probe 163 is spherical, the radius of the sphere is stored in the shape information 1611. The unit of the numerical value representing the shape is, for example, mm. Also, information relating to the position of the reference point 1001 on the measurement object 170 is stored. The position of the reference point 1001 is, for example, a position in the coordinate system (relative coordinate system) of the measurement object 170.
[0114] FIG. 18 is a diagram illustrating an example of a data structure of the measurement point information 1612 according to the second embodiment.
[0115] The measurement point information 1612 stores entries including a measurement point ID 1801 and a measurement point 1802. One entry exists for one measurement point. In the following description, one entry is also referred to as measurement point data.
[0116] The measurement point ID 1801 is a field for storing the ID of a measurement point. The measurement point 1802 is a field for storing the coordinates of a measurement point. In the measurement point 1802, for example, coordinates of a three-dimensional orthogonal coordinate system are stored.
[0117] The advance measurement result information 1613 has the same data structure as the measurement point information 1612, and therefore a detailed description thereof will be omitted.
[0118] (Processing of Geometric Error Adjustment System 100) The geometric error adjustment system 100 of the second embodiment executes the following process in addition to the process described in the first embodiment. Fig. 19 is a flowchart for explaining an example of a reference point estimation process executed by the geometric error adjustment system 100 of the second embodiment. Fig. 20 is a diagram for explaining an example of a reference point estimation method by the geometric error adjustment system 100 of the second embodiment.
[0119] The reference point estimation unit 1601 starts loop processing of the measurement point data (step S301). Specifically, the reference point estimation unit 1601 selects one measurement point data from the measurement point information 1612.
[0120] The reference point estimation unit 1601 controls the robot 160 based on the selected measurement point data (step S302).
[0121] The reference point estimation unit 1601 determines whether the touch probe 163 is in contact with the measurement object 170 (step S303).
[0122] If the touch probe 163 is in contact with the measurement object 170, the reference point estimation unit 1601 proceeds to step S305.
[0123] If the touch probe 163 is not in contact with the measurement object 170, the reference point estimation unit 1601 controls the robot 160 so that the touch probe 163 comes into contact with the measurement object 170 (step S304), and then proceeds to step S305. At this time, the reference point estimation unit 1601 controls the robot 160 so as to maintain the measurement posture. It is assumed that a control method is set in advance for each measurement point.
[0124] The reference point estimation unit 1601 measures the position of the joint 161 and registers it in the advance measurement result information 1613 (step S305).
[0125] The reference point estimation unit 1601 determines whether the process has been completed for all the measurement points (step S306).
[0126] If the process has not been completed for all measurement points, the reference point estimation unit 1601 returns to step S301 and executes the same process.
[0127] When the processing is completed for all measurement points, the reference point estimation unit 1601 estimates the reference point 1001 of the measurement object 170 based on the shape information 1611 and the advance measurement result information 1613 (step S307). After that, the reference point estimation unit 1601 ends the reference point estimation processing.
[0128] Here, a method for estimating the reference point 1001 will be described with reference to Fig. 20. A point 2000 represents a measurement point. The reference point estimating unit 1601 brings the touch probe 163 into contact with the measurement point 2000, and measures the position 2001 of the joint 161.
[0129] The reference point estimation unit 1601 corrects the position 2001 of the joint 161 based on information about the position 2001 of the joint 161 and the shape of the touch probe 163, and the like.
[0130] The reference point estimation unit 1601 fits the shape 2003 of the measurement object 170 based on the positions 2001 of the multiple connection parts 161. Fitting refers to a process of estimating the shape 1903 of the measurement object 170 such that the sum of squares of the distances from the positions 2001 of the connection parts 161 to the measurement object 170 is minimized by, for example, the least squares method.
[0131] The reference point estimation unit 1601 estimates the position of the reference point 1001 based on information regarding the shape 1903 of the measurement object 170 and the position of the reference point 1001 .
[0132] The geometric error adjustment system 100 can automatically estimate the position of the reference point 1001. This makes it possible to efficiently perform processing for adjusting the geometric error.
[0133] The present invention is not limited to the above-mentioned embodiment, but includes various modified examples. For example, the above-mentioned embodiment describes the configuration in detail to easily explain the present invention, and the present invention is not necessarily limited to the configuration including all the described configurations. Also, it is possible to add, delete, or replace a part of the configuration of each embodiment with another configuration.
[0134] In addition, the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. The present invention can also be realized by software program code that realizes the functions of the embodiments. In this case, a storage medium on which the program code is recorded is provided to a computer, and a processor included in the computer reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-mentioned embodiments, and the program code itself and the storage medium storing it constitute the present invention. Examples of storage media for supplying such program code include flexible disks, CD-ROMs, DVD-ROMs, hard disks, SSDs (Solid State Drives), optical disks, magneto-optical disks, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, etc.
[0135] Furthermore, the program code for realizing the functions described in this embodiment can be implemented in a wide range of program or script languages, such as assembler, C / C++, perl, Shell, PHP, Python, Java (registered trademark), etc.
[0136] Furthermore, the program code of the software that realizes the functions of the embodiments may be distributed over a network and stored in a storage means such as a computer's hard disk or memory, or in a storage medium such as a CD-RW or CD-R, and the processor of the computer may read out and execute the program code stored in the storage means or storage medium.
[0137] In the above-mentioned embodiment, the control lines and information lines are shown as those considered necessary for the explanation, and not all the control lines and information lines are shown in the product. All the components may be connected to each other. [Explanation of symbols]
[0138] 100 Geometric Error Adjustment System 110 Arithmetic equipment 111 Geometric error adjustment section 120 Storage device 121 Instructional Information 122 Measurement and control information 123 Measurement result information 124 Attitude Vector Information 125 Adjustment amount information 126 Correction Instruction Information 130 Input Device 140 Output Device 160 Robot 161 Joint 162 Offset jig 163 Touch Probe 170 Measurement Objects 1601 Reference point estimation part 1611 Shape information 1612 Measuring point information 1613 Advance measurement result information
Claims
1. A computer system connected to a robot that performs a task, The robot has an arm, The end of the arm has a coupling portion having a rotation mechanism and to which an end effector can be attached; a touch probe is provided at a position on the coupling portion that is a predetermined distance away from the rotation axis of the rotation mechanism in a plane perpendicular to the rotation axis; the computer system includes a processor, a storage device connected to the processor, and an interface connected to the processor; the storage device holds teaching data for controlling the robot in accordance with a task, and posture vector information for managing a posture vector representing a posture of the joint portion after control based on the teaching data; The computing device includes: Controlling the robot based on the teaching data; rotating the rotation mechanism, controlling the robot so that the touch probe contacts a reference point of a measurement object, and executing a measurement process for recording the position of the joint a plurality of times; Calculating a plane passing through the positions of the joints obtained by the measurement processes performed multiple times; Calculating a normal vector of the plane; a computer system that calculates an adjustment amount for an orientation deviation of the joint portion based on the normal vector and the orientation vector.
2. 2. The computer system of claim 1, The computing device calculates an adjustment amount for the positional deviation of the joint portion based on the positions of the joint portion obtained by performing the measurement process multiple times.
3. 3. The computer system of claim 2, The computing device includes: correcting the teaching data using at least one of the adjustment amount of the attitude deviation and the adjustment amount of the position deviation; A computer system which outputs corrected teaching information for managing the corrected teaching data.
4. 2. The computer system of claim 1, The computing device includes: performing a pre-measurement process of contacting the touch probe with an arbitrary position of the measurement object; A computer system comprising: a computer that estimates a reference point of the measurement object based on a result of the advance measurement process.
5. A method for adjusting a geometric error of a robot, which is executed by a computer system connected to a robot performing a task, comprising: The robot has an arm, The end of the arm has a coupling portion having a rotation mechanism and to which an end effector can be attached; a touch probe is provided at a position on the coupling portion that is a predetermined distance away from the rotation axis of the rotation mechanism in a plane perpendicular to the rotation axis; the computer system includes a processor, a storage device connected to the processor, and an interface connected to the processor; the storage device holds teaching data for controlling the robot in accordance with a task, and posture vector information for managing a posture vector representing a posture of the joint portion after control based on the teaching data; The method for adjusting a geometric error of a robot includes the steps of: The computing device controls the robot based on the teaching data; a step of executing a measurement process multiple times by the computing device to rotate the rotation mechanism, control the robot so that the touch probe contacts a reference point of a measurement object, and record the position of the joint; a step of calculating a plane passing through the positions of the joints obtained by the measurement processes performed a plurality of times by the arithmetic device; The calculation device calculates a normal vector of the plane; and a step of calculating an adjustment amount for the deviation in the posture of the joint based on the normal vector and the posture vector by the calculation device.
6. 6. The method for adjusting a geometric error of a robot according to claim 5, A method for adjusting a geometric error of a robot, comprising a step of calculating an adjustment amount for a positional deviation of the joint part based on the position of the joint part obtained by multiple times of the measurement process, by the calculation device.
7. 7. A method for adjusting a geometric error of a robot according to claim 6, comprising the steps of: a step of the arithmetic device correcting the teaching data using at least one of the adjustment amount of the attitude deviation and the adjustment amount of the position deviation; and a step of outputting corrected teaching information for managing the corrected teaching data by the arithmetic device.
8. 6. The method for adjusting a geometric error of a robot according to claim 5, A step in which the arithmetic device executes a pre-measurement process of bringing the touch probe into contact with an arbitrary position of the measurement object; and a step of estimating a reference point of the measurement object based on a result of the advance measurement process by the calculation device.
9. A non-transitory computer-readable medium for storing a program executed by a computer connected to a robot that performs a task, The robot has an arm, The end of the arm has a coupling portion having a rotation mechanism and to which an end effector can be attached; a touch probe is provided at a position on the coupling portion that is a predetermined distance away from the rotation axis of the rotation mechanism in a plane perpendicular to the rotation axis; the computer holds teaching data for controlling the robot in accordance with a task, and posture vector information for managing a posture vector representing a posture of the joint portion after control based on the teaching data; The program is A procedure for controlling the robot based on the teaching data; a step of rotating the rotation mechanism, controlling the robot so that the touch probe contacts a reference point of a measurement object, and executing a measurement process multiple times to record the position of the joint; A step of calculating a plane passing through the position of the joint obtained by performing the measurement process multiple times; calculating a normal vector of the plane; and calculating an adjustment amount for the orientation deviation of the joint portion based on the normal vector and the orientation vector.
10. 10. The non-transitory computer readable medium of claim 9, A non-transitory computer-readable medium characterized in that the program causes the computer to execute a procedure for calculating an adjustment amount for the positional deviation of the joint part based on the position of the joint part obtained by multiple rounds of the measurement process.
11. 11. The non-transitory computer readable medium of claim 10, a step of correcting the teaching data using at least one of the adjustment amount of the attitude deviation and the adjustment amount of the position deviation; and a step of outputting corrected teaching information for managing the corrected teaching data.
12. 10. The non-transitory computer readable medium of claim 9, A step of performing a pre-measurement process in which the touch probe is brought into contact with an arbitrary position of the measurement object; and a procedure for estimating a reference point of the measurement object based on a result of the pre-measurement process.
Citation Information
Patent Citations
Automatic calibration system and calibration method thereof for robot space object pose
CN111216115A
Industrial robot calibration method and industrial robot device
JP1995186073A
Error calculation method for working machine having rotary shaft
JP2005061834A
Error compensation method for coordinate measuring machine with articulated probe head
JP2007512512A
Method and System for Providing Improved Accuracy in Articulated Robots Through Kinematic Robot Model Parameter Determination
JP2008522836A
