Puncture surgery robot 3D camera calibration program precision detection method and system

By installing multiple sets of position pointers and standard pointers in the puncture surgical robot, the coordinate value deviation of the 3D vision camera is detected, which solves the problem of accuracy detection of the 3D vision camera calibration program in the puncture surgical robot, ensuring the safety and accuracy of the surgery.

CN119043157APending Publication Date: 2024-11-29SUZHOU PNEMED TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310575573.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the field of puncture surgical robots, the existing technology has not effectively solved this problem by how to quickly detect whether the coordinate values ​​obtained in the 3D vision camera calibration program meet the accuracy requirements of puncture surgical robots.

Method used

By installing multiple sets of position pointers of different heights in the detection device, a calibration plate coordinate system is established, and the coordinate values ​​in the robotic arm coordinate system are obtained using a 3D visual camera, and manually drag and coordinate feedback are used to calculate each set of positions through standard pointers. The coordinate value deviation of the pointer is calculated, the mean deviation and the root mean square error are calculated to judge the calibration program accuracy of the 3D vision camera.

Benefits of technology

It realizes rapid detection of the calibration program accuracy of 3D vision cameras, ensures the safety and accuracy of the puncture surgical robot, and meets the high-precision requirements of the puncture surgical robot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119043157A_ABST
    Figure CN119043157A_ABST
Patent Text Reader

Abstract

The invention discloses a precision detection method and system for a 3D camera calibration program of a puncture surgery robot. The detection system comprises a puncture surgery robot, a calibration plate, a standard pointer, a test platform and a detection device, wherein the puncture surgery robot comprises a mechanical arm, an excitation device and a puncture surgery robot controller, wherein the excitation device combines a 3D vision camera and a puncture needle into a whole. The standard pointer and the excitation device are detachably and fixedly installed at the tail end of the mechanical arm in a mutually replaceable mode. The detection device comprises a base and a plurality of position pointers, wherein the base is formed by processing a thick steel plate into a whole, the position pointers are assembled and connected with the base and used for detection, and the standard pointer is one of the position pointers. By means of the specific detection method, precision detection can be conducted in the process that the puncture surgery robot is positioned through the 3D vision camera, and it can be determined that the calibration program of the 3D vision camera meets the surgery precision requirement of the puncture surgery robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of puncture surgical robots, and in particular to a method and system for detecting the accuracy of a 3D camera calibration program of a puncture surgical robot. Background Art

[0002] With the rapid development of puncture surgical robots, 3D vision cameras have also been applied to puncture surgical robots. 3D vision cameras are used for positioning during the puncture surgery to provide accurate position information for the robot arm of the puncture surgical robot, so that the robot arm can quickly and accurately move to the puncture target position to ensure the complete completion of the puncture surgery. A very important procedure in the positioning process using a 3D vision camera is to use the 3D vision camera to perform a calibration procedure on the calibration plate placed on the CT bed, and obtain the conversion relationship between the calibration plate coordinate system and the robot arm coordinate system in advance, so that the robot arm can quickly and accurately move to the specified position (the location of the puncture target) according to the position information provided by the 3D vision camera during the operation.

[0003] The technology of 3D vision camera positioning through calibration program has been widely used in the industrial field and has sufficient accuracy requirements. However, the application of 3D vision camera calibration program in puncture surgery robots has not been popularized, and the accuracy requirements of puncture surgery robots are much higher than those in the industrial field. Therefore, in the field of puncture surgery robots, how to judge whether the coordinate values ​​obtained by 3D vision cameras in the calibration program have met the accuracy requirements of puncture surgery robots has become an urgent problem to be solved in the field of puncture surgery robots. In order to judge whether the coordinate values ​​obtained by 3D vision cameras in the calibration program have met the accuracy requirements of puncture surgery robots, it is necessary to find a method that can quickly detect the accuracy of the coordinates. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for detecting the accuracy of a 3D camera calibration program of a puncture surgery robot.

[0005] The accuracy detection method of the 3D camera calibration program of the puncture surgery robot in the present invention is performed according to the following steps:

[0006] 1) Installing the calibration plate in the detection device, wherein a plurality of sets of position pointers of different heights are fixedly installed in the detection device, wherein each set of the position pointers is respectively installed in a corresponding test point with a fixed position, defining the origin of the coordinate system of the calibration plate, establishing the coordinate system of the calibration plate, and obtaining the coordinate value corresponding to the needle tip of each set of the position pointers in the coordinate system of the calibration plate, which is called the first coordinate value;

[0007] 2) installing a 3D vision camera at the end of the mechanical arm of the puncture surgery robot, running and completing a calibration program, and obtaining a conversion relationship between the calibration plate coordinate system and the mechanical arm coordinate system;

[0008] 3) Using the conversion relationship in step 2), the coordinate value of the position pointer needle tip in the robot arm coordinate system is calculated, which is called the second coordinate value;

[0009] 4) Remove the 3D vision camera, install a standard pointer at the end of the robotic arm, and input the workpiece data of the standard pointer;

[0010] 5) Unlock the robotic arm, manually drag the robotic arm carrying the standard pointer to the needle tip of each group of the position pointers in sequence, stop when the relative distance between the needle tip of the position pointer and the needle tip of the standard pointer is zero, and use the coordinate feedback system inside the robotic arm to obtain the coordinate value of the position pointer in the robotic arm coordinate system, which is called the third coordinate value;

[0011] 6) Compare the third coordinate value of each group of position pointers with the second coordinate value, and calculate the distance deviation di between the second coordinate value and the third coordinate value of the needle tip of each group of position pointers according to the following formula;

[0012]

[0013] Where: i is the serial number of each group of position pointers.

[0014] Preferably, in step 6), the steps of summing up the distance deviations of each group of position pointers and averaging them, calculating the average deviation of all distance deviations, and calculating the root mean square error of all distance deviations are added.

[0015] Preferably, the detection device is fixedly installed with a plurality of groups of position pointers whose heights are distributed in an arithmetic progression.

[0016] Preferably, in step 4), after the workpiece data of the standard pointer is input, the robot arm coordinate system is adjusted inside the puncture surgery robot controller according to the workpiece data of the standard pointer.

[0017] The puncture surgery robot 3D camera calibration program accuracy detection system of the present invention includes a puncture surgery robot, a calibration plate, a standard pointer, a test platform and a detection device. The puncture surgery robot includes a mechanical arm, an excitation device that combines a 3D visual camera and a puncture needle into an integral whole, and a puncture surgery robot controller. The standard pointer and the excitation device are fixedly installed at the end of the mechanical arm so as to be removable and interchangeable. The detection device includes a base processed into an integral whole by a thick steel plate, and a plurality of position pointers of different heights for detection assembled and connected to the base. The standard pointer is the same as one of the plurality of position pointers.

[0018] Preferably, the position pointer comprises an integrally formed needle tip portion, a main body portion and a connecting portion, the needle tips and connecting portions of all position pointers are of the same shape and size, and the heights of the main bodies of all position pointers are distributed in an arithmetic progression.

[0019] Preferably, the base is integrally formed of a thick steel plate, the base is formed with a first mounting portion for embedding and setting the calibration plate, and a second mounting portion for mounting the position pointer is formed around the first mounting portion;

[0020] The first mounting portion is a countersunk hole located in the middle of the base, and the countersunk hole has the same shape and outer diameter as the bottom plate of the calibration plate;

[0021] The second mounting portion is provided with a plurality of test points, which are circular countersunk holes of the same size and shape, and the test points are respectively assembled and connected to the corresponding position pointers through the base column blocks;

[0022] All the position pointers are fixedly assembled on the same side of the countersunk hole opened on the base through the base column block, and are located on the same side as the calibration plate.

[0023] Preferably, the base and the countersunk hole are both rectangular, and the long side of the countersunk hole is arranged parallel to the long side of the base.

[0024] Preferably, eight test points are arranged on the second mounting portion, three first test points are arranged at both ends of the long side of the base, and a second test point is arranged at both ends of the short side of the base. The middle one of the three first test points is located on the center line of the base, and the other two are located at equidistant positions on both sides of the center line.

[0025] The accuracy detection method and system of the 3D camera calibration program of the puncture surgical robot in the present invention can quickly detect the accuracy in the 3D vision camera calibration program, and is used to determine whether the 3D vision camera and the supporting calibration algorithm can meet the surgical accuracy requirements of the puncture surgical robot, thereby ensuring the surgical safety of the puncture surgical robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic diagram of the structure of the detection system of the present invention.

[0027] Figure 2 It is a schematic diagram of the three-dimensional structure when the detection device and the calibration plate in the present invention are combined.

[0028] Figure 3 It is a three-dimensional structural schematic diagram of the base in the present invention.

[0029] Figure 4 It is a schematic diagram of the three-dimensional structure of the calibration plate in the present invention.

[0030] Figure 5 It is a top view schematic diagram of the base in the present invention.

[0031] Figure 6 yes Figure 5 Schematic diagram of the cross-sectional structure along line AA.

[0032] Figure 7 yes Figure 5 Schematic diagram of the cross-sectional structure along line BB.

[0033] Figure 8 yes Figure 5 Schematic diagram of the cross-sectional structure along the CC line.

[0034] Fig. 9 This is the structural intention of the position pointer in the present invention. The figure shows position pointers of four different heights: a1, a2, a3, and a4. DETAILED DESCRIPTION

[0035] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0036] It should be noted that, in the present application, relational terms such as “first” and “second” are merely used to distinguish one component from another, and do not necessarily require or imply any actual relationship or order between the components.

[0037] like Figure 1 As shown, the puncture surgery robot 3D camera calibration program accuracy detection system of the present invention includes a puncture surgery robot, a calibration plate 7, a standard pointer 3, a test platform 6 and a detection device 1. The puncture surgery robot includes a mechanical arm 2, an excitation device (not shown in the figure) that combines a 3D vision camera 4 and a puncture needle (not shown in the figure) into a whole, and a computer 5 (also called a controller of the puncture surgery robot) installed with 3D vision dedicated software. The excitation device assembled with the 3D vision camera 4 is detachably fixedly installed at the end of the mechanical arm 2, and can be replaced with the standard pointer 3.

[0038] like Figure 1 and Figure 2 As shown, the test platform 6 in the present invention can be a commonly used stable storage table. The detection device 1 is directly placed flat on the test platform 6, and the puncture surgical robot is firmly placed next to the test platform 6 at a position convenient for the movement of the robot arm 2.

[0039] like Figure 2 , Figure 3 and Figure 4As shown, the calibration plate 7 dedicated to the puncture surgical robot adopts the calibration device disclosed by the inventor of the present invention in the Chinese patent application number CN2022228558536. The bottom plate 71 of the calibration plate 7 is rectangular, and its outer diameter is 160mm*140mm*5mm in length, width and height. In order to match the outer dimensions of the bottom plate 71, the detection device 1 in the present invention includes a base 11 processed into an integral body by a thick steel plate, and preferably a stainless steel plate with a thickness of 10-20mm, a length of 280-310mm, and a width of 230-260mm is used. For example, the present invention preferably uses a stainless steel plate with a thickness of 15mm, a length of 295mm, and a width of 245mm.

[0040] A first mounting portion is provided in the middle of the base 11 for embedding the bottom plate 71 of the calibration plate 7, and a second mounting portion is formed around the first mounting portion for mounting a plurality of position pointers 10 for detection. In this embodiment, four position pointers 10, namely a1, a2, a3 and a4, are provided as an example, but the present invention is not limited thereto, and the specific number can be increased or decreased according to the needs.

[0041] The second mounting portion surrounds the first mounting portion inside to form a countersunk hole 12. Specifically, the first mounting portion is a rectangular countersunk hole 12 located in the middle of the base 11. The countersunk hole 12 has the same shape and outer diameter as the bottom plate 71 of the calibration plate 7, that is, the length, width and height of the countersunk hole 12 are 160mm*140mm*5mm, and the bottom plate 71 of the calibration plate 7 just fits into the countersunk hole 12. The long side of the countersunk hole 12 is parallel to the long side of the base 11, which is convenient for the conversion of coordinate values. A second through hole 14 is provided at the four corners of the bottom panel of the countersunk hole 12. When the bottom plate 71 of the calibration plate 7 is embedded in the countersunk hole 12, the support leg 70 of the calibration plate 7 just enters the corresponding second through hole 14. A first through hole 13 with a diameter of 40mm is provided in the middle of the four right-angled sides where the bottom panel of the countersunk hole 12 connects to the second mounting portion. Figure 3 As shown, 1 / 3-1 / 2 of the through hole area of ​​the first through hole 13 is located on the bottom panel of the countersunk hole 12, and the remaining through hole area is located on the second mounting portion. Preferably, the diameter of the first through hole 13 is colinear with the right-angle side of the countersunk hole 12. The diameter of the first through hole 13 is at least 35 mm, which is convenient for manually taking out and inserting the calibration plate 7 from the countersunk hole 12.

[0042] like Figure 5 , Figure 6 , Figure 7 and Figure 8As shown, the base 11 is provided with more than six test points on the second mounting portion, and preferably 8 are provided in this embodiment. The specific distribution is as follows: three first test points 16 are provided at both ends of the long side of the second mounting portion, and a second test point 19 is provided at both ends of the short side. The center point of the middle one of the three first test points 16 is located on the center line D of the base 11, and the other two are located at equidistant positions on both sides of the center line D. In this embodiment, the two second test points 16 located on both sides are arranged along the long line of the long side of the countersunk hole 12, and the six first test points 16 are symmetrically distributed along the two center lines of the base 11. The center points of the two second test points 19 are also located on the center line of the base 11. Such a distribution can very accurately calculate the coordinate values ​​of the center points of each first test point 16 and the second test point 19 in the calibration plate coordinate system. The eight test points are of the same size and shape, and are all countersunk structures, which is convenient for selecting and using the four position pointers 10 corresponding to the assembly.

[0043] like Figure 2 As shown, four position pointers 10 are fixedly assembled on the same side of the base 11 where the countersunk hole 12 is opened via the base column block 17. Fig. 9 As shown, the four position pointers 10 selected in this embodiment each include a connecting portion 101, a main body 102 and a needle tip 103. Each position pointer 10 is formed in one piece, and the structure and shape of the connecting portion 101 and the needle tip 103 of each position pointer 10 are exactly the same, except that the height of the main body 102 is different. To facilitate the conversion of coordinate values, the heights of the main body 102 of the four position pointers a1, a2, a3, and a4 are 35 mm, 25 mm, 15 mm, and 5 mm, respectively, and are distributed in an arithmetic progression. Figure 2 As shown, four position pointers 10 are fixedly installed on four first test points 16 via base column blocks 17. In addition, in order to facilitate precision detection, the standard pointer 3 in this embodiment directly selects the position pointer a1 with a height of 35 mm. Of course, any one of the other three position pointers 10 can also be selected. The connecting portion 101 of the position pointer 10 can be directly locked and connected with the mechanical arm 2. When different position pointers 10 are selected, it is only necessary to directly input the workpiece data of the selected position pointer 10 into the computer 5. It is necessary to redefine and convert the mechanical arm coordinate system in the control system of the puncture robot. This operation is easy to implement for technicians in this field and will not be described in detail here.

[0044] The puncture surgery robot 3D camera calibration program accuracy detection method of the present invention is performed according to the following steps:

[0045] 1) Install the calibration plate 7 in the countersunk hole 12 of the detection device 1, and place the detection device 1 together with the calibration plate 7 on the test platform 6 stably. Define the point G at the lower left corner of the calibration plate 7 as the origin, and establish the calibration plate coordinate system. Since the calibration plate 7 is directly installed in the countersunk hole 12 of the detection device 1 and fits the countersunk hole 12, the coordinate values ​​of the needle tips of the four position pointers 10 in the calibration plate coordinate system are fixed values, which are called the first coordinate values. The first coordinate values ​​of the needle tips of the four position pointers 10 are: a1 (x11, y11, z11), a2 (x21, y21, z21), a3 (x31, y31, z31), a4 (x41, y41, z41).

[0046] 2) Install the 3D vision camera 4 (excitation device) at the end of the robotic arm 2, run the calibration program, complete the shooting of the calibration program, and obtain the conversion relationship ω1 between the calibration plate coordinate system and the robotic arm coordinate system. The calibration program of the 3D vision camera and the acquisition of the conversion relationship ω1 between the calibration plate coordinate system and the robotic arm coordinate system are prior arts and will not be described in detail here.

[0047] 3) Using the conversion relationship ω1 in step 2), the coordinate values ​​of the needle tips of the four position pointers 10 in the robot arm coordinate system are calculated, which are called second coordinate values. The second coordinate values ​​of the needle tips of the four position pointers 10 are a1 (x12, y12, z12), a2 (x22, y22, z22), a3 (x32, y32, z32), and a4 (x42, y42, z42).

[0048] 4) Remove the 3D vision camera 4 (excitation device), install the standard pointer 3, and input the workpiece coordinate data of the standard pointer 3 into the computer 5. After inputting the workpiece data of the standard pointer 3, the robot arm coordinate system is adjusted according to the workpiece data of the standard pointer 3 inside the puncture surgery robot controller. The adjustment of this step is easy to implement for technicians in this field and will not be described in detail.

[0049] 5) Unlock the robot arm 2, and manually drag the robot arm 2 carrying the standard pointer 3 to move to the four position pointers 10 respectively. Specifically, first manually drag the robot arm 2 carrying the standard pointer 3 to move to the a1th position pointer 10, and stop when the relative distance between the tip of the position pointer 10 and the tip of the standard pointer 3 is zero. The coordinate feedback system inside the robot arm 2 is used to reversely calculate the coordinate value of the a1th position pointer 10 in the robot arm coordinate system, which is called the third coordinate value, a1 (x13, y13, z13).

[0050] 6) Repeat step 5) to obtain the third coordinate values ​​of the remaining three sets of position pointers 10, which are a2 (x23, y23, z23), a3 (x33, y33, z33), and a4 (x43, y43, z43).

[0051] The third coordinate value of each group of position pointers 10 is compared with the second coordinate value, and the distance deviations di between the second coordinate value and the third coordinate value of the needle tips of the four groups of position pointers 10 are calculated according to the following formula (1), which are: d1, d2, d3, d4 respectively.

[0052]

[0053] Where: i is the serial number of each group of position pointers.

[0054] It is determined whether the distance deviation di of each group of position pointers 10 is 0 or within the allowable error range, so as to determine whether the calibration procedure of the 3D vision camera meets the surgical accuracy requirements of the puncture surgical robot.

[0055] 7) The distance deviations d1, d2, d3, and d4 of the four groups of position pointers 10 obtained in step 6) are summed up and averaged. That is, the average deviation ΔD in the calibration process of the puncture surgical robot using the 3D vision camera can be calculated according to the following formula (2), and the root mean square error δ of all distance deviations di can be calculated by the following root mean square error calculation formula (3). Based on the average deviation ΔD and the root mean square error δ, it is possible to more simply and scientifically determine whether the calibration procedure of the 3D vision camera meets the surgical accuracy requirements of the puncture surgical robot.

[0056] ΔD=(d1+d2+d3+d4) / 4 (2)

[0057]

[0058] If the values ​​of the mean deviation ΔD and the root mean square error δ are both 0 or within the allowable error range, it can be determined that the calibration procedure of the 3D vision camera has met the surgical accuracy requirements of the puncture surgical robot. This can verify the feasibility of the application of the 3D vision camera in the puncture surgical robot and ensure the surgical safety of the puncture surgical robot.

Claims

1. A method for detecting the accuracy of a 3D camera calibration program of a puncture surgery robot is performed in the following steps: 1) Installing the calibration plate in the detection device, wherein a plurality of sets of position pointers of different heights are fixedly installed in the detection device, wherein each set of the position pointers is respectively installed in a corresponding test point with a fixed position, defining the origin of the coordinate system of the calibration plate, establishing the coordinate system of the calibration plate, and obtaining the coordinate value corresponding to the needle tip of each set of the position pointers in the coordinate system of the calibration plate, which is called the first coordinate value; 2) installing a 3D vision camera at the end of the mechanical arm of the puncture surgery robot, running and completing a calibration program, and obtaining a conversion relationship between the calibration plate coordinate system and the mechanical arm coordinate system; 3) Using the conversion relationship in step 2), the coordinate value of the position pointer needle tip in the robot arm coordinate system is calculated, which is called the second coordinate value; 4) Remove the 3D vision camera, install a standard pointer at the end of the robotic arm, and input the workpiece data of the standard pointer; 5) Unlock the robotic arm, manually drag the robotic arm carrying the standard pointer to the needle tip of each group of the position pointers in sequence, stop when the relative distance between the needle tip of the position pointer and the needle tip of the standard pointer is zero, and use the coordinate feedback system inside the robotic arm to obtain the coordinate value of the position pointer in the robotic arm coordinate system, which is called the third coordinate value; 6) Compare the third coordinate value of each group of position pointers with the second coordinate value, and calculate the distance deviation di between the second coordinate value and the third coordinate value of the needle tip of each group of position pointers according to the following formula; Where: i is the serial number of each group of position pointers.

2. The puncture surgery robot 3D camera calibration program accuracy detection method according to claim 1, characterized in that: In step 6), the steps of summing up the distance deviations of each group of position pointers and averaging them, calculating the average deviation of all distance deviations, and calculating the root mean square error of all distance deviations are added.

3. The puncture surgery robot 3D camera calibration program accuracy detection method according to claim 1 or 2, characterized in that: The detection device is fixedly installed with a plurality of groups of position pointers distributed in an arithmetic progression.

4. The method for detecting the accuracy of the 3D camera calibration program of a puncture surgery robot according to claim 1 or 2, characterized in that: In step 4), after the workpiece data of the standard pointer is input, the robot arm coordinate system is adjusted inside the puncture surgery robot controller according to the workpiece data of the standard pointer.

5. A system for the method according to any one of claims 1 to 4, characterized in that: The invention comprises a puncture surgery robot, a calibration plate, a standard pointer, a test platform and a detection device. The puncture surgery robot comprises a mechanical arm, an excitation device which combines a 3D vision camera and a puncture needle into a whole, and a puncture surgery robot controller. The standard pointer and the excitation device are fixedly mounted on the end of the mechanical arm so as to be removable and interchangeable. The detection device comprises a base which is processed into an integral body by a thick steel plate, and a plurality of position pointers of different heights for detection which are assembled and connected to the base. The standard pointer is one of the plurality of position pointers.

6. The puncture surgery robot 3D camera calibration program accuracy detection system according to claim 5, characterized in that: The position pointer comprises an integrally formed needle tip portion, a main body portion and a connecting portion. The needle tips and connecting portions of all position pointers have the same shape and size, and the heights of the main bodies of all position pointers are distributed in an arithmetic progression.

7. The puncture surgery robot 3D camera calibration program accuracy detection system according to claim 5, characterized in that: The base is integrally formed of a thick steel plate, and the base is formed with a first mounting portion for embedding and setting the calibration plate, and a second mounting portion for mounting the position pointer is formed around the first mounting portion; The first mounting portion is a countersunk hole located in the middle of the base, and the countersunk hole has the same shape and outer diameter as the bottom plate of the calibration plate; The second mounting portion is provided with a plurality of test points, which are circular countersunk holes of the same size and shape, and the test points are respectively assembled and connected to the corresponding position pointers through the base column blocks; All the position pointers are fixedly assembled on the same side of the countersunk hole opened on the base through the base column block, and are located on the same side as the calibration plate.

8. The puncture surgery robot 3D camera calibration program accuracy detection system according to claim 7, characterized in that: The base and the countersunk hole are both rectangular, and the long side of the countersunk hole is arranged parallel to the long side of the base.

9. The puncture surgery robot 3D camera calibration program accuracy detection system according to claim 7, characterized in that: Eight test points are arranged on the second mounting portion, three first test points are arranged at both ends of the long side of the base, a second test point is arranged at both ends of the short side of the base, the middle one of the three first test points is located on the center line of the base, and the other two are located at equidistant positions on both sides of the center line.