Calibration method and device, electronic equipment and storage medium

By obtaining the robot arm pose information and the end tool image, combined with the coordinate system conversion, an optimization function is established to solve the problem of error accumulation caused by the separation of tool calibration and hand-eye calibration in the existing technology, and high-precision and convenient automatic calibration is achieved. process.

CN118596144APending Publication Date: 2024-09-06HEFEI LCFC INFORMATION TECH

Patent Information

Application Number
CN202410752116.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-06

Smart Images

  • Figure CN118596144A
    Figure CN118596144A
Patent Text Reader

Abstract

The invention provides a calibration method and device, electronic equipment and a storage medium. The method comprises the steps that pose information of a mechanical arm when the mechanical arm is in multiple different poses and a calibration image of a tail end tool connected to the tail end of the mechanical arm when the mechanical arm is in each pose are obtained; for each pose, based on the pose information of the mechanical arm, determining a first coordinate of a reference point in a base coordinate system of the mechanical arm; the reference point is a point on the tail end tool; determining a second coordinate of the reference point in the base coordinate system of the mechanical arm based on the calibration image of the end tool; according to the first coordinates and the second coordinates under the multiple poses, a calibration result is determined, and the calibration result comprises a tool calibration value and a hand-eye calibration value. The calibration method is simple in operation and high in calibration precision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of automation technology, and in particular to a calibration method, device, electronic equipment and storage medium. Background Art

[0002] Before the robot is put into practical use, it needs to be calibrated to meet the requirements of dispensing, spray welding, attachment and grasping. The calibration of the robot usually includes tool calibration and hand-eye calibration. In the existing calibration work, tool calibration and hand-eye calibration are often performed separately. Operators usually perform tool calibration first, and then hand-eye calibration. The two calibration tasks are performed separately, which is prone to error accumulation, and the calibration steps are cumbersome and time-consuming. Summary of the invention

[0003] The present disclosure provides a calibration method, device, electronic device and storage medium to at least solve the above technical problems existing in the prior art.

[0004] According to a first aspect of the present disclosure, a calibration method is provided, the method comprising: obtaining posture information of a robot arm when the robot arm is in a plurality of different postures, and a calibration image of an end tool connected to the end of the robot arm when the robot arm is in each posture; for each posture, determining a first coordinate of a reference point in a robot arm base coordinate system based on the posture information of the robot arm; the reference point is a point on the end tool; based on the calibration image of the end tool, determining a second coordinate of the reference point in the robot arm base coordinate system; determining a calibration result according to the first coordinates and the second coordinates in a plurality of postures, the calibration result comprising a tool calibration value and a hand-eye calibration value.

[0005] In one possible implementation, determining the first coordinate of the reference point in the robot arm base coordinate system based on the posture information of the robot arm includes: determining the first coordinate of the reference point in the robot arm base coordinate system according to the posture information of the robot arm based on the conversion relationship between each coordinate system in the robot arm calibration system.

[0006] In one possible implementation, determining the second coordinate of the reference point in the robot base coordinate system based on the calibration image of the end tool includes: determining the pixel coordinates of the reference point based on the calibration image of the end tool; determining the three-dimensional coordinates of the reference point in the camera coordinate system based on the pixel coordinates; and obtaining the second coordinate in the robot base coordinate system according to the three-dimensional coordinates in the camera coordinate system based on the conversion relationship between each coordinate system in the robot calibration system.

[0007] In one possible implementation manner, determining the calibration result based on the first coordinates and the second coordinates in multiple postures includes: establishing an optimization function based on the first coordinates and the second coordinates; and solving the optimization function to obtain the calibration result.

[0008] In one possible implementation manner, establishing an optimization function according to the first coordinate and the second coordinate includes: determining a coordinate difference between the first coordinate and the second coordinate; and establishing an optimization function based on the coordinate difference between the first coordinate and the second coordinate.

[0009] According to a second aspect of the present disclosure, a calibration device is provided, the device comprising: a calibration data acquisition module, used to acquire the posture information of the robot arm when the robot arm is in a plurality of different postures, and a calibration image of an end tool connected to the end of the robot arm when the robot arm is in each posture; a coordinate conversion module, used to determine, for each posture, a first coordinate of a reference point in a robot arm base coordinate system based on the posture information of the robot arm; the reference point is a point on the end tool; the coordinate conversion module is further used to determine a second coordinate of the reference point in the robot arm base coordinate system based on the calibration image of the end tool; a result determination module, used to determine a calibration result according to the first coordinates and the second coordinates in a plurality of postures, the calibration result comprising a tool calibration value and a hand-eye calibration value.

[0010] In one possible implementation, the coordinate conversion module is further used to determine the first coordinate of the reference point in the robot base coordinate system based on the conversion relationship between the coordinate systems in the robot calibration system and according to the posture information of the robot.

[0011] In one possible implementation, the coordinate conversion module is also used to determine the pixel coordinates of the reference point based on the calibration image of the end tool; determine the three-dimensional coordinates of the reference point in the camera coordinate system according to the pixel coordinates; based on the conversion relationship between the coordinate systems in the robot calibration system, obtain the second coordinate in the robot base coordinate system according to the three-dimensional coordinates in the camera coordinate system.

[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.

[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.

[0017] The present invention discloses a calibration method, device, electronic device and storage medium, which respectively determine the first coordinate and the second coordinate of the same reference point on the end tool in the robot arm base coordinate system through two different loops. Then, the hand-eye calibration value and the tool calibration value are obtained at the same time through the first coordinate and the second coordinate. The operation is simpler and more convenient. The calibration process is automated without manual intervention, which reduces the workload of the operator. In addition, the tool calibration value and the hand-eye calibration value are solved at the same time, which is not easy to produce cumulative errors and has a high calibration accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0019] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0020] Figure 1 A schematic diagram of an implementation flow of a calibration method according to an embodiment of the present disclosure is shown;

[0021] Figure 2 A schematic diagram of an implementation scenario of the embodiment of the present disclosure is shown;

[0022] Figure 3 A schematic diagram of the structure of a calibration device according to an embodiment of the present disclosure is shown;

[0023] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0024] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0025] Figure 1 A schematic diagram of the implementation process of a calibration method according to an embodiment of the present disclosure is shown. Figure 1As shown, according to a first aspect of an embodiment of the present disclosure, a calibration method is provided, and the method includes:

[0026] Step 101 , obtaining posture information of the robotic arm when the robotic arm is in a plurality of different postures, and a calibration image of an end tool connected to an end of the robotic arm when the robotic arm is in each posture.

[0027] First, fix the end tool (such as gripper, welding gun, nozzle, etc.) on the flange at the end of the robot arm. Then fix the camera outside the robot arm to ensure that the camera's field of view can cover the active area of ​​the end tool of the robot arm. For details, please refer to Figure 2 The calibration system shown in the figure controls the robot arm to be in multiple different positions and postures, and places the end tool connected to its end in the camera's field of view. In each position and posture, the current robot arm's position and posture information is recorded. The image of the end tool is obtained through the camera as the calibration image.

[0028] Step 102: for each posture, based on the posture information of the robot arm, determine the first coordinate of a reference point in the robot arm base coordinate system; the reference point is a point on the end tool.

[0029] The reference point is the point where the end tool actually contacts or acts during operation. For different end tools, the location of the reference point may be different. For example, when the end tool is a nozzle, the reference point can be the tip of the nozzle. When the end tool is a gripper, the reference point can be the center of the gripper. In each posture, based on the posture information of the robot arm, through the robot arm body circuit, that is, Figure 2 In loop 1, the position of the reference point in the terminal coordinate system is converted to the base coordinate system to obtain the first coordinate.

[0030] In one embodiment of the present disclosure, step 102 can be implemented by the following technical means: based on the conversion relationship between various coordinate systems in the robot arm calibration system, according to the posture information of the robot arm, determine the first coordinate of the reference point in the robot arm base coordinate system.

[0031] The robot arm calibration system includes a robot arm body, a camera, and an end tool. In this embodiment, the first coordinate is determined based on the conversion relationship between the robot arm base coordinate system, the robot arm end coordinate system, and the tool coordinate system. For example, the robot arm is in a certain posture, and the current posture information of the robot arm is recorded as and B t Ej , where j represents the movement order; E represents the end coordinate system of the robot arm; B represents the base coordinate system of the robot arm; Represents the posture (direction) of the end tool at the jth position; B t EjRepresents the position of the end tool in the jth position. Set the tool calibration value that needs to be solved during the calibration process to E t T Then, based on the tool calibration value, the robot's position information, and the conversion relationship between the various coordinate systems in the robot calibration system, the coordinates of the reference point in the robot base coordinate system are determined, recorded as the first coordinate. Specifically, a two-step conversion is required. First, from the tool coordinate system to the robot end coordinate system, it is usually a simple translation, and the translation amount is the tool calibration value E t T Then, from the robot end coordinate system to the robot base coordinate system, the rotation matrix Describes the rotation relationship between the robot end coordinate system and the robot base coordinate system, the translation matrix B t Ej Describes the position of the origin of the robot arm's end coordinate system in the base coordinate system. The position of the reference point in the robot arm's end coordinate system E t T Left multiply the rotation matrix And add the translation matrix B t Ej , get the position of the reference point in the base coordinate system, that is, the first coordinate As shown in the following formula (1):

[0032]

[0033] Step 103: determining the second coordinate of the reference point in the robot base coordinate system based on the calibration image of the end tool.

[0034] By performing image processing on the calibration image of the end tool, the pixel coordinates of the reference point can be obtained. Then, through the camera loop (i.e. Figure 2 In loop 2), the pixel coordinates are converted to the robot base coordinates to obtain the second coordinates of the reference point.

[0035] In one embodiment of the present disclosure, step 103 can be implemented by the following technical means: based on the calibration image of the end tool, determine the pixel coordinates of the reference point; based on the pixel coordinates, determine the three-dimensional coordinates of the reference point in the camera coordinate system; based on the conversion relationship between the coordinate systems in the robot calibration system, obtain the second coordinate in the robot base coordinate system according to the three-dimensional coordinates in the camera coordinate system.

[0036] First, the calibration image of the end tool is processed to obtain the pixel coordinates of the reference point. Among them, u and v represent the horizontal and vertical coordinates in the image respectively. The pixel coordinates are converted into normalized camera coordinates through the camera intrinsic parameter K to obtain the direction vector in the camera coordinate system. Then multiply it by the object distance Z of the camera c , convert the direction vector into the actual three-dimensional coordinate. Assume that the hand-eye calibration value to be solved during the calibration process is the rotation matrix and translation vectors Finally, the rotation matrix of the camera coordinate system C relative to the robot base coordinate system B is and translation vectors Convert the three-dimensional coordinates in the camera coordinate system to the robot base coordinate system to obtain the position of the reference point in the robot base coordinate system, that is, the second coordinate As shown in the following formula (2):

[0037]

[0038] Step 104: determining a calibration result according to the first coordinates and the second coordinates in a plurality of postures, wherein the calibration result includes a tool calibration value and a hand-eye calibration value.

[0039] Since the first coordinate and the second coordinate are the coordinates of the same point (reference point) in the same coordinate system (robotic arm base coordinate system), theoretically, the coordinate values ​​of the two coordinates should be the same. Based on this theory, the tool calibration values ​​set in formulas (1) and (2) can be solved by obtaining the first coordinate and the second coordinate at each posture: E t T , rotation matrix in hand-eye calibration value and translation vectors

[0040] In one embodiment of the present disclosure, the above step 104 can be implemented by the following technical means: establishing an optimization function according to the first coordinate and the second coordinate; solving the optimization function to obtain a calibration result.

[0041] The process of establishing the optimization function is as follows: determining the coordinate difference between the first coordinate and the second coordinate by subtracting formula (1) from formula (2); and establishing the optimization function shown in the following formula (3) based on the coordinate difference between the first coordinate and the second coordinate:

[0042]

[0043] Each error in the optimization function represents the square of the difference between the first coordinate and the second coordinate in the jth move. The goal is to minimize the sum of the squares of these errors. Finally, the optimization function is solved. By minimizing this optimization function, a set of tool calibration values ​​is found to be E t T, hand-eye calibration value (rotation matrix and translation vectors ) makes the sum of errors at all calibration positions as small as possible. Finally, the tool calibration value and the hand-eye calibration value can be obtained at the same time.

[0044] Compared with the method of separately calibrating hand-eye calibration and tool calibration in the prior art, the calibration method disclosed in the present invention can obtain tool calibration value and hand-eye calibration value at the same time, without the need for operators to calibrate twice, and the operation is simpler and more convenient. In addition, the method can realize the automation of calibration without manual intervention. With the operation loss of robots and related equipment, the calibration accuracy will be lost, so the robot needs to be recalibrated regularly. Each calibration can be realized automatically, which greatly reduces the workload of operators.

[0045] Conventional tool calibration and hand-eye calibration both require manual alignment of reference points with other calibration points in space. The operation relies on the subjective judgment of the operator, which may affect the accuracy and consistency of the calibration results. Moreover, the two calibrations cannot be optimized separately, which is prone to cumulative errors. This method does not require manual alignment, which greatly reduces the dependence on manual work. In addition, solving two calibration values ​​at the same time is not prone to cumulative errors, which can improve the accuracy of calibration.

[0046] According to another aspect of the present disclosure, a calibration device is provided. Figure 3 A schematic diagram of the structure of a calibration device according to an embodiment of the present disclosure is shown. Figure 3 As shown, the device comprises:

[0047] A calibration data acquisition module 301 is used to obtain the posture information of the robotic arm when the robotic arm is in a plurality of different postures, and a calibration image of the end tool connected to the end of the robotic arm when the robotic arm is in each posture; a coordinate conversion module 302 is used to determine, for each posture, a first coordinate of a reference point in a robotic arm base coordinate system based on the posture information of the robotic arm; the reference point is a point on the end tool; the coordinate conversion module 302 is also used to determine a second coordinate of the reference point in the robotic arm base coordinate system based on the calibration image of the end tool; a result determination module 303 is used to determine a calibration result based on the first coordinates and the second coordinates in a plurality of postures, wherein the calibration result includes a tool calibration value and a hand-eye calibration value.

[0048] In one embodiment of the present disclosure, the coordinate conversion module 302 is further used to determine the first coordinate of the reference point in the robot base coordinate system based on the conversion relationship between the coordinate systems in the robot calibration system and according to the posture information of the robot.

[0049] In one embodiment of the present disclosure, the coordinate conversion module 302 is also used to determine the pixel coordinates of the reference point based on the calibration image of the end tool; determine the three-dimensional coordinates of the reference point in the camera coordinate system according to the pixel coordinates; based on the conversion relationship between the coordinate systems in the robot arm calibration system, obtain the second coordinate in the robot arm base coordinate system according to the three-dimensional coordinates in the camera coordinate system.

[0050] In one embodiment of the present disclosure, the result determination module 303 is further used to establish an optimization function according to the first coordinate and the second coordinate; and solve the optimization function to obtain a calibration result.

[0051] In one embodiment of the present disclosure, the result determination module 303 is further used to determine the coordinate difference between the first coordinate and the second coordinate; and establish an optimization function based on the coordinate difference between the first coordinate and the second coordinate.

[0052] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0053] Figure 4 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0054] like Figure 4 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0055] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0056] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above, such as a calibration method. For example, in some embodiments, a calibration method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by the computing unit 401, one or more steps of a calibration method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform a calibration method in any other appropriate manner (e.g., by means of firmware).

[0057] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0058] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0059] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0060] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0061] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0062] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0063] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0064] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0065] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A calibration method, characterized in that: The method comprises: Acquire posture information of the robotic arm when the robotic arm is in a plurality of different postures, and a calibration image of an end tool connected to an end of the robotic arm when the robotic arm is in each posture; For each posture, based on the posture information of the robot arm, determine the first coordinate of the reference point in the robot arm base coordinate system; the reference point is a point on the end tool; Determine a second coordinate of the reference point in the robot base coordinate system based on a calibration image of the end tool; A calibration result is determined according to the first coordinates and the second coordinates in a plurality of positions and postures, wherein the calibration result includes a tool calibration value and a hand-eye calibration value.

2. The method according to claim 1, characterized in that The step of determining a first coordinate of a reference point in a robot arm base coordinate system based on the posture information of the robot arm comprises: Based on the conversion relationship between various coordinate systems in the robot arm calibration system, and according to the posture information of the robot arm, the first coordinate of the reference point in the robot arm base coordinate system is determined.

3. The method according to claim 1, characterized in that Determining the second coordinate of the reference point in the robot base coordinate system based on the calibration image of the end tool comprises: Determining the pixel coordinates of the reference point based on the calibration image of the end tool; Determine the three-dimensional coordinates of the reference point in the camera coordinate system according to the pixel coordinates; Based on the conversion relationship between various coordinate systems in the robot arm calibration system, the second coordinate of the reference point in the robot arm base coordinate system is obtained according to the three-dimensional coordinate in the camera coordinate system.

4. The method according to claim 1, characterized in that: The step of determining the calibration result according to the first coordinates and the second coordinates in the plurality of postures includes: Establishing an optimization function according to the first coordinate and the second coordinate; The optimization function is solved to obtain a calibration result.

5. The method according to claim 4, characterized in that The step of establishing an optimization function according to the first coordinate and the second coordinate comprises: determining a coordinate difference between the first coordinate and the second coordinate; An optimization function is established based on the coordinate difference between the first coordinate and the second coordinate.

6. A calibration device, characterized in that: The device comprises: A calibration data acquisition module, used to acquire the posture information of the robotic arm when the robotic arm is in a plurality of different postures, and a calibration image of the end tool connected to the end of the robotic arm when the robotic arm is in each posture; A coordinate conversion module, for determining, for each posture, a first coordinate of a reference point in a robot arm base coordinate system based on the posture information of the robot arm; the reference point is a point on the end tool; The coordinate conversion module is further used to determine the second coordinate of the reference point in the robot base coordinate system based on the calibration image of the end tool; The result determination module is used to determine the calibration result according to the first coordinates and the second coordinates in multiple positions, and the calibration result includes a tool calibration value and a hand-eye calibration value.

7. The device according to claim 6, characterized in that The coordinate conversion module is also used to determine the first coordinate of the reference point in the robot base coordinate system based on the conversion relationship between the various coordinate systems in the robot calibration system and according to the posture information of the robot.

8. The device according to claim 6, characterized in that The coordinate conversion module is also used to determine the pixel coordinates of the reference point based on the calibration image of the end tool; determine the three-dimensional coordinates of the reference point in the camera coordinate system according to the pixel coordinates; based on the conversion relationship between the coordinate systems in the robot calibration system, obtain the second coordinate in the robot base coordinate system according to the three-dimensional coordinates in the camera coordinate system.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Calibration method and device for visual positioning guiding system of mechanical arm

    CN115922707A

  • Pose conversion method, device and equipment and storage medium

    CN117301052A

  • Calibration method and device of mechanical arm and storage medium

    CN117798929A

  • Calibration method and device of mechanical arm, electronic equipment and storage medium

    CN118003331A

Cited By

  • Humanoid welding robot

    CN120206474A