Tool coordinate system calibration method, robot and storage medium

Through the cooperation of auxiliary calibration equipment and the robot system, the position of the ball head component is automatically adjusted, which solves the difficulty and time-consuming problem of creating a six-axis robot tool coordinate system, and achieves a more efficient and accurate tool coordinate system establishment.

CN118596141APending Publication Date: 2024-09-06HONGFUJIN PRECISION ELECTRONICS ZHENGZHOU

Patent Information

Application Number
CN202410683242.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

It is difficult and time-consuming to create a tool coordinate system for existing six-axis robots, which affects the operation accuracy.

Method used

The auxiliary calibration equipment is used to communicate with the robot. Through the cooperation of the calibration rod and kit with multiple laser displacement sensors and contact sensors of the auxiliary calibration equipment, the position of the ball head component is automatically adjusted and the multiple coordinate axes of the tool coordinate system are determined. , and establish the tool coordinate system based on the error compensation value.

Benefits of technology

It reduces the difficulty and time cost of creating a tool coordinate system and improves accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118596141A
    Figure CN118596141A
Patent Text Reader

Abstract

The invention provides a calibration method of a tool coordinate system, a robot and a storage medium. The method comprises the steps that multiple coordinate axes of the tool coordinate system are determined; moving the ball head component to a contact sensor of the auxiliary calibration equipment; adjusting the position height of the ball head component to a target height based on a preset adjustment parameter; numerical values detected by the contact sensor and a plurality of laser displacement sensors of the auxiliary calibration equipment are set as preset numerical values, and the center of sphere is determined as the original point of the tool coordinate system; taking numerical values detected by the contact sensor and the plurality of laser displacement sensors under each posture as error compensation values corresponding to the original point; adjusting the position of the ball component along at least one coordinate axis based on the error compensation value to obtain a calibration point corresponding to the calibration rod in each posture; and establishing a tool coordinate system based on a plurality of coordinate axes, the calibration point corresponding to the calibration rod in each posture and the original point. The method can improve the creation efficiency of the tool coordinate system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a calibration method for a tool coordinate system, a robot, and a storage medium. Background Art

[0002] Six-axis robots have been widely used in industrial production, and their applications in handling, welding, grinding and other fields are already very mature. The operating accuracy of six-axis robots during operation depends on the tool coordinate system. At present, the four-point method is usually used to create a tool coordinate system. For example, the tip of the six-axis robot's gripper is aligned with a fixed tip in four different postures, and the coordinate values ​​of the positions of the opposite ends of the gripper tip in these four different postures are recorded, so as to create a tool coordinate system based on these four coordinate values. This method requires the user to observe whether the two tips are aligned, which is difficult to observe, affects the accuracy of the tool coordinate system construction, and is time-consuming. Summary of the invention

[0003] The embodiments of the present application disclose a calibration method, a robot and a storage medium for a tool coordinate system, which solve the current technical problems that it is difficult and time-consuming to create a tool coordinate system.

[0004] The present application provides a calibration method for a tool coordinate system, which is applied to a robot, wherein the robot is communicatively connected to an auxiliary calibration device, the robot comprises a calibration rod and a kit, the calibration rod is operably connected to a cavity of the kit, and the tip of the calibration rod is located at the center of a ball head component of the kit, the auxiliary calibration device comprises a detachable transverse groove component, and the method comprises: controlling the ball head component to move back and forth in the transverse groove component, determining multiple coordinate axes of the tool coordinate system, and when the transverse groove component is detached, moving the ball head component to a contact sensor of the auxiliary calibration device; adjusting the position height of the ball head component to a target based on preset adjustment parameters; height; when the ball head component is located at the target height, the values ​​detected by the contact sensor and the multiple laser displacement sensors of the auxiliary calibration device are set to preset values, and the center of the ball is determined as the origin of the tool coordinate system; the calibration rod is controlled to transform into multiple postures, and the values ​​detected by the contact sensor and the multiple laser displacement sensors in each posture are used as error compensation values ​​corresponding to the origin; based on the error compensation value, the position of the ball head component is adjusted along at least one coordinate axis to obtain the corresponding calibration point of the calibration rod in each posture; the tool coordinate system is established based on the multiple coordinate axes, the corresponding calibration points of the calibration rod in each posture and the origin.

[0005] In some embodiments of the present application, adjusting the position height of the ball head component to a target height based on preset adjustment parameters includes: acquiring the radius of the ball head component, the vertical distance between the contact sensor of the auxiliary calibration device and the laser lines emitted by multiple laser displacement sensors of the auxiliary calibration device from the adjustment parameters; calculating a height difference based on the radius and the vertical distance; and controlling the ball head component to move up and down at the center position of the contact surface of the touch sensor based on the height difference until the ball head component is located at the target height.

[0006] In some embodiments of the present application, the multiple coordinate axis directions include the direction of the X-axis, the direction of the Y-axis and the direction of the Z-axis, the multiple laser displacement sensors include a first sensor, a second sensor, a third sensor and a fourth sensor, and the method further includes: the positive direction of the X-axis is the same as the direction of the laser line emitted by the first sensor, the negative direction of the X-axis is the same as the direction of the laser line emitted by the second sensor, and the laser lines emitted by the first sensor and the second sensor coincide with each other; the positive direction of the Y-axis is the same as the direction of the laser line emitted by the third sensor, the negative direction of the Y-axis is the same as the direction of the laser line emitted by the fourth sensor, and the laser lines emitted by the third sensor and the fourth sensor coincide with each other; the Z-axis is perpendicular to the plane formed by the X-axis and the Y-axis.

[0007] In some embodiments of the present application, the numerical values ​​detected by the contact sensor and the multiple laser displacement sensors in each posture are used as error compensation values ​​corresponding to the origin, including: based on preset operating parameters, controlling the calibration rod to be in any posture; in any posture, the first value detected by the first sensor is used as the first compensation value, the second value detected by the second sensor is used as the second compensation value, the third value detected by the third sensor is used as the third compensation value, the fourth value detected by the fourth sensor is used as the fourth compensation value, and the fifth value detected by the contact sensor is used as the fifth compensation value.

[0008] In some embodiments of the present application, adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value includes: adjusting the position of the ball head component along the positive direction of the X-axis or the negative direction of the X-axis based on the first compensation value and the second compensation value; adjusting the position of the ball head component along the positive direction of the Y-axis or the negative direction of the Y-axis based on the third compensation value and the fourth compensation value; adjusting the position of the ball head component along the positive direction of the Z-axis or the negative direction of the Z-axis based on the fifth compensation value.

[0009] In some embodiments of the present application, the kit is a detachable component, and the method further includes: when the kit is disassembled, based on preset verification parameters, controlling the tip of the calibration rod to contact the tip of a preset fixed component; obtaining X-axis parameter values, Y-axis parameter values, and Z-axis parameter values ​​from the verification parameters; driving the calibration rod to operate based on the X-axis parameter value, the Y-axis parameter value, and the Z-axis parameter value; if the tip of the calibration rod is within a preset range during the operation of the calibration rod, determining that the tool coordinate system meets preset requirements.

[0010] In some embodiments of the present application, after adjusting the position height of the ball head component to the target height based on preset adjustment parameters, the method further includes: the intersection of the laser lines emitted by the first sensor, the second sensor, the third sensor and the fourth sensor is located at the center of the ball.

[0011] In some embodiments of the present application, after adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value, the method further includes: the intersection of the laser lines emitted by the first sensor, the second sensor, the third sensor and the fourth sensor is located at the center of the ball.

[0012] The present application also provides a robot, comprising a processor and a memory, wherein the processor is used to implement the tool coordinate system calibration method when executing a computer program stored in the memory.

[0013] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the calibration method of the tool coordinate system is implemented.

[0014] In the calibration method of the tool coordinate system provided in the present application, the robot is connected to the auxiliary calibration device in communication, the robot includes a calibration rod and a kit, the calibration rod is operably connected to the cavity of the kit, and the tip of the calibration rod is located at the center of the ball head component of the kit, and the auxiliary calibration device includes a detachable transverse groove component. The ball head component is controlled to move back and forth in the transverse groove component to determine multiple coordinate axes of the tool coordinate system. By moving in the transverse groove component, the robot can form a coordinate system guidance memory to provide a basis for subsequent position adjustment. When the transverse groove component is removed, the ball head component is moved to the contact sensor of the auxiliary calibration device, and the position height of the ball head component is adjusted to the target height based on the preset adjustment parameters, and the value displayed by the contact sensor is used as the basis for position adjustment. When the ball head component is at the target height, the values ​​detected by the contact sensor and multiple laser displacement sensors of the auxiliary calibration device are set to the preset values, and the center of the ball is determined as the origin of the tool coordinate system, so that the origin of the created tool coordinate system is located at the center of the ball, providing a basis for subsequent adjustment under different postures. The calibration rod is controlled to change multiple postures, and the values ​​detected by the contact sensor and multiple laser displacement sensors in each posture are used as error compensation values ​​corresponding to the origin. The position of the ball head component is adjusted along at least one coordinate axis based on the error compensation value to obtain the calibration point corresponding to the calibration rod in each posture. The tool coordinate system is established based on the calibration points corresponding to the calibration rod in each posture and the origin in multiple coordinate axes. The difficulty of creating the tool coordinate system can be reduced through the auxiliary calibration equipment and the ball head component of the kit, the efficiency of creating the tool coordinate system can be improved, and the time cost of creating the tool coordinate system can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is an application environment architecture diagram of the tool coordinate system calibration method provided in an embodiment of the present application.

[0016] Figure 2 It is a schematic diagram of the structure of the calibration rod and the kit provided in the embodiment of the present application.

[0017] Figure 3 It is a structural schematic diagram of the auxiliary calibration device provided in an embodiment of the present application.

[0018] Figure 4 This is an application environment architecture diagram of a tool coordinate system calibration method provided in yet another embodiment of the present application.

[0019] Figure 5 It is a flow chart of the calibration method of the tool coordinate system provided in an embodiment of the present application.

[0020] Figure 6 It is a schematic diagram of the position of the center of the ball head component provided in an embodiment of the present application.

[0021] Figure 7 It is a verification diagram of the tool coordinate system provided in the embodiment of the present application.

[0022] Figure 8 It is a schematic diagram of the internal structure of the robot provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.

[0024] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0025] Six-axis robots have been widely used in industrial production, and their applications in handling, welding, grinding and other fields are already very mature. The operating accuracy of six-axis robots during operation depends on the tool coordinate system. At present, the four-point method is usually used to create a tool coordinate system. For example, the tip of the six-axis robot's gripper is aligned with a fixed tip in four different postures, and the coordinate values ​​of the positions of the opposite ends of the gripper tip in these four different postures are recorded, so as to create a tool coordinate system based on these four coordinate values. This method requires the user to observe whether the two tips are aligned, which is difficult to observe, affects the accuracy of the tool coordinate system construction, and is time-consuming.

[0026] In order to solve the current technical problems that it is difficult and time-consuming to create a tool coordinate system, an embodiment of the present application provides a calibration method, a robot and a storage medium for the tool coordinate system. The following first describes the application scenario of the calibration method of the tool coordinate system of the present application.

[0027] Figure 1It is an application environment architecture diagram of the calibration method of the tool coordinate system provided in the embodiment of the present application. The calibration method of the tool coordinate system provided in the embodiment of the present application is applied to the robot 10, and the robot 10 is connected to the auxiliary calibration device 20 in communication, wherein the communication connection method may include a wired communication connection method and a wireless communication connection method. The wired communication connection method may include one or more of the wired communication connection methods such as Universal Serial Bus (USB), Controller Area Network (CAN), etc. The wireless communication connection method may include one or more of the wireless communication connection methods such as Wireless Fidelity (Wi-Fi), Bluetooth (BT), mobile communication network, Frequency Modulation (FM), Near Field Communication (NFC), infrared technology (IR), etc.

[0028] Combination Figure 2 To explain, Figure 2 Schematic diagram of the structure of the calibration rod and kit provided in the embodiment of the present application. Figure 1 He Ru Figure 2 As shown, the robot 10 includes but is not limited to a calibration rod 110 and a kit 120, wherein Figure 2 As shown, the calibration rod 110 is operably connected to the cavity of the kit 120, and the tip of the calibration rod 110 is located at the center of the ball head component 1201 of the kit 120, wherein the calibration rod 110 may be provided with a thread, and the calibration rod 110 can be rotated and inserted into the cavity of the kit 120 based on the thread until the tip of the calibration rod 110 is located at the center of the ball head component 1201 of the kit 120, and the insertion operation is stopped.

[0029] Combination Figure 3 To explain, Figure 3 Schematic diagram of the structure of the auxiliary calibration device provided in the embodiment of the present application. Figure 1 and Figure 3As shown, the auxiliary calibration device 20 includes but is not limited to a detachable transverse groove component 210, a contact sensor 211 and a plurality of laser displacement sensors 212, wherein the plurality of laser displacement sensors 212 are located on a base plate connected to the bearing, the plurality of laser displacement sensors 212 can move around the bearing, laser lines emitted by every two laser displacement sensors 212 among the plurality of laser displacement sensors 212 overlap, the contact sensor 211 is located between the plurality of laser displacement sensors 212, and the contact sensor 211 is located on a component that can be extended and retracted up and down, the transverse groove component 210 is located above the contact sensor 211 and the plurality of laser displacement sensors 212, and the laser lines emitted by any two laser displacement sensors 212 whose emitted laser lines overlap with the transverse groove component 210 are parallel and on the same plane.

[0030] Combination Figure 4 To explain, Figure 4 This is an application environment architecture diagram of a calibration method for a tool coordinate system provided by another embodiment of the present application. When the transverse groove component 210 is disassembled, the robot 10 can control the calibration rod 110 to drive the kit 120 to move to the contact sensor 211 to complete the creation of the tool coordinate system.

[0031] The indication Figure 1 This is only an example of the robot 10 and does not constitute a limitation of the robot 10. The robot 10 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the robot 10 may also include input and output devices, network access devices, etc.

[0032] See also Figure 5 As shown, Figure 5 is a flow chart of a calibration method for a tool coordinate system provided in an embodiment of the present application, which is applied to a robot (e.g. Figure 1 According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0033] Step S501, controlling the ball head component to move back and forth in the transverse groove component to determine multiple coordinate axes of the tool coordinate system.

[0034] In some embodiments of the present application, the robot is in communication with the auxiliary calibration device, and the robot includes a calibration rod and a kit, such as Figure 2 As shown, the marking rod is operably connected to the cavity of the kit, and the tip of the marking rod is located at the center of the ball head component of the kit, and the auxiliary marking device includes a detachable transverse groove component.

[0035] In some embodiments of the present application, Figure 1As shown, when the transverse groove component is not disassembled, the transverse groove component is fixed on the bottom plate of the auxiliary calibration device along the X-axis direction or the Y-axis direction of the tool coordinate system to be created. The robot can receive the user's operation instructions, make the calibration rod perpendicular to the transverse groove component, and place the ball head component at the center of the transverse groove component. Based on the center position as the starting point of the reciprocating movement, the ball head component is controlled to start moving, the direction of the tool coordinate system is completed, and multiple coordinate axes of the tool coordinate system are obtained, and the multiple coordinate axes include the X-axis direction, the Y-axis direction and the Z-axis direction.

[0036] In one example, assuming that the transverse groove component is fixed on the bottom plate of the auxiliary calibration device in advance along the X-axis direction of the tool coordinate system to be created, and the ball head component is controlled to move back and forth along the transverse groove component, the robot records the moving direction as the X-axis direction. According to the properties of the Cartesian rectangular coordinate system, the Y-axis direction and the Z-axis direction can be determined based on the recorded X-axis direction.

[0037] Step S502: when the transverse groove component is removed, move the ball head component onto the contact sensor of the auxiliary calibration device.

[0038] In some embodiments of the present application, since only the direction information of the coordinate axes can be determined after determining the multiple coordinate axes of the tool coordinate system, and there are usually infinite points in one direction, the tool coordinate system cannot be created based on the direction information. Therefore, the transverse groove component can be removed and the tool coordinate system can be created by using multiple laser displacement sensors and contact sensors in the auxiliary calibration equipment.

[0039] In some embodiments of the present application, when the lateral groove component is removed, the robot is controlled to adjust the posture of the calibration rod so that the ball head component can contact the contact sensor, wherein when the robot receives a value that is not 0 detected by the contact sensor, it determines that the ball head component is located on the contact sensor, and when the robot receives a value that is not 0 detected by multiple laser displacement sensors and the same value, it determines that the ball head component is located at the center of the contact surface of the contact sensor.

[0040] Step S503, adjusting the position height of the ball head component to a target height based on preset adjustment parameters.

[0041] In some embodiments of the present application, when the robot determines that the value detected by the contact sensor is not 0, the radius of the ball head component, the vertical distance between the contact sensor of the auxiliary calibration device and the laser lines emitted by the multiple laser displacement sensors of the auxiliary calibration device are obtained from the adjustment parameters, wherein the vertical distance between the contact sensor and the laser lines emitted by the multiple laser displacement sensors of the auxiliary calibration device may be the vertical distance between the contact surface of the contact sensor and the laser line. Based on the radius and the vertical distance, the height difference is calculated.

[0042] In one example, assuming that the radius of the ball head component is 5 centimeters (cm), and the vertical distance between the contact sensor and the laser lines emitted by the multiple laser displacement sensors of the auxiliary calibration device is 2 cm, the height difference is 3 cm.

[0043] In some embodiments of the present application, after the height difference is determined, based on the height difference, the ball head component is controlled to move up and down at the center position of the contact surface of the contact sensor until the ball head component is at the target height. For example, continuing with the above example, the contact sensor can be a displacement sensor. When the height difference is 3 cm, the ball head component is controlled to move downward by 3 cm at the center position of the contact surface of the contact sensor.

[0044] Step S504, when the ball head component is located at the target height, the values ​​detected by the contact sensor and the multiple laser displacement sensors of the auxiliary calibration equipment are set to preset values, and the center of the ball is determined as the origin of the tool coordinate system.

[0045] In some embodiments of the present application, Figure 6 To explain, Figure 6 Schematic diagram of the position of the ball center of the ball head component provided in the embodiment of the present application. Figure 6 As shown in FIG. 1 , when the ball head component is at the target height, the vertical distance between the contact surface of the contact sensor and the laser line is 5 cm, and the laser lines emitted by the multiple laser displacement sensors pass through the center A of the ball head component, as shown in FIG. 1 . Figure 6 The position of point A in the middle.

[0046] In some embodiments of the present application, when it is determined that the laser lines emitted by multiple laser displacement sensors pass through the center of the ball head component, the origin of the tool coordinate system is determined based on the position of the ball head component at the target height, and the values ​​detected by the contact sensor and the multiple laser displacement sensors are set to preset values. The preset value can be 0, and the ball head is determined as the origin of the tool coordinate system, providing a basis for subsequent judgment on whether the laser line emitted by the laser displacement sensor passes through the center of the ball.

[0047] Step S505, controlling the calibration rod to change multiple postures, and using the values ​​detected by the contact sensor and the multiple laser displacement sensors in each posture as error compensation values ​​corresponding to the origin.

[0048] In some embodiments of the present application, based on preset operating parameters, the calibration rod is controlled to be in different postures, wherein the calibration rod includes a tip and a non-tip, and the end of the calibration rod that is not inserted into the kit is used as the non-tip, and the non-tip is connected to the robot arm of the robot. The operating parameters can be the moving direction and moving distance pre-set for the non-tip of the calibration rod. Different postures can be different forms determined by different angles formed between the calibration rod and the contact surface when the ball head component does not separate from the contact sensor.

[0049] In some embodiments of the present application, when the calibration rod changes to different postures, the values ​​detected by the multiple laser displacement sensors and the contact sensor change accordingly. When the values ​​detected by the multiple laser displacement sensors and the contact sensor are not 0, it is determined that the center of the ball head component deviates from the origin. In order to allow the laser line to pass through the center of the ball head component in different postures, the values ​​detected by the contact sensor and the multiple laser displacement sensors in each posture are used as error compensation values ​​corresponding to the origin.

[0050] In some embodiments of the present application, the multiple coordinate axes of the tool coordinate system include the direction of the X-axis, the direction of the Y-axis and the direction of the Z-axis, the multiple laser displacement sensors include a first sensor, a second sensor, a third sensor and a fourth sensor, the positive direction of the X-axis is the same as the direction of the laser line emitted by the first sensor, the negative direction of the X-axis is the same as the direction of the laser line emitted by the second sensor, and the laser lines emitted by the first sensor and the second sensor coincide, the positive direction of the Y-axis is the same as the direction of the laser line emitted by the third sensor, the negative direction of the Y-axis is the same as the direction of the laser line emitted by the fourth sensor, and the laser lines emitted by the third sensor and the fourth sensor coincide, and the Z-axis is perpendicular to the plane formed by the X-axis and the Y-axis.

[0051] In any posture, the first value detected by the first sensor is taken as the first compensation value, the second value detected by the second sensor is taken as the second compensation value, the third value detected by the third sensor is taken as the third compensation value, the fourth value detected by the fourth sensor is taken as the fourth compensation value, and the fifth value detected by the contact sensor is taken as the fifth compensation value.

[0052] Step S506: adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value to obtain the corresponding calibration point of the calibration rod in each posture.

[0053] In some embodiments of the present application, the error compensation value includes a first compensation value, a second compensation value, a third compensation value, a fourth compensation value, and a fifth compensation value, and the position of the ball head component is adjusted along at least one coordinate axis based on the error compensation value. Since the first compensation value is determined based on the value detected by the first sensor, and the second compensation value is determined based on the value detected by the second sensor, the laser lines emitted by the first sensor and the second sensor coincide with each other and the laser line is in the same direction as the X-axis, the position of the ball head component can be adjusted along the positive direction of the X-axis or the negative direction of the X-axis based on the first compensation value and the second compensation value.

[0054] Since the third compensation value is determined based on the value detected by the third sensor, and the fourth compensation value is determined based on the value detected by the fourth sensor, the laser lines emitted by the third sensor and the fourth sensor coincide with each other and are in the same direction as the Y-axis, the position of the ball head component can be adjusted along the positive direction of the Y-axis or the negative direction of the Y-axis based on the third compensation value and the fourth compensation value.

[0055] Since the fifth compensation value is determined based on the value detected by the contact sensor, and the Z axis is perpendicular to the plane formed by the X axis and the Y axis, the position of the ball head component can be adjusted along the positive direction or the negative direction of the Z axis based on the fifth compensation value.

[0056] In the process of adjusting the position of the ball head component, a certain error may be allowed, for example, the error may be 0 cm to 0.05 cm, and this application does not impose any restrictions on this.

[0057] In some embodiments of the present application, the position of the ball head component is adjusted along at least one coordinate axis based on the first compensation value, the second compensation value, the third compensation value, the fourth compensation value and the fifth compensation value, the position of the non-tip end of the calibration rod in each posture is recorded, and the calibration point is determined based on the position.

[0058] In other embodiments of the present application, after adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value, the intersection of the laser lines emitted by the first sensor, the second sensor, the third sensor and the fourth sensor is located at the center of the ball.

[0059] Step S507 , establishing a tool coordinate system based on the calibration points and the origin corresponding to the calibration rod in each posture in the multiple coordinate axes.

[0060] In some embodiments of the present application, the calibration points corresponding to the calibration rod in each posture can form a reference plane with a certain geometric relationship, for example, the distance between two adjacent calibration points on the reference plane is equal. Based on the positions recorded by the calibration points, a transformation matrix can be calculated, which defines the position and direction of the origin of the tool coordinate system relative to the robot reference coordinate system. The robot can calibrate the position and direction of the tool coordinate system to be created according to the calculated transformation matrix, multiple coordinate axes and the origin, thereby obtaining the tool coordinate system.

[0061] In an embodiment of the present application, a robot is connected to an auxiliary calibration device in communication, the robot includes a calibration rod and a kit, the calibration rod is operably connected to the cavity of the kit, and the tip of the calibration rod is located at the center of the ball head component of the kit, and the auxiliary calibration device includes a detachable transverse groove component. The ball head component is controlled to move back and forth in the transverse groove component to determine multiple coordinate axes of the tool coordinate system. By moving in the transverse groove component, the robot can form a coordinate system guided memory, providing a basis for subsequent position adjustment. When the transverse groove component is removed, the ball head component is moved to the contact sensor of the auxiliary calibration device, and the position height of the ball head component is adjusted to the target height based on the preset adjustment parameters, and the value displayed by the contact sensor is used as the basis for position adjustment. When the ball head component is at the target height, the values ​​detected by the contact sensor and the multiple laser displacement sensors of the auxiliary calibration device are set to the preset values, and the center of the ball is determined as the origin of the tool coordinate system, so that the origin of the created tool coordinate system is located at the center of the ball, providing a basis for subsequent adjustments under different postures. The calibration rod is controlled to change multiple postures, and the values ​​detected by the contact sensor and multiple laser displacement sensors in each posture are used as error compensation values ​​corresponding to the origin. The position of the ball head component is adjusted along at least one coordinate axis based on the error compensation value to obtain the calibration point corresponding to the calibration rod in each posture. The tool coordinate system is established based on the calibration points corresponding to the calibration rod in each posture and the origin in multiple coordinate axes. The difficulty of creating the tool coordinate system can be reduced through the auxiliary calibration equipment and the ball head component of the kit, the efficiency of creating the tool coordinate system can be improved, and the time cost of creating the tool coordinate system can be reduced.

[0062] In other embodiments of the present application, after the tool coordinate system is created, the accuracy of the tool coordinate system can be verified. The kit is a detachable component, and when the kit is disassembled, the tip of the calibration rod is controlled to contact the tip of the preset fixed component based on preset verification parameters.

[0063] Figure 7 is a verification diagram of the tool coordinate system provided in the embodiment of the present application, such as Figure 7When the kit is disassembled, the tip of the calibration rod 110 is brought into contact with the tip of a preset fixing component based on preset verification parameters.

[0064] In some embodiments of the present application, X-axis parameter values, Y-axis parameter values, and Z-axis parameter values ​​are obtained from verification parameters, and the calibration rod is driven to run based on the X-axis parameter values, Y-axis parameter values, and Z-axis parameter values. If the tip of the calibration rod is within a preset range during the operation of the calibration rod, it is determined that the tool coordinate system meets the preset requirements. If the tip of the calibration rod exceeds the preset range during the operation of the calibration rod, it is determined that the tool coordinate system does not meet the preset requirements, and the tool coordinate system can be recreated.

[0065] like Figure 7 As shown, the X-axis parameter value, Y-axis parameter value and Z-axis parameter value are obtained from the verification parameters, and the calibration rod is driven to transform into 4 different postures, such as Figure 7 The calibration rod is located at position 1, position 2, position 3 and position 4. During the transformation of the four postures, if the tip of the calibration rod is within the preset range, it is determined that the tool coordinate system meets the preset requirements. If the tip of the calibration rod exceeds the preset range, it is determined that the tool coordinate system does not meet the preset requirements.

[0066] Figure 8 1 is a schematic diagram of the internal structure of the robot provided in the embodiment of the present application. The robot 10 may include the following Figure 1 In addition to the hardware structure shown, Figure 7 As shown, the internal structure of the robot 10 may include a communication module 101, a memory 102, a processor 103, an input / output (I / O) interface 104, and a bus 105. The processor 103 is coupled to the communication interface 101, the memory 102, and the I / O interface 104 through the bus 105.

[0067] The communication module 101 may include a wired communication module and / or a wireless communication module. The wired communication module may provide one or more wired communication solutions such as Universal Serial Bus (USB), Controller Area Network (CAN), etc. The wireless communication module may provide one or more wireless communication solutions such as Wireless Fidelity (Wi-Fi), Bluetooth (BT), mobile communication network, Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), etc.

[0068] The memory 102 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 103, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), etc.

[0069] The non-volatile memory may also store executable programs and user and application data, etc., and may be pre-loaded into the random access memory for direct reading and writing by the processor 110. The non-volatile memory may include a disk storage device and a flash memory.

[0070] The memory 102 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 103. The one or more computer programs include a plurality of instructions, and when the plurality of instructions are executed by the processor 103, a calibration method of a tool coordinate system executed on the robot 10 can be implemented.

[0071] In other embodiments, the robot 10 further includes an external memory interface for connecting to an external memory to expand the storage capacity of the robot 10 .

[0072] The processor 103 may include one or more processing units, for example, the processor 103 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0073] The processor 103 provides computing and control capabilities. For example, the processor 103 is used to execute a computer program stored in the memory 102 to implement the above-mentioned calibration method of the tool coordinate system.

[0074] The I / O interface 104 is used to provide a channel for user input or output. For example, the I / O interface 104 can be used to connect various input and output devices, such as a mouse, keyboard, touch device, display screen, etc., so that the user can enter information or visualize information.

[0075] The bus 105 is at least used to provide a channel for mutual communication among the communication module 101 , the memory 102 , the processor 103 , and the I / O interface 104 in the robot 10 .

[0076] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the robot 10. In other embodiments of the present application, the robot 10 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0077] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the methods in the above-mentioned embodiments of the present application.

[0078] The computer-readable storage medium may be an internal memory of the robot 10 in the above-mentioned embodiment, such as a hard disk or memory of the robot 10. The computer-readable storage medium may also be an external storage device of the robot 10, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the robot 10.

[0079] In some embodiments, the computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the robot 10, etc.

[0080] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0081] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0082] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0084] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A calibration method for tool coordinate system, applied to robots, It is characterized in that The robot is in communication connection with an auxiliary calibration device, the robot comprises a calibration rod and a kit, the calibration rod is operably connected to a cavity of the kit, and the tip of the calibration rod is located at the center of a ball head component of the kit, the auxiliary calibration device comprises a detachable transverse groove component, and the method comprises: Controlling the ball head component to move back and forth in the transverse groove component to determine multiple coordinate axes of the tool coordinate system; When the transverse groove component is removed, moving the ball head component onto the contact sensor of the auxiliary calibration device; Based on preset adjustment parameters, adjusting the position height of the ball head component to a target height; When the ball head component is located at the target height, the values ​​detected by the contact sensor and the multiple laser displacement sensors of the auxiliary calibration device are set to preset values, and the center of the ball is determined as the origin of the tool coordinate system; Controlling the calibration rod to change multiple postures, and using the values ​​detected by the contact sensor and the multiple laser displacement sensors in each posture as error compensation values ​​corresponding to the origin; Adjust the position of the ball head component along at least one coordinate axis based on the error compensation value to obtain a corresponding calibration point of the calibration rod in each posture; The tool coordinate system is established based on the multiple coordinate axes, the corresponding calibration points of the calibration rod in each posture and the origin.

2. The calibration method of the tool coordinate system according to claim 1, It is characterized in that The step of adjusting the position height of the ball head component to a target height based on a preset adjustment parameter includes: Acquire the radius of the ball head component, the vertical distance between the contact sensor of the auxiliary calibration device and the laser lines emitted by the plurality of laser displacement sensors of the auxiliary calibration device from the adjustment parameters; Calculating a height difference based on the radius and the vertical distance; Based on the height difference, the ball head component is controlled to move up and down at the center position of the contact surface of the touch sensor until the ball head component is located at the target height.

3. The calibration method of the tool coordinate system according to claim 1, It is characterized in that The plurality of coordinate axes include a direction of an X-axis, a direction of a Y-axis, and a direction of a Z-axis, the plurality of laser displacement sensors include a first sensor, a second sensor, a third sensor, and a fourth sensor, and the method further includes: The positive direction of the X-axis is the same as the direction of the laser line emitted by the first sensor, the negative direction of the X-axis is the same as the direction of the laser line emitted by the second sensor, and the laser lines emitted by the first sensor and the second sensor coincide; The positive direction of the Y axis is the same as the direction of the laser line emitted by the third sensor, the negative direction of the Y axis is the same as the direction of the laser line emitted by the fourth sensor, and the laser lines emitted by the third sensor and the fourth sensor coincide with each other; The Z axis is perpendicular to a plane formed by the X axis and the Y axis.

4. The calibration method of the tool coordinate system according to claim 3, It is characterized in that The method of using the values ​​detected by the contact sensor and the plurality of laser displacement sensors in each posture as error compensation values ​​corresponding to the origin includes: Based on preset operating parameters, controlling the calibration rod to be in any posture; In any of the postures, the first value detected by the first sensor is used as the first compensation value, the second value detected by the second sensor is used as the second compensation value, the third value detected by the third sensor is used as the third compensation value, the fourth value detected by the fourth sensor is used as the fourth compensation value, and the fifth value detected by the contact sensor is used as the fifth compensation value.

5. The calibration method of the tool coordinate system according to claim 4, It is characterized in that The step of adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value comprises: Based on the first compensation value and the second compensation value, adjusting the position of the ball head component along the positive direction of the X-axis or the negative direction of the X-axis; Based on the third compensation value and the fourth compensation value, adjusting the position of the ball head component along the positive direction of the Y axis or the negative direction of the Y axis; Based on the fifth compensation value, the position of the ball head component is adjusted along the positive direction of the Z axis or the negative direction of the Z axis.

6. The calibration method of the tool coordinate system according to claim 1, It is characterized in that The kit is a detachable component, and the method further comprises: When the kit is disassembled, based on preset verification parameters, controlling the tip of the calibration rod to contact with the tip of a preset fixing component; Obtaining an X-axis parameter value, a Y-axis parameter value, and a Z-axis parameter value from the verification parameter; Based on the X-axis parameter value, the Y-axis parameter value and the Z-axis parameter value, driving the calibration rod to operate; If the tip of the calibration rod is within a preset range during the operation of the calibration rod, it is determined that the tool coordinate system meets the preset requirements.

7. The calibration method of the tool coordinate system according to claim 3, It is characterized in that After adjusting the position height of the ball head component to the target height based on the preset adjustment parameters, the method further includes: The intersection of the laser lines emitted by the first sensor, the second sensor, the third sensor and the fourth sensor is located at the center of the sphere.

8. The calibration method of the tool coordinate system according to claim 3, It is characterized in that After adjusting the position of the ball head component along at least one coordinate axis based on the error compensation value, the method further includes: The intersection of the laser lines emitted by the first sensor, the second sensor, the third sensor and the fourth sensor is located at the center of the sphere.

9. A robot, It is characterized in that The robot comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the calibration method of the tool coordinate system as claimed in any one of claims 1 to 8.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the calibration method of the tool coordinate system according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Ultrasonic transducer calibration-based manipulator positioning method, system and calibrating tool

    CN104842353A

  • Series connection industrial robot connecting rod parameter calibration method based on tail end nominal point restraint

    CN109176517A

  • Robot TCP calibration method using floatable standard sphere

    CN115533893A

  • Tool calibration device and method for machining robot, terminal and medium

    CN116079790A

  • Calibration method, calibration equipment and computer readable storage medium

    CN117283558A

Cited By

  • TCP calibration system and method for ball tool, computer equipment and storage medium

    CN118876074A

  • TCP calibration system, method, computer device and storage medium for ball tools

    CN118876074B

  • Correction method and device of bevel gear inspection machine, computer and storage medium

    CN120063718A