WO2022032964A1 - Dual-arm robot calibration method, system, terminal, and storage medium - Google Patents

Dual-arm robot calibration method, system, terminal, and storage medium Download PDF

Info

Publication number
WO2022032964A1
WO2022032964A1 PCT/CN2020/139303 CN2020139303W WO2022032964A1 WO 2022032964 A1 WO2022032964 A1 WO 2022032964A1 CN 2020139303 W CN2020139303 W CN 2020139303W WO 2022032964 A1 WO2022032964 A1 WO 2022032964A1
Authority
WO
WIPO (PCT)
Prior art keywords
needle tip
coordinate system
robot
dual
needle
Prior art date
Application number
PCT/CN2020/139303
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 WO2022032964A1 publication Critical patent/WO2022032964A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/30Surgical robots
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B17/00Surgical instruments, devices or methods, e.g. tourniquets
    • A61B17/34Trocars; Puncturing needles
    • A61B17/3403Needle locating or guiding means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/10Computer-aided planning, simulation or modelling of surgical operations
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/70Manipulators specially adapted for use in surgery
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/70Manipulators specially adapted for use in surgery
    • A61B34/77Manipulators with motion or force scaling
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/36Image-producing devices or illumination devices not otherwise provided for
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/97Determining parameters from multiple pictures
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B17/00Surgical instruments, devices or methods, e.g. tourniquets
    • A61B17/34Trocars; Puncturing needles
    • A61B17/3403Needle locating or guiding means
    • A61B2017/3413Needle locating or guiding means guided by ultrasound
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/10Computer-aided planning, simulation or modelling of surgical operations
    • A61B2034/101Computer-aided simulation of surgical operations
    • A61B2034/105Modelling of the patient, e.g. for ligaments or bones
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/10Computer-aided planning, simulation or modelling of surgical operations
    • A61B2034/107Visualisation of planned trajectories or target regions
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/10Computer-aided planning, simulation or modelling of surgical operations
    • A61B2034/108Computer aided selection or customisation of medical implants or cutting guides
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • A61B2034/2046Tracking techniques
    • A61B2034/2063Acoustic tracking systems, e.g. using ultrasound
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • A61B2034/2046Tracking techniques
    • A61B2034/2065Tracking using image or pattern recognition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/36Image-producing devices or illumination devices not otherwise provided for
    • A61B2090/364Correlation of different images or relation of image positions in respect to the body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10132Ultrasound image

Definitions

  • the present application belongs to the technical field of robot calibration, and particularly relates to a calibration method, system, terminal and storage medium for a dual-arm robot.
  • the dual-arm robotic system can not only control the ultrasonic probe and the puncture needle tube separately, but also flexibly control the needle insertion angle and posture in a small surgical space.
  • the ultrasonic probe calibration method using Locator and Phantom uses Locator and Phantom.
  • the markers corresponding to the locator such as the opto-magnetic locator
  • the equation expression between the ultrasonic image and the actual physical position of the corresponding model is established according to the geometric parameters of the model designed in advance.
  • the coordinate transformation matrix between the ultrasonic image coordinate system and the coordinate system fixed on the ultrasonic probe locator is obtained by iterative approximation solution or closed-form equation system.
  • Ultrasonic probe calibration method using robot operation and plane calibration device.
  • the method uses a robot to operate the ultrasonic probe to scan the plane calibration device, and then establishes a combination of equations for the calibration between the ultrasonic image and the actual physical position of the corresponding plane calibration device, and then uses the equation to solve the relationship between the ultrasonic image coordinate system and the robot manipulator coordinate system. Coordinate transformation matrix.
  • the existing robot calibration methods usually require the use of third-party trackers or mechanism models, and these devices have certain errors in their positioning and size, so it is difficult to ensure the puncture accuracy of the robot.
  • the existing methods are mainly used for calibration of freed-hand ultrasound-guided puncture and single-arm robot calibration of ultrasound-guided puncture, but have not been well applied in the calibration of dual-arm robots.
  • the present application provides a method, system, terminal and storage medium for calibrating a dual-arm robot, aiming to solve one of the above-mentioned technical problems in the prior art at least to a certain extent.
  • a dual-arm robot calibration method comprising:
  • the iterative closest point algorithm is used to solve the position registration model, and a coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system is obtained, and the ultrasound probe is calibrated according to the coordinate transformation matrix.
  • the needle tip position calibration includes:
  • the technical solution adopted in the embodiment of the present application further includes: the position calculation formula of the preset reference point in the robot base coordinate system is:
  • ER P Mtip is the coordinate from the top to the end flange
  • R T ER is the pose of the end flange in the robot base coordinate system
  • the coordinates of the needle tip of the puncture needle in the robot end flange coordinate system are:
  • inv() represents the inversion operation of the matrix.
  • the technical solution adopted in the embodiment of the present application further includes: the acquiring the needle tip ultrasound image of the puncture needle tube through the ultrasound probe includes:
  • the poses of the flanges at the ends of the left and right robotic arms of the dual-arm robot are recorded, and the position of the needle tip in the image coordinate system in the needle tip ultrasound image is marked.
  • the technical solution adopted in the embodiment of the present application further includes: the establishment of a position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip under the robot base coordinate system according to the position of the needle tip and the ultrasound image of the needle tip includes: :
  • the base coordinates of the needle tip of the puncture needle tube in the robot are established
  • the registration model whose position under the system is equal to the position of the needle tip in the robot base coordinate system in the ultrasound image of the needle tip:
  • R T EL is the pose of the end flange of the robotic arm on which the ultrasonic probe end effector is installed on the dual-arm robot
  • R P Ntip is the coordinate transformation matrix from the needle tip coordinate system to the robot base coordinate system
  • R P Ntip R T ER ⁇ ER P Ntip
  • IP Ntip is the position of the needle tip in the image coordinate system in the needle tip ultrasound image
  • EL T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
  • the technical solution adopted in the embodiment of the present application further includes: establishing a needle tip position calibration model, and after calibrating the needle tip position of the puncture needle tube according to the model, the method further includes:
  • a needle tip posture calibration model is established, and the model calibrates the needle tip posture of the puncture needle tube based on the needle tip position calibration result.
  • the calibration of the needle tip posture of the puncture needle tube based on the needle tip position calibration result includes:
  • the attitude matrix of the needle tip of the puncture needle tube is obtained.
  • the technical solution adopted in the embodiment of the present application further includes: the establishing a position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip under the robot base coordinate system further includes:
  • the position of the needle tip in the ultrasound image of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip are established.
  • EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed
  • Ptip T I is the coordinate transformation matrix from the ultrasound image coordinate system to the coordinate system of the robot end flange.
  • a dual-arm robot calibration system including a needle tip calibration module and an ultrasonic probe calibration module;
  • the needle tip calibration module is used to establish a needle tip position calibration model, and calibrate the needle tip position of the puncture needle tube according to the model;
  • the ultrasonic probe calibration module includes:
  • Ultrasonic image acquisition sub-module used for acquiring the needle tip ultrasonic image of the puncture needle tube through an ultrasonic probe; wherein, the ultrasonic probe and the puncture needle tube are respectively fixed on the end effectors of the left and right mechanical arms of the dual-arm robot;
  • Needle tip position registration sub-module used to establish a position registration model of the calibrated puncture needle tube needle tip and the needle tip in the needle tip ultrasound image under the robot base coordinate system according to the needle tip position calibration result and the needle tip ultrasound image ;
  • Coordinate calculation sub-module used to solve the position registration model by using the iterative closest point algorithm, obtain the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix
  • a terminal includes a processor and a memory coupled to the processor, wherein,
  • the memory stores program instructions for implementing the dual-arm robot calibration method
  • the processor is configured to execute the program instructions stored in the memory to control the calibration of the dual-arm robot.
  • a storage medium storing program instructions executable by a processor, where the program instructions are used to execute the dual-arm robot calibration method.
  • the beneficial effect of the embodiment of the present application is that the dual-arm robot calibration method, system, terminal and storage medium of the embodiment of the present application can demarcate the position of the needle tip of the puncture needle tube by establishing a point-to-point needle tip position calibration model, Then, based on the calibration result and the needle tip ultrasound image scanned by the ultrasound probe, a registration model between the calibrated needle tip position and the needle tip position in the needle tip ultrasound image is established. Finally, the iterative closest point registration algorithm is used to calculate the ultrasound image coordinate system to the robot end method.
  • the coordinate transformation matrix of the blue coordinate system realizes the high-precision calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot.
  • the present application does not require the use of third-party locators and models.
  • FIG. 1 is a flowchart of a dual-arm robot calibration method according to a first embodiment of the present application
  • FIG. 2 is a flowchart of a method for calibrating a needle tip position of a needle tube according to the first embodiment of the application;
  • FIG. 3 is a flowchart of a dual-arm robot calibration method according to a second embodiment of the present application.
  • FIG. 4 is a flowchart of a method for calibrating a needle tip attitude of a needle tube according to a second embodiment of the present application
  • Figure 5 shows the application of the embodiment of the present application to a dual-arm robot puncture system based on ultrasonic guidance, wherein (a) is to control the tip to reach a specified reference point, (b) is to calibrate the needle tip of the puncture needle in the robot end flange coordinate system (c) is the position coordinate of the calibrated ultrasonic probe tip in the robot end flange coordinate system, (d) is to control the ultrasonic probe to scan the puncture needle tip;
  • FIG. 6 is a schematic structural diagram of a dual-arm robot calibration system according to an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a method for calibrating a dual-arm robot according to the first embodiment of the present application.
  • the dual-arm robot calibration method according to the first embodiment of the present application includes two parts: puncturing needle tip position calibration and ultrasonic probe calibration, and specifically includes the following steps:
  • Step 100 establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle;
  • the embodiment of the present application utilizes the characteristics of the dual-arm robot itself that the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base coordinate system to establish a needle tip position calibration model, and calibrate the needle tip position.
  • FIG. 2 is a flowchart of a method for calibrating a needle tip position of a needle tube according to an embodiment of the invention, which specifically includes the following steps:
  • Step 101 Design and process a high-precision top, and install it on the end flange of either arm of the dual-arm robot;
  • Step 102 control the top to reach the preset reference point through the dual-arm robot, and calculate the position of the reference point in the robot base coordinate system; the calculation formula is:
  • ER P Mtip is the coordinates from the top to the end flange, which can be obtained according to the preset top parameters;
  • R T ER is the pose of the end flange in the robot base coordinate system, which can be found in the robot operating system. read directly.
  • Step 103 Remove the tip, and install the end effector of the puncture needle tube on the end flange of any mechanical arm of the dual-arm robot;
  • Step 104 control the needle tip of the puncture needle to reach the preset reference point through the dual-arm robot, and record the pose matrix of the end flange in the robot coordinate system;
  • Step 105 establish an equation that the position of the needle tip of the puncture needle is equal to the position of the reference point;
  • Step 106 Solve the equation expression, and calibrate the coordinates ER P Ntip of the needle tip of the puncture needle in the robot end flange coordinate system:
  • inv( ) represents the inversion operation of the matrix.
  • Step 110 Fix the ultrasonic probe and the puncture needle tube on the end effectors of the left and right mechanical arms of the dual-arm robot respectively, and control the ultrasonic probe to scan the needle tip of the puncture needle tube through the dual-arm robot to obtain an ultrasonic image of the needle tip, and record the dual-arm robot respectively.
  • a tracker may also be fixed on the ultrasound probe or puncture needle tube instead of the end flange position.
  • Step 120 mark the position IP Ntip of the needle tip in the image coordinate system in the ultrasound image of the needle tip;
  • Step 130 Based on the calibration result of the needle tip position of the puncture needle tube, the needle tip position in the ultrasound image of the needle tip, and the positions of the flanges of the left and right arm end flanges of the dual-arm robot, establish the position of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip in the robot base coordinate system registration model;
  • the needle tip position in the needle tip ultrasound image and the positions of the flanges of the left and right arm ends of the dual-arm robot are combined to establish the needle tip of the puncture needle tube and the needle tip ultrasound in the robot base coordinate system.
  • the position registration model of the needle tip in the robot base coordinate system in the image, its equation expression is:
  • Step 140 using the iterative closest point algorithm to solve the position registration model, obtain the coordinate transformation matrix ELTI from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix;
  • the calibration of the ultrasound probe is completed through steps 110 to 140 .
  • the dual-arm robot calibration method utilizes the characteristics of the dual-arm robot itself that the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base coordinate system, and firstly establishes a point-to-point needle tip position calibration Model, calibrate the position of the needle tip of the puncture needle, and then establish the position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip in the robot base coordinate system based on the calibration result and the ultrasound image of the needle tip scanned by the ultrasonic probe.
  • the point registration algorithm calculates the coordinate transformation matrix from the ultrasonic image coordinate system to the robot end flange coordinate system, and realizes the high-precision calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot.
  • FIG. 3 is a flowchart of a method for calibrating a dual-arm robot according to the second embodiment of the present application.
  • the dual-arm robot calibration method according to the second embodiment of the present application includes two parts: puncturing needle tip position and attitude calibration and ultrasonic probe calibration, and specifically includes the following steps:
  • Step 200 establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle tube;
  • the method for calibrating the position of the needle tip is the same as that in the first embodiment, which will not be repeated here.
  • Step 210 establishing a needle tip attitude calibration model, and calibrating the needle tip attitude of the puncture needle tube;
  • FIG. 4 is a flowchart of the method for calibrating the attitude of the needle tip of the needle tube according to the second embodiment of the present application, which specifically includes the following steps:
  • Step 211 control the needle tip of the puncture needle to reach the first arbitrary point, define this point as the origin (P o ) of the needle tip coordinate system, and calculate the position R of the point (P o ) in the robot base coordinate system according to the calibration result of the needle tip position P oTip , at the same time record the attitude matrix of the flange at the end of the robotic arm of the dual-arm robot in the robot coordinate system
  • Step 212 control the needle tip of the puncture needle to reach the second arbitrary point, define this point as the point (P y ) on the y-axis of the needle tip coordinate system, and calculate the point (P y ) under the robot base coordinate system according to the calibration result of the needle tip position The position of R P yTip ;
  • Step 213 Establish a vector equation system in the y-axis direction of the needle tip coordinate system, and solve the y-axis direction vector according to the matrix operation operation.
  • the vector equation system is:
  • ny is the y-axis direction vector
  • ⁇ y is the distance between R P oTip and R P yTip ;
  • Step 214 control the needle tip of the puncture needle to reach the third arbitrary point, define the point as a point on the z-axis of the needle-tip coordinate system, and obtain the z-axis direction vector n z ;
  • the calculation method of the z-axis direction vector is the same as that of the y-axis direction vector, which will not be repeated here.
  • Step 215 obtain the x-axis direction vector n x by cross-multiplying the y-axis direction vector and the z-axis direction vector, and then obtain a new z-axis direction vector through the cross-multiplication of the x-axis direction vector and the y-axis direction vector;
  • Step 216 Combine the x-axis direction vector, the y-axis direction vector and the new z-axis direction vector in turn to obtain the attitude matrix R R Tip of the needle tip of the puncture needle:
  • Step 220 Fix the ultrasonic probe and the puncture needle tube on the end effectors of the left and right mechanical arms of the dual-arm robot respectively, and control the ultrasonic probe to scan the needle tip of the puncture needle tube through the dual-arm robot to obtain an ultrasonic image of the needle tip, and record the dual-arm robot respectively.
  • Step 230 Mark the position IP Ntip of the needle tip in the image coordinate system in the needle tip ultrasound image
  • Step 240 Based on the calibration results of the needle tip position and posture of the puncture needle tube, the needle tip position in the needle tip ultrasound image, and the poses of the flanges at the left and right arm ends of the dual-arm robot, establish that the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip are in the robot base coordinate system
  • the needle tip of the puncture needle tube is established in the robot base coordinate system by combining the needle tip position in the ultrasound image of the needle tip and the positions of the flanges of the left and right arm ends of the dual-arm robot.
  • the registration model whose position is equal to the position of the needle tip in the ultrasound image of the needle tip in the robot base coordinate system, its equation expression is:
  • EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed .
  • T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
  • Step 250 Solve the registration model by using the iterative closest point algorithm, obtain a coordinate transformation matrix Ptip T I from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix;
  • the calibration of the ultrasound probe is completed through steps 220 to 250 .
  • the dual-arm robot calibration method of the second embodiment of the present application further establishes a needle tip attitude calibration model on the basis of the needle tip position calibration, and calibrates the needle tip attitude of the puncture needle tube, and based on the needle tip position and attitude calibration results of the puncture needle tube, Combined with the needle tip position in the needle tip ultrasound image and the pose of the left and right arm end flanges of the dual-arm robot, a registration model is established in which the position of the needle tip of the puncture needle in the robot base coordinate system is equal to the position of the needle tip in the needle tip ultrasound image under the robot base coordinate system. , so as to realize the calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot with high precision.
  • the embodiment of the present application does not need to use a third-party locator and model, and realizes the calibration of the needle tip of the puncture needle and the ultrasonic probe by integrating the mechanism of the dual-arm robot and the ultrasonic image, thereby improving the calibration accuracy of the dual-arm robot.
  • an experimental test is carried out by taking the application of the present application in a dual-arm robotic puncture system based on ultrasound guidance as an example. Specifically as shown in Figure 5, where (a) is to control the tip to reach the specified reference point, (b) is to calibrate the position coordinates of the needle tip of the puncture needle in the robot end flange coordinate system, (c) is to calibrate the ultrasonic probe at the end of the robot. The position coordinate calibration in the coordinate system of the flange at the end of the robot, (d) is to control the ultrasonic probe to scan the needle tip of the puncture needle.
  • the experimental results show that the calibration accuracy of the embodiment of the present application can reach 0.6467 ⁇ 0.3099 mm, which realizes the high-precision calibration of the needle tip of the puncture needle tube and the ultrasonic probe.
  • FIG. 6 is a schematic structural diagram of a dual-arm robot calibration system according to an embodiment of the present application.
  • the dual-arm robot calibration system of the embodiment of the present application includes a needle tip calibration module and an ultrasonic probe calibration module, wherein the needle tip calibration module includes:
  • Needle tip position calibration sub-module used to establish a needle tip position calibration model, and calibrate the needle tip position of the puncture needle tube; wherein, the embodiment of the present application utilizes the dual-arm robot itself and the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base. The characteristics of the coordinate system are used to establish the needle tip position calibration model, and the needle tip position is calibrated. Specific calibration methods include:
  • ER P Mtip is the coordinates from the top to the end flange, which can be obtained according to the preset top parameters;
  • R T ER is the pose of the end flange in the robot base coordinate system, which can be found in the robot operating system. read directly.
  • inv( ) represents the inversion operation of the matrix.
  • Needle tip attitude calibration sub-module used to establish a needle tip attitude calibration model to calibrate the needle tip attitude of the puncture needle; wherein, the needle tip attitude calibration method includes:
  • the vector equation system is:
  • ny is the y-axis direction vector
  • ⁇ y is the distance between R P oTip and R P yTip ;
  • the calculation method of the z-axis direction vector is the same as that of the y-axis direction vector, which will not be repeated here.
  • the ultrasound probe calibration module includes:
  • Ultrasound image acquisition sub-module used to control the ultrasound probe to scan the needle tip of the puncture needle to obtain the needle tip ultrasound image, mark the position of the needle tip in the image coordinate system IP Ntip in the needle tip ultrasound image, and record the left and right arm end methods of the dual-arm robot respectively.
  • the poses R T EL and R T ER of Lan are respectively fixed on the end effectors of the left and right robotic arms of the dual-arm robot. It will be appreciated that a tracker may also be fixed on the ultrasound probe or puncture needle tube instead of the end flange position.
  • Needle tip position registration sub-module It is used to establish the base coordinates of the needle tip in the puncture needle tube and the needle tip in the ultrasound image of the needle tip on the robot based on the needle tip position calibration result, the needle tip position in the needle tip ultrasound image, and the poses of the left and right arm end flanges of the dual-arm robot The position registration model under the system;
  • the needle tip of the puncture needle tube and the needle tip in the needle tip ultrasound image are established in the robot base coordinate system
  • the registration model with equal lower positions, its equation expression is:
  • the needle tip position registration sub-module is also used to establish the needle tip of the puncture needle tube based on the position and attitude calibration results of the needle tip of the puncture needle tube, the needle tip position in the needle tip ultrasound image, and the positions of the flanges of the left and right arm ends of the dual-arm robot.
  • EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed .
  • T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
  • Coordinate calculation sub-module based on formula (3) or (7), the iterative closest point algorithm is used to solve the position registration model, and the coordinate transformation matrix EL T I from the ultrasonic image coordinate system to the robot end flange coordinate system is obtained. or Ptip T I , the ultrasound probe is calibrated according to the coordinate transformation matrix.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • the terminal 50 includes a processor 51 and a memory 52 coupled to the processor 51 .
  • the memory 52 stores program instructions for implementing the above-mentioned dual-arm robot calibration method.
  • the processor 51 is configured to execute program instructions stored in the memory 52 to control the calibration of the dual-arm robot.
  • the processor 51 may also be referred to as a CPU (Central Processing Unit, central processing unit).
  • the processor 51 may be an integrated circuit chip with signal processing capability.
  • the processor 51 may also be a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component .
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • FIG. 8 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
  • the storage medium of this embodiment of the present application stores a program file 61 capable of implementing all the above methods, wherein the program file 61 may be stored in the above-mentioned storage medium in the form of a software product, and includes several instructions to make a computer device (which may It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the methods of the various embodiments of the present application.
  • a computer device which may It is a personal computer, a server, or a network device, etc.
  • processor processor
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes , or terminal devices such as computers, servers, mobile phones, and tablets.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Robotics (AREA)
  • Pathology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

Abstract

A dual-arm robot calibration method, a system, a terminal (50) and a storage medium. The method comprises: establishing a needle tip position calibration model, and calibrating the needle tip position of a puncture needle tube according to the model; acquiring a needle tip ultrasonic image of the puncture needle tube by means of an ultrasonic probe, the ultrasonic probe and the puncture needle tube being respectively fixed on end effectors of left and right mechanical arms of a dual-arm robot; establishing, according to the needle tip position and the needle tip ultrasonic image, a position registration model of the needle tip of the puncture needle tube and the needle tip in needle tip the ultrasonic image in a robot-based coordinate system; and solving the position registration model by using an iterative closest point algorithm, obtaining a coordinate transformation matrix from an ultrasonic image coordinate system to a robot end flange coordinate system, and calibrating the ultrasonic probe according to the coordinate transformation matrix. There is no need to use a third-party locator and model, improving the calibration accuracy of the dual-arm robot.

Description

一种双臂机器人标定方法、系统、终端以及存储介质A dual-arm robot calibration method, system, terminal and storage medium 技术领域technical field
本申请属于机器人标定技术领域,特别涉及一种双臂机器人标定方法、系统、终端以及存储介质。The present application belongs to the technical field of robot calibration, and particularly relates to a calibration method, system, terminal and storage medium for a dual-arm robot.
背景技术Background technique
近年来,随着机器人技术和图像处理技术的高速发展,使得采用机器人辅助或替代传统的人工医疗手术取得了很好的科研成果和应用前景。特别是双臂机器人系统,不仅能够分开控制超声探头与穿刺针管,而且可以实现在狭小手术空间内灵活地控制入针角度和姿态。In recent years, with the rapid development of robot technology and image processing technology, the use of robots to assist or replace traditional manual medical surgery has achieved good scientific research results and application prospects. In particular, the dual-arm robotic system can not only control the ultrasonic probe and the puncture needle tube separately, but also flexibly control the needle insertion angle and posture in a small surgical space.
现有技术中,常用的机器人标定方法包括:In the prior art, commonly used robot calibration methods include:
一、采用定位器(Locator)与模型(Phantom)的超声探头标定方法。该方法通过将定位器(如光磁定位器)对应的标记物固定在超声探头和模型上,然后根据事先设计好的模型几何参数,建立超声图像和对应模型实际物理位置之间的方程表达式,最后通过迭代近似求解或闭式方程组求解出超声图像坐标系到固定在超声探头定位器坐标系之间的坐标变换矩阵。1. The ultrasonic probe calibration method using Locator and Phantom. In this method, the markers corresponding to the locator (such as the opto-magnetic locator) are fixed on the ultrasonic probe and the model, and then the equation expression between the ultrasonic image and the actual physical position of the corresponding model is established according to the geometric parameters of the model designed in advance. , and finally the coordinate transformation matrix between the ultrasonic image coordinate system and the coordinate system fixed on the ultrasonic probe locator is obtained by iterative approximation solution or closed-form equation system.
二、使用机器人操作和平面校准装置的超声探头标定方法。该方法通过使用机器人操作超声探头扫描平面校准装置,进而建立超声图像和对应平面校准装置实际物理位置之间标定的方程式组合,然后采用方程式求解出超声图像坐标系到机器人操作器坐标系之间的坐标变换矩阵。2. Ultrasonic probe calibration method using robot operation and plane calibration device. The method uses a robot to operate the ultrasonic probe to scan the plane calibration device, and then establishes a combination of equations for the calibration between the ultrasonic image and the actual physical position of the corresponding plane calibration device, and then uses the equation to solve the relationship between the ultrasonic image coordinate system and the robot manipulator coordinate system. Coordinate transformation matrix.
综上所述,现有的机器人标定方法通常需要采用第三方跟踪器或机构模型,而这些装置由于本身的定位和尺寸具有一定误差,难以保证机器人的穿刺精度。与此同时,现有方法主要用于徒手(freed-hand)超声引导穿刺的标定和超声引导穿刺的单臂机器人标定,而在双臂机器人标定上没有得到很好的应用。To sum up, the existing robot calibration methods usually require the use of third-party trackers or mechanism models, and these devices have certain errors in their positioning and size, so it is difficult to ensure the puncture accuracy of the robot. At the same time, the existing methods are mainly used for calibration of freed-hand ultrasound-guided puncture and single-arm robot calibration of ultrasound-guided puncture, but have not been well applied in the calibration of dual-arm robots.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种双臂机器人标定方法、系统、终端以及存储介质,旨在至少在一定程度上解决现有技术中的上述技术问题之一。The present application provides a method, system, terminal and storage medium for calibrating a dual-arm robot, aiming to solve one of the above-mentioned technical problems in the prior art at least to a certain extent.
为了解决上述问题,本申请提供了如下技术方案:In order to solve the above problems, the application provides the following technical solutions:
一种双臂机器人标定方法,包括:A dual-arm robot calibration method, comprising:
建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置;establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle tube according to the model;
通过超声探头获取所述穿刺针管的针尖超声图像;其中,所述超声探头和穿刺针管分别固定于双臂机器人左、右机械臂的末端执行器上;Obtain the needle tip ultrasound image of the puncture needle tube through an ultrasonic probe; wherein, the ultrasonic probe and the puncture needle tube are respectively fixed on the end effectors of the left and right mechanical arms of the dual-arm robot;
根据所述针尖位置标定结果以及所述针尖超声图像建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型;According to the needle tip position calibration result and the needle tip ultrasound image, a position registration model of the needle tip of the puncture needle tube and the needle tip in the needle tip ultrasound image under the robot base coordinate system is established;
采用迭代最近点算法求解所述位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,根据所述坐标变换矩阵对所述超声探头进行标定。The iterative closest point algorithm is used to solve the position registration model, and a coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system is obtained, and the ultrasound probe is calibrated according to the coordinate transformation matrix.
本申请实施例采取的技术方案还包括:所述针尖位置标定包括:The technical solution adopted in the embodiment of the present application further includes: the needle tip position calibration includes:
在所述双臂机器人任一机械臂的末端法兰上安装顶尖;Install a top on the end flange of any mechanical arm of the dual-arm robot;
控制所述顶尖到达预设参考点,并计算所述参考点在机器人基坐标系下的位置;Controlling the top to reach a preset reference point, and calculating the position of the reference point in the robot base coordinate system;
卸下所述顶尖,在所述双臂机器人任一机械臂的末端法兰上安装穿刺针管末端执行器;Remove the top, and install a puncture needle end effector on the end flange of any mechanical arm of the dual-arm robot;
控制所述穿刺针管的针尖到达预设参考点,并记录所述末端法兰在机器人坐标系下的位姿矩阵;Controlling the needle tip of the puncture needle to reach a preset reference point, and recording the pose matrix of the end flange in the robot coordinate system;
建立所述穿刺针管针尖与所述预设参考点位置相等的方程表达式;establishing an equation expression that the position of the needle tip of the puncture needle is equal to the position of the preset reference point;
求解所述方程表达式,标定出所述穿刺针管的针尖在机器人末端法兰坐标系下的坐标。The equation expression is solved, and the coordinates of the needle tip of the puncture needle tube in the robot end flange coordinate system are calibrated.
本申请实施例采取的技术方案还包括:所述预设参考点在机器人基坐标系下的位置计算公式为:The technical solution adopted in the embodiment of the present application further includes: the position calculation formula of the preset reference point in the robot base coordinate system is:
RP RtipRT ER· ERP Mtip R P Rtip = R T ER · ER P Mtip
上式中, ERP Mtip为所述顶尖到末端法兰的坐标, RT ER为所述末端法兰在机器人基坐标系下的位姿; In the above formula, ER P Mtip is the coordinate from the top to the end flange, and R T ER is the pose of the end flange in the robot base coordinate system;
所述穿刺针管的针尖在机器人末端法兰坐标系下的坐标为:The coordinates of the needle tip of the puncture needle in the robot end flange coordinate system are:
ERP Ntip=inv( RT ERRP Rtip ER P Ntip = inv( R T ER ) · R P Rtip
上式中,inv()表示矩阵的求逆运算。In the above formula, inv() represents the inversion operation of the matrix.
本申请实施例采取的技术方案还包括:所述通过超声探头获取所述穿刺针管的针尖超声图像包括:The technical solution adopted in the embodiment of the present application further includes: the acquiring the needle tip ultrasound image of the puncture needle tube through the ultrasound probe includes:
记录所述双臂机器人左、右机械臂末端法兰的位姿,并标注所述针尖超声图像中所述针尖在图像坐标系下的位置。The poses of the flanges at the ends of the left and right robotic arms of the dual-arm robot are recorded, and the position of the needle tip in the image coordinate system in the needle tip ultrasound image is marked.
本申请实施例采取的技术方案还包括:所述根据所述针尖位置以及所述针尖超声图像建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型包括:The technical solution adopted in the embodiment of the present application further includes: the establishment of a position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip under the robot base coordinate system according to the position of the needle tip and the ultrasound image of the needle tip includes: :
基于所述针尖的位置标定结果、所述针尖超声图像中针尖在图像坐标系下的位置以及所述双臂机器人左、右机械臂末端法兰的位姿建立所述穿刺针管针尖在机器人基坐标系下的位置与所述针尖超声图像中针尖在机器人基坐标系下的位置相等的配准模型:Based on the position calibration result of the needle tip, the position of the needle tip in the image coordinate system in the ultrasound image of the needle tip, and the poses of the end flanges of the left and right robotic arms of the dual-arm robot, the base coordinates of the needle tip of the puncture needle tube in the robot are established The registration model whose position under the system is equal to the position of the needle tip in the robot base coordinate system in the ultrasound image of the needle tip:
inv( RT ELRP NtipELT I· IP Ntip inv( R T EL ) R P Ntip = EL T I · I P Ntip
上式中, RT EL为所述双臂机器人安装超声探头末端执行器的机械臂末端法兰的位姿, RP Ntip为针管针尖坐标系到机器人基坐标系的坐标变换矩阵, RP NtipRT ER· ERP NtipIP Ntip为所述针尖超声图像中针尖在图像坐标系下的位置, ELT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, R T EL is the pose of the end flange of the robotic arm on which the ultrasonic probe end effector is installed on the dual-arm robot, R P Ntip is the coordinate transformation matrix from the needle tip coordinate system to the robot base coordinate system, and R P Ntip = R T ER · ER P Ntip , IP Ntip is the position of the needle tip in the image coordinate system in the needle tip ultrasound image, and EL T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
本申请实施例采取的技术方案还包括:所述建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置后还包括:The technical solution adopted in the embodiment of the present application further includes: establishing a needle tip position calibration model, and after calibrating the needle tip position of the puncture needle tube according to the model, the method further includes:
建立针尖姿态标定模型,所述模型基于所述针尖位置标定结果标定出穿刺针管的针尖姿态。A needle tip posture calibration model is established, and the model calibrates the needle tip posture of the puncture needle tube based on the needle tip position calibration result.
本申请实施例采取的技术方案还包括:所述基于所述针尖位置标定结果标定出穿刺针管的针尖姿态包括:The technical solution adopted in the embodiment of the present application further includes: the calibration of the needle tip posture of the puncture needle tube based on the needle tip position calibration result includes:
控制所述穿刺针管针尖到达第一个任意点,定义该点为针尖坐标系的原点,并根据所述针尖位置标定结果计算出该点在机器人基坐标系下的位置,同时记录此时双臂机器人的机械臂末端法兰在机器人坐标系下的姿态矩阵;Control the needle tip of the puncture needle to reach the first arbitrary point, define this point as the origin of the needle tip coordinate system, and calculate the position of the point in the robot base coordinate system according to the needle tip position calibration result, and record the two arms at this time. The attitude matrix of the robot arm end flange in the robot coordinate system;
控制所述穿刺针管针尖到达第二个任意点,定义该点为针尖坐标系y轴上的点,并根据所述针尖位置标定结果计算出该点在机器人基坐标系下的位置;Controlling the needle tip of the puncture needle to reach a second arbitrary point, defining the point as a point on the y-axis of the needle tip coordinate system, and calculating the position of the point in the robot base coordinate system according to the needle tip position calibration result;
建立针尖坐标系y轴方向的向量方程组,根据矩阵运算操作求解出该y轴方向向量;Establish a vector equation system in the y-axis direction of the needle tip coordinate system, and solve the y-axis direction vector according to the matrix operation operation;
控制所述穿刺针管针尖到达第三个任意点,定义该点为针尖坐标系z轴上的点,得到z轴方向向量;Controlling the needle tip of the puncture needle to reach the third arbitrary point, defining this point as a point on the z-axis of the needle-tip coordinate system, and obtaining the z-axis direction vector;
采用所述y轴方向向量与所述z轴方向向量叉乘得到x轴方向向量,再通过所述x轴方向向量与所述y轴方向向量叉乘得到新的z轴方向向量;Adopt the cross-multiplication of the y-axis direction vector and the z-axis direction vector to obtain the x-axis direction vector, and then obtain a new z-axis direction vector through the cross-multiplication of the x-axis direction vector and the y-axis direction vector;
依次组合所述x轴方向向量、y轴方向向量及新的z轴方向向量,得到所述穿刺针管针尖的姿态矩阵。Combining the x-axis direction vector, the y-axis direction vector and the new z-axis direction vector in sequence, the attitude matrix of the needle tip of the puncture needle tube is obtained.
本申请实施例采取的技术方案还包括:所述建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型还包括:The technical solution adopted in the embodiment of the present application further includes: the establishing a position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip under the robot base coordinate system further includes:
基于所述穿刺针管针尖位置标定结果、姿态标定结果、所述针尖超声图像中的针尖位置以及所述双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型:Based on the calibration result of the needle tip position of the puncture needle, the attitude calibration result, the position of the needle tip in the ultrasound image of the needle tip, and the poses of the flanges of the left and right arm ends of the dual-arm robot, the position of the needle tip in the ultrasound image of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip are established. The position registration model in the robot base coordinate system:
inv( RT EL· ELT PtipRP NtipPtipT I· IP Ntip inv( R T EL · EL T Ptip ) · R P Ntip = Ptip T I · I P Ntip
上述公式中, ELT Ptip为超声探头上任意一个固定针尖到安装超声探头机械臂末端法兰的坐标变换矩阵, PtipT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed, and Ptip T I is the coordinate transformation matrix from the ultrasound image coordinate system to the coordinate system of the robot end flange.
本申请实施例采取的另一技术方案为:一种双臂机器人标定系统,包括针尖标定模块和超声探头标定模块;Another technical solution adopted in the embodiment of the present application is: a dual-arm robot calibration system, including a needle tip calibration module and an ultrasonic probe calibration module;
所述针尖标定模块用于建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置;The needle tip calibration module is used to establish a needle tip position calibration model, and calibrate the needle tip position of the puncture needle tube according to the model;
所述超声探头标定模块包括:The ultrasonic probe calibration module includes:
超声图像获取子模块:用于通过超声探头获取所述穿刺针管的针尖超声图像;其中,所述超声探头和穿刺针管分别固定于双臂机器人左、右机械臂的末端执行器上;Ultrasonic image acquisition sub-module: used for acquiring the needle tip ultrasonic image of the puncture needle tube through an ultrasonic probe; wherein, the ultrasonic probe and the puncture needle tube are respectively fixed on the end effectors of the left and right mechanical arms of the dual-arm robot;
针尖位置配准子模块:用于根据所述针尖位置标定结果以及所述针尖超声图像建立所述标定的穿刺针管针尖与所述针尖超声图像中的针尖在机器人基坐标系下的位置配准模型;Needle tip position registration sub-module: used to establish a position registration model of the calibrated puncture needle tube needle tip and the needle tip in the needle tip ultrasound image under the robot base coordinate system according to the needle tip position calibration result and the needle tip ultrasound image ;
坐标计算子模块:用于采用迭代最近点算法求解所述位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,根据所述坐标变换矩阵对所述超声探头进行标定Coordinate calculation sub-module: used to solve the position registration model by using the iterative closest point algorithm, obtain the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix
本申请实施例采取的又一技术方案为:一种终端,所述终端包括处理器、与所述处理器耦接的存储器,其中,Another technical solution adopted by the embodiments of the present application is: a terminal, the terminal includes a processor and a memory coupled to the processor, wherein,
所述存储器存储有用于实现所述双臂机器人标定方法的程序指令;The memory stores program instructions for implementing the dual-arm robot calibration method;
所述处理器用于执行所述存储器存储的所述程序指令以控制双臂机器人标定。The processor is configured to execute the program instructions stored in the memory to control the calibration of the dual-arm robot.
本申请实施例采取的又一技术方案为:一种存储介质,存储有处理器可运行的程序指令,所述程序指令用于执行所述双臂机器人标定方法。Another technical solution adopted by the embodiments of the present application is: a storage medium storing program instructions executable by a processor, where the program instructions are used to execute the dual-arm robot calibration method.
相对于现有技术,本申请实施例产生的有益效果在于:本申请实施例的双臂机器人标定方法、系统、终端及存储介质通过建立点对点的针尖位置标定模型,标定出穿刺针管的针尖位置,然后基于该标定结果以及超声探头扫描到的针尖超声图像建立标定的针尖位置与针尖超声图像中针尖位置的配准模型,最后采用迭代最近点的配准算法计算出超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,实现双臂机器人的穿刺针管针尖和超声探头的高精度标定。本申请不需要采用第三方定位器和模型,通过融合双臂机器人的机构和超声图像,同时实现了穿刺针管针尖和超声探头的标定,提高了双臂机器人的标定精度。Compared with the prior art, the beneficial effect of the embodiment of the present application is that the dual-arm robot calibration method, system, terminal and storage medium of the embodiment of the present application can demarcate the position of the needle tip of the puncture needle tube by establishing a point-to-point needle tip position calibration model, Then, based on the calibration result and the needle tip ultrasound image scanned by the ultrasound probe, a registration model between the calibrated needle tip position and the needle tip position in the needle tip ultrasound image is established. Finally, the iterative closest point registration algorithm is used to calculate the ultrasound image coordinate system to the robot end method. The coordinate transformation matrix of the blue coordinate system realizes the high-precision calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot. The present application does not require the use of third-party locators and models. By fusing the mechanism and ultrasonic images of the dual-arm robot, the calibration of the needle tip of the puncture needle and the ultrasonic probe is realized, and the calibration accuracy of the dual-arm robot is improved.
附图说明Description of drawings
图1是本申请第一实施例的双臂机器人标定方法的流程图;1 is a flowchart of a dual-arm robot calibration method according to a first embodiment of the present application;
图2为本申请第一实施例的针管针尖位置标定方法流程框图;2 is a flowchart of a method for calibrating a needle tip position of a needle tube according to the first embodiment of the application;
图3是本申请第二实施例的双臂机器人标定方法的流程图;3 is a flowchart of a dual-arm robot calibration method according to a second embodiment of the present application;
图4为本申请第二实施例的针管针尖姿态标定方法流程框图;4 is a flowchart of a method for calibrating a needle tip attitude of a needle tube according to a second embodiment of the present application;
图5为将本申请实施例应用于基于超声引导的双臂机器人穿刺系统,其中(a)为控制顶尖到达指定的参考点,(b)为标定出穿刺针管针尖在机器人末端法兰坐标系下的位置坐标,(c)为标定出超声探头针尖在机器人末端法兰坐标系下的位置坐标,(d)为控制超声探头扫描穿刺针管针尖;Figure 5 shows the application of the embodiment of the present application to a dual-arm robot puncture system based on ultrasonic guidance, wherein (a) is to control the tip to reach a specified reference point, (b) is to calibrate the needle tip of the puncture needle in the robot end flange coordinate system (c) is the position coordinate of the calibrated ultrasonic probe tip in the robot end flange coordinate system, (d) is to control the ultrasonic probe to scan the puncture needle tip;
图6为本申请实施例的双臂机器人标定系统结构示意图;6 is a schematic structural diagram of a dual-arm robot calibration system according to an embodiment of the application;
图7为本申请实施例的终端结构示意图;FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图8为本申请实施例的存储介质的结构示意图。FIG. 8 is a schematic structural diagram of a storage medium according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
请参阅图1,是本申请第一实施例的双臂机器人标定方法的流程图。本申请第一实施例的双臂机器人标定方法包括穿刺针管针尖位置标定和超声探头标定两个部分,具体包括以下步骤:Please refer to FIG. 1 , which is a flowchart of a method for calibrating a dual-arm robot according to the first embodiment of the present application. The dual-arm robot calibration method according to the first embodiment of the present application includes two parts: puncturing needle tip position calibration and ultrasonic probe calibration, and specifically includes the following steps:
步骤100:建立针尖位置标定模型,标定出穿刺针管的针尖位置;Step 100: establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle;
本步骤中,本申请实施例利用双臂机器人本身双臂高精度定位性和双臂位置坐标均在同一个机器人基坐标系下的特点建立针尖位置标定模型,并对针尖位置进行标定。请一并参阅图2,为发明实施例的针管针尖位置标定方法流程框图,其具体包括以下步骤:In this step, the embodiment of the present application utilizes the characteristics of the dual-arm robot itself that the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base coordinate system to establish a needle tip position calibration model, and calibrate the needle tip position. Please also refer to FIG. 2 , which is a flowchart of a method for calibrating a needle tip position of a needle tube according to an embodiment of the invention, which specifically includes the following steps:
步骤101:设计和加工一个高精度的顶尖,将其安装到双臂机器人任一机械臂的末端法兰上;Step 101: Design and process a high-precision top, and install it on the end flange of either arm of the dual-arm robot;
步骤102:通过双臂机器人控制该顶尖到达预设参考点,并计算该参考点在机器人基坐标系下的位置;计算公式为:Step 102: control the top to reach the preset reference point through the dual-arm robot, and calculate the position of the reference point in the robot base coordinate system; the calculation formula is:
RP RtipRT ER· ERP Mtip    (1) R P Rtip = R T ER · ER P Mtip (1)
式(1)中, ERP Mtip为顶尖到末端法兰的坐标,可以根据预设的顶尖参数获得; RT ER为末端法兰在机器人基坐标系下的位姿,可在机器人操作系统中直接读取。 In formula (1), ER P Mtip is the coordinates from the top to the end flange, which can be obtained according to the preset top parameters; R T ER is the pose of the end flange in the robot base coordinate system, which can be found in the robot operating system. read directly.
步骤103:卸下顶尖,将穿刺针管末端执行器安装到双臂机器人任一机械臂的末端法兰上;Step 103: Remove the tip, and install the end effector of the puncture needle tube on the end flange of any mechanical arm of the dual-arm robot;
步骤104:通过双臂机器人控制穿刺针管针尖到达预设参考点,并记录该末端法兰在机器人坐标系下的位姿矩阵;Step 104: control the needle tip of the puncture needle to reach the preset reference point through the dual-arm robot, and record the pose matrix of the end flange in the robot coordinate system;
步骤105:建立穿刺针管针尖位置与参考点位置相等的方程;Step 105: establish an equation that the position of the needle tip of the puncture needle is equal to the position of the reference point;
步骤106:对该方程表达式进行求解,标定出穿刺针管针尖在机器人末端法兰坐标系下的坐标 ERP NtipStep 106: Solve the equation expression, and calibrate the coordinates ER P Ntip of the needle tip of the puncture needle in the robot end flange coordinate system:
ERP Ntip=inv( RT ERRP Rtip    (2) ER P Ntip = inv( R T ER ) · R P Rtip (2)
式(2)中,inv()表示矩阵的求逆运算。In formula (2), inv( ) represents the inversion operation of the matrix.
基于以上步骤,完成了对穿刺针管针尖的位置标定。Based on the above steps, the position calibration of the needle tip of the puncture needle is completed.
步骤110:将超声探头和穿刺针管分别固定在双臂机器人左、右机械臂的末端执行器上,并通过双臂机器人控制超声探头扫描穿刺针管针尖,得到针尖超声图像,同时分别记录双臂机器人左、右臂末端法兰的位姿 RT ELRT ERStep 110: Fix the ultrasonic probe and the puncture needle tube on the end effectors of the left and right mechanical arms of the dual-arm robot respectively, and control the ultrasonic probe to scan the needle tip of the puncture needle tube through the dual-arm robot to obtain an ultrasonic image of the needle tip, and record the dual-arm robot respectively. The poses R T EL , R T ER of the left and right arm end flanges;
可以理解,也可在超声探头或穿刺针管上固定一个跟踪器以替代末端法兰位置。It will be appreciated that a tracker may also be fixed on the ultrasound probe or puncture needle tube instead of the end flange position.
步骤120:标注针尖超声图像中针尖在图像坐标系下的位置 IP NtipStep 120: mark the position IP Ntip of the needle tip in the image coordinate system in the ultrasound image of the needle tip;
步骤130:基于穿刺针管针尖位置标定结果、针尖超声图像中的针尖位置以及双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型;Step 130: Based on the calibration result of the needle tip position of the puncture needle tube, the needle tip position in the ultrasound image of the needle tip, and the positions of the flanges of the left and right arm end flanges of the dual-arm robot, establish the position of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip in the robot base coordinate system registration model;
本申请第一实施例在针管针尖位置标定结果的基础上,结合针尖超声图像中针尖位置和双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖在机器人基坐标系下与针尖超声图像中针尖在机器人基坐标系下的位置配准模型,其方程表达式为:In the first embodiment of the present application, on the basis of the calibration results of the needle tip position of the needle tube, the needle tip position in the needle tip ultrasound image and the positions of the flanges of the left and right arm ends of the dual-arm robot are combined to establish the needle tip of the puncture needle tube and the needle tip ultrasound in the robot base coordinate system. The position registration model of the needle tip in the robot base coordinate system in the image, its equation expression is:
inv( RT ELRP NtipELT I· IP Ntip    (3) inv( R T EL ) R P Ntip = EL T I I P Ntip (3)
式(3)中, RP Ntip为针管针尖坐标系到机器人基坐标系的坐标变换矩阵,其计算公式为 RP NtipRT ER· ERP NtipELT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In formula (3), R P Ntip is the coordinate transformation matrix from the needle tip coordinate system of the needle tube to the robot base coordinate system, and its calculation formula is R P Ntip = R T ER · ER P Ntip , and EL T I is the ultrasound image coordinate system to the robot. The coordinate transformation matrix of the end flange coordinate system.
步骤140:采用迭代最近点算法求解位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵 ELT I,根据该坐标变换矩阵对超声探头进行标定; Step 140: using the iterative closest point algorithm to solve the position registration model, obtain the coordinate transformation matrix ELTI from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix;
通过步骤110至步骤140完成了对超声探头的标定。The calibration of the ultrasound probe is completed through steps 110 to 140 .
基于上述,本申请第一实施例的双臂机器人标定方法利用双臂机器人本身双臂高精度定位性和双臂位置坐标均在同一个机器人基坐标系下的特点,首先建立点对点的针尖位置标定模型,标定出穿刺针管的针尖位置,然后基于该标定结果以及超声探头扫描到的针尖超声图像建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型,最后采用迭代最近点的配准算法计算出超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,实现双臂机器人的穿刺针管针尖和超声探头的高精度标定。Based on the above, the dual-arm robot calibration method according to the first embodiment of the present application utilizes the characteristics of the dual-arm robot itself that the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base coordinate system, and firstly establishes a point-to-point needle tip position calibration Model, calibrate the position of the needle tip of the puncture needle, and then establish the position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip in the robot base coordinate system based on the calibration result and the ultrasound image of the needle tip scanned by the ultrasonic probe. The point registration algorithm calculates the coordinate transformation matrix from the ultrasonic image coordinate system to the robot end flange coordinate system, and realizes the high-precision calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot.
请参阅图3,是本申请第二实施例的双臂机器人标定方法的流程图。本申请第二实施例的双臂机器人标定方法包括穿刺针管针尖位置及姿态标定和超声探头标定两个部分,具体包括以下步骤:Please refer to FIG. 3 , which is a flowchart of a method for calibrating a dual-arm robot according to the second embodiment of the present application. The dual-arm robot calibration method according to the second embodiment of the present application includes two parts: puncturing needle tip position and attitude calibration and ultrasonic probe calibration, and specifically includes the following steps:
步骤200:建立针尖位置标定模型,标定出穿刺针管的针尖位置;Step 200: establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle tube;
本步骤中,针尖位置标定方法与第一实施例相同,此处将不再赘述。In this step, the method for calibrating the position of the needle tip is the same as that in the first embodiment, which will not be repeated here.
步骤210:建立针尖姿态标定模型,标定出穿刺针管的针尖姿态;Step 210 : establishing a needle tip attitude calibration model, and calibrating the needle tip attitude of the puncture needle tube;
本步骤中,请一并参阅图4,为是本申请第二实施例的针管针尖姿态标定方法流程框图,其具体包括以下步骤:In this step, please refer to FIG. 4 together, which is a flowchart of the method for calibrating the attitude of the needle tip of the needle tube according to the second embodiment of the present application, which specifically includes the following steps:
步骤211:控制穿刺针管针尖到达第一个任意点,定义该点为针尖坐标系的原点(P o),并根据针尖位置标定结果计算出点(P o)在机器人基坐标系下的位置 RP oTip,同时记录此时双臂机器人的机械臂末端法兰在机器人坐标系下的姿态矩阵
Figure PCTCN2020139303-appb-000001
Step 211 : control the needle tip of the puncture needle to reach the first arbitrary point, define this point as the origin (P o ) of the needle tip coordinate system, and calculate the position R of the point (P o ) in the robot base coordinate system according to the calibration result of the needle tip position P oTip , at the same time record the attitude matrix of the flange at the end of the robotic arm of the dual-arm robot in the robot coordinate system
Figure PCTCN2020139303-appb-000001
步骤212:控制穿刺针管针尖到达第二个任意点,定义该点为针尖坐标系y轴上的点(P y),并根据针尖位置标定结果计算出点(P y)在机器人基坐标系下的位置 RP yTipStep 212 : control the needle tip of the puncture needle to reach the second arbitrary point, define this point as the point (P y ) on the y-axis of the needle tip coordinate system, and calculate the point (P y ) under the robot base coordinate system according to the calibration result of the needle tip position The position of R P yTip ;
步骤213:建立针尖坐标系y轴方向的向量方程组,根据矩阵运算操作求解出该y轴方向向量,其向量方程组为:Step 213: Establish a vector equation system in the y-axis direction of the needle tip coordinate system, and solve the y-axis direction vector according to the matrix operation operation. The vector equation system is:
Figure PCTCN2020139303-appb-000002
Figure PCTCN2020139303-appb-000002
式(4)中,n y为y轴方向向量,Δy为 RP oTipRP yTip之间的距离; In formula (4), ny is the y-axis direction vector, and Δy is the distance between R P oTip and R P yTip ;
并求解出该y轴方向向量为:And solve the y-axis direction vector as:
Figure PCTCN2020139303-appb-000003
Figure PCTCN2020139303-appb-000003
步骤214:控制穿刺针管针尖到达第三个任意点,定义该点为针尖坐标系z轴上的点,得到z轴方向向量n zStep 214: control the needle tip of the puncture needle to reach the third arbitrary point, define the point as a point on the z-axis of the needle-tip coordinate system, and obtain the z-axis direction vector n z ;
其中,z轴方向向量计算方式是y轴方向向量计算方式相同,此处将不再赘述。The calculation method of the z-axis direction vector is the same as that of the y-axis direction vector, which will not be repeated here.
步骤215:采用y轴方向向量与z轴方向向量叉乘得到x轴方向向量n x,再通过x轴方向向量与y轴方向向量叉乘得到新的z轴方向向量; Step 215 : obtain the x-axis direction vector n x by cross-multiplying the y-axis direction vector and the z-axis direction vector, and then obtain a new z-axis direction vector through the cross-multiplication of the x-axis direction vector and the y-axis direction vector;
步骤216:依次组合x轴方向向量、y轴方向向量及新的z轴方向向量,得到穿刺针管针尖的姿态矩阵 RR TipStep 216: Combine the x-axis direction vector, the y-axis direction vector and the new z-axis direction vector in turn to obtain the attitude matrix R R Tip of the needle tip of the puncture needle:
RR Tip=[n x,n y,n z]   (6) R R Tip = [n x ,n y ,n z ] (6)
通过上述步骤200和步骤210完成了对穿刺针管针尖的位置及姿态标定。Through the above steps 200 and 210, the calibration of the position and posture of the needle tip of the puncture needle is completed.
步骤220:将超声探头和穿刺针管分别固定在双臂机器人左、右机械臂的末端执行器上,并通过双臂机器人控制超声探头扫描穿刺针管针尖,得到针尖超声图像,同时分别记录双臂机器人左、右臂末端法兰的位姿 RT ELRT ERStep 220: Fix the ultrasonic probe and the puncture needle tube on the end effectors of the left and right mechanical arms of the dual-arm robot respectively, and control the ultrasonic probe to scan the needle tip of the puncture needle tube through the dual-arm robot to obtain an ultrasonic image of the needle tip, and record the dual-arm robot respectively. The poses R T EL , R T ER of the left and right arm end flanges;
步骤230:标注针尖超声图像中针尖在图像坐标系下的位置 IP NtipStep 230: Mark the position IP Ntip of the needle tip in the image coordinate system in the needle tip ultrasound image;
步骤240:基于穿刺针管针尖位置及姿态标定结果、针尖超声图像中的针尖位置以及双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型;Step 240: Based on the calibration results of the needle tip position and posture of the puncture needle tube, the needle tip position in the needle tip ultrasound image, and the poses of the flanges at the left and right arm ends of the dual-arm robot, establish that the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip are in the robot base coordinate system The position registration model of ;
本申请第二实施例在穿刺针管针尖位置及姿态标定结果的基础上,结合针尖超声图像中针尖位置和双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖在机器人基坐标 系下位置与针尖超声图像中针尖在机器人基坐标系下位置相等的配准模型,其方程表达式为:In the second embodiment of the present application, on the basis of the calibration results of the position and attitude of the needle tip of the puncture needle tube, the needle tip of the puncture needle tube is established in the robot base coordinate system by combining the needle tip position in the ultrasound image of the needle tip and the positions of the flanges of the left and right arm ends of the dual-arm robot. The registration model whose position is equal to the position of the needle tip in the ultrasound image of the needle tip in the robot base coordinate system, its equation expression is:
inv( RT EL· ELT PtipRP NtipPtipT I· IP Ntip    (7) inv( R T EL · EL T Ptip ) · R P Ntip = Ptip T I · I P Ntip (7)
上式中, ELT Ptip为超声探头上任意一个固定针尖到安装超声探头机械臂末端法兰的坐标变换矩阵,其计算方法与穿刺针管针尖位置、姿态标定相同,此处将不再赘述; PtipT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed . T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
步骤250:采用迭代最近点算法求解配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵 PtipT I,根据该坐标变换矩阵对超声探头进行标定; Step 250: Solve the registration model by using the iterative closest point algorithm, obtain a coordinate transformation matrix Ptip T I from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix;
通过步骤220至步骤250完成了对超声探头的标定。The calibration of the ultrasound probe is completed through steps 220 to 250 .
基于上述,本申请第二实施例的双臂机器人标定方法在针尖位置标定基础上进一步建立针尖姿态标定模型,标定出穿刺针管的针尖姿态,并在穿刺针管针尖位置及姿态标定结果的基础上,结合针尖超声图像中针尖位置和双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖在机器人基坐标系下位置与针尖超声图像中针尖在机器人基坐标系下位置相等的配准模型,从而实现高精度的双臂机器人的穿刺针管针尖和超声探头的标定。Based on the above, the dual-arm robot calibration method of the second embodiment of the present application further establishes a needle tip attitude calibration model on the basis of the needle tip position calibration, and calibrates the needle tip attitude of the puncture needle tube, and based on the needle tip position and attitude calibration results of the puncture needle tube, Combined with the needle tip position in the needle tip ultrasound image and the pose of the left and right arm end flanges of the dual-arm robot, a registration model is established in which the position of the needle tip of the puncture needle in the robot base coordinate system is equal to the position of the needle tip in the needle tip ultrasound image under the robot base coordinate system. , so as to realize the calibration of the needle tip of the puncture needle and the ultrasonic probe of the dual-arm robot with high precision.
本申请实施例不需要采用第三方定位器和模型,通过融合双臂机器人的机构和超声图像,同时实现了穿刺针管针尖和超声探头的标定,提高了双臂机器人的标定精度。The embodiment of the present application does not need to use a third-party locator and model, and realizes the calibration of the needle tip of the puncture needle and the ultrasonic probe by integrating the mechanism of the dual-arm robot and the ultrasonic image, thereby improving the calibration accuracy of the dual-arm robot.
为了验证本申请实施例的可行性和有效性,以将本申请应用于基于超声引导的双臂机器人穿刺系统为例进行实验测试。具体如图5所示,其中,(a)为控制顶尖到达指定的参考点,(b)为对穿刺针管针尖在机器人末端法兰坐标系下的位置坐标标定,(c)为对超声探头在机器人末端法兰坐标系下的位置坐标标定,(d)为控制超声探头扫描穿刺针管针尖。实验结果表明,本申请实施例的标定精度可达0.6467±0.3099毫米,实现了穿刺针管针尖和超声探头的高精度标定。In order to verify the feasibility and effectiveness of the embodiments of the present application, an experimental test is carried out by taking the application of the present application in a dual-arm robotic puncture system based on ultrasound guidance as an example. Specifically as shown in Figure 5, where (a) is to control the tip to reach the specified reference point, (b) is to calibrate the position coordinates of the needle tip of the puncture needle in the robot end flange coordinate system, (c) is to calibrate the ultrasonic probe at the end of the robot. The position coordinate calibration in the coordinate system of the flange at the end of the robot, (d) is to control the ultrasonic probe to scan the needle tip of the puncture needle. The experimental results show that the calibration accuracy of the embodiment of the present application can reach 0.6467±0.3099 mm, which realizes the high-precision calibration of the needle tip of the puncture needle tube and the ultrasonic probe.
请参阅图6,是本申请实施例的双臂机器人标定系统的结构示意图。本申请实施例的双臂机器人标定系统包括针尖标定模块和超声探头标定模块,其中,针尖标定模块包括:Please refer to FIG. 6 , which is a schematic structural diagram of a dual-arm robot calibration system according to an embodiment of the present application. The dual-arm robot calibration system of the embodiment of the present application includes a needle tip calibration module and an ultrasonic probe calibration module, wherein the needle tip calibration module includes:
针尖位置标定子模块:用于建立针尖位置标定模型,标定出穿刺针管的针尖位置;其中,本申请实施例利用双臂机器人本身双臂高精度定位性和双臂位置坐标均在同一个机器人基坐标系下的特点建立针尖位置标定模型,并对针尖位置进行标定。具体标定方式包括:Needle tip position calibration sub-module: used to establish a needle tip position calibration model, and calibrate the needle tip position of the puncture needle tube; wherein, the embodiment of the present application utilizes the dual-arm robot itself and the dual-arm high-precision positioning and the dual-arm position coordinates are in the same robot base. The characteristics of the coordinate system are used to establish the needle tip position calibration model, and the needle tip position is calibrated. Specific calibration methods include:
1、设计和加工一个高精度的顶尖,将其安装到双臂机器人任一机械臂的末端法兰上;1. Design and process a high-precision top, and install it on the end flange of either arm of the dual-arm robot;
2、通过双臂机器人控制该顶尖到达预设参考点,并计算该参考点在机器人基坐标系下的位置;计算公式为:2. Control the top to reach the preset reference point through the dual-arm robot, and calculate the position of the reference point in the robot base coordinate system; the calculation formula is:
RP RtipRT ER· ERP Mtip    (1) R P Rtip = R T ER · ER P Mtip (1)
式(1)中, ERP Mtip为顶尖到末端法兰的坐标,可以根据预设的顶尖参数获得; RT ER为末端法兰在机器人基坐标系下的位姿,可在机器人操作系统中直接读取。 In formula (1), ER P Mtip is the coordinates from the top to the end flange, which can be obtained according to the preset top parameters; R T ER is the pose of the end flange in the robot base coordinate system, which can be found in the robot operating system. read directly.
3、卸下顶尖,将穿刺针管末端执行器安装到双臂机器人任一机械臂的末端法兰上;3. Remove the tip, and install the end effector of the puncture needle tube on the end flange of either arm of the dual-arm robot;
4、通过双臂机器人控制穿刺针管针尖到达预设参考点,并记录该末端法兰在机器人坐标系下的位姿矩阵;4. Control the needle tip of the puncture needle to reach the preset reference point through the dual-arm robot, and record the pose matrix of the end flange in the robot coordinate system;
5、建立穿刺针管针尖位置与参考点位置相等的方程表达式;5. Establish an equation expression that the position of the needle tip of the puncture needle is equal to the position of the reference point;
6、对该方程表达式进行求解,标定出穿刺针管针尖在机器人末端法兰坐标系下的坐标 ERP Ntip6. Solve the equation expression, and calibrate the coordinates ER P Ntip of the needle tip of the puncture needle in the coordinate system of the robot end flange:
ERP Ntip=inv( RT ERRP Rtip    (2) ER P Ntip = inv( R T ER ) · R P Rtip (2)
式(2)中,inv()表示矩阵的求逆运算。In formula (2), inv( ) represents the inversion operation of the matrix.
针尖姿态标定子模块:用于建立针尖姿态标定模型,标定出穿刺针管的针尖姿态;其中,针尖姿态标定方法包括:Needle tip attitude calibration sub-module: used to establish a needle tip attitude calibration model to calibrate the needle tip attitude of the puncture needle; wherein, the needle tip attitude calibration method includes:
1、控制穿刺针管针尖到达第一个任意点,定义该点为针尖坐标系的原点(P o),并根据针尖位置标定结果计算出点(P o)在机器人基坐标系下的位置 RP oTip,同时记录此时双臂机器人的机械臂末端法兰在机器人坐标系下的姿态矩阵
Figure PCTCN2020139303-appb-000004
1. Control the needle tip of the puncture needle to reach the first arbitrary point, define this point as the origin of the needle tip coordinate system (P o ), and calculate the position R P of the point (P o ) in the robot base coordinate system according to the calibration result of the needle tip position oTip , at the same time record the attitude matrix of the flange at the end of the robotic arm of the dual-arm robot in the robot coordinate system
Figure PCTCN2020139303-appb-000004
2、控制穿刺针管针尖到达第二个任意点,定义该点为针尖坐标系y轴上的点(P y),并根据针尖位置标定结果计算出点(P y)在机器人基坐标系下的位置 RP yTip2. Control the needle tip of the puncture needle to reach the second arbitrary point, define this point as the point (P y ) on the y-axis of the needle tip coordinate system, and calculate the point (P y ) in the robot base coordinate system according to the calibration result of the needle tip position. position R P yTip ;
3、建立针尖坐标系y轴方向的向量方程组,根据矩阵运算操作求解出该y轴方向向量,其向量方程组为:3. Establish a vector equation system in the y-axis direction of the needle tip coordinate system, and solve the y-axis direction vector according to the matrix operation. The vector equation system is:
Figure PCTCN2020139303-appb-000005
Figure PCTCN2020139303-appb-000005
式(4)中,n y为y轴方向向量,Δy为 RP oTipRP yTip之间的距离; In formula (4), ny is the y-axis direction vector, and Δy is the distance between R P oTip and R P yTip ;
并求解出该y轴方向向量为:And solve the y-axis direction vector as:
Figure PCTCN2020139303-appb-000006
Figure PCTCN2020139303-appb-000006
4、控制穿刺针管针尖到达第三个任意点,定义该点为针尖坐标系z轴上的点,得到z轴方向向量;4. Control the needle tip of the puncture needle to reach the third arbitrary point, define this point as the point on the z-axis of the needle-tip coordinate system, and obtain the z-axis direction vector;
其中,z轴方向向量计算方式是y轴方向向量计算方式相同,此处将不再赘述。The calculation method of the z-axis direction vector is the same as that of the y-axis direction vector, which will not be repeated here.
5、采用y轴方向向量与z轴方向向量叉乘得到x轴方向向量,再通过x轴方向向量与y轴方向向量叉乘得到新的z轴方向向量;5. Use the cross product of the y-axis direction vector and the z-axis direction vector to obtain the x-axis direction vector, and then obtain the new z-axis direction vector through the cross-multiplication of the x-axis direction vector and the y-axis direction vector;
6、依次组合x轴方向向量、y轴方向向量及新的z轴方向向量,得到穿刺针管针尖的姿态矩阵 RR Tip6. Combine the x-axis direction vector, the y-axis direction vector and the new z-axis direction vector in turn to obtain the attitude matrix R R Tip of the needle tip of the puncture needle:
RR Tip=[n x,n y,n z]   (6) R R Tip = [n x ,n y ,n z ] (6)
超声探头标定模块包括:The ultrasound probe calibration module includes:
超声图像获取子模块:用于控制超声探头扫描穿刺针管针尖,得到针尖超声图像,标注针尖超声图像中针尖在图像坐标系下的位置 IP Ntip,同时分别记录双臂机器人左、右臂末端法兰的位姿 RT ELRT ER;其中,超声探头和穿刺针管分别固定在双臂机器人左、右机械臂的末端执行器上。可以理解,也可在超声探头或穿刺针管上固定一个跟踪器以替代末端法兰位置。 Ultrasound image acquisition sub-module: used to control the ultrasound probe to scan the needle tip of the puncture needle to obtain the needle tip ultrasound image, mark the position of the needle tip in the image coordinate system IP Ntip in the needle tip ultrasound image, and record the left and right arm end methods of the dual-arm robot respectively. The poses R T EL and R T ER of Lan are respectively fixed on the end effectors of the left and right robotic arms of the dual-arm robot. It will be appreciated that a tracker may also be fixed on the ultrasound probe or puncture needle tube instead of the end flange position.
针尖位置配准子模块:用于基于针尖位置标定结果、针尖超声图像中的针尖位置以及双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型;Needle tip position registration sub-module: It is used to establish the base coordinates of the needle tip in the puncture needle tube and the needle tip in the ultrasound image of the needle tip on the robot based on the needle tip position calibration result, the needle tip position in the needle tip ultrasound image, and the poses of the left and right arm end flanges of the dual-arm robot The position registration model under the system;
本申请实施例在针管针尖位置标定结果的基础上,结合针尖超声图像中针尖位置和双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下位置相等的配准模型,其方程表达式为:In the embodiment of the present application, on the basis of the calibration results of the needle tip position of the needle tube, combined with the needle tip position in the needle tip ultrasound image and the poses of the flanges of the left and right arm ends of the dual-arm robot, the needle tip of the puncture needle tube and the needle tip in the needle tip ultrasound image are established in the robot base coordinate system The registration model with equal lower positions, its equation expression is:
inv( RT ELRP NtipELT I· IP Ntip    (3) inv( R T EL ) R P Ntip = EL T I I P Ntip (3)
式(3)中, RP Ntip为针管针尖坐标系到机器人基坐标系的坐标变换矩阵,其计算公式为 RP NtipRT ER· ERP NtipELT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In formula (3), R P Ntip is the coordinate transformation matrix from the needle tip coordinate system of the needle tube to the robot base coordinate system, and its calculation formula is R P Ntip = R T ER · ER P Ntip , and EL T I is the ultrasound image coordinate system to the robot. The coordinate transformation matrix of the end flange coordinate system.
本申请实施例中,针尖位置配准子模块还用于基于穿刺针管针尖位置及姿态标定结果、针尖超声图像中的针尖位置以及双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型,其方程表达式为:In the embodiment of the present application, the needle tip position registration sub-module is also used to establish the needle tip of the puncture needle tube based on the position and attitude calibration results of the needle tip of the puncture needle tube, the needle tip position in the needle tip ultrasound image, and the positions of the flanges of the left and right arm ends of the dual-arm robot The equation is expressed as:
inv( RT EL· ELT PtipRP NtipPtipT I· IP Ntip    (7) inv( R T EL · EL T Ptip ) · R P Ntip = Ptip T I · I P Ntip (7)
上式中, ELT Ptip为超声探头上任意一个固定针尖到安装超声探头机械臂末端法兰的坐标变换矩阵,其计算方法与穿刺针管针尖位置、姿态标定相同,此处将不再赘述; PtipT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed . T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
坐标计算子模块:用于在公式(3)或(7)的基础上,采用迭代最近点算法求解位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵 ELT IPtipT I,根据该坐标变换矩阵对超声探头进行标定。 Coordinate calculation sub-module: based on formula (3) or (7), the iterative closest point algorithm is used to solve the position registration model, and the coordinate transformation matrix EL T I from the ultrasonic image coordinate system to the robot end flange coordinate system is obtained. or Ptip T I , the ultrasound probe is calibrated according to the coordinate transformation matrix.
请参阅图7,为本申请实施例的终端结构示意图。该终端50包括处理器51、与处理器51耦接的存储器52。Please refer to FIG. 7 , which is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 50 includes a processor 51 and a memory 52 coupled to the processor 51 .
存储器52存储有用于实现上述双臂机器人标定方法的程序指令。The memory 52 stores program instructions for implementing the above-mentioned dual-arm robot calibration method.
处理器51用于执行存储器52存储的程序指令以控制双臂机器人标定。The processor 51 is configured to execute program instructions stored in the memory 52 to control the calibration of the dual-arm robot.
其中,处理器51还可以称为CPU(Central Processing Unit,中央处理单元)。处理器51可能是一种集成电路芯片,具有信号的处理能力。处理器51还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 51 may also be referred to as a CPU (Central Processing Unit, central processing unit). The processor 51 may be an integrated circuit chip with signal processing capability. The processor 51 may also be a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component . A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
请参阅图8,为本申请实施例的存储介质的结构示意图。本申请实施例的存储介质存储有能够实现上述所有方法的程序文件61,其中,该程序文件61可以以软件产品的形式存储在上述存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,或者是计算机、服务器、手机、平板等终端设备。Please refer to FIG. 8 , which is a schematic structural diagram of a storage medium according to an embodiment of the present application. The storage medium of this embodiment of the present application stores a program file 61 capable of implementing all the above methods, wherein the program file 61 may be stored in the above-mentioned storage medium in the form of a software product, and includes several instructions to make a computer device (which may It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes , or terminal devices such as computers, servers, mobile phones, and tablets.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本申请中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本申请所示的这些实施例,而是要符合与本申请所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined in this application may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

  1. 一种双臂机器人标定方法,其特征在于,包括:A method for calibrating a dual-arm robot, comprising:
    建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置;establishing a needle tip position calibration model, and calibrating the needle tip position of the puncture needle tube according to the model;
    通过超声探头获取所述穿刺针管的针尖超声图像;其中,所述超声探头和穿刺针管分别固定于双臂机器人左、右机械臂的末端执行器上;Obtain the needle tip ultrasound image of the puncture needle tube through an ultrasonic probe; wherein, the ultrasonic probe and the puncture needle tube are respectively fixed on the end effectors of the left and right mechanical arms of the dual-arm robot;
    根据所述针尖位置标定结果以及所述针尖超声图像建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型;According to the needle tip position calibration result and the needle tip ultrasound image, a position registration model of the needle tip of the puncture needle tube and the needle tip in the needle tip ultrasound image under the robot base coordinate system is established;
    采用迭代最近点算法求解所述位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,根据所述坐标变换矩阵对所述超声探头进行标定。The iterative closest point algorithm is used to solve the position registration model, and a coordinate transformation matrix from the ultrasonic image coordinate system to the robot end flange coordinate system is obtained, and the ultrasonic probe is calibrated according to the coordinate transformation matrix.
  2. 根据权利要求1所述的双臂机器人标定方法,其特征在于,所述针尖位置标定包括:The method for calibrating a dual-arm robot according to claim 1, wherein the needle tip position calibration comprises:
    在所述双臂机器人任一机械臂的末端法兰上安装顶尖;Install a top on the end flange of any mechanical arm of the dual-arm robot;
    控制所述顶尖到达预设参考点,并计算所述参考点在机器人基坐标系下的位置;Controlling the top to reach a preset reference point, and calculating the position of the reference point in the robot base coordinate system;
    卸下所述顶尖,在所述双臂机器人任一机械臂的末端法兰上安装穿刺针管末端执行器;Remove the top, and install a puncture needle end effector on the end flange of any mechanical arm of the dual-arm robot;
    控制所述穿刺针管的针尖到达预设参考点,并记录所述末端法兰在机器人坐标系下的位姿矩阵;Controlling the needle tip of the puncture needle to reach a preset reference point, and recording the pose matrix of the end flange in the robot coordinate system;
    建立所述穿刺针管针尖与所述预设参考点位置相等的方程表达式;establishing an equation expression that the position of the needle tip of the puncture needle is equal to the position of the preset reference point;
    求解所述方程表达式,标定出所述穿刺针管的针尖在机器人末端法兰坐标系下的坐标。The equation expression is solved, and the coordinates of the needle tip of the puncture needle tube in the robot end flange coordinate system are calibrated.
  3. 根据权利要求2所述的双臂机器人标定方法,其特征在于,所述预设参考点在机器人基坐标系下的位置计算公式为:The method for calibrating a dual-arm robot according to claim 2, wherein the formula for calculating the position of the preset reference point in the robot base coordinate system is:
    RP RtipRT ER· ERP Mtip R P Rtip = R T ER · ER P Mtip
    上式中, ERP Mtip为所述顶尖到末端法兰的坐标, RT ER为所述末端法兰在机器人基坐标系下的位姿; In the above formula, ER P Mtip is the coordinate from the top to the end flange, and R T ER is the pose of the end flange in the robot base coordinate system;
    所述穿刺针管的针尖在机器人末端法兰坐标系下的坐标为:The coordinates of the needle tip of the puncture needle in the robot end flange coordinate system are:
    ERP Ntip=inv( RT ERRP Rtip ER P Ntip = inv( R T ER ) · R P Rtip
    上式中,inv( )表示矩阵的求逆运算。In the above formula, inv( ) represents the inversion operation of the matrix.
  4. 根据权利要求3所述的双臂机器人标定方法,其特征在于,所述通过超声探头获取所述穿刺针管的针尖超声图像包括:The method for calibrating a dual-arm robot according to claim 3, wherein the acquiring the ultrasound image of the needle tip of the puncture needle via an ultrasound probe comprises:
    记录所述双臂机器人左、右机械臂末端法兰的位姿,并标注所述针尖超声图像中所述针尖在图像坐标系下的位置。The poses of the flanges at the ends of the left and right robotic arms of the dual-arm robot are recorded, and the position of the needle tip in the image coordinate system in the needle tip ultrasound image is marked.
  5. 根据权利要求4所述的双臂机器人标定方法,其特征在于,所述根据所述针尖位置以及所述针尖超声图像建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型包括:The method for calibrating a dual-arm robot according to claim 4, wherein the needle tip of the puncture needle is established according to the needle tip position and the needle tip ultrasound image and the needle tip in the needle tip ultrasound image is in the robot base coordinate system The location registration model includes:
    基于所述针尖的位置标定结果、所述针尖超声图像中针尖在图像坐标系下的位置以及所述双臂机器人左、右机械臂末端法兰的位姿建立所述穿刺针管针尖在机器人基坐标系下的位置与所述针尖超声图像中针尖在机器人基坐标系下的位置相等的配准模型:The base coordinates of the puncture needle tip in the robot are established based on the position calibration result of the needle tip, the position of the needle tip in the image coordinate system in the ultrasound image of the needle tip, and the poses of the end flanges of the left and right robotic arms of the dual-arm robot The registration model whose position under the system is equal to the position of the needle tip in the robot base coordinate system in the ultrasound image of the needle tip:
    inv( RT ELRP NtipELT I· IP Ntip inv( R T EL ) R P Ntip = EL T I · I P Ntip
    上式中, RT EL为所述双臂机器人安装超声探头末端执行器的机械臂末端法兰的位姿, RP Ntip为针管针尖坐标系到机器人基坐标系的坐标变换矩阵, RP NtipRT ER· ERP NtipIP Ntip为所述针尖超声图像中针尖在图像坐标系下的位置, ELT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, R T EL is the pose of the end flange of the robotic arm on which the ultrasonic probe end effector is installed on the dual-arm robot, R P Ntip is the coordinate transformation matrix from the needle tip coordinate system to the robot base coordinate system, and R P Ntip = R T ER · ER P Ntip , IP Ntip is the position of the needle tip in the image coordinate system in the needle tip ultrasound image, and EL T I is the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system.
  6. 根据权利要求1所述的双臂机器人标定方法,其特征在于,所述建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置后还包括:The method for calibrating a dual-arm robot according to claim 1, wherein the establishing a needle tip position calibration model and calibrating the needle tip position of the puncture needle tube according to the model further comprises:
    建立针尖姿态标定模型,所述模型基于所述针尖位置标定结果标定出穿刺针管的针尖姿态。A needle tip posture calibration model is established, and the model calibrates the needle tip posture of the puncture needle tube based on the needle tip position calibration result.
  7. 根据权利要求6所述的双臂机器人标定方法,其特征在于,所述基于所述针尖位置标定结果标定出穿刺针管的针尖姿态包括:The method for calibrating a dual-arm robot according to claim 6, wherein the calibrating the needle tip posture of the puncture needle tube based on the needle tip position calibration result comprises:
    控制所述穿刺针管针尖到达第一个任意点,定义该点为针尖坐标系的原点,并根据所述针尖位置标定结果计算出该点在机器人基坐标系下的位置,同时记录此时双臂机器人的机械臂末端法兰在机器人坐标系下的姿态矩阵;Control the needle tip of the puncture needle to reach the first arbitrary point, define this point as the origin of the needle tip coordinate system, and calculate the position of this point in the robot base coordinate system according to the needle tip position calibration result, and record the arms at this time. The attitude matrix of the robot arm end flange in the robot coordinate system;
    控制所述穿刺针管针尖到达第二个任意点,定义该点为针尖坐标系y轴上的点,并根据所述针尖位置标定结果计算出该点在机器人基坐标系下的位置;Controlling the needle tip of the puncture needle to reach the second arbitrary point, defining the point as a point on the y-axis of the needle tip coordinate system, and calculating the position of the point in the robot base coordinate system according to the needle tip position calibration result;
    建立针尖坐标系y轴方向的向量方程组,根据矩阵运算操作求解出该y轴方向向量;Establish a vector equation system in the y-axis direction of the needle tip coordinate system, and solve the y-axis direction vector according to the matrix operation operation;
    控制所述穿刺针管针尖到达第三个任意点,定义该点为针尖坐标系z轴上的点,得到z轴方向向量;Controlling the needle tip of the puncture needle to reach the third arbitrary point, defining this point as a point on the z-axis of the needle-tip coordinate system, and obtaining the z-axis direction vector;
    采用所述y轴方向向量与所述z轴方向向量叉乘得到x轴方向向量,再通过所述x轴方向向量与所述y轴方向向量叉乘得到新的z轴方向向量;Adopt the cross-multiplication of the y-axis direction vector and the z-axis direction vector to obtain the x-axis direction vector, and then obtain a new z-axis direction vector through the cross-multiplication of the x-axis direction vector and the y-axis direction vector;
    依次组合所述x轴方向向量、y轴方向向量及新的z轴方向向量,得到所述穿刺针管针尖的姿态矩阵。Combining the x-axis direction vector, the y-axis direction vector and the new z-axis direction vector in sequence, the attitude matrix of the needle tip of the puncture needle tube is obtained.
  8. 根据权利要求7所述的双臂机器人标定方法,其特征在于,所述建立所述穿刺针管针尖与所述针尖超声图像中针尖在机器人基坐标系下的位置配准模型还包括:The method for calibrating a dual-arm robot according to claim 7, wherein the establishing a position registration model of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip under the robot base coordinate system further comprises:
    基于所述穿刺针管针尖位置标定结果、姿态标定结果、所述针尖超声图像中的针尖位置以及所述双臂机器人左、右臂末端法兰的位姿建立穿刺针管针尖与针尖超声图像中针尖在机器人基坐标系下的位置配准模型:Based on the calibration result of the needle tip position of the puncture needle, the attitude calibration result, the position of the needle tip in the ultrasound image of the needle tip, and the postures of the flanges of the left and right arm ends of the dual-arm robot, the position of the needle tip in the ultrasound image of the needle tip of the puncture needle tube and the needle tip in the ultrasound image of the needle tip are established. The position registration model in the robot base coordinate system:
    inv( RT EL· ELT PtipRP NtipPtipT I· IP Ntip inv( R T EL · EL T Ptip ) · R P Ntip = Ptip T I · I P Ntip
    上述公式中, ELT Ptip为超声探头上任意一个固定针尖到安装超声探头机械臂末端法兰的坐标变换矩阵, PtipT I为超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵。 In the above formula, EL T Ptip is the coordinate transformation matrix from any fixed needle tip on the ultrasound probe to the flange at the end of the robotic arm where the ultrasound probe is installed, and Ptip T I is the coordinate transformation matrix from the ultrasound image coordinate system to the coordinate system of the robot end flange.
  9. 一种双臂机器人标定系统,其特征在于,包括针尖标定模块和超声探头标定模块;A dual-arm robot calibration system, characterized in that it includes a needle tip calibration module and an ultrasonic probe calibration module;
    所述针尖标定模块用于建立针尖位置标定模型,根据所述模型标定出穿刺针管的针尖位置;The needle tip calibration module is used to establish a needle tip position calibration model, and calibrate the needle tip position of the puncture needle tube according to the model;
    所述超声探头标定模块包括:The ultrasonic probe calibration module includes:
    超声图像获取子模块:用于通过超声探头获取所述穿刺针管的针尖超声图像;其中,所述超声探头和穿刺针管分别固定于双臂机器人左、右机械臂的末端执行器上;Ultrasound image acquisition sub-module: used for acquiring the needle tip ultrasound image of the puncture needle tube through an ultrasonic probe; wherein, the ultrasonic probe and the puncture needle tube are respectively fixed on the end effectors of the left and right mechanical arms of the dual-arm robot;
    针尖位置配准子模块:用于根据所述针尖位置标定结果以及所述针尖超声图像建立所述标定的穿刺针管针尖与所述针尖超声图像中的针尖在机器人基坐标系下的位置配准模型;Needle tip position registration sub-module: used to establish a position registration model of the calibrated puncture needle tube needle tip and the needle tip in the needle tip ultrasound image under the robot base coordinate system according to the needle tip position calibration result and the needle tip ultrasound image ;
    坐标计算子模块:用于采用迭代最近点算法求解所述位置配准模型,得到超声图像坐标系到机器人末端法兰坐标系的坐标变换矩阵,根据所述坐标变换矩阵对所述超声探头进行标定。Coordinate calculation sub-module: used to solve the position registration model by using the iterative closest point algorithm, obtain the coordinate transformation matrix from the ultrasound image coordinate system to the robot end flange coordinate system, and calibrate the ultrasound probe according to the coordinate transformation matrix .
  10. 一种终端,其特征在于,所述终端包括处理器、与所述处理器耦接的存储器,其中,A terminal, characterized in that the terminal includes a processor and a memory coupled to the processor, wherein,
    所述存储器存储有用于实现权利要求1-8任一项所述的双臂机器人标定方法的程序指令;The memory stores program instructions for realizing the dual-arm robot calibration method according to any one of claims 1-8;
    所述处理器用于执行所述存储器存储的所述程序指令以控制双臂机器人标定。The processor is configured to execute the program instructions stored in the memory to control the calibration of the dual-arm robot.
  11. 一种存储介质,其特征在于,存储有处理器可运行的程序指令,所述程序指令用于执行权利要求1至8任一项所述双臂机器人标定方法。A storage medium, characterized in that it stores program instructions executable by a processor, and the program instructions are used to execute the calibration method for a dual-arm robot according to any one of claims 1 to 8.
PCT/CN2020/139303 2020-08-12 2020-12-25 Dual-arm robot calibration method, system, terminal, and storage medium WO2022032964A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010806742.9 2020-08-12
CN202010806742.9A CN111956329B (en) 2020-08-12 2020-08-12 Calibration method, system, terminal and storage medium for double-arm robot

Publications (1)

Publication Number Publication Date
WO2022032964A1 true WO2022032964A1 (en) 2022-02-17

Family

ID=73365667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139303 WO2022032964A1 (en) 2020-08-12 2020-12-25 Dual-arm robot calibration method, system, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN111956329B (en)
WO (1) WO2022032964A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114905548A (en) * 2022-06-29 2022-08-16 武汉库柏特科技有限公司 Calibration method and device for base coordinate system of double-arm robot
CN115127452A (en) * 2022-09-02 2022-09-30 苏州鼎纳自动化技术有限公司 Notebook computer shell size detection method, system and storage medium
CN116898548A (en) * 2023-09-13 2023-10-20 真健康(北京)医疗科技有限公司 Method and equipment for determining moving position of tail end of puncture operation robot
CN117103286A (en) * 2023-10-25 2023-11-24 杭州汇萃智能科技有限公司 Manipulator eye calibration method and system and readable storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111956329B (en) * 2020-08-12 2022-04-26 中国科学院深圳先进技术研究院 Calibration method, system, terminal and storage medium for double-arm robot
CN112828862B (en) * 2020-12-30 2022-09-16 诺创智能医疗科技(杭州)有限公司 Master-slave mapping method for parallel platform, mechanical arm system and storage medium
CN112754616B (en) * 2020-12-30 2022-05-10 诺创智能医疗科技(杭州)有限公司 Ultrasonic positioning puncture system and storage medium
WO2022198615A1 (en) * 2021-03-26 2022-09-29 中国科学院深圳先进技术研究院 Calibration method and system for dual-arm robot puncture system
CN113133832B (en) * 2021-03-26 2022-09-20 中国科学院深圳先进技术研究院 Calibration method and system for double-arm robot puncture system
CN113160221B (en) * 2021-05-14 2022-06-28 深圳市奥昇医疗科技有限责任公司 Image processing method, image processing device, computer equipment and storage medium
CN113413216B (en) * 2021-07-30 2022-06-07 武汉大学 Double-arm puncture robot based on ultrasonic image navigation
CN115153782A (en) * 2022-08-12 2022-10-11 哈尔滨理工大学 Puncture robot space registration method under ultrasonic guidance
CN115363716A (en) * 2022-09-01 2022-11-22 浙江深博医疗技术有限公司 Puncture surgery assisting method, system, robot and storage medium
CN115488884B (en) * 2022-09-07 2024-04-30 华南理工大学 Calibration method, system, device and medium for ultrasonic probe of remote robot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013140315A1 (en) * 2012-03-23 2013-09-26 Koninklijke Philips N.V. Calibration of tracked interventional ultrasound
CN103584885A (en) * 2013-11-20 2014-02-19 哈尔滨工程大学 Free arm ultrasound calibration method based on positioning and navigation puncture needle
CN104161546A (en) * 2014-09-05 2014-11-26 深圳先进技术研究院 Ultrasonic probe calibration system and method based on locatable puncture needle
CN104207801A (en) * 2013-06-05 2014-12-17 上海工程技术大学 Ultrasonic detection image three-dimensional calibration method
CN110554095A (en) * 2019-08-16 2019-12-10 上海工程技术大学 three-dimensional ultrasonic probe calibration device and method
CN111956329A (en) * 2020-08-12 2020-11-20 中国科学院深圳先进技术研究院 Calibration method, system, terminal and storage medium for double-arm robot

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1263433C (en) * 2003-08-15 2006-07-12 北京航空航天大学 Bone surgery device of robot navigation
CN105588525B (en) * 2014-11-14 2019-09-20 北京配天技术有限公司 The scaling method and device of a kind of tool on robot flange coordinate system
CN105157725B (en) * 2015-07-29 2018-06-29 华南理工大学 A kind of hand and eye calibrating method of two-dimensional laser visual sensor and robot
EP4375934A2 (en) * 2016-02-12 2024-05-29 Intuitive Surgical Operations, Inc. Systems and methods of pose estimation and calibration of perspective imaging system in image guided surgery
EP3713508A4 (en) * 2017-11-21 2021-01-20 Intuitive Surgical Operations, Inc. Systems and methods for master/tool registration and control for intuitive motion
CN110051436B (en) * 2018-01-18 2020-04-17 上海舍成医疗器械有限公司 Automated cooperative work assembly and application thereof in surgical instrument
KR102577448B1 (en) * 2019-01-22 2023-09-12 삼성전자 주식회사 Hand eye calibration method and system
CN111055289B (en) * 2020-01-21 2021-09-28 达闼科技(北京)有限公司 Method and device for calibrating hand and eye of robot, robot and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013140315A1 (en) * 2012-03-23 2013-09-26 Koninklijke Philips N.V. Calibration of tracked interventional ultrasound
CN104207801A (en) * 2013-06-05 2014-12-17 上海工程技术大学 Ultrasonic detection image three-dimensional calibration method
CN103584885A (en) * 2013-11-20 2014-02-19 哈尔滨工程大学 Free arm ultrasound calibration method based on positioning and navigation puncture needle
CN104161546A (en) * 2014-09-05 2014-11-26 深圳先进技术研究院 Ultrasonic probe calibration system and method based on locatable puncture needle
CN110554095A (en) * 2019-08-16 2019-12-10 上海工程技术大学 three-dimensional ultrasonic probe calibration device and method
CN111956329A (en) * 2020-08-12 2020-11-20 中国科学院深圳先进技术研究院 Calibration method, system, terminal and storage medium for double-arm robot

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114905548A (en) * 2022-06-29 2022-08-16 武汉库柏特科技有限公司 Calibration method and device for base coordinate system of double-arm robot
CN115127452A (en) * 2022-09-02 2022-09-30 苏州鼎纳自动化技术有限公司 Notebook computer shell size detection method, system and storage medium
CN115127452B (en) * 2022-09-02 2022-12-09 苏州鼎纳自动化技术有限公司 Notebook computer shell size detection method, system and storage medium
CN116898548A (en) * 2023-09-13 2023-10-20 真健康(北京)医疗科技有限公司 Method and equipment for determining moving position of tail end of puncture operation robot
CN116898548B (en) * 2023-09-13 2023-12-12 真健康(北京)医疗科技有限公司 Method and equipment for determining moving position of tail end of puncture operation robot
CN117103286A (en) * 2023-10-25 2023-11-24 杭州汇萃智能科技有限公司 Manipulator eye calibration method and system and readable storage medium
CN117103286B (en) * 2023-10-25 2024-03-19 杭州汇萃智能科技有限公司 Manipulator eye calibration method and system and readable storage medium

Also Published As

Publication number Publication date
CN111956329B (en) 2022-04-26
CN111956329A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
WO2022032964A1 (en) Dual-arm robot calibration method, system, terminal, and storage medium
TWI672206B (en) Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN110355754B (en) Robot hand-eye system, control method, device and storage medium
JP6964989B2 (en) Control methods, robot systems, article manufacturing methods, programs, and recording media
CN113133832B (en) Calibration method and system for double-arm robot puncture system
WO2020173240A1 (en) Image acquisition apparatus calibration method and apparatus, computer device, and storage medium
JP7035657B2 (en) Robot control device, robot, robot system, and camera calibration method
JP2014014912A (en) Robot system, robot, robot control device, robot control method and robot control program
Pachtrachai et al. Hand-eye calibration with a remote centre of motion
CN111759463A (en) Method for improving positioning precision of surgical mechanical arm
JPWO2018043525A1 (en) Robot system, robot system control apparatus, and robot system control method
JP2018134695A (en) Robot system, robot control device, and robot control method
CN112621743A (en) Robot, hand-eye calibration method for fixing camera at tail end of robot and storage medium
WO2018209592A1 (en) Movement control method for robot, robot and controller
CN112621711B (en) Robot, hand-eye calibration method for fixing camera of robot on frame and storage medium
WO2022199296A1 (en) Error elimination method and apparatus for surgical navigation robot, and electronic device
JPWO2018043524A1 (en) Robot system, robot system control apparatus, and robot system control method
WO2022199047A1 (en) Robot registration method and apparatus, electronic device, and storage medium
CN112754616A (en) Ultrasonic positioning puncture system and storage medium
JP2019098409A (en) Robot system and calibration method
CN117064555A (en) Positioning method and device of surgical robot, positioning system and computer equipment
WO2022198615A1 (en) Calibration method and system for dual-arm robot puncture system
CN113787518A (en) Robot tail end attitude control method, device, equipment and storage medium
CN112743546B (en) Robot hand-eye calibration pose selection method and device, robot system and medium
CN113768535A (en) Method, system and device for self-calibration of ultrasonic profiling probe attitude for teleoperation

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: 20949455

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20949455

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04.07.2023)