WO2023098839A1 - Front-end tool pose synchronization method, electronic device and storage medium - Google Patents

Front-end tool pose synchronization method, electronic device and storage medium Download PDF

Info

Publication number
WO2023098839A1
WO2023098839A1 PCT/CN2022/136031 CN2022136031W WO2023098839A1 WO 2023098839 A1 WO2023098839 A1 WO 2023098839A1 CN 2022136031 W CN2022136031 W CN 2022136031W WO 2023098839 A1 WO2023098839 A1 WO 2023098839A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate system
end tool
manipulator
flange
ndi
Prior art date
Application number
PCT/CN2022/136031
Other languages
French (fr)
Chinese (zh)
Inventor
张逸凌
刘星宇
Original Assignee
北京长木谷医疗科技有限公司
张逸凌
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京长木谷医疗科技有限公司, 张逸凌 filed Critical 北京长木谷医疗科技有限公司
Publication of WO2023098839A1 publication Critical patent/WO2023098839A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/161Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of robot control, and in particular to a front-end tool pose synchronization method, electronic equipment and a storage medium.
  • robot technology has been widely used in the industrial and medical fields, and various surgical or industrial tasks can be completed by installing different execution tools on the front end of the robot.
  • the spatial position of the front-end tool and the accuracy index of the coordinate system corresponding to its attitude directly affect the operation accuracy.
  • the NDI visual tracking system is usually used to track the front-end tool, and then the spatial position and posture of the front-end tool are synchronized with the robot base frame in real time.
  • the spatial position and posture of the front-end tool are synchronized with the robot base frame in real time.
  • the present application provides a front-end tool position and posture synchronization method, electronic equipment and storage media to solve the problem of the efficiency and accuracy of the real-time synchronization of the spatial position and attitude of the front-end tool in the robot base coordinate system in the prior art. Low, technical issues with fewer industrial options.
  • a front-end tool pose synchronization method comprising the following steps:
  • the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the registration matrix represents is the conversion relationship between the front-end tool coordinate system and the mechanical arm base coordinate system, and the front-end tool is fixed on the flange of the mechanical arm;
  • the reference pose is transformed according to the transformation matrix and the registration matrix, so as to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base.
  • obtaining the reference posture of the front-end tool in the coordinate system of the manipulator base includes:
  • obtain the registration matrix including:
  • the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
  • controlling the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system including:
  • controlling the movement of the mechanical arm includes:
  • a front-end tool attitude synchronization device comprising:
  • the obtaining module is used to obtain the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and the registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the The registration matrix is expressed as a conversion relationship between the front-end tool coordinate system and the base coordinate system of the manipulator, and the front-end tool is fixed on the flange of the manipulator;
  • a pose determination module configured to convert the reference pose according to the transformation matrix and the registration matrix during the process of controlling the movement of the manipulator, to obtain the coordinates of the front-end tool on the base of the manipulator 3D pose in the system.
  • the calibration module is used to rigidly bind the front-end tool fixed on the flange of the manipulator to the NDI calibration frame, and calibrate the manipulator method according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system.
  • the first registration module is used to control the NDI calibration frame to move with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system;
  • the first conversion module is configured to convert the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, obtaining the reference posture of the front-end tool in the coordinate system of the manipulator base;
  • the second conversion module is used to convert the calibration position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
  • the second registration module is configured to register the registration pose with the reference pose to obtain a registration matrix.
  • an electronic device including a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program Steps for implementing the method for synchronizing the pose of a front-end tool according to the first aspect of the present application.
  • a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the pose of the front-end tool according to the first aspect of the present application is realized.
  • the steps of the synchronization method are also provided.
  • the present application has the following beneficial effects: the present application obtains the transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator, and obtains the reference posture and registration of the front-end tool in the coordinate system of the manipulator base matrix, wherein the registration matrix is expressed as the conversion relationship between the front-end tool coordinate system and the base coordinate system of the manipulator, and the front-end tool is fixed on the flange of the manipulator; The pose and the registration matrix are transformed to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base. In this way, since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator.
  • the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the base of the manipulator will be Then there is a change, through a transformation matrix between the manipulator base coordinate system and the manipulator flange coordinate system that can be obtained in real time, based on this transformation matrix, the fixed front-end tool is in the coordinate system of the manipulator base
  • the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, thereby realizing the spatial position and pose of the front-end tool without NDI tracking. Real-time synchronization of objects in the frame of the robot base.
  • Fig. 1 is a flow chart of a front-end tool pose synchronization method provided by an embodiment of the present application
  • Fig. 2 is a flow chart of another front-end tool pose synchronization method provided by the embodiment of the present application.
  • Fig. 3 is a flow chart of another front-end tool pose synchronization method provided by the embodiment of the present application.
  • Fig. 4 is a schematic diagram of an initial coordinate system of a front-end tool rigid body STL provided by an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a point set when calibrating the origin of the flange of the robotic arm in a front-end tool pose synchronization method provided by an embodiment of the present application;
  • FIG. 6 is a schematic diagram of a reference posture of a front-end tool in a front-end tool pose synchronization method provided by an embodiment of the present application;
  • FIG. 7 is a three-dimensional pose diagram of the front-end tool obtained through a transformation matrix in a front-end tool pose synchronization method provided by an embodiment of the present application;
  • Fig. 8 is a schematic structural diagram of a front-end tool posture synchronization device provided by an embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of another front-end tool posture synchronization device provided by the embodiment of the present application.
  • FIG. 10 is a schematic diagram of a physical structure of an electronic device provided by an embodiment of the present application.
  • the NDI visual tracking system is usually used to track the front-end tools, and then synchronize the spatial position and attitude of the front-end tools with the robot base coordinate system in real time.
  • the robot base coordinate system in real time.
  • FIG. 1 is a flow chart of a front-end tool pose synchronization method provided in an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps 100 and Step 200:
  • the transformation matrix between the coordinate system of the manipulator flange and the coordinate system of the manipulator base can be read directly.
  • the corresponding control system of the manipulator can obtain the translation of the manipulator flange in real time. parameters and rotation parameters, and then calculate the transformation matrix between the manipulator flange coordinate system and the manipulator base coordinate system according to the translation parameters and rotation parameters.
  • the front-end tool is fixed on the flange of the mechanical arm. Therefore, according to the fixed relationship between the front-end tool and the flange of the mechanical arm, the transformation relationship between the front-end tool coordinate system and the mechanical arm flange coordinate system can be obtained, The conversion relationship between the manipulator flange coordinate system and the manipulator base coordinate system can be read directly. In this way, an initial posture of the front-end tool in the manipulator base coordinate system and the front-end tool coordinate system The conversion relationship with the base coordinate system of the manipulator can be measured or calculated.
  • the front-end tool since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator.
  • the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the manipulator base It will change accordingly, through a transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator that can be obtained in real time, based on the transformation matrix, the fixed front-end tool is on the base of the manipulator
  • the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, as shown in Figure 7, so that without NDI tracking,
  • the purpose of synchronizing the space position and attitude of the front-end tool in the robot base coordinate system in real time
  • the conversion formula of the 3D pose of the front-end tool can be:
  • the 3D pose of the front-end tool transformation matrix * registration matrix * reference pose.
  • FIG. 2 is a flow chart of another front-end tool pose synchronization method provided in the embodiment of the present application.
  • the reference pose of the front-end tool in the coordinate system of the manipulator base is acquired, including Step 010 to Step 030 as follows:
  • the NDI calibration frame can be any regular or irregular polygonal rigid body support obtained or made in advance, and the NDI calibration frame has a connection point and a connecting rod for rigid body binding connection with the front end tool of the mechanical arm.
  • the NDI calibration frame preferably adopts a trapezoidal steel body bracket, which includes four endpoints, as shown in Figure 4, and has been measured and set in advance in the process of hardware design in advance The relative positional relationship between each endpoint and the calibration reference point is determined, that is, each of the endpoints has a preset relative positional relationship with the calibration reference point.
  • the NDI coordinate system is established in advance according to the position coordinates of the four endpoints, and the establishment of the NDI coordinate system conforms to the right-hand rule.
  • the corresponding rigid binding model determines the coordinate transformation relationship between the NDI coordinate system and the pre-established front-end tool coordinate system, that is, the first transformation matrix.
  • the front-end tool of the manipulator and the NDI calibration frame are integral components that can be assembled and disassembled repeatedly, and the STL rigid binding model in the STL coordinate system where the two are assembled together has been obtained in advance.
  • the specific spatial position of the front-end tool can be deduced inversely, which essentially applies the coordinate transformation relationship between the NDI coordinate system and the front-end tool coordinate system .
  • the NDI calibration frame is fixed on the front-end tool, and the front-end tool is fixed on the flange of the mechanical arm, when the mechanical arm moves, the NDI calibration frame moves with the mechanical arm.
  • the position coordinates on the coordinate system and the NDI coordinate system can be registered to obtain a second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system.
  • the calibration position of the front-end tool may be some endpoints or selected points set on the front-end tool and the NDI calibration frame.
  • the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator can be directly read by the control system of the manipulator, and the calibrated position coordinates of the front-end tool in the NDI coordinate system can be It is directly obtained by the NDI system, so that the calibration position coordinates of the front-end tool in the NDI coordinate system can be converted by the second transformation matrix and the inverse transformation matrix in turn, and the reference of the front-end tool in the coordinate system of the manipulator base can be obtained Posture, as shown in Fig. 6, wherein there are several coordinates of the calibration position of the front-end tool, which is convenient for expressing the posture of the front-end tool.
  • FIG. 3 is a flow chart of another front-end tool pose synchronization method provided in the embodiment of the present application.
  • obtaining a registration matrix includes the following steps 040 and 050:
  • the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
  • the calibrated position coordinates of the front-end tool in the NDI coordinate system can be projected into the front-end tool coordinate system through the first transformation matrix, and then the registration posture of the front-end tool in the front-end tool coordinate system can be obtained, and the registration The posture is registered with the reference posture to obtain a registration matrix.
  • the registration matrix can be obtained. quasi-matrix.
  • control of the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system specifically includes:
  • the coordinates of the physical origin of the manipulator flange in the NDI coordinate system can be obtained through the NDI system, and the coordinates of the physical origin of the manipulator flange in the manipulator flange coordinates can be obtained through the control system of the manipulator. system, and then register the position coordinates of the physical origin of the flange of the manipulator in the NDI coordinate system and the flange coordinate system of the manipulator, respectively, to obtain a second transformation matrix.
  • control of the movement of the manipulator includes:
  • controlling the movement of the mechanical arm can be performed by operating the mechanical arm to draw a cube.
  • step 100 the transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator is obtained, and the coordinate system of the front-end tool in the base coordinate system of the manipulator is obtained.
  • the reference pose and the registration matrix in, wherein, the registration matrix is expressed as the transformation relationship between the front-end tool coordinate system and the manipulator base coordinate system, and the front-end tool is fixed on the flange of the manipulator;
  • Step 200 transforming the reference pose and the registration matrix according to the transformation matrix to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base.
  • the front-end tool since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator.
  • the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the base of the manipulator will be Then there is a change, through a transformation matrix between the manipulator base coordinate system and the manipulator flange coordinate system that can be obtained in real time, based on this transformation matrix, the fixed front-end tool is in the coordinate system of the manipulator base
  • the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, thereby realizing the spatial position and pose of the front-end tool without NDI tracking. Real-time synchronization of objects in the frame of the robot base.
  • FIG. 8 is a schematic structural diagram of a front-end tool attitude synchronization device provided by an embodiment of the present application. As shown in Figure 8, the device includes:
  • the obtaining module 10 is used to obtain the transformation matrix between the coordinate system of the base of the manipulator and the coordinate system of the flange of the manipulator, and obtain the reference posture and the registration matrix of the front-end tool in the coordinate system of the base of the manipulator, wherein, The registration matrix is expressed as a conversion relationship between the coordinate system of the front-end tool and the coordinate system of the base of the manipulator, and the front-end tool is fixed on the flange of the manipulator;
  • the pose determining module 20 is configured to convert the reference pose according to the transformation matrix and the registration matrix during the process of controlling the movement of the manipulator, so as to obtain the position of the front-end tool on the base of the manipulator. 3D pose in a coordinate system.
  • FIG. 9 is a schematic structural diagram of another front-end tool posture synchronization device provided in the embodiment of the present application. As shown in FIG. 9, the device also includes:
  • the calibration module 30 is used to rigidly bind the front-end tool fixed on the flange of the manipulator and the NDI calibration frame, and calibrate the manipulator according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system The position coordinates of the physical origin of the flange in the NDI coordinate system;
  • the first registration module 40 is used to control the movement of the NDI calibration frame with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system;
  • the first conversion module 50 is configured to convert the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator , to obtain the reference posture of the front-end tool in the coordinate system of the manipulator base;
  • the second conversion module 60 is configured to convert the calibration position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
  • the second registration module 70 is configured to register the registration pose with the reference pose to obtain a registration matrix.
  • the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
  • the first registration module 40 is specifically used for:
  • the first registration module 40 is configured to:
  • FIG. 10 is a schematic diagram of the physical structure of an electronic device according to an embodiment.
  • the electronic device 11 includes: a processor (processor) 101, a memory (memory) 102, and a bus 103;
  • processor 101 and the memory 102 complete mutual communication through the bus 103;
  • the processor 101 is used to call the program instructions in the memory 102 to execute the real-time synchronization method of front-end tool space and attitude provided by the above method embodiments.
  • the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the pose of the front-end tool according to the first aspect of the present application is realized.
  • the steps of the synchronization method are described in detail below.
  • each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware.
  • the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Manipulator (AREA)

Abstract

The present application provides a front-end tool pose synchronization method, an electronic device and a storage medium. The method comprises: acquiring a transformation matrix between a robotic arm base coordinate system and a robotic arm flange coordinate system, and acquiring a reference posture of a front-end tool in the robotic arm base coordinate system, and a registration matrix, wherein the registration matrix represents a transformation relationship between a front-end tool coordinate system and the robotic arm base coordinate system, and the front-end tool is fixed to a flange of a robotic arm; and performing transformation processing on the reference posture according to the transformation matrix and the registration matrix, so as to obtain a three-dimensional pose of the front-end tool in the robotic arm base coordinate system. Therefore, the problem in the relevant art of synchronizing the spatial position and posture of a front-end tool into a robot base coordinate system in real time when no NDI performs tracking is solved.

Description

前端工具位姿同步方法、电子设备及存储介质Front-end tool pose synchronization method, electronic device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年12月01日提交的申请号为202111452679.4,名称为“前端工具位姿同步方法、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本文。This application claims the priority of the Chinese patent application with application number 202111452679.4 and titled “Front-end Tool Pose Synchronization Method, Electronic Equipment and Storage Medium” filed on December 1, 2021, which is incorporated herein by reference in its entirety.
技术领域technical field
本申请涉及机器人控制技术领域,尤其涉及一种前端工具位姿同步方法、电子设备及存储介质。The present application relates to the technical field of robot control, and in particular to a front-end tool pose synchronization method, electronic equipment and a storage medium.
背景技术Background technique
目前,机器人技术在工业、医疗领域中得到了广泛的应用,通过在机器人的前端安装不同的执行工具来完成各种手术或工业作业任务。而前端工具所处的空间位置及其姿态对应坐标系的准确度指标则直接影响着的操作精度。At present, robot technology has been widely used in the industrial and medical fields, and various surgical or industrial tasks can be completed by installing different execution tools on the front end of the robot. The spatial position of the front-end tool and the accuracy index of the coordinate system corresponding to its attitude directly affect the operation accuracy.
为解决准确追踪前端工具所处的空间位置及其姿态的问题,相关技术中,通常借助NDI视觉追踪系统对前端工具进行追踪,进而将前端工具的空间位置及姿态实时同步于机器人基座标系中,但是在一些场景下当NDI无法使用时,也需要实时追踪前端工具所处的空间位置及其姿态。In order to solve the problem of accurately tracking the spatial position and posture of the front-end tool, in related technologies, the NDI visual tracking system is usually used to track the front-end tool, and then the spatial position and posture of the front-end tool are synchronized with the robot base frame in real time. However, in some scenarios when NDI cannot be used, it is also necessary to track the spatial position and posture of the front-end tool in real time.
针对相关技术中在没有NDI追踪的情况下,将前端工具空间位置及姿态实时同步在机器人基座标系中的问题,目前尚未提出有效的解决方案。Aiming at the problem of synchronizing the spatial position and attitude of the front-end tool in the frame of the robot base in real time without NDI tracking in the related technology, no effective solution has been proposed yet.
发明内容Contents of the invention
为此,本申请提供了一种前端工具位姿同步方法、电子设备及存储介质,以解决现有技术中前端工具的空间位置及姿态实时同步于机器人基座标系中的效率和精度均较低,且工业选项较少的技术问题。For this reason, the present application provides a front-end tool position and posture synchronization method, electronic equipment and storage media to solve the problem of the efficiency and accuracy of the real-time synchronization of the spatial position and attitude of the front-end tool in the robot base coordinate system in the prior art. Low, technical issues with fewer industrial options.
为了实现上述目的,本申请提供如下技术方案:In order to achieve the above object, the application provides the following technical solutions:
根据本申请的第一方面,提供了一种前端工具位姿同步方法,包括以下步骤:According to the first aspect of the present application, a front-end tool pose synchronization method is provided, comprising the following steps:
获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;Obtain the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the registration matrix represents is the conversion relationship between the front-end tool coordinate system and the mechanical arm base coordinate system, and the front-end tool is fixed on the flange of the mechanical arm;
在控制所述机械臂运动过程中,根据所述变换矩阵和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。During the process of controlling the movement of the manipulator, the reference pose is transformed according to the transformation matrix and the registration matrix, so as to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base.
可选地,获取前端工具在所述机械臂基座坐标系中的基准姿态,包括:Optionally, obtaining the reference posture of the front-end tool in the coordinate system of the manipulator base includes:
将固定在所述机械臂法兰上的所述前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;Rigidly bind the front-end tool and the NDI calibration frame fixed on the flange of the manipulator, and calibrate the flange of the manipulator according to the first transformation matrix between the NDI coordinate system and the coordinate system of the front-end tool The position coordinates of the physical origin in the NDI coordinate system;
控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵;Control the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system;
将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态。Transform the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the manipulator flange, and obtain the position of the front-end tool in the The reference pose in the base coordinate system of the manipulator described above.
可选地,获取配准矩阵,包括:Optionally, obtain the registration matrix, including:
将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;Converting the calibrated position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
将所述配准姿态与所述基准姿态进行配准,得到配准矩阵。Registering the registration pose with the reference pose to obtain a registration matrix.
可选地,所述标定位置坐标包括多个且多个所述标定位置坐标不包含在同一平面。Optionally, the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
可选地,所述控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵,包括:Optionally, controlling the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system, including:
控制所述机械臂运动,并记录所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的多个位置坐标;controlling the movement of the manipulator, and recording multiple position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system;
对所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的位置坐标进行配准,得到所述NDI坐标系和所述机械臂法兰坐标系之间 的所述第二变换矩阵。Registering the position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system respectively, to obtain a distance between the NDI coordinate system and the manipulator flange coordinate system The second transformation matrix of .
可选地,所述控制所述机械臂运动,包括:Optionally, the controlling the movement of the mechanical arm includes:
控制所述机械臂上所述机械臂法兰物理原点的运行轨迹,使得所述机械臂法兰物理原点的运行轨迹不在同一平面内。Controlling the running trajectory of the physical origin of the flange of the mechanical arm on the mechanical arm, so that the running trajectory of the physical origin of the flange of the mechanical arm is not in the same plane.
根据本申请的第二方面,提供了一种前端工具姿态同步装置,该装置包括:According to the second aspect of the present application, there is provided a front-end tool attitude synchronization device, the device comprising:
获取模块,用于获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;The obtaining module is used to obtain the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and the registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the The registration matrix is expressed as a conversion relationship between the front-end tool coordinate system and the base coordinate system of the manipulator, and the front-end tool is fixed on the flange of the manipulator;
位姿确定模块,用于在控制所述机械臂运动过程中,根据所述变换矩阵和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。A pose determination module, configured to convert the reference pose according to the transformation matrix and the registration matrix during the process of controlling the movement of the manipulator, to obtain the coordinates of the front-end tool on the base of the manipulator 3D pose in the system.
可选地,还包括:Optionally, also include:
标定模块,用于将固定在机械臂法兰上的前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;The calibration module is used to rigidly bind the front-end tool fixed on the flange of the manipulator to the NDI calibration frame, and calibrate the manipulator method according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system. The position coordinates of the blue physical origin in the NDI coordinate system;
第一配准模块,用于控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵;The first registration module is used to control the NDI calibration frame to move with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system;
第一转换模块,用于将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态;The first conversion module is configured to convert the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, obtaining the reference posture of the front-end tool in the coordinate system of the manipulator base;
第二转换模块,用于将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;The second conversion module is used to convert the calibration position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
第二配准模块,用于将所述配准姿态与所述基准姿态进行配准,得到配准矩阵。The second registration module is configured to register the registration pose with the reference pose to obtain a registration matrix.
根据本申请的第三方面,提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现根据本申请的第一方面所述前端工具位姿同步方法的步骤。According to a third aspect of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program Steps for implementing the method for synchronizing the pose of a front-end tool according to the first aspect of the present application.
根据本申请的第四方面,还提供了一种非暂态计算机可读存储介质,其上 存储有计算机程序,所述计算机程序被执行时实现根据本申请的第一方面所述前端工具位姿同步方法的步骤。According to the fourth aspect of the present application, there is also provided a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the pose of the front-end tool according to the first aspect of the present application is realized. The steps of the synchronization method.
本申请具有如下有益效果:本申请通过获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;根据所述变换矩阵对所述基准姿态和所述配准矩阵进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。这样,由于前端工具固定在机械臂法兰上,前端工具随着机械臂法兰运动,机械臂法兰运动过程中,机械臂法兰坐标系与机械臂基座坐标系之间的变换关系会随之发生改变,通过一个实时可以获取的机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,在基于该变换矩阵对固定不变的前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵进行转换,就可以得到前端工具在所述机械臂基座坐标系中的三维位姿,从而实现了在没有NDI追踪的情况下,将前端工具空间位置及姿态实时同步在机器人基座标系中的目的。The present application has the following beneficial effects: the present application obtains the transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator, and obtains the reference posture and registration of the front-end tool in the coordinate system of the manipulator base matrix, wherein the registration matrix is expressed as the conversion relationship between the front-end tool coordinate system and the base coordinate system of the manipulator, and the front-end tool is fixed on the flange of the manipulator; The pose and the registration matrix are transformed to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base. In this way, since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator. During the movement of the flange of the manipulator, the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the base of the manipulator will be Then there is a change, through a transformation matrix between the manipulator base coordinate system and the manipulator flange coordinate system that can be obtained in real time, based on this transformation matrix, the fixed front-end tool is in the coordinate system of the manipulator base By transforming the reference pose and registration matrix in the manipulator system, the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, thereby realizing the spatial position and pose of the front-end tool without NDI tracking. Real-time synchronization of objects in the frame of the robot base.
附图说明Description of drawings
为了更清楚地说明本申请的实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,本说明书所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,任何结构的修饰、比例矩阵的改变或大小的调整,在不影响本申请所能产生的功效及所能达成的目的下,均应仍落在本申请所揭示的技术内容得能涵盖的范围内。In order to more clearly illustrate the implementation of the application or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the implementation or the prior art. The structures and proportions shown in this specification , size, etc., are only used to cooperate with the content disclosed in the manual, so that people familiar with this technology can understand and read. Any modification of the structure, change of the ratio matrix or adjustment of the size will not affect the efficacy of this application. and the goals that can be achieved, should still fall within the scope covered by the technical content disclosed in this application.
图1为本申请实施例提供的一种前端工具位姿同步方法的流程图;Fig. 1 is a flow chart of a front-end tool pose synchronization method provided by an embodiment of the present application;
图2为本申请实施例提供的另一种前端工具位姿同步方法的流程图;Fig. 2 is a flow chart of another front-end tool pose synchronization method provided by the embodiment of the present application;
图3为本申请实施例提供的另一种前端工具位姿同步方法的流程图;Fig. 3 is a flow chart of another front-end tool pose synchronization method provided by the embodiment of the present application;
图4为本申请实施例提供的一种前端工具刚体STL初始坐标系示意图;Fig. 4 is a schematic diagram of an initial coordinate system of a front-end tool rigid body STL provided by an embodiment of the present application;
图5为本申请实施例提供的一种前端工具位姿同步方法中标定机械臂的法兰原点时的点集示意图;FIG. 5 is a schematic diagram of a point set when calibrating the origin of the flange of the robotic arm in a front-end tool pose synchronization method provided by an embodiment of the present application;
图6为本申请实施例提供的一种前端工具位姿同步方法中的前端工具的基准姿态示意图;FIG. 6 is a schematic diagram of a reference posture of a front-end tool in a front-end tool pose synchronization method provided by an embodiment of the present application;
图7为本申请实施例提供的一种前端工具位姿同步方法中的前端工具经变换矩阵得到的三维位姿图;FIG. 7 is a three-dimensional pose diagram of the front-end tool obtained through a transformation matrix in a front-end tool pose synchronization method provided by an embodiment of the present application;
图8为本申请实施例提供的一种前端工具姿态同步装置的结构示意图;Fig. 8 is a schematic structural diagram of a front-end tool posture synchronization device provided by an embodiment of the present application;
图9为本申请实施例提供的另一种前端工具姿态同步装置的结构示意图;Fig. 9 is a schematic structural diagram of another front-end tool posture synchronization device provided by the embodiment of the present application;
图10为本申请实施例提供的一种电子设备的实体结构示意图。FIG. 10 is a schematic diagram of a physical structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
现在将参照附图来详细描述本申请的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本申请及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way serves as any limitation of the application, its application or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.
相关技术中通常借助NDI视觉追踪系统对前端工具进行追踪,进而将前端工具的空间位置及姿态实时同步于机器人基座标系中,但是在一些场景下当NDI无法使用时,也需要实时追踪前端工具所处的空间位置及其姿态。In related technologies, the NDI visual tracking system is usually used to track the front-end tools, and then synchronize the spatial position and attitude of the front-end tools with the robot base coordinate system in real time. However, in some scenarios when NDI cannot be used, it is also necessary to track the front-end tools in real time. The spatial position of the tool and its attitude.
为此,本申请提供了一种前端工具位姿同步方法,图1为本申请实施例提供的一种前端工具位姿同步方法的流程图,如图1所示,该方法包括以下步骤100和步骤200:To this end, the present application provides a front-end tool pose synchronization method, and FIG. 1 is a flow chart of a front-end tool pose synchronization method provided in an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps 100 and Step 200:
S100,获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上。S100. Obtain the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the registration The matrix is expressed as the conversion relationship between the coordinate system of the front-end tool and the coordinate system of the base of the manipulator, and the front-end tool is fixed on the flange of the manipulator.
其中,机械臂法兰坐标系与机械臂基座坐标系之间的变换矩阵是可以直接进行读取的,当机械臂运动时,可以机械臂对应的控制系统可以实时获取机械臂法兰的平移参数和旋转参数,进而根据平移参数和旋转参数计算出机械臂法兰坐标系与机械臂基座坐标系之间的变换矩阵。而所述前端工具固定在机械臂的法兰上,因此,根据前端工具与机械臂的法兰之间的固定关系,可以得到前端工具坐标系与机械臂法兰坐标系之间的转换关系,而机械臂法兰坐标系与机械臂基座坐标系之间的转换关系是可以直接进行读取的,这样,前端工具在所述机械臂基座坐标系中的一个初始姿态以及前端工具坐标系与机械臂基座坐标系之间的转换关系可以测量或计算出的。Among them, the transformation matrix between the coordinate system of the manipulator flange and the coordinate system of the manipulator base can be read directly. When the manipulator moves, the corresponding control system of the manipulator can obtain the translation of the manipulator flange in real time. parameters and rotation parameters, and then calculate the transformation matrix between the manipulator flange coordinate system and the manipulator base coordinate system according to the translation parameters and rotation parameters. The front-end tool is fixed on the flange of the mechanical arm. Therefore, according to the fixed relationship between the front-end tool and the flange of the mechanical arm, the transformation relationship between the front-end tool coordinate system and the mechanical arm flange coordinate system can be obtained, The conversion relationship between the manipulator flange coordinate system and the manipulator base coordinate system can be read directly. In this way, an initial posture of the front-end tool in the manipulator base coordinate system and the front-end tool coordinate system The conversion relationship with the base coordinate system of the manipulator can be measured or calculated.
S200,在控制所述机械臂运动过程中,根据所述变换矩阵和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。S200. During the process of controlling the motion of the manipulator, transform the reference pose according to the transformation matrix and the registration matrix to obtain the three-dimensional position of the front-end tool in the coordinate system of the manipulator base posture.
具体的,由于前端工具固定在机械臂法兰上,前端工具随着机械臂法兰运动,机械臂法兰运动过程中,机械臂法兰坐标系与机械臂基座坐标系之间的变换关系会随之发生改变,通过一个实时可以获取的机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,在基于该变换矩阵对固定不变的前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵进行转换,就可以得到前端工具在所述机械臂基座坐标系中的三维位姿,如图7所示,从而实现了在没有NDI追踪的情况下,将前端工具空间位置及姿态实时同步在机器人基座标系中的目的。综上,前端工具的三维位姿的转换公式可以为:Specifically, since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator. During the movement of the manipulator flange, the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the manipulator base It will change accordingly, through a transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator that can be obtained in real time, based on the transformation matrix, the fixed front-end tool is on the base of the manipulator By transforming the reference pose in the coordinate system and the registration matrix, the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, as shown in Figure 7, so that without NDI tracking, The purpose of synchronizing the space position and attitude of the front-end tool in the robot base coordinate system in real time. In summary, the conversion formula of the 3D pose of the front-end tool can be:
前端工具的三维位姿=变换矩阵*配准矩阵*基准姿态。The 3D pose of the front-end tool = transformation matrix * registration matrix * reference pose.
可选地,图2为本申请实施例提供的另一种前端工具位姿同步方法的流程图,如图2所示,获取前端工具在所述机械臂基座坐标系中的基准姿态,包括如下步骤010至步骤030:Optionally, FIG. 2 is a flow chart of another front-end tool pose synchronization method provided in the embodiment of the present application. As shown in FIG. 2 , the reference pose of the front-end tool in the coordinate system of the manipulator base is acquired, including Step 010 to Step 030 as follows:
S010,将固定在所述机械臂法兰上的所述前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;S010. Rigidly bind the front-end tool fixed on the flange of the manipulator to the NDI calibration frame, and calibrate the manipulator according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system. The position coordinates of the physical origin of the flange in the NDI coordinate system;
其中,所述NDI标定架可以为提前获取或制作的任意规则或不规则的多边形状的刚体支架,且所述NDI标定架具有和机械臂前端工具进行刚体绑定连接的连接点和连接棒。本实施例中,所述NDI标定架优选采用不规则四边形形状 的钢体支架,其包括有四个端点,如图4所示,且在提前的硬件设计的过程中,已经提前测量和设定好了各个端点均与标定参考点之间的相对位置关系,即,各所述端点均与标定参考点具有预设的相对位置关系。并根据四个端点的位置坐标预先建立好NDI坐标系,且NDI坐标系的建立符合右手定则。Wherein, the NDI calibration frame can be any regular or irregular polygonal rigid body support obtained or made in advance, and the NDI calibration frame has a connection point and a connecting rod for rigid body binding connection with the front end tool of the mechanical arm. In this embodiment, the NDI calibration frame preferably adopts a trapezoidal steel body bracket, which includes four endpoints, as shown in Figure 4, and has been measured and set in advance in the process of hardware design in advance The relative positional relationship between each endpoint and the calibration reference point is determined, that is, each of the endpoints has a preset relative positional relationship with the calibration reference point. And the NDI coordinate system is established in advance according to the position coordinates of the four endpoints, and the establishment of the NDI coordinate system conforms to the right-hand rule.
将机械臂的前端工具和所述NDI标定架进行刚性绑定,以获得刚性绑定体,或者说,以使二者能够保持完全同步运动,并根据所述刚性绑定体在前端工具坐标系(也可称为刚性STL坐标系)中相对应的刚性绑定模型,确定所述NDI坐标系与预先建立的前端工具坐标系之间的坐标变换关系,即第一变换矩阵。也可以理解为,机械臂的前端工具和NDI标定架是一体的、可重复拆卸式装配的构件,且预先获得了二者装配在一起的STL坐标系下的STL刚性绑定模型,如此,只要在NDI坐标系中获得了NDI标定架的空间位置,即可反向推断出来所述前端工具的具体空间位置,其本质也是应用了所述NDI坐标系与前端工具坐标系之间的坐标变换关系。Rigidly bind the front-end tool of the manipulator to the NDI calibration frame to obtain a rigid binding body, or in other words, to enable the two to maintain complete synchronous motion, and to coordinate the front-end tool coordinate system according to the rigid binding body (It can also be called the rigid STL coordinate system) The corresponding rigid binding model determines the coordinate transformation relationship between the NDI coordinate system and the pre-established front-end tool coordinate system, that is, the first transformation matrix. It can also be understood that the front-end tool of the manipulator and the NDI calibration frame are integral components that can be assembled and disassembled repeatedly, and the STL rigid binding model in the STL coordinate system where the two are assembled together has been obtained in advance. In this way, as long as After obtaining the spatial position of the NDI calibration frame in the NDI coordinate system, the specific spatial position of the front-end tool can be deduced inversely, which essentially applies the coordinate transformation relationship between the NDI coordinate system and the front-end tool coordinate system .
控制所述刚性绑定体以机械臂法兰物理原点为原点自动旋转,并在旋转过程中获得NDI坐标系下包含所述标定参考点的若干个位置坐标的标定参考点集,如图5所示;根据所述标定参考点集中所述标定参考点的若干个位置坐标,确定所述机械臂法兰物理原点在NDI坐标系下的位置坐标。基于所述坐标变换关系,获得所述机械臂法兰物理原点在所述前端工具坐标系以及NDI坐标系下的位置坐标。Control the rigid binding body to automatically rotate with the physical origin of the flange of the manipulator as the origin, and obtain a calibration reference point set including several position coordinates of the calibration reference point in the NDI coordinate system during the rotation process, as shown in Figure 5 According to several position coordinates of the calibration reference points in the calibration reference point set, determine the position coordinates of the physical origin of the flange of the manipulator in the NDI coordinate system. Based on the coordinate transformation relationship, the position coordinates of the physical origin of the flange of the manipulator in the front-end tool coordinate system and the NDI coordinate system are obtained.
S020,控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵。S020. Control the NDI calibration frame to move with the robot arm to register to obtain a second transformation matrix between the robot arm flange coordinate system and the NDI coordinate system.
具体的,由于NDI标定架固定在前端工具上,前端工具固定在机械臂法兰上,当机械臂运动时,NDI标定架随机械臂运动,这样,通过机械臂法兰原点在机械臂法兰坐标系与NDI坐标系上的位置坐标可以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵。Specifically, since the NDI calibration frame is fixed on the front-end tool, and the front-end tool is fixed on the flange of the mechanical arm, when the mechanical arm moves, the NDI calibration frame moves with the mechanical arm. The position coordinates on the coordinate system and the NDI coordinate system can be registered to obtain a second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system.
S030,将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态。S030, converting the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the manipulator base coordinate system and the manipulator flange coordinate system, to obtain the front-end tool The reference pose in the base coordinate system of the manipulator.
其中,前端工具的标定位置可以是设置在前端工具和NDI标定架上的一些端点或选取点。Wherein, the calibration position of the front-end tool may be some endpoints or selected points set on the front-end tool and the NDI calibration frame.
具体的,机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵可以直接由机械臂控制系统进行读取,而将所述NDI坐标系中前端工具的标定位置坐标可以由NDI系统直接获取,这样,所述NDI坐标系中前端工具的标定位置坐标可以依次有第二变换矩阵和逆变换矩阵进行转换,可以得到前端工具在所述机械臂基座坐标系中的基准姿态,如图6所示,其中,前端工具的标定位置坐标是具有若干个,便于表示出前端工具的姿态。任何时候只要我们知道机械臂基座坐标系与所述机械臂法兰坐标系之间的变换矩阵,我们即可通过将前端工具的基准姿态进行变换矩阵的变换同步到其所在的机械臂法兰位置上。Specifically, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator can be directly read by the control system of the manipulator, and the calibrated position coordinates of the front-end tool in the NDI coordinate system can be It is directly obtained by the NDI system, so that the calibration position coordinates of the front-end tool in the NDI coordinate system can be converted by the second transformation matrix and the inverse transformation matrix in turn, and the reference of the front-end tool in the coordinate system of the manipulator base can be obtained Posture, as shown in Fig. 6, wherein there are several coordinates of the calibration position of the front-end tool, which is convenient for expressing the posture of the front-end tool. Whenever we know the transformation matrix between the coordinate system of the base of the manipulator and the coordinate system of the flange of the manipulator, we can synchronize the transformation of the transformation matrix with the reference pose of the front-end tool to the flange of the manipulator where it is located position.
可选地,图3为本申请实施例提供的另一种前端工具位姿同步方法的流程图,如图3所示,获取配准矩阵,包括以下步骤040和步骤050:Optionally, FIG. 3 is a flow chart of another front-end tool pose synchronization method provided in the embodiment of the present application. As shown in FIG. 3, obtaining a registration matrix includes the following steps 040 and 050:
S040,将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;S040, converting the calibrated position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix, to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
S050,将所述配准姿态与所述基准姿态进行配准,得到配准矩阵。S050. Register the registration pose with the reference pose to obtain a registration matrix.
可选地,所述标定位置坐标包括多个且多个所述标定位置坐标不包含在同一平面。Optionally, the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
具体的,NDI坐标系中前端工具的标定位置坐标可以通过第一变换矩阵投影到前端工具坐标系中,进而得到前端工具在所述前端工具坐标系中的配准姿态,将将所述配准姿态与所述基准姿态进行配准,得到配准矩阵,具体的,通过若干个同一个标定位置在前端工具坐标系中的坐标和机械臂基座坐标系中的坐标进行配准,可以得到配准矩阵。Specifically, the calibrated position coordinates of the front-end tool in the NDI coordinate system can be projected into the front-end tool coordinate system through the first transformation matrix, and then the registration posture of the front-end tool in the front-end tool coordinate system can be obtained, and the registration The posture is registered with the reference posture to obtain a registration matrix. Specifically, by registering several coordinates of the same calibration position in the front-end tool coordinate system and the coordinates in the manipulator base coordinate system, the registration matrix can be obtained. quasi-matrix.
可选地,步骤020,所述控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵,具体包括:Optionally, in step 020, the control of the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system specifically includes:
控制所述机械臂运动,并记录所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的多个位置坐标;controlling the movement of the manipulator, and recording multiple position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system;
对所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的位置坐标进行配准,得到所述NDI坐标系和所述机械臂法兰坐标系之间的所述第二变换矩阵。Registering the position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system respectively, to obtain a distance between the NDI coordinate system and the manipulator flange coordinate system The second transformation matrix of .
具体的,控制所述机械臂运动之后,可以通过NDI系统获取机械臂法兰物理原点在NDI坐标系中的坐标,以及通过机械臂的控制系统获取机械臂法兰物 理原点在机械臂法兰坐标系中的坐标,进而对所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的位置坐标进行配准,得到第二变换矩阵。Specifically, after controlling the movement of the manipulator, the coordinates of the physical origin of the manipulator flange in the NDI coordinate system can be obtained through the NDI system, and the coordinates of the physical origin of the manipulator flange in the manipulator flange coordinates can be obtained through the control system of the manipulator. system, and then register the position coordinates of the physical origin of the flange of the manipulator in the NDI coordinate system and the flange coordinate system of the manipulator, respectively, to obtain a second transformation matrix.
其中,为防止机械臂法兰物理原点的运行轨迹在同一平面内时,无法完成配准的问题,所述控制所述机械臂运动,包括:Wherein, in order to prevent the problem that registration cannot be completed when the trajectory of the physical origin of the flange of the manipulator is in the same plane, the control of the movement of the manipulator includes:
控制所述机械臂上所述机械臂法兰物理原点的运行轨迹,使得所述机械臂法兰物理原点的运行轨迹不在同一平面内。Controlling the running trajectory of the physical origin of the flange of the mechanical arm on the mechanical arm, so that the running trajectory of the physical origin of the flange of the mechanical arm is not in the same plane.
其中,所述控制所述机械臂运动可以进行操作机械臂画立方体。Wherein, the controlling the movement of the mechanical arm can be performed by operating the mechanical arm to draw a cube.
在本申请提供的前端工具位姿同步方法中,通过步骤100,获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;步骤200,根据所述变换矩阵对所述基准姿态和所述配准矩阵进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。这样,由于前端工具固定在机械臂法兰上,前端工具随着机械臂法兰运动,机械臂法兰运动过程中,机械臂法兰坐标系与机械臂基座坐标系之间的变换关系会随之发生改变,通过一个实时可以获取的机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,在基于该变换矩阵对固定不变的前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵进行转换,就可以得到前端工具在所述机械臂基座坐标系中的三维位姿,从而实现了在没有NDI追踪的情况下,将前端工具空间位置及姿态实时同步在机器人基座标系中的目的。In the front-end tool pose synchronization method provided in this application, through step 100, the transformation matrix between the coordinate system of the manipulator base and the flange coordinate system of the manipulator is obtained, and the coordinate system of the front-end tool in the base coordinate system of the manipulator is obtained. The reference pose and the registration matrix in, wherein, the registration matrix is expressed as the transformation relationship between the front-end tool coordinate system and the manipulator base coordinate system, and the front-end tool is fixed on the flange of the manipulator; Step 200 , transforming the reference pose and the registration matrix according to the transformation matrix to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base. In this way, since the front-end tool is fixed on the flange of the manipulator, the front-end tool moves with the flange of the manipulator. During the movement of the flange of the manipulator, the transformation relationship between the coordinate system of the manipulator flange and the coordinate system of the base of the manipulator will be Then there is a change, through a transformation matrix between the manipulator base coordinate system and the manipulator flange coordinate system that can be obtained in real time, based on this transformation matrix, the fixed front-end tool is in the coordinate system of the manipulator base By transforming the reference pose and registration matrix in the manipulator system, the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base can be obtained, thereby realizing the spatial position and pose of the front-end tool without NDI tracking. Real-time synchronization of objects in the frame of the robot base.
基于相同的技术构思,本申请还提供提供了一种前端工具姿态同步装置,图8为本申请实施例提供的一种前端工具姿态同步装置的结构示意图,如图8所示,该装置包括:Based on the same technical concept, the present application also provides a front-end tool attitude synchronization device. Figure 8 is a schematic structural diagram of a front-end tool attitude synchronization device provided by an embodiment of the present application. As shown in Figure 8, the device includes:
获取模块10,用于获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;The obtaining module 10 is used to obtain the transformation matrix between the coordinate system of the base of the manipulator and the coordinate system of the flange of the manipulator, and obtain the reference posture and the registration matrix of the front-end tool in the coordinate system of the base of the manipulator, wherein, The registration matrix is expressed as a conversion relationship between the coordinate system of the front-end tool and the coordinate system of the base of the manipulator, and the front-end tool is fixed on the flange of the manipulator;
位姿确定模块20,用于在控制所述机械臂运动过程中,根据所述变换矩阵 和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。The pose determining module 20 is configured to convert the reference pose according to the transformation matrix and the registration matrix during the process of controlling the movement of the manipulator, so as to obtain the position of the front-end tool on the base of the manipulator. 3D pose in a coordinate system.
可选地,图9为本申请实施例提供的另一种前端工具姿态同步装置的结构示意图,如图9所示,该装置还包括:Optionally, FIG. 9 is a schematic structural diagram of another front-end tool posture synchronization device provided in the embodiment of the present application. As shown in FIG. 9, the device also includes:
标定模块30,用于将固定在机械臂法兰上的前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;The calibration module 30 is used to rigidly bind the front-end tool fixed on the flange of the manipulator and the NDI calibration frame, and calibrate the manipulator according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system The position coordinates of the physical origin of the flange in the NDI coordinate system;
第一配准模块40,用于控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵;The first registration module 40 is used to control the movement of the NDI calibration frame with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system;
第一转换模块50,用于将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态;The first conversion module 50 is configured to convert the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator , to obtain the reference posture of the front-end tool in the coordinate system of the manipulator base;
第二转换模块60,用于将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;The second conversion module 60 is configured to convert the calibration position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
第二配准模块70,用于将所述配准姿态与所述基准姿态进行配准,得到配准矩阵。The second registration module 70 is configured to register the registration pose with the reference pose to obtain a registration matrix.
可选地,所述标定位置坐标包括多个且多个所述标定位置坐标不包含在同一平面。Optionally, the marked position coordinates include multiple and the multiple marked position coordinates are not included in the same plane.
可选地,第一配准模块40,具体用于:Optionally, the first registration module 40 is specifically used for:
控制所述机械臂运动,并记录所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的多个位置坐标;controlling the movement of the manipulator, and recording multiple position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system;
对所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的位置坐标进行配准,得到所述NDI坐标系和所述机械臂法兰坐标系之间的所述第二变换矩阵。Registering the position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system respectively, to obtain a distance between the NDI coordinate system and the manipulator flange coordinate system The second transformation matrix of .
可选地,所述第一配准模块40,用于:Optionally, the first registration module 40 is configured to:
控制所述机械臂上所述机械臂法兰物理原点的运行轨迹,使得所述机械臂法兰物理原点的运行轨迹不在同一平面内。Controlling the running trajectory of the physical origin of the flange of the mechanical arm on the mechanical arm, so that the running trajectory of the physical origin of the flange of the mechanical arm is not in the same plane.
图10为根据一个实施例提供的电子设备实体结构示意图,如图10所示,所述电子设备11包括:处理器(processor)101、存储器(memory)102和总线103;FIG. 10 is a schematic diagram of the physical structure of an electronic device according to an embodiment. As shown in FIG. 10 , the electronic device 11 includes: a processor (processor) 101, a memory (memory) 102, and a bus 103;
其中,所述处理器101、存储器102通过总线103完成相互间的通信;Wherein, the processor 101 and the memory 102 complete mutual communication through the bus 103;
所述处理器101用于调用所述存储器102中的程序指令,以执行上述各方法实施例所提供的前端工具空间及姿态实时同步方法。The processor 101 is used to call the program instructions in the memory 102 to execute the real-time synchronization method of front-end tool space and attitude provided by the above method embodiments.
基于相同的技术构思,本申请还提供了一种非暂态计算机可读存储介质,其上存储有计算机程序,所述计算机程序被执行时实现根据本申请的第一方面所述前端工具位姿同步方法的步骤。Based on the same technical concept, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the pose of the front-end tool according to the first aspect of the present application is realized. The steps of the synchronization method.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (10)

  1. 一种前端工具位姿同步方法,该方法包括:A front-end tool pose synchronization method, the method comprising:
    获取机械臂基座坐标系与机械臂法兰坐标系之间的变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;Obtain the transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, and obtain the reference posture and registration matrix of the front-end tool in the coordinate system of the manipulator base, wherein the registration matrix represents is the conversion relationship between the front-end tool coordinate system and the mechanical arm base coordinate system, and the front-end tool is fixed on the flange of the mechanical arm;
    在控制所述机械臂运动过程中,根据所述变换矩阵和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。During the process of controlling the movement of the manipulator, the reference pose is transformed according to the transformation matrix and the registration matrix, so as to obtain the three-dimensional pose of the front-end tool in the coordinate system of the manipulator base.
  2. 根据权利要求1所述的前端工具位姿同步方法,其中,获取前端工具在所述机械臂基座坐标系中的基准姿态,包括:The pose synchronization method of the front-end tool according to claim 1, wherein obtaining the reference pose of the front-end tool in the coordinate system of the manipulator base comprises:
    将固定在所述机械臂法兰上的所述前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;Rigidly bind the front-end tool and the NDI calibration frame fixed on the flange of the manipulator, and calibrate the flange of the manipulator according to the first transformation matrix between the NDI coordinate system and the coordinate system of the front-end tool The position coordinates of the physical origin in the NDI coordinate system;
    控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵;Control the NDI calibration frame to move with the manipulator to register to obtain the second transformation matrix between the manipulator flange coordinate system and the NDI coordinate system;
    将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态。Transform the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the manipulator flange, and obtain the position of the front-end tool in the The reference pose in the base coordinate system of the manipulator described above.
  3. 根据权利要求2所述的前端工具位姿同步方法,其中,获取配准矩阵,包括:The front-end tool pose synchronization method according to claim 2, wherein obtaining the registration matrix includes:
    将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;Converting the calibrated position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
    将所述配准姿态与所述基准姿态进行配准,得到配准矩阵。Registering the registration pose with the reference pose to obtain a registration matrix.
  4. 根据权利要求3所述的前端工具位姿同步方法,其中,所述标定位置坐标包括多个且多个所述标定位置坐标不包含在同一平面。The pose synchronization method of the front-end tool according to claim 3, wherein the calibration position coordinates include a plurality of calibration position coordinates and the plurality of calibration position coordinates are not included in the same plane.
  5. 根据权利要求2所述的前端工具位姿同步方法,其中,所述控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵,包括:The pose synchronization method of the front-end tool according to claim 2, wherein the control of the NDI calibration frame to move with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system includes:
    控制所述机械臂运动,并记录所述机械臂法兰物理原点分别在所述NDI 坐标系和所述机械臂法兰坐标系下的多个位置坐标;controlling the movement of the manipulator, and recording multiple position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system;
    对所述机械臂法兰物理原点分别在所述NDI坐标系和所述机械臂法兰坐标系下的位置坐标进行配准,得到所述NDI坐标系和所述机械臂法兰坐标系之间的所述第二变换矩阵。Registering the position coordinates of the physical origin of the manipulator flange in the NDI coordinate system and the manipulator flange coordinate system respectively, to obtain a distance between the NDI coordinate system and the manipulator flange coordinate system The second transformation matrix of .
  6. 根据权利要求4所述的前端工具位姿同步方法,其中,所述控制所述机械臂运动,包括:The front-end tool pose synchronization method according to claim 4, wherein said controlling the movement of said mechanical arm comprises:
    控制所述机械臂上所述机械臂法兰物理原点的运行轨迹,使得所述机械臂法兰物理原点的运行轨迹不在同一平面内。Controlling the running trajectory of the physical origin of the flange of the mechanical arm on the mechanical arm, so that the running trajectory of the physical origin of the flange of the mechanical arm is not in the same plane.
  7. 一种前端工具位姿同步装置,该装置包括:A front-end tool pose synchronization device, the device comprising:
    获取模块,用于获取机械臂基座坐标系与机械臂法兰坐标系之间的实时变换矩阵,以及获取前端工具在所述机械臂基座坐标系中的基准姿态以及配准矩阵,其中,所述配准矩阵表示为前端工具坐标系与机械臂基座坐标系之间的转换关系,所述前端工具固定在机械臂的法兰上;The obtaining module is used to obtain the real-time transformation matrix between the coordinate system of the base of the manipulator and the coordinate system of the flange of the manipulator, and obtain the reference posture and the registration matrix of the front-end tool in the coordinate system of the base of the manipulator, wherein, The registration matrix is expressed as a conversion relationship between the coordinate system of the front-end tool and the coordinate system of the base of the manipulator, and the front-end tool is fixed on the flange of the manipulator;
    位姿确定模块,用于在控制所述机械臂运动过程中,根据所述变换矩阵和所述配准矩阵对所述基准姿态进行转换处理,得到所述前端工具在所述机械臂基座坐标系中的三维位姿。A pose determination module, configured to convert the reference pose according to the transformation matrix and the registration matrix during the process of controlling the movement of the manipulator, so as to obtain the coordinates of the front-end tool on the base of the manipulator 3D pose in the system.
  8. 根据权利要求7所述的前端工具位姿同步装置,其中,还包括:The front-end tool pose synchronization device according to claim 7, further comprising:
    标定模块,用于将固定在机械臂法兰上的前端工具和NDI标定架进行刚性绑定,并根据NDI坐标系与前端工具坐标系之间的第一变换矩阵,标定出所述机械臂法兰物理原点在所述NDI坐标系下的位置坐标;The calibration module is used to rigidly bind the front-end tool fixed on the flange of the manipulator to the NDI calibration frame, and calibrate the manipulator method according to the first transformation matrix between the NDI coordinate system and the front-end tool coordinate system. The position coordinates of the blue physical origin in the NDI coordinate system;
    第一配准模块,用于控制NDI标定架随机械臂运动以配准得到机械臂法兰坐标系与NDI坐标系之间的第二变换矩阵;The first registration module is used to control the movement of the NDI calibration frame with the mechanical arm to register to obtain the second transformation matrix between the mechanical arm flange coordinate system and the NDI coordinate system;
    第一转换模块,用于将所述NDI坐标系中前端工具的标定位置坐标通过第二变换矩阵、机械臂基座坐标系与所述机械臂法兰坐标系之间的逆变换矩阵进行转换,得到所述前端工具在所述机械臂基座坐标系中的基准姿态;The first conversion module is configured to convert the calibrated position coordinates of the front-end tool in the NDI coordinate system through the second transformation matrix, the inverse transformation matrix between the coordinate system of the manipulator base and the coordinate system of the flange of the manipulator, obtaining the reference posture of the front-end tool in the coordinate system of the manipulator base;
    第二转换模块,用于将所述NDI坐标系中前端工具的标定位置坐标通过所述第一变换矩阵进行转换,得到所述前端工具在所述前端工具坐标系中的配准姿态;The second conversion module is used to convert the calibration position coordinates of the front-end tool in the NDI coordinate system through the first transformation matrix to obtain the registration posture of the front-end tool in the front-end tool coordinate system;
    第二配准模块,用于将所述配准姿态与所述基准姿态进行配准,得到配准 矩阵。The second registration module is configured to register the registration pose with the reference pose to obtain a registration matrix.
  9. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至6任一项所述前端工具位姿同步方法的步骤。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the computer program, any one of claims 1 to 6 is realized Steps of the front-end tool pose synchronization method.
  10. 一种非暂态计算机可读存储介质,其上存储有计算机程序,所述计算机程序被执行时实现如权利要求1至6任一项所述前端工具位姿同步方法的步骤。A non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the steps of the front-end tool pose synchronization method according to any one of claims 1 to 6 are realized.
PCT/CN2022/136031 2021-12-01 2022-12-01 Front-end tool pose synchronization method, electronic device and storage medium WO2023098839A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111452679.4 2021-12-01
CN202111452679.4A CN114211484B (en) 2021-12-01 2021-12-01 Front-end tool pose synchronization method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023098839A1 true WO2023098839A1 (en) 2023-06-08

Family

ID=80699246

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136031 WO2023098839A1 (en) 2021-12-01 2022-12-01 Front-end tool pose synchronization method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114211484B (en)
WO (1) WO2023098839A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114211484B (en) * 2021-12-01 2023-08-18 北京长木谷医疗科技有限公司 Front-end tool pose synchronization method, electronic equipment and storage medium
CN114952806B (en) * 2022-06-16 2023-10-03 法奥意威(苏州)机器人系统有限公司 Constrained motion control method, constrained motion control device, constrained motion control system and electronic equipment
CN115227398B (en) * 2022-09-19 2023-03-03 杭州三坛医疗科技有限公司 Automatic positioning method and device for registration plate

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110640747A (en) * 2019-11-07 2020-01-03 上海电气集团股份有限公司 Hand-eye calibration method and system for robot, electronic equipment and storage medium
US20200198145A1 (en) * 2018-12-19 2020-06-25 Industrial Technology Research Institute Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN112318506A (en) * 2020-10-28 2021-02-05 上海交通大学医学院附属第九人民医院 Automatic calibration method, device, equipment, mechanical arm and medium for mechanical arm
CN113199486A (en) * 2021-06-01 2021-08-03 北京长木谷医疗科技有限公司 Method and device for calibrating physical origin of mechanical arm flange and electronic equipment
CN113400325A (en) * 2021-06-23 2021-09-17 四川锋准机器人科技有限公司 Navigation and positioning method for dental implant robot
CN113400305A (en) * 2021-06-07 2021-09-17 北京长木谷医疗科技有限公司 Control method and device for contusion tool, electronic equipment and storage medium
CN114211484A (en) * 2021-12-01 2022-03-22 北京长木谷医疗科技有限公司 Front-end tool pose synchronization method, electronic device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016013891A1 (en) * 2016-11-21 2018-05-24 Kuka Roboter Gmbh Measuring a movement axis of a robot
CN113081266B (en) * 2021-03-26 2021-12-03 北京长木谷医疗科技有限公司 Robot registration method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200198145A1 (en) * 2018-12-19 2020-06-25 Industrial Technology Research Institute Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN110640747A (en) * 2019-11-07 2020-01-03 上海电气集团股份有限公司 Hand-eye calibration method and system for robot, electronic equipment and storage medium
CN112318506A (en) * 2020-10-28 2021-02-05 上海交通大学医学院附属第九人民医院 Automatic calibration method, device, equipment, mechanical arm and medium for mechanical arm
CN113199486A (en) * 2021-06-01 2021-08-03 北京长木谷医疗科技有限公司 Method and device for calibrating physical origin of mechanical arm flange and electronic equipment
CN113400305A (en) * 2021-06-07 2021-09-17 北京长木谷医疗科技有限公司 Control method and device for contusion tool, electronic equipment and storage medium
CN113400325A (en) * 2021-06-23 2021-09-17 四川锋准机器人科技有限公司 Navigation and positioning method for dental implant robot
CN114211484A (en) * 2021-12-01 2022-03-22 北京长木谷医疗科技有限公司 Front-end tool pose synchronization method, electronic device and storage medium

Also Published As

Publication number Publication date
CN114211484A (en) 2022-03-22
CN114211484B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
WO2023098839A1 (en) Front-end tool pose synchronization method, electronic device and storage medium
CN107738254B (en) Conversion calibration method and system for mechanical arm coordinate system
CN108818535B (en) Robot 3D vision hand-eye calibration method
JP2023524897A (en) Multiload Adaptive Gravity Compensation Method, Apparatus and Control Device for Robotic Arm
WO2016074646A1 (en) Method and device for calibrating tool in flange coordinate system of robot
KR20180035172A (en) Simultaneous kinematic and hand-eye calibration
JP2015199155A (en) Information processing device, information processing method, and program
JP2014151427A (en) Robot system and control method therefor
WO2022252676A1 (en) Method and apparatus for calibrating robotic arm flange physical origin, and electronic device
CN113715016B (en) Robot grabbing method, system, device and medium based on 3D vision
CN113379849A (en) Robot autonomous recognition intelligent grabbing method and system based on depth camera
WO2021244037A1 (en) Method and apparatus for registering robot coordinate system using three-dimensional positioning apparatus, and system, computer, and readable storage medium
CN113211445B (en) Robot parameter calibration method, device, equipment and storage medium
TW201918348A (en) Posture positioning system for machine and the method thereof
WO2022205941A1 (en) Motion control method and apparatus, and robot control device and readable storage medium
CN113081266B (en) Robot registration method and device, electronic equipment and storage medium
CN106097390B (en) A kind of robot kinematics' parameter calibration method based on Kalman filtering
CN111568554B (en) Positioning precision obtaining method and device, electronic equipment and readable storage medium
CN115439633A (en) Calibration method and device and electronic equipment
CN116277035A (en) Robot control method and device, processor and electronic equipment
WO2019114631A1 (en) Method and device for acquiring tcp coordinates of robot
CN110142748A (en) A kind of quick teaching system of robot suitable for spraying welding profession and method
WO2018214156A1 (en) Method of correcting locomotion control command of robot, and related apparatus for same
Langming et al. A flexible method for multi-view point clouds alignment of small-size object
CN109366486A (en) Flexible robot's inverse kinematics method, system, equipment, storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22900643

Country of ref document: EP

Kind code of ref document: A1