Command value correction device and robot system
The command value correction device models the robot and its support as elastically deformable to adjust command values, addressing positioning errors caused by support deflection, thereby enhancing the accuracy of large articulated robots.
Patent Information
- Application Number
- JP2022569956
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-16
- Filing Date
- 2021-12-10
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-12-10
AI Technical Summary
Large articulated robots experience positioning errors due to deflection of their supports, such as floors or beams, which are not accounted for in existing systems.
A command value correction device that models the articulated robot and its support as elastically deformable, calculates the forces acting on these components, and adjusts the command values to offset the elastic deformations, thereby correcting the robot's posture.
This approach reduces the positioning errors of the robot's tip end by compensating for the elastic deformations of both the robot and its support, ensuring accurate object placement.
Smart Images

Figure 0007534440000001 
Figure 0007534440000005 
Figure 0007534440000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a command value correction device and a robot system. [Background technology]
[0002] Systems are widely used that position objects such as workpieces and tools using articulated robots that are formed by connecting multiple links with joints having drive shafts and that are configured so that the angle of the drive shaft is determined according to a command value. In articulated robots, the posture (position and orientation) of an object is calculated from the length of the joints and the angle of the shaft. However, due to bending of the joints, etc., an error may occur between the calculated posture of the object and the actual posture of the object.
[0003] In order to reduce such errors, it has been proposed to set up a model in which each joint of the robot is represented as a spring, and calculate the amount of deflection according to the robot's posture, thereby correcting the command value so that the target object can be positioned accurately (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2002-307344 A Summary of the Invention [Problem to be solved by the invention]
[0005] When a large articulated robot is used, the support body such as a floor, beam, or stand to which the robot is fixed also flexes, which can cause positioning errors of the target object. In view of this situation, an object of the present invention is to provide a command value correction device and a robot system that can reduce positioning errors of the robot. [Means for solving the problem]
[0006] A command value correction device according to one aspect of the present invention is a command value correction device that corrects a command value that indicates the posture of a multi-joint robot that positions the tip of an arm having a plurality of joints, and includes a robot model setting unit that sets a robot model that represents the multi-joint robot with an elastically deformable model, a support body model setting unit that sets a support body model that represents a support body to which the multi-joint robot is fixed with an elastically deformable model, a force calculation unit that calculates a force acting on the support body due to the weight of the multi-joint robot when the posture of the multi-joint robot follows the command value before correction, and a correction unit that corrects the command value so as to offset an amount of elastic deformation of the support body model, which is the elastic deformation of the support body model due to the force calculated by the force calculation unit. Effect of the Invention
[0007] According to the present invention, the positioning error of the robot can be reduced. [Brief description of the drawings]
[0008] [Figure 1] 1 is a schematic diagram illustrating a configuration of a robot system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram showing an example of setting a robot model in the robot system of FIG. 1. [Diagram 3] 2 is a schematic diagram showing an example of setting a support model in the robot system of FIG. 1. FIG. [Figure 4] 4 is a flowchart showing a procedure for correcting a command value in the robot system of FIG. 1. [Diagram 5] 4 is a flowchart showing a procedure for correcting an error model in the robot system of FIG. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a schematic diagram showing the configuration of a robot system 1 according to an embodiment of the present invention.
[0010] The robot system 1 includes an articulated robot 10, a support 20, a robot control device 30, a command value correction device 40, and a three-dimensional measuring device 50.
[0011] A vertical articulated robot is typically used as the articulated robot 10, but a horizontal articulated robot may also be used. Specifically, the articulated robot 10 has an arm 11 having a plurality of connected links and a plurality of drive shafts that determine the relative angles between adjacent links, and performs positioning that determines the position and orientation of a tip end 12 of the arm 11.
[0012] The articulated robot 10 holds an object W at its tip 12 and is used to position the object W. Examples of the object W include a cutting tool, a laser head, an inspection device, a workpiece (an item to be processed, inspected, etc.), etc. The positioning operation of the articulated robot 10 is usually controlled in a robot coordinate system that is set with a base end 13 fixed to a support 20 as a reference.
[0013] In the articulated robot 10, elastic deformation of each joint and the internal mechanism of the drive shaft can cause a positioning error in which the position of the tip end 12 deviates from the theoretical position calculated from the designed shape of each joint and the controlled angular position of the drive shaft.
[0014] The support 20 supports the articulated robot 10 and may be composed of, for example, a floor, a pillar, a beam, a concrete foundation, a stand, or a combination of these, and may further include connectors such as bolts. A reference support point 21 is set on the support 20 as a position for supporting the articulated robot 10. As a specific example, the reference support point 21 may be the center point of the contact surface with the base end portion 13 of the articulated robot 10.
[0015] The support 20 elastically deforms, albeit slightly, in response to the operation of the articulated robot 10, and can move the reference support point 21 and change its orientation with reference to an immovable point in a world coordinate system, which is an absolute position for positioning the object W. The world coordinate system is a coordinate system to which a workpiece to be cut by the object W is fixed, for example, when the object W is a cutting tool. Such elastic deformation can change the position and orientation of the tip 12 of the articulated robot 10 to a non-negligible extent, in order to tilt the entire articulated robot 10, even if the change in the position and orientation of the reference support point 21 is extremely small.
[0016] The robot controller 30 is a well-known component that includes a program storage unit 31 that stores an operation program that specifies the operation of the articulated robot 10, and generates command values that specify the angular positions of each drive shaft required to position the tip 12 of the articulated robot 10 in accordance with the operation program stored in the program storage unit 31. The robot controller 30 can be configured, for example, by causing a computer having a memory, a CPU, an input / output interface, etc. to execute an appropriate control program.
[0017] The command value correction device 40 corrects the command values generated by the robot control device 30 so as to compensate for positioning errors caused by elastic deformation of the articulated robot 10 and the support body 20. That is, in the robot system 1, the articulated robot 10 operates according to command values that are generated by the robot control device 30 and then corrected by the command value correction device 40. The command value correction device 40 is itself an embodiment of the command value correction device according to the present invention.
[0018] The command value correction device 40 can be configured by causing a computer having, for example, a memory, a CPU, an input / output interface, etc. to execute an appropriate control program. The command value correction device 40 may be configured by an independent computer, but is usually configured integrally with the robot controller 30. In other words, the command value correction device 40 can be realized as one function of the computer that configures the robot controller 30. The robot controller 30 and the command value correction device 40 and their respective components are classified according to their functions, and do not necessarily have to be clearly distinguished in terms of program configuration and physical configuration.
[0019] The command value correction device 40 has a robot model setting unit 41, a support body model setting unit 42, an initial value input unit 43, a force calculation unit 44, a correction unit 45, a deformation amount acquisition unit 46, a support body model correction unit 47, a measurement attitude command unit 48, and a robot model correction unit 49.
[0020] As illustrated in FIG. 2, the robot model setting unit 41 sets a robot model Mr that represents the articulated robot 10 by a plurality of links (joints) L1, L2, L3, L4, and L5, and a plurality of joints (joints) J1, J2, J3, J4, J5, and J6 that connect the adjacent links L1, L2, L3, L4, and L5. The robot model Mr can be set by a well-known method such as the Denavit and Hartenberg (DH) method. The links L1, L2, L3, L4, and L5 are springs that can bend, and the joints J1, J2, J3, J4, J5, and J6 are springs that can be twisted. The robot model Mr can be set in advance for each product of the articulated robot 10 as a standard specification of the command value correction device 40.
[0021] The support model setting unit 42 sets a support model Ms that represents the support 20 to which the articulated robot 10 is fixed, as an elastically deformable model. When the support 20 is a pedestal as shown in FIG. 1, the support model Ms can be represented as a single spring, as shown in FIG. 2. On the other hand, as shown in FIG. 3, depending on the configuration of the support 20, the support model Ms may be represented as a combination of multiple springs having at least one node that moves or rotates in a direction parallel to the force acting on the support 20. In other words, the support model Ms can be a model that includes a spring that undergoes compression or tension deformation and a spring that undergoes bending deformation.
[0022] In the example of FIG. 3, the support model Ms is defined as a link connected from an origin P0 of a robot coordinate system in which the articulated robot 10 operates. In addition to the origin P0, there are three nodes P1, P2, and P3 that are set in order from the origin P0. In this example, the positions of the nodes P1, P2, and P3 are defined by coordinates in the robot coordinate system of the articulated robot 10. More specifically, the position and orientation of each of the nodes P1, P2, and P3 is specified in the XYZWPR format in the robot coordinate system, and a spring constant is set for each axial direction of the link between the node and the previous node. The support model Ms can be set individually for each robot system 1 by a system administrator or the like when the system is installed.
[0023] As another example, the support body model setting unit 42 may define the support body model Ms as a reference table that specifies a representative value of the amount of elastic deformation of the support body 20 for each category of force acting on the support body 20. Specifically, the support body model Ms may be a reference table that associates the magnitude of the moment of the force acting on the origin P0 with the amount of elastic deformation, that is, the theoretical amount of movement of the tip portion 12 before and after correction of the command value.
[0024] The initial value input unit 43 inputs the initial values of the parameters of the error model as illustrated in FIG. 3 to the support model setting unit 42. The initial value input unit 43 may receive input from an input device such as a keyboard, or may be configured to read the initial values of the error model created by an external computer C. The computer C is not particularly limited, but may be a general-purpose personal computer, a tablet computer, or the like. By using offline simulation software executable by the computer C for creating a model of the support 20, it is possible to relatively easily and accurately construct an error model. In addition, by configuring the error model to be constructed using the external computer C, it is easy to configure the robot control device 30 and the command value correction device 40 as one unit, that is, to add the function of the command value correction device 40 to a conventional robot control device.
[0025] The force calculation unit 44 calculates the force acting on the support 20 when the articulated robot 10 assumes a posture according to the command value before correction. More specifically, when the articulated robot 10 is stationary in a posture according to the command value, the force calculation unit 44 calculates the rotational force, that is, the force moment acting on the joint P0 of the support model Ms and further on the joints P1, P2, and P3 due to the weight of the articulated robot 10 and the support 20. Furthermore, the force calculation unit 44 may calculate the translational force (compression / tension force) acting on the joints P0, P1, P2, and P3. It is also preferable that the force calculation unit 44 individually calculates the force acting on each joint J1, J2, J3, J4, J5, and J6 of the robot model Mr.
[0026] The correction unit 45 corrects the command value input from the robot control device 30 so as to offset the elastic deformation of the support body model Ms due to the force calculated by the force calculation unit 44. It is preferable that the correction unit 45 corrects the command value input from the robot control device 30 so as to offset not only the elastic deformation of the support body model Ms but also the elastic deformation of the robot model Mr.
[0027] The correction unit 45 can be configured to include a robot deformation calculation unit, a support deformation calculation unit, an error calculation unit, and a command value re-creation unit.
[0028] The robot deformation calculation unit calculates the amount of elastic deformation of the links L1, L2, L3, L4, and L5 and the joints J1, J2, J3, J4, J5, and J6 of the robot model Mr when the posture of the articulated robot 10 follows the command value before correction. The amount of elastic deformation of the robot model Mr is calculated by a well-known method, but is typically calculated based on the forces acting on the joints J1, J2, J3, J4, J5, and J6 calculated by the force calculation unit 44.
[0029] The support deformation calculation unit calculates the amount of elastic deformation of the support model Ms due to the force calculated by the force calculation unit 44 (also referred to as the "support model elastic deformation amount"). That is, the support deformation calculation unit calculates the amounts of movement of P1, P2, P3 due to elastic deformation from the force acting on P1, P2, P3 calculated by the force calculation unit 44 and the spring constant between the nodes set in the support model setting unit 42, and calculates the resulting changes in the position and orientation of the origin P0.
[0030] The error calculation unit calculates the positioning error of the tip 12 of the articulated robot 10 based on the elastic deformation amount of the support body model Ms calculated by the support body deformation calculation unit and the elastic deformation amount of the robot model Mr calculated by the robot deformation calculation unit.
[0031] The command value re-creation unit creates a command value that specifies the posture of the articulated robot 10 in a state in which the tip 12 has been moved in the opposite direction by the same distance as the positioning error calculated by the error calculation unit. By inputting this corrected command value to the articulated robot 10, the positioning error of the tip 12 can be reduced.
[0032] The deformation amount acquiring unit 46 acquires an actual elastic deformation amount (also referred to as an "actual elastic deformation amount") of the support 20. Specifically, the deformation amount acquiring unit 46 can be configured to specify the actual elastic deformation amount of the support 20 based on a reference point (a measurable point whose relative position with respect to the reference support point 21 does not change substantially) of the support 20 measured by the three-dimensional measuring device 50 or a relative position with respect to a fixed point in the world coordinate system of the tip 12 of the articulated robot 10.
[0033] The actual elastic deformation amount of the support 20 based on the position of the tip 12 of the articulated robot 10 can be obtained by calculating an estimated value of the actual elastic deformation amount of the support 20, assuming that the deviation between the actual position of the tip 12 measured by the three-dimensional measuring device 50 and the theoretical position of the tip 12 calculated from the command value taking into account the robot model Mr is caused only by the error of the support model Ms. The initial values of the parameters of the robot model Mr of the mass-produced articulated robot 10 have a relatively small error, whereas the initial values of the parameters of the support model Ms of the support 20, which is individually designed differently, tend to have a relatively large error. For this reason, it is considered that the elastic deformation amount of the support 20 calculated from the actual position of the tip 12, assuming that there is no error in the robot model Mr, is closer to the actual elastic deformation amount of the support 20 than the theoretical elastic deformation amount calculated by the initially set support model Ms.
[0034] The support body model correction unit 47 corrects the parameters of the support body model Ms so that the support body model elastic deformation amount calculated by the support body deformation calculation unit based on the command value input to the articulated robot 10 when the deformation amount acquisition unit 46 acquires the actual elastic deformation amount approaches the actual elastic deformation amount acquired by the deformation amount acquisition unit 46.
[0035] The measurement posture command unit 48 generates a plurality of measurement command values that cause the articulated robot 10 to take different measurement postures that apply a constant torque to the support 20. By causing the articulated robot 10 to take a plurality of measurement postures in which the elastic deformation of the support 20 is equal, it is possible to check the positioning error of the tip 12 caused only by the elastic deformation of the articulated robot 10. Note that while checking the elastic deformation of the articulated robot 10 using the measurement command values, the actual amount of elastic deformation of the support 20 can also be calculated.
[0036] The robot model correction unit 49 checks the positioning error of the tip 12 of the articulated robot 10 based on the position of the tip 12 in a state in which the articulated robot 10 is in a posture conforming to the measurement command value, and corrects the parameters of the robot model Mr. This makes it possible to correct the support body model Ms more accurately when correcting the support body model Ms based on the position of the tip 12 of the articulated robot 10.
[0037] As shown in the figure, the three-dimensional measuring device 50 is arranged immovably in the world coordinate system, that is, so that its position does not change depending on the attitude of the articulated robot 10, and can be provided to measure the relative position of at least one of the reference point of the tip 12 of the articulated robot 10 and the support 20 with respect to its own position. The three-dimensional measuring device 50 may also be arranged immovably with respect to the reference point of the support 20 or the tip 12 of the articulated robot 10, and provided to measure the relative position of a measurement point that is immovably provided in the world coordinate system with respect to its own position.
[0038] 4 shows a procedure for correcting a command value by the command value correcting device 40. The command value correction includes a model acquisition step (step S11), a force calculation step (step S12), and a command value correction step (step S13).
[0039] In the model acquisition step of step S11, the robot model Mr set by the robot model setting unit 41 and the support model Ms set by the support model setting unit 42 are acquired, that is, read into the working memory of the computer constituting the robot control device 30.
[0040] In the moment calculation process of step S12, the force calculation unit 44 calculates the moment of force acting on the articulated robot 10 and the support body 20 due to gravity when the articulated robot 10 assumes a posture in accordance with the pre-correction command value in the robot model Mr and the support body model Ms.
[0041] In the command value correction process of step S13, the command value is corrected so that the position of the tip 12 calculated by the robot model Mr and the support model Ms becomes the position of the tip 12 intended by the command value before correction, that is, the position of the tip 12 without taking into account the elastic deformation of the articulated robot 10 and the support 20.
[0042] 5 shows a procedure for correcting the robot model Mr and the support model Ms by the command value correction device 40. The correction of the robot model Mr and the support model Ms includes a model acquisition step (step S21), a measurement command value input step (step S22), a force calculation step (step S23), a positioning position measurement step (step S24), a measurement attitude end confirmation step (step S25), and a model correction step (step S26).
[0043] In the model acquisition step of step S21, the robot model Mr set by the robot model setting unit 41 and the support body model Ms set by the support body model setting unit 42 are acquired.
[0044] In the measurement command value input process of step S22, the measurement posture command unit 48 inputs a measurement command to the articulated robot 10, thereby causing the articulated robot 10 to take a measurement posture.
[0045] In a force calculation process in step S23, the moment of the force acting in the measurement posture instructed in step S22 is calculated.
[0046] In the positioning measuring process of step S24, the three-dimensional measuring device 50 measures the position of the tip 12 of the articulated robot 10 in the measurement posture instructed in step S22.
[0047] In the measurement posture completion confirmation process of step S25, it is confirmed whether the processes from step S22 to S24 have been performed for all the measurement postures set in advance. The processes from step S22 to S24 are repeated until the processes for all the measurement postures are completed, and when the processes for all the measurement postures are completed, the process proceeds to step S26.
[0048] In the model correction process of step S26, based on a combination of the theoretical position and actual measured position of the tip 12 calculated by the robot model Mr and the support model Ms in each measurement posture, the parameters of the robot model Mr and the support model Ms are corrected so as to bring the theoretical position of the tip 12 calculated by the robot model Mr and the support model Ms closer to the actual measured position.
[0049] As described above, the robot system 1 is equipped with a support model setting unit 42 that sets the support model Ms, and corrects the command value using the support model Ms, so that the elastic deformation of the support 20 according to the posture of the articulated robot 10 can be compensated for and the tip end 12 can be accurately positioned.
[0050] In addition, since the robot system 1 is equipped with a support body model correction unit 47 that corrects the support body model Ms based on the elastic deformation amount acquired by the deformation amount acquisition unit 46, the elastic deformation amount of the support body 20 can be accurately predicted, and the tip end 12 can be positioned more accurately.
[0051] Although the embodiments of the robot system and command value correction device according to the present disclosure have been described above, the scope of the present disclosure is not limited to the above-described embodiments. Furthermore, the effects described in the above-described embodiments are merely a list of the most favorable effects resulting from the robot system and command value correction device according to the present disclosure, and the effects of the robot system and command value correction device according to the present disclosure are not limited to those described in the above-described embodiments.
[0052] The robot system and command value correction device according to the present disclosure may not have a configuration related to the correction of the support model or the correction of the robot model. Furthermore, the procedure related to the correction of the robot model and the support model is not limited to the procedure described above and may be performed using other algorithms. For example, the correction of the support model and the correction of the robot model may be performed independently. Therefore, the acquisition of the elastic deformation amount for the correction of the support model and the acquisition of the elastic deformation amount for the correction of the robot model may be performed in different postures. [Explanation of symbols]
[0053] 1. Robot System 10 Articulated Robot 20 Support 30 Robot control device 40 Command value correction device 50 3D measuring device 11 Arm 12 Tip 41 Robot model setting section 42 Support model setting section 43 Initial value input section 44 Force calculation section 45 Correction section 46 Deformation amount acquisition unit 47 Support Model Correction Section 48 Measurement attitude command unit 49 Robot Model Modification Department
Claims
1. A command value correction device for correcting a command value for positioning a tip end of an articulated robot, comprising: a robot model setting unit that sets a robot model representing the multi-joint robot by an elastically deformable model; a support model setting unit that sets a support model representing a support to which the articulated robot is fixed by an elastically deformable model; a force calculation unit that calculates a force acting on the support body due to a weight of the articulated robot; a correction unit that corrects the command value so as to cancel an amount of elastic deformation of the support body model caused by the force calculated by the force calculation unit; a deformation amount acquisition unit that acquires an actual position of the tip portion; a model correction unit that corrects parameters of the robot model and the support model based on an actual position of the tip; A command value correction device comprising:
2. The deformation amount acquisition unit calculates an actual elastic deformation amount, which is an actual elastic deformation amount of the support, based on an actual position of the tip portion, 2. The command value correction device according to claim 1, wherein the model correction unit corrects parameters of the support body model so that the support body model elastic deformation amount calculated based on the command value input to the articulated robot when the deformation amount acquisition unit calculates the actual elastic deformation amount approaches the actual elastic deformation amount acquired by the deformation amount acquisition unit.
3. The command value correction device according to claim 2 , wherein the deformation amount acquisition unit is provided to acquire a relative position of the reference point of the support body with respect to a fixed point in a world coordinate system.
4. The command value correction device according to claim 2 , wherein the deformation amount acquisition unit is configured to acquire a relative position of the tip portion with respect to a fixed point in a world coordinate system.
5. 5. The command value correction device according to claim 4, further comprising a measurement attitude command unit that generates a plurality of measurement command values that cause the articulated robot to take different attitudes that apply a constant torque to the support body.
6. The command value correction device as described in claim 4, further comprising a measurement posture command unit that generates a plurality of measurement command values that cause the articulated robot to take different postures with equal amounts of elastic deformation of the support.
7. 7. The command value correction device according to claim 1, wherein the support model is defined as a reference table that specifies a representative value of the support model elastic deformation amount for each category of force acting on the support.
8. The command value correction device according to claim 1 , wherein the support model has at least one node that moves or rotates in a direction parallel to a force acting on the support.
9. 9. The command value correction device according to claim 1, further comprising an initial value input unit that inputs initial values of parameters of the support body model to the support body model setting unit.
10. 10. The command value correction device according to claim 9, wherein the initial value input unit reads the initial values of the parameters created by an external computer.
11. A command value correction device described in any one of claims 1 to 10, wherein the model correction unit corrects parameters of one of the robot model and the support model based on the actual position of the tip, and then corrects parameters of the other of the robot model and the support model.
12. A command value correction device according to any one of claims 1 to 11, a robot control device which inputs a command value according to a program to the command value correction device; an articulated robot that operates according to the command value corrected by the command value correction device; A robot system comprising:
Citation Information
Patent Citations
Control method of machine having link mechanism and its device
JP1997123075A
Robot control device
JP2002307344A
Device and method for instruction of off-line of robot, and robot system
JP2010231575A
Method for calibrating the position of multi-jointed systems such as robots.
JP2010529910A
Robot control device for compensating for elastic deformation of support medium
JP2017024142A
