WO2022257473A1 - Control method and apparatus for reaming tool of surgical robot - Google Patents

Control method and apparatus for reaming tool of surgical robot Download PDF

Info

Publication number
WO2022257473A1
WO2022257473A1 PCT/CN2022/073123 CN2022073123W WO2022257473A1 WO 2022257473 A1 WO2022257473 A1 WO 2022257473A1 CN 2022073123 W CN2022073123 W CN 2022073123W WO 2022257473 A1 WO2022257473 A1 WO 2022257473A1
Authority
WO
WIPO (PCT)
Prior art keywords
frustrating
tool
matrix
origin
position coordinates
Prior art date
Application number
PCT/CN2022/073123
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 WO2022257473A1 publication Critical patent/WO2022257473A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • 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
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/02Prostheses implantable into the body
    • A61F2/30Joints
    • A61F2/32Joints for the hip
    • A61F2/34Acetabular cups
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/02Prostheses implantable into the body
    • A61F2/30Joints
    • A61F2/46Special tools or methods for implanting or extracting artificial joints, accessories, bone grafts or substitutes, or particular adaptations therefor
    • A61F2/4644Preparation of bone graft, bone plugs or bone dowels, e.g. grinding or milling bone material
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/161Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F2/00Filters implantable into blood vessels; Prostheses, i.e. artificial substitutes or replacements for parts of the body; Appliances for connecting them with the body; Devices providing patency to, or preventing collapsing of, tubular structures of the body, e.g. stents
    • A61F2/02Prostheses implantable into the body
    • A61F2/30Joints
    • A61F2/46Special tools or methods for implanting or extracting artificial joints, accessories, bone grafts or substitutes, or particular adaptations therefor
    • A61F2/4644Preparation of bone graft, bone plugs or bone dowels, e.g. grinding or milling bone material
    • A61F2002/4645Devices for grinding or milling bone material

Definitions

  • the invention relates to the technical field of medical equipment, in particular to a control method and device for a grinding tool of a surgical robot.
  • the grinding tool In automatic hip replacement using robots, the grinding tool needs to be limited to prevent it from going too deep and damaging the acetabulum. Secondly, the angle of the grinding tool also needs to be limited to prevent the grinding tool from misaligning the acetabulum. grind. But do not have the automatic control method of frustrating tool at present.
  • embodiments of the present invention provide a method and device for controlling a grinding tool of a surgical robot, so as to automatically control the grinding process of the grinding tool.
  • an embodiment of the present invention provides a method for controlling a frustrating tool of a surgical robot, including: acquiring the initial posture of the frustrating tool in a base coordinate system and the position coordinates of key points, wherein the The position coordinates of the key points include the position coordinates of the top of the frustrating tool; based on the preset transformation matrix, the initial posture of the frustrating tool is transformed into a motion posture; the position coordinates of the top of the frustrating tool are fixed, and the machine The arm controls the frustrating tool to perform frustrating in the motion posture, and obtains the motion track of the origin of the flange of the manipulator; and adjusts the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator.
  • adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator; if the frustrating angle is greater than Or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
  • the method further includes: detecting in real time the current position of the preset frustrating position point in the grounded object; if the current position of the preset frustrating position point does not match the position of the preset limit point, the grinding The setback work is adjusted from the motion posture to the initial posture.
  • transforming the frustrating tool from an initial posture to a motion posture includes: based on the coordinate system transformation matrix T, converting the first The coordinate system is converted into a second coordinate system with the top of the grinding tool as the origin of the coordinate system; the coordinate system conversion matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain an MT matrix; based on the MT matrix, Transforming the frustrating tool from the initial posture to the motion posture.
  • adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool according to the motion track of the origin of the flange of the manipulator When it is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the initial posture through the inverse matrix and the reverse matrix of the coordinate system conversion matrix T; based on the second rotation Matrix M 1 , correcting the initial pose of the frustrating tool; based on the transformation matrix, transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
  • the y-axis is the MN direction;
  • the z-axis is the OM direction;
  • the x-axis is determined according to the right-hand rule;
  • the method is used for abrasion of acetabular cups.
  • the method further includes: according to the initial position coordinates of the inner spherical center of the acetabular cup, determining the limit point of the depth of the acetabular cup wear; according to the detected inner spherical center of the acetabular cup The current position coordinates of the acetabular cup and the bruising depth limit point determine the feedback resistance of the bruising tool to the acetabular cup.
  • the feedback resistance of the bruising tool to the acetabular cup is determined , comprising: calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the depth of friction; according to the coordinate difference and the reaction of the mechanical sensor of the mechanical arm
  • the mapping relationship between the thresholds is used to determine the feedback resistance of the abrading tool for abrading the acetabular cup.
  • the method further includes: when the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the bruise depth limit point is less than or equal to a preset threshold, passing the The mechanical arm controls the grinding tool to stop moving.
  • an embodiment of the present invention provides a control device for a frustrating tool of a surgical robot, including: a first acquisition module configured to acquire the initial posture of the frustrating tool in the base coordinate system and the position of key points Coordinates, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool; the posture transformation module is configured to transform the frustrating tool from an initial posture to a motion based on a preset transformation matrix Attitude; the frustrating module, configured to fix the position coordinates of the top of the frustrating tool, control the frustrating tool to perform frustrating in the motion posture through the robot arm, and obtain the movement of the origin of the flange of the mechanical arm track, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator.
  • adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator; if the frustrating angle is greater than Or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
  • the device further includes: a detection unit configured to detect in real time the current position of a preset frustrating position point in the frustrating object; an adjusting unit configured to if the current position of the preset frustrating position point is different from the preset If the position of the limit point is inconsistent, adjust the frustrating work from the motion posture to the initial posture.
  • a detection unit configured to detect in real time the current position of a preset frustrating position point in the frustrating object
  • an adjusting unit configured to if the current position of the preset frustrating position point is different from the preset If the position of the limit point is inconsistent, adjust the frustrating work from the motion posture to the initial posture.
  • the attitude transformation module is further configured to: based on the coordinate system transformation matrix T, convert the first coordinate system with the origin of the flange of the robot arm as the origin of the coordinate system to the top of the grinding tool as the origin of the coordinate system the second coordinate system; the coordinate system transformation matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain the MT matrix; based on the MT matrix, the frustrating tool is transformed from the initial posture to the Athletic stance.
  • adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool according to the motion track of the origin of the flange of the manipulator When it is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the initial posture through the inverse matrix and the reverse matrix of the coordinate system conversion matrix T; based on the second rotation Matrix M 1 , correcting the initial pose of the frustrating tool; based on the transformation matrix, transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
  • the y-axis is the MN direction;
  • the z-axis is the OM direction;
  • the x-axis is determined according to the right-hand rule;
  • the device is used for abrading of acetabular cups.
  • the device further includes: according to the initial position coordinates of the inner spherical center of the acetabular cup, determining the limit point of the acetabular cup's wear depth; according to the detected inner spherical center of the acetabular cup The current position coordinates of the acetabular cup and the bruising depth limit point determine the feedback resistance of the bruising tool to the acetabular cup.
  • the feedback resistance of the bruising tool to the acetabular cup is determined , comprising: calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the depth of friction; according to the coordinate difference and the reaction of the mechanical sensor of the mechanical arm
  • the mapping relationship between the thresholds is used to determine the feedback resistance of the abrading tool for abrading the acetabular cup.
  • the device further includes: a control unit configured to, when the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the bruise depth limit point is less than or equal to a predetermined When the threshold is set, the grinding tool is controlled by the mechanical arm to stop moving.
  • an embodiment of the present invention provides an electronic device, including a memory and a processor, the memory and the processor are connected to each other in communication, the memory stores computer instructions, and the processor passes Execute the computer instructions, so as to implement the control method for the grinding tool of the surgical robot described in the first aspect or any implementation manner of the first aspect.
  • an embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the first aspect or the first aspect.
  • Embodiments of the present invention provide a control method and device for a frustrating tool of a surgical robot.
  • the control method of the frustrating tool obtains the initial posture of the frustrating tool in the base coordinate system and the position coordinates of key points, wherein , the position coordinates of the key points include the position coordinates of the top of the frustrating tool; based on the transformation matrix, transform the frustrating tool from an initial posture to a motion posture; fix the position coordinates of the top of the frustrating tool, and pass the machine
  • the arm controls the grinding tool to perform grinding under the motion posture, and obtains the motion track of the origin of the flange of the manipulator; adjusts the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator, Therefore, the rotation of the grinding tool can be controlled according to the motion trajectory, and the initial position coordinates of the inner spherical center of the acetabular cup are also included to determine the limit point of the grinding depth of the acetabular cup.
  • the mechanical arm is used to control the frustrating tool to stop moving. Therefore, the operator can control the movement angle and depth of the grinding tool during the grinding of the acetabulum, avoiding damage to the acetabulum, thereby improving the safety of the grinding tool and the surgical effect of the patient.
  • FIG. 1 is a schematic flowchart of a control method for a grinding tool of a surgical robot according to Embodiment 1 of the present invention
  • Fig. 2 is a schematic diagram of the first pose during the movement of the grinding tool used in the surgical robot
  • Fig. 3 is a schematic diagram of the second pose during the movement of the grinding tool used in the surgical robot
  • Fig. 4 is a schematic diagram of the conical movement of the frustrating tool for the surgical robot
  • Fig. 5 is a schematic structural diagram of a grinding tool control device for a surgical robot according to Embodiment 2 of the present invention.
  • Embodiment 1 of the present invention provides a control method for a grinding tool of a surgical robot
  • FIG. 1 is a schematic flowchart of a control method for a grinding tool of a surgical robot according to Embodiment 1 of the present invention
  • Fig. 2 is a schematic diagram of the initial attitude during the motion of the grinding tool used in the surgical robot
  • Fig. 3 is a schematic diagram of the motion posture of the grinding tool used in the surgical robot during the motion, as shown in Fig. 1, the embodiment 1 of the present invention
  • a control method for a grinding tool for a surgical robot includes the following steps:
  • S101 Obtain the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool.
  • a ball-type bruising tool is installed at the top position N of the bruising tool, the center of which is located at point N, and the acetabulum is bruised by the bruising tool.
  • the frustrating tool is a frustrating rod.
  • S102 Transform the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix.
  • the following technical solution can be adopted to transform the frustrating tool from the initial posture to the motion posture: based on the coordinate system transformation matrix T, the mechanical arm flange The first coordinate system whose origin is the origin of the coordinate system is transformed into the second coordinate system whose origin is the coordinate system at the top of the grinding tool; the matrix multiplication operation is performed on the coordinate system conversion matrix T and the first rotation matrix M to obtain MT matrix; transforming the frustrating tool from the initial pose to the motion pose based on the MT matrix.
  • top position N of the frustrating tool when it reaches the preset current rotation position, it is in the initial posture shown in FIG. 2 .
  • point N represents the top position of the grinding tool
  • point O represents the origin of the flange of the manipulator
  • point M represents the projection of point O on the grinding tool.
  • the OM direction is the z-axis
  • the MN direction is the y-axis
  • the x-axis is determined according to the right-hand rule.
  • Controlling the rotation of the grinding tool according to the rotation track can make the grinding tool perform conical motion, as shown in Figure 4, for example, in Figure 4, R is equivalent to PN in Figure 3, a indicates the rotation angle, and 116b indicates that it is mounted on the grinding tool.
  • the frustrating tool at the top of the tool such as the spherical rub used for bone grinding
  • P represents the rotation position
  • C represents the depth limit point of the frustrating tool.
  • the depth limit point of the frustrating tool can be determined by extending n millimeters along the axial distance according to the center of the acetabular cup planned before operation. For example, n can take a value of 1, 2, etc. Do limited.
  • S103 Fix the position coordinates of the top end of the grinding tool, control the grinding tool to perform grinding in the motion posture through the robot arm, and obtain the movement track of the origin of the flange of the robot arm.
  • S104 Adjust the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator.
  • adjusting the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator includes: determining the grinding position of the grinding tool based on the track of the origin of the flange of the manipulator Frustration angle; if the frustration angle is greater than or equal to the set frustration angle threshold, adjust the frustration work from the motion posture to the initial posture.
  • the following technical solution may be adopted for adjusting the pose of the grinding tool:
  • the trajectory determines that the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold value
  • the inverse matrix and the inverse matrix T of the coordinate system conversion matrix T transl(0,k,q)* rotx(-a))
  • transforming the frustrating tool from the current motion posture to the initial posture based on the second rotation matrix M 1 , correcting the initial posture of the frustrating tool; based on the transformation matrix , transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
  • M 1 roty( ⁇ )
  • the roty( ⁇ ) indicates that the rotation angle of the grinding tool around the y-axis is ⁇ .
  • the angle of the frustrating tool can be controlled, and successive repetitions of different steps S101-S104 can make the frustrating tool move out of a complete conical trajectory.
  • the method further includes: detecting in real time the current position of the preset frustrating position point in the frustrating object; if the current position of the preset frustrating position point is different from the preset limit point If the position of the tool does not match, adjust the frustrating tool from the motion posture to the initial posture.
  • the preset frustrating position point can be a real-time detected position point during the frustrating process, and the position point can represent the frustrating depth, for example, in the continuous frustrating process, the depth is continuously deepened , the position of the location point is constantly changing.
  • the real-time position of the position point can be compared with the position of the depth limit point. If the position point exceeds the depth limit point, the attitude of the grinding tool can be adjusted.
  • the method is used for grinding of acetabular cups.
  • the control method of the frustrating tool can be applied to any frustrating objects, for example, the frustrating parts of the frustrating tool can be replaced, so as to be applicable to frustrating objects of different frustrating objects.
  • the abraded object may include, but is not limited to, an acetabular cup.
  • the movement of the frustrating tool also needs to control the depth
  • the control method of the frustrating tool further includes the following steps: according to the initial position coordinates of the inner spherical center of the acetabular cup, determine the hip The limit point of the depth of the acetabular cup; according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the depth of the acetabular, determine the impact of the acetabular tool on the acetabular cup Feedback resistance for frustrating.
  • the abrading object is an acetabular cup
  • the abrading tool is suitable for the acetabular cup according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the abrading depth limit point.
  • the feedback resistance of the acetabular cup for grinding can adopt the following technical scheme: calculate the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the limit point of the grinding depth; according to the The mapping relationship between the coordinate difference and the response threshold of the mechanical sensor of the mechanical arm determines the feedback resistance of the grinding tool for grinding the acetabular cup.
  • the feedback resistance of the mechanical sensor can be set to be larger as it gets closer to the limit point of the friction depth, so that the setting of the feedback resistance is more reasonable and humanized.
  • the mechanical arm controls the The frustrating tool stops moving.
  • the depth of the grinding tool can thus be controlled.
  • the limit point of the bruising depth of the bruising tool can be determined according to the limit point C of the acetabular cup introduced into the system by the planning structure, so that the center of the inner spherical surface of the acetabular cup can be The C limit point will not be exceeded.
  • the position of the mechanical arm is detected in real time. The closer the mechanical arm is to the limit point, the greater the response threshold of the mechanical sensor is set, so that when the mechanical arm is pushed by hand, the resistance is greater, and the push will not move.
  • the grinding tool is powered off, and the response threshold of the force sensor of the manipulator is set to infinity.
  • the definition of the response threshold of the mechanical arm force sensor We set a threshold for the mechanical arm sensor, such as a force of 10N. If the force applied to the mechanical arm is less than 10N, the mechanical arm will not move, and if the force is greater than 10N, the mechanical arm will move.
  • the embodiments of the present application can control the movement angle and depth of the abrading tool during the acetabular abrading process, avoiding acetabular abrasion, thereby improving the safety of the adebrosis tool and the patient's surgical effect.
  • Embodiment 2 of the present invention provides a control device for a grinding tool of a surgical robot.
  • 5 is a schematic structural diagram of a control device for a grinding tool for a surgical robot according to Embodiment 2 of the present invention.
  • the control device for a grinding tool for a surgical robot according to Embodiment 2 of the present invention includes an acquisition module 20 , attitude transformation module 22 and friction module 24.
  • the obtaining module 20 is configured to obtain the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool;
  • the posture transformation module 22 is configured to transform the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix
  • the frustrating module 24 is configured to fix the position coordinates of the top end of the frustrating tool, control the frustrating tool to be frustrated in the motion posture through the robot arm, and obtain the motion track of the origin of the flange of the mechanical arm, according to The motion track of the origin of the flange of the manipulator adjusts the pose of the grinding tool.
  • the control of the grinding tool is optional.
  • the pose of the grinding tool is adjusted according to the motion track of the origin of the flange of the mechanical arm. It includes: determining the frustrating angle of the frustrating tool based on the motion trajectory of the origin of the flange of the manipulator; if the frustrating angle is greater than or equal to the set frustrating angle threshold, adjusting the frustrating work from the motion posture to the initial posture.
  • the device further includes: a detection unit configured to detect in real time the current position of a preset frustrating point in the frustrated object; an adjustment unit configured to The current position of the frustrating point does not match the position of the preset limit point, and the frustrating work is adjusted from the motion posture to the initial posture.
  • the posture transformation module is further configured to: based on the coordinate system transformation matrix T, transform the first coordinate system with the origin of the coordinate system at the origin of the manipulator flange into the The top of the frustrating tool is the second coordinate system of the origin of the coordinate system; the coordinate system transformation matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain the MT matrix; based on the MT matrix, the frustrating tool is formed by The initial pose is transformed into the motion pose.
  • adjusting the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator includes: When the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the desired one through the inverse matrix and reverse matrix of the coordinate system transformation matrix T the initial pose; based on the second rotation matrix M 1 , correct the initial pose of the frustrating tool; based on the transformation matrix, transform the corrected initial pose of the frustrating tool into a corresponding motion pose .
  • the y-axis is the MN direction;
  • the z-axis is the OM direction;
  • the x-axis is determined according to the right-hand rule direction;
  • the device is used for grinding of acetabular cups.
  • the device further includes: according to the initial position coordinates of the center of the inner spherical surface of the acetabular cup, determining the limit point of the acetabular cup's wear depth; according to the detected The current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth determine the feedback resistance of the bruising tool to the acetabular cup.
  • the feedback resistance of the acetabular cup for grinding includes: calculating the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the limit point of the grinding depth; The mapping relationship between the response thresholds of the mechanical sensors of the mechanical arm is used to determine the feedback resistance of the grinding tool for grinding the acetabular cup.
  • the device further includes: a control unit configured to, when the current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruise depth, When the coordinate difference is less than or equal to a preset threshold, the grinding tool is controlled by the mechanical arm to stop moving.
  • a control unit configured to, when the current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruise depth, When the coordinate difference is less than or equal to a preset threshold, the grinding tool is controlled by the mechanical arm to stop moving.
  • An embodiment of the present invention also provides an electronic device, which may include a processor and a memory, where the processor and the memory may be connected through a bus or in other ways.
  • the processor may be a central processing unit (Central Processing Unit, CPU).
  • the processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FPGA) or other Chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the control method for the grinding tool of the surgical robot in the embodiment of the present invention.
  • Program instructions/modules for example, the acquisition module 20, the attitude transformation module 22 and the friction module 24 shown in FIG. 5).
  • the processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, to realize the control method for the grinding tool of the surgical robot in the above method embodiment .
  • the memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created by the processor, and the like.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
  • the memory may optionally include memory located remotely from the processor, and such remote memory may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory, and when executed by the processor, the method for controlling a grinding tool for a surgical robot in the embodiment shown in FIGS. 1-3 is executed.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk) Disk Drive, abbreviation: HDD) or solid-state hard drive (Solid-State Drive, SSD) etc.;
  • the storage medium can also include the combination of above-mentioned types of memory.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Orthopedic Medicine & Surgery (AREA)
  • Public Health (AREA)
  • Transplantation (AREA)
  • Veterinary Medicine (AREA)
  • General Health & Medical Sciences (AREA)
  • Robotics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biomedical Technology (AREA)
  • Vascular Medicine (AREA)
  • Mechanical Engineering (AREA)
  • Cardiology (AREA)
  • Automation & Control Theory (AREA)
  • Surgery (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Fuzzy Systems (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgical Instruments (AREA)

Abstract

A control method and apparatus for a reaming tool of a surgical robot. The control method for a reaming tool comprises: acquiring, in a base coordinate system, an initial posture of a reaming tool and the position coordinates of a key point thereof; on the basis of a preset transformation matrix, transforming the reaming tool from the initial posture to a movement posture; and fixing the position coordinates of the top end of the reaming tool, controlling, by means of a robotic arm, the reaming tool to perform reaming at the movement posture, and adjusting the pose of the reaming tool according to a movement trajectory of the origin of a flange of the robotic arm. The control method further comprises: when a coordinate difference between the current position coordinates of a spherical center of an inner spherical surface of an acetabular cup and the position coordinates of a reaming depth limiting point is less than or equal to a preset threshold value, controlling, by means of the robotic arm, the reaming tool to stop moving.

Description

用于手术机器人的磨挫工具的控制方法及装置Control method and device for grinding tool for surgical robot
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年6月7日提交中国专利局,申请号为202110633980.9,发明名称为“磨挫工具的控制方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on June 7, 2021 with the application number 202110633980.9. Incorporated in this application by reference.
技术领域technical field
本发明涉及医疗设备技术领域,具体涉及用于手术机器人的磨挫工具的控制方法及装置。The invention relates to the technical field of medical equipment, in particular to a control method and device for a grinding tool of a surgical robot.
背景技术Background technique
使用机器人全自动进行髋关节置换术中,磨挫工具需要受到一定的限制防止其过于深入从而磨坏髋臼,其次是磨挫工具的角度也需要一定的限制,防止磨挫工具将髋臼误磨。但是目前并没有磨挫工具的自动控制方法。In automatic hip replacement using robots, the grinding tool needs to be limited to prevent it from going too deep and damaging the acetabulum. Secondly, the angle of the grinding tool also needs to be limited to prevent the grinding tool from misaligning the acetabulum. grind. But do not have the automatic control method of frustrating tool at present.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种用于手术机器人的磨挫工具的控制方法及装置,以对磨挫工具的磨挫过程进行自动控制。In view of this, embodiments of the present invention provide a method and device for controlling a grinding tool of a surgical robot, so as to automatically control the grinding process of the grinding tool.
根据第一方面,本发明实施例提供了一种用于手术机器人的磨挫工具的控制方法,包括:获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹;根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿。According to the first aspect, an embodiment of the present invention provides a method for controlling a frustrating tool of a surgical robot, including: acquiring the initial posture of the frustrating tool in a base coordinate system and the position coordinates of key points, wherein the The position coordinates of the key points include the position coordinates of the top of the frustrating tool; based on the preset transformation matrix, the initial posture of the frustrating tool is transformed into a motion posture; the position coordinates of the top of the frustrating tool are fixed, and the machine The arm controls the frustrating tool to perform frustrating in the motion posture, and obtains the motion track of the origin of the flange of the manipulator; and adjusts the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator.
可选地,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。Optionally, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator; if the frustrating angle is greater than Or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
可选地,所述方法还包括:实时检测被磨挫对象中预设的磨挫位置点的当前位置;如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工作从运动姿态调整为初始姿态。Optionally, the method further includes: detecting in real time the current position of the preset frustrating position point in the grounded object; if the current position of the preset frustrating position point does not match the position of the preset limit point, the grinding The setback work is adjusted from the motion posture to the initial posture.
可选地,基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态,包括:基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶 端为坐标系原点的第二坐标系;将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。Optionally, based on a preset transformation matrix, transforming the frustrating tool from an initial posture to a motion posture includes: based on the coordinate system transformation matrix T, converting the first The coordinate system is converted into a second coordinate system with the top of the grinding tool as the origin of the coordinate system; the coordinate system conversion matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain an MT matrix; based on the MT matrix, Transforming the frustrating tool from the initial posture to the motion posture.
可选地,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,包括:在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵,将所述磨挫工具由当前的运动姿态变换为所述初始姿态;基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正;基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。 Optionally, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool according to the motion track of the origin of the flange of the manipulator When it is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the initial posture through the inverse matrix and the reverse matrix of the coordinate system conversion matrix T; based on the second rotation Matrix M 1 , correcting the initial pose of the frustrating tool; based on the transformation matrix, transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
可选地,所述坐标系转换矩阵T为:T=transl(0,-k,-q),其中,所述k表示MN的长度,所述q表示OM的长度,所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点在所述磨挫工具上的垂足;所述第一旋转矩阵M为:M=rotx(a);所述rotx(a)表示磨挫工具绕x轴的旋转角度为a;所述第二旋转矩阵M 1为:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β;y轴为MN方向;z轴为OM方向;根据右手定则方向确定出来x轴;反向矩阵为:T inverse=transl(0,k,q)*rotx(-a))。 Optionally, the coordinate system transformation matrix T is: T=transl(0,-k,-q), wherein, the k represents the length of MN, the q represents the length of OM, and the N represents the The top position of the frustrating tool, the O represents the origin of the flange of the mechanical arm, and the M represents the vertical foot of the flange origin of the mechanical arm on the frustrating tool; the first rotation matrix M is: M=rotx(a); the rotx(a) indicates that the rotation angle of the grinding tool around the x-axis is a; the second rotation matrix M 1 is: M 1 =roty(β), and the roty(β) Indicates that the rotation angle of the grinding tool around the y-axis is β; the y-axis is the MN direction; the z-axis is the OM direction; the x-axis is determined according to the right-hand rule; the inverse matrix is: T inverse = transl(0,k,q )*rotx(-a)).
可选地,所述方法用于髋臼杯的磨挫。Optionally, the method is used for abrasion of acetabular cups.
可选地,所述方法还包括:根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。Optionally, the method further includes: according to the initial position coordinates of the inner spherical center of the acetabular cup, determining the limit point of the depth of the acetabular cup wear; according to the detected inner spherical center of the acetabular cup The current position coordinates of the acetabular cup and the bruising depth limit point determine the feedback resistance of the bruising tool to the acetabular cup.
可选地,根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力,包括:计算所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值;根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。Optionally, according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruising depth, the feedback resistance of the bruising tool to the acetabular cup is determined , comprising: calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the depth of friction; according to the coordinate difference and the reaction of the mechanical sensor of the mechanical arm The mapping relationship between the thresholds is used to determine the feedback resistance of the abrading tool for abrading the acetabular cup.
可选地,所述方法还包括:当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。Optionally, the method further includes: when the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the bruise depth limit point is less than or equal to a preset threshold, passing the The mechanical arm controls the grinding tool to stop moving.
根据第二方面,本发明实施例提供了用于手术机器人的磨挫工具的控制装置,包括:第一获取模块,被配置为获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;姿态变换模块,被配置为用于基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;磨挫模块,被配置为用于固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰 原点的运动轨迹,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿。According to the second aspect, an embodiment of the present invention provides a control device for a frustrating tool of a surgical robot, including: a first acquisition module configured to acquire the initial posture of the frustrating tool in the base coordinate system and the position of key points Coordinates, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool; the posture transformation module is configured to transform the frustrating tool from an initial posture to a motion based on a preset transformation matrix Attitude; the frustrating module, configured to fix the position coordinates of the top of the frustrating tool, control the frustrating tool to perform frustrating in the motion posture through the robot arm, and obtain the movement of the origin of the flange of the mechanical arm track, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator.
可选地,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。Optionally, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator; if the frustrating angle is greater than Or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
可选地,装置还包括:检测单元,被配置为实时检测被磨挫对象中预设的磨挫位置点的当前位置;调整单元,被配置为如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工作从运动姿态调整为初始姿态。Optionally, the device further includes: a detection unit configured to detect in real time the current position of a preset frustrating position point in the frustrating object; an adjusting unit configured to if the current position of the preset frustrating position point is different from the preset If the position of the limit point is inconsistent, adjust the frustrating work from the motion posture to the initial posture.
可选地,姿态变换模块进一步被配置成:基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶端为坐标系原点的第二坐标系;将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。Optionally, the attitude transformation module is further configured to: based on the coordinate system transformation matrix T, convert the first coordinate system with the origin of the flange of the robot arm as the origin of the coordinate system to the top of the grinding tool as the origin of the coordinate system the second coordinate system; the coordinate system transformation matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain the MT matrix; based on the MT matrix, the frustrating tool is transformed from the initial posture to the Athletic stance.
可选地,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,包括:在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵,将所述磨挫工具由当前的运动姿态变换为所述初始姿态;基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正;基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。 Optionally, adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the manipulator includes: determining the frustrating angle of the frustrating tool according to the motion track of the origin of the flange of the manipulator When it is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the initial posture through the inverse matrix and the reverse matrix of the coordinate system conversion matrix T; based on the second rotation Matrix M 1 , correcting the initial pose of the frustrating tool; based on the transformation matrix, transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
可选地,所述坐标系转换矩阵T为:T=transl(0,-k,-q),其中,所述k表示MN的长度,所述q表示OM的长度,所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点在所述磨挫工具上的垂足;所述第一旋转矩阵M为:M=rotx(a);所述rotx(a)表示磨挫工具绕x轴的旋转角度为a;所述第二旋转矩阵M 1为:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β;y轴为MN方向;z轴为OM方向;根据右手定则方向确定出来x轴;反向矩阵为:T inverse=transl(0,k,q)*rotx(-a))。 Optionally, the coordinate system transformation matrix T is: T=transl(0,-k,-q), wherein, the k represents the length of MN, the q represents the length of OM, and the N represents the The top position of the frustrating tool, the O represents the origin of the flange of the mechanical arm, and the M represents the vertical foot of the flange origin of the mechanical arm on the frustrating tool; the first rotation matrix M is: M=rotx(a); the rotx(a) indicates that the rotation angle of the grinding tool around the x-axis is a; the second rotation matrix M 1 is: M 1 =roty(β), and the roty(β) Indicates that the rotation angle of the grinding tool around the y-axis is β; the y-axis is the MN direction; the z-axis is the OM direction; the x-axis is determined according to the right-hand rule; the inverse matrix is: T inverse = transl(0,k,q )*rotx(-a)).
可选地,所述装置用于髋臼杯的磨挫。Optionally, the device is used for abrading of acetabular cups.
可选地,所述装置还包括:根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。Optionally, the device further includes: according to the initial position coordinates of the inner spherical center of the acetabular cup, determining the limit point of the acetabular cup's wear depth; according to the detected inner spherical center of the acetabular cup The current position coordinates of the acetabular cup and the bruising depth limit point determine the feedback resistance of the bruising tool to the acetabular cup.
可选地,根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力,包括:计算所述髋臼杯的内球面球心的当前 位置坐标和所述磨挫深度限位点之间的坐标差值;根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。Optionally, according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruising depth, the feedback resistance of the bruising tool to the acetabular cup is determined , comprising: calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the depth of friction; according to the coordinate difference and the reaction of the mechanical sensor of the mechanical arm The mapping relationship between the thresholds is used to determine the feedback resistance of the abrading tool for abrading the acetabular cup.
可选地,所述装置还包括:控制单元,被配置为当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。Optionally, the device further includes: a control unit configured to, when the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the bruise depth limit point is less than or equal to a predetermined When the threshold is set, the grinding tool is controlled by the mechanical arm to stop moving.
根据第三方面,本发明实施例提供了一种电子设备,包括存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行第一方面或者第一方面的任意一种实施方式中所述的用于手术机器人的磨挫工具的控制方法。According to a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, the memory and the processor are connected to each other in communication, the memory stores computer instructions, and the processor passes Execute the computer instructions, so as to implement the control method for the grinding tool of the surgical robot described in the first aspect or any implementation manner of the first aspect.
根据第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使所述计算机执行第一方面或者第一方面的任意一种实施方式中所述的用于手术机器人的磨挫工具的控制方法。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the first aspect or the first aspect. A method for controlling a grinding tool for a surgical robot described in any one of the implementations.
本发明实施例提供的一种用于手术机器人的磨挫工具的控制方法及装置,该磨挫工具的控制方法通过获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;基于变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹;根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,由此可以根据运动轨迹控制磨挫工具进行旋转,还包括根据髋臼杯的内球面球心的初始位置坐标确定髋臼杯的磨挫深度限位点,当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。由此可以在术者进行髋臼磨挫的过程中对磨挫工具运动的角度和深度进行控制,避免磨坏髋臼,从而提高磨挫工具的使用安全性以及患者的手术效果。Embodiments of the present invention provide a control method and device for a frustrating tool of a surgical robot. The control method of the frustrating tool obtains the initial posture of the frustrating tool in the base coordinate system and the position coordinates of key points, wherein , the position coordinates of the key points include the position coordinates of the top of the frustrating tool; based on the transformation matrix, transform the frustrating tool from an initial posture to a motion posture; fix the position coordinates of the top of the frustrating tool, and pass the machine The arm controls the grinding tool to perform grinding under the motion posture, and obtains the motion track of the origin of the flange of the manipulator; adjusts the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator, Therefore, the rotation of the grinding tool can be controlled according to the motion trajectory, and the initial position coordinates of the inner spherical center of the acetabular cup are also included to determine the limit point of the grinding depth of the acetabular cup. When the coordinate difference between the current position coordinates of the heart and the frustrating depth limit point is less than or equal to a preset threshold, the mechanical arm is used to control the frustrating tool to stop moving. Therefore, the operator can control the movement angle and depth of the grinding tool during the grinding of the acetabulum, avoiding damage to the acetabulum, thereby improving the safety of the grinding tool and the surgical effect of the patient.
附图说明Description of drawings
通过参考附图会更加清楚的理解本发明的特征和优点,附图是示意性的而不应理解为对本发明进行任何限制,在附图中:The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the accompanying drawings:
图1为本发明实施例1用于手术机器人的磨挫工具的控制方法的流程示意图;1 is a schematic flowchart of a control method for a grinding tool of a surgical robot according to Embodiment 1 of the present invention;
图2为用于手术机器人的磨挫工具运动过程中的第一位姿示意图;Fig. 2 is a schematic diagram of the first pose during the movement of the grinding tool used in the surgical robot;
图3为用于手术机器人的磨挫工具运动过程中的第二位姿示意图;Fig. 3 is a schematic diagram of the second pose during the movement of the grinding tool used in the surgical robot;
图4为用于手术机器人的磨挫工具圆锥运动示意图;Fig. 4 is a schematic diagram of the conical movement of the frustrating tool for the surgical robot;
图5为本发明实施例2用于手术机器人的磨挫工具控制装置的结构示意图。Fig. 5 is a schematic structural diagram of a grinding tool control device for a surgical robot according to Embodiment 2 of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
实施例1Example 1
本发明实施例1提供了一种用于手术机器人的磨挫工具的控制方法,图1为本发明实施例1用于手术机器人的磨挫工具的控制方法的流程示意图。图2为用于手术机器人的磨挫工具运动过程中的初始姿态示意图,图3为用于手术机器人的磨挫工具运动过程中的运动姿态示意图,如图1所示,本发明实施例1的用于手术机器人的磨挫工具的控制方法包括以下步骤:Embodiment 1 of the present invention provides a control method for a grinding tool of a surgical robot, and FIG. 1 is a schematic flowchart of a control method for a grinding tool of a surgical robot according to Embodiment 1 of the present invention. Fig. 2 is a schematic diagram of the initial attitude during the motion of the grinding tool used in the surgical robot, and Fig. 3 is a schematic diagram of the motion posture of the grinding tool used in the surgical robot during the motion, as shown in Fig. 1, the embodiment 1 of the present invention A control method for a grinding tool for a surgical robot includes the following steps:
S101:获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标。S101: Obtain the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool.
在本发明实施例1中,磨挫工具的顶端位置N处安装有球型磨挫工具,其球心位于N点,并通过磨挫工具对髋臼进行磨挫。In Embodiment 1 of the present invention, a ball-type bruising tool is installed at the top position N of the bruising tool, the center of which is located at point N, and the acetabulum is bruised by the bruising tool.
在本发明实施例1中,磨挫工具为磨挫杆。In Embodiment 1 of the present invention, the frustrating tool is a frustrating rod.
S102:基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态。S102: Transform the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix.
作为本实施例一种可选的实施方式,基于变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态可以采用如下技术方案:基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶端为坐标系原点的第二坐标系;将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。As an optional implementation of this embodiment, based on the transformation matrix, the following technical solution can be adopted to transform the frustrating tool from the initial posture to the motion posture: based on the coordinate system transformation matrix T, the mechanical arm flange The first coordinate system whose origin is the origin of the coordinate system is transformed into the second coordinate system whose origin is the coordinate system at the top of the grinding tool; the matrix multiplication operation is performed on the coordinate system conversion matrix T and the first rotation matrix M to obtain MT matrix; transforming the frustrating tool from the initial pose to the motion pose based on the MT matrix.
示例性的,当磨挫工具的顶端位置N达到预设的当前旋转位置时处于图2所示的初始位姿。在图2中,N点表示磨挫工具的顶端位置,O点表示机械臂法兰原点,M点表示O点在磨挫工具上的投影。OM方向为z轴,MN方向为y轴,根据右手定则方向确定出来x轴。Exemplarily, when the top position N of the frustrating tool reaches the preset current rotation position, it is in the initial posture shown in FIG. 2 . In Fig. 2, point N represents the top position of the grinding tool, point O represents the origin of the flange of the manipulator, and point M represents the projection of point O on the grinding tool. The OM direction is the z-axis, the MN direction is the y-axis, and the x-axis is determined according to the right-hand rule.
示例的,坐标系转换矩阵T可以为如下形式:T=transl(0,-k,-q),其中k表示MN的长度(MN的长度表示磨挫工具的长度),q表示OM的长度(OM的长度表示从机械臂法兰原点O点到磨挫工具的垂直距离),所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点O在所述磨挫工具上的垂足。As an example, the coordinate system transformation matrix T can be in the following form: T=transl(0,-k,-q), wherein k represents the length of MN (the length of MN represents the length of the grinding tool), and q represents the length of OM ( The length of OM represents the vertical distance from the origin point O of the flange of the mechanical arm to the grinding tool), the N represents the top position of the grinding tool, the O represents the origin of the flange of the mechanical arm, and the M represents The vertical foot of the origin O of the flange of the mechanical arm on the grinding tool.
第一旋转矩阵M可以为如下形式:M=rotx(a),其中如图3所示,PN和MN所成的角度为角a,即角MNP即为角a,rotx(a)表示磨挫工具绕x轴旋转角度a所需要的旋转矩阵。The first rotation matrix M can be in the following form: M=rotx (a), wherein as shown in Figure 3, the angle formed by PN and MN is angle a, that is, angle MNP is angle a, and rotx (a) represents friction The rotation matrix required by the tool to rotate angle a around the x-axis.
根据旋转轨迹控制述磨挫工具进行旋转可以使得磨挫工具做圆锥运动,例如图4所示,在图4中,R相当于图3中的PN,a表示旋转角度,116b表示装在磨挫工具顶端位置的磨挫工具,例如用来的磨骨的球形搓,P表示旋转位置,C表示磨挫工具的深度限位点。磨挫工具的深度限位点可以根据术前规划的髋臼杯球心,沿着轴向距离外延n毫米来确定,例如,n可以取值为1、2等,本申请实施例对此不做限定。Controlling the rotation of the grinding tool according to the rotation track can make the grinding tool perform conical motion, as shown in Figure 4, for example, in Figure 4, R is equivalent to PN in Figure 3, a indicates the rotation angle, and 116b indicates that it is mounted on the grinding tool. The frustrating tool at the top of the tool, such as the spherical rub used for bone grinding, P represents the rotation position, and C represents the depth limit point of the frustrating tool. The depth limit point of the frustrating tool can be determined by extending n millimeters along the axial distance according to the center of the acetabular cup planned before operation. For example, n can take a value of 1, 2, etc. Do limited.
将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;基于所述MT矩阵,将磨挫工具由图2的初始姿态变换为图3的运动姿态。Perform matrix multiplication on the coordinate system conversion matrix T and the first rotation matrix M to obtain the MT matrix; based on the MT matrix, transform the frustrating tool from the initial posture in FIG. 2 to the motion posture in FIG. 3 .
S103:固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹。S103: Fix the position coordinates of the top end of the grinding tool, control the grinding tool to perform grinding in the motion posture through the robot arm, and obtain the movement track of the origin of the flange of the robot arm.
S104:根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿。S104: Adjust the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator.
作为本实施例一种可选的实现方式,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。As an optional implementation of this embodiment, adjusting the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator includes: determining the grinding position of the grinding tool based on the track of the origin of the flange of the manipulator Frustration angle; if the frustration angle is greater than or equal to the set frustration angle threshold, adjust the frustration work from the motion posture to the initial posture.
作为本实施例一种可选的实现方式,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿可以采用如下技术方案:在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵T inverse=transl(0,k,q)*rotx(-a)),将所述磨挫工具由当前的运动姿态变换为所述初始姿态;基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正;基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。 As an optional implementation of this embodiment, according to the motion trajectory of the origin of the flange of the manipulator, the following technical solution may be adopted for adjusting the pose of the grinding tool: When the trajectory determines that the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold value, the inverse matrix and the inverse matrix T of the coordinate system conversion matrix T =transl(0,k,q)* rotx(-a)), transforming the frustrating tool from the current motion posture to the initial posture; based on the second rotation matrix M 1 , correcting the initial posture of the frustrating tool; based on the transformation matrix , transforming the corrected initial pose of the frustrating tool into a corresponding motion pose.
示例的,所述第二旋转矩阵M 1可以为如下形式:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β。由此可以将所述磨挫工具的初始姿态按照预设的角度调整量进行调整,得到圆锥运动每一微小分量的机器人运动矩阵。 Exemplarily, the second rotation matrix M 1 may be in the following form: M 1 =roty(β), and the roty(β) indicates that the rotation angle of the grinding tool around the y-axis is β. In this way, the initial posture of the frustrating tool can be adjusted according to the preset angle adjustment amount, and the robot motion matrix of each tiny component of the conical motion can be obtained.
通过上述步骤S101~S104可以控制磨挫工具的角度,连续不同的重复步骤S101~S104可以使磨挫工具运动出完整的圆锥轨迹。Through the above steps S101-S104, the angle of the frustrating tool can be controlled, and successive repetitions of different steps S101-S104 can make the frustrating tool move out of a complete conical trajectory.
作为本实施例一种可选的实现方式,方法还包括:实时检测被磨挫对象中预设的磨挫位置点的当前位置;如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工具从运动姿态调整为初始姿态。As an optional implementation of this embodiment, the method further includes: detecting in real time the current position of the preset frustrating position point in the frustrating object; if the current position of the preset frustrating position point is different from the preset limit point If the position of the tool does not match, adjust the frustrating tool from the motion posture to the initial posture.
在本可选的实现方式,预设的磨挫位置点可以是在磨挫过程中实时检测的位置点,该位置点可以表示磨挫深度,例如,在不断的磨挫过程中,深度不断加深,该位置点的位置不断变化。可以基于该位置点的实时位置与深度限位点的位置进行比较,如果该位置点超出深度限位点,可以调整磨挫工具的姿态。In this optional implementation, the preset frustrating position point can be a real-time detected position point during the frustrating process, and the position point can represent the frustrating depth, for example, in the continuous frustrating process, the depth is continuously deepened , the position of the location point is constantly changing. The real-time position of the position point can be compared with the position of the depth limit point. If the position point exceeds the depth limit point, the attitude of the grinding tool can be adjusted.
作为本实施例一种可选的实现方式,所述方法用于髋臼杯的磨挫。As an optional implementation of this embodiment, the method is used for grinding of acetabular cups.
磨挫工具的控制方法可以适用于任意的磨挫对象,示例性地,可以更换磨挫工具的磨挫部件,从而可适用于不同磨挫对象的磨挫。该磨挫对象可以包括但是不限于髋臼杯。The control method of the frustrating tool can be applied to any frustrating objects, for example, the frustrating parts of the frustrating tool can be replaced, so as to be applicable to frustrating objects of different frustrating objects. The abraded object may include, but is not limited to, an acetabular cup.
作为本实施例一种可选的实现方式,磨挫工具的运动还需要控制深度,因此磨挫工具的控制方法还包括以下步骤:根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。As an optional implementation of this embodiment, the movement of the frustrating tool also needs to control the depth, so the control method of the frustrating tool further includes the following steps: according to the initial position coordinates of the inner spherical center of the acetabular cup, determine the hip The limit point of the depth of the acetabular cup; according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the depth of the acetabular, determine the impact of the acetabular tool on the acetabular cup Feedback resistance for frustrating.
示例性的,如果磨挫对象是髋臼杯,可以根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力可以采用如下技术方案:计算所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值;根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。由此可以在越接近磨挫深度限位点时将力学传感器的反馈阻力设置的越大,使得反馈阻力的设定更加合理、人性化。Exemplarily, if the abrading object is an acetabular cup, it can be determined that the abrading tool is suitable for the acetabular cup according to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the abrading depth limit point. The feedback resistance of the acetabular cup for grinding can adopt the following technical scheme: calculate the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the limit point of the grinding depth; according to the The mapping relationship between the coordinate difference and the response threshold of the mechanical sensor of the mechanical arm determines the feedback resistance of the grinding tool for grinding the acetabular cup. As a result, the feedback resistance of the mechanical sensor can be set to be larger as it gets closer to the limit point of the friction depth, so that the setting of the feedback resistance is more reasonable and humanized.
示例性的,当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。由此可以对磨挫工具的深度进行控制。Exemplarily, when the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the fretting depth limit point is less than or equal to a preset threshold, the mechanical arm controls the The frustrating tool stops moving. The depth of the grinding tool can thus be controlled.
示例性的,磨挫工具的磨挫深度限位点可以根据由规划结构导入系统中的髋臼杯的限位点C确定,以使手动或自动磨挫时髋臼杯的内球面球心都不会超过C限位点。示例的,实时检测机械臂的位置,机械臂越接近限位点我们将力学传感器的反应阈值设置的越大,这样用手推机械臂的 时候阻力越大,越推不动,一旦到达限位点C的位置,则磨挫工具断电,并且机械臂力学传感器反应阈值设定为无限大。机械臂力学传感器反应阈值定义:我们给机械臂传感器设定一个阈值,比如10N的力,施加在机械臂上的力小于10N则机械臂不动,大于10N则运动。Exemplarily, the limit point of the bruising depth of the bruising tool can be determined according to the limit point C of the acetabular cup introduced into the system by the planning structure, so that the center of the inner spherical surface of the acetabular cup can be The C limit point will not be exceeded. For example, the position of the mechanical arm is detected in real time. The closer the mechanical arm is to the limit point, the greater the response threshold of the mechanical sensor is set, so that when the mechanical arm is pushed by hand, the resistance is greater, and the push will not move. Once the limit is reached At point C, the grinding tool is powered off, and the response threshold of the force sensor of the manipulator is set to infinity. The definition of the response threshold of the mechanical arm force sensor: We set a threshold for the mechanical arm sensor, such as a force of 10N. If the force applied to the mechanical arm is less than 10N, the mechanical arm will not move, and if the force is greater than 10N, the mechanical arm will move.
本申请实施例可以在术者进行髋臼磨挫的过程中对磨挫工具运动的角度和深度进行控制,避免磨坏髋臼,从而提高磨挫工具的使用安全性以及患者的手术效果。The embodiments of the present application can control the movement angle and depth of the abrading tool during the acetabular abrading process, avoiding acetabular abrasion, thereby improving the safety of the adebrosis tool and the patient's surgical effect.
实施例2Example 2
与本发明实施例1相对应,本发明实施例2提供了用于手术机器人的磨挫工具的控制装置。图5为本发明实施例2用于手术机器人的磨挫工具的控制装置的结构示意图,如图2所示,本发明实施例2的用于手术机器人的磨挫工具的控制装置包括获取模块20、姿态变换模块22和磨挫模块24。Corresponding to Embodiment 1 of the present invention, Embodiment 2 of the present invention provides a control device for a grinding tool of a surgical robot. 5 is a schematic structural diagram of a control device for a grinding tool for a surgical robot according to Embodiment 2 of the present invention. As shown in FIG. 2 , the control device for a grinding tool for a surgical robot according to Embodiment 2 of the present invention includes an acquisition module 20 , attitude transformation module 22 and friction module 24.
示例性的,获取模块20,被配置为获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;Exemplarily, the obtaining module 20 is configured to obtain the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the tip of the frustrating tool;
姿态变换模块22,被配置为基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;The posture transformation module 22 is configured to transform the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix;
磨挫模块24,被配置为固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿上述磨挫工具控制可选地,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。The frustrating module 24 is configured to fix the position coordinates of the top end of the frustrating tool, control the frustrating tool to be frustrated in the motion posture through the robot arm, and obtain the motion track of the origin of the flange of the mechanical arm, according to The motion track of the origin of the flange of the manipulator adjusts the pose of the grinding tool. The control of the grinding tool is optional. The pose of the grinding tool is adjusted according to the motion track of the origin of the flange of the mechanical arm. It includes: determining the frustrating angle of the frustrating tool based on the motion trajectory of the origin of the flange of the manipulator; if the frustrating angle is greater than or equal to the set frustrating angle threshold, adjusting the frustrating work from the motion posture to the initial posture.
作为本实施例一种可选的实现方式,装置还包括:检测单元,被配置为实时检测被磨挫对象中预设的磨挫位置点的当前位置;调整单元,被配置为如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工作从运动姿态调整为初始姿态。As an optional implementation of this embodiment, the device further includes: a detection unit configured to detect in real time the current position of a preset frustrating point in the frustrated object; an adjustment unit configured to The current position of the frustrating point does not match the position of the preset limit point, and the frustrating work is adjusted from the motion posture to the initial posture.
作为本实施例一种可选的实现方式,姿态变换模块进一步被配置成:基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶端为坐标系原点的第二坐标系;将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。As an optional implementation of this embodiment, the posture transformation module is further configured to: based on the coordinate system transformation matrix T, transform the first coordinate system with the origin of the coordinate system at the origin of the manipulator flange into the The top of the frustrating tool is the second coordinate system of the origin of the coordinate system; the coordinate system transformation matrix T and the first rotation matrix M are subjected to matrix multiplication to obtain the MT matrix; based on the MT matrix, the frustrating tool is formed by The initial pose is transformed into the motion pose.
作为本实施例一种可选的实现方式,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,包括:在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等 于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵,将所述磨挫工具由当前的运动姿态变换为所述初始姿态;基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正;基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。 As an optional implementation of this embodiment, adjusting the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator includes: When the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold, the frustrating tool is transformed from the current motion posture to the desired one through the inverse matrix and reverse matrix of the coordinate system transformation matrix T the initial pose; based on the second rotation matrix M 1 , correct the initial pose of the frustrating tool; based on the transformation matrix, transform the corrected initial pose of the frustrating tool into a corresponding motion pose .
作为本实施例一种可选的实现方式,所述坐标系转换矩阵T为:T=transl(0,-k,-q),其中,所述k表示MN的长度,所述q表示OM的长度,所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点在所述磨挫工具上的垂足;所述第一旋转矩阵M为:M=rotx(a);所述rotx(a)表示磨挫工具绕x轴的旋转角度为α;所述第二旋转矩阵M 1为:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β;y轴为MN方向;z轴为OM方向;根据右手定则方向确定出来x轴;反向矩阵为:T inverse=transl(0,k,q)*rotx(-a))。 As an optional implementation of this embodiment, the coordinate system transformation matrix T is: T=transl(0,-k,-q), where the k represents the length of the MN, and the q represents the length of the OM length, the N represents the top position of the frustrating tool, the O represents the origin of the flange of the mechanical arm, and the M represents the vertical foot of the flange origin of the mechanical arm on the frustrating tool; The first rotation matrix M is: M=rotx(a); the rotx(a) indicates that the rotation angle of the grinding tool around the x-axis is α; the second rotation matrix M 1 is: M 1 =roty(β ), the roty (β) represents that the rotation angle of the grinding tool around the y-axis is β; the y-axis is the MN direction; the z-axis is the OM direction; the x-axis is determined according to the right-hand rule direction; the reverse matrix is: T inverse =transl(0,k,q)*rotx(-a)).
作为本实施例一种可选的实现方式,所述装置用于髋臼杯的磨挫。As an optional implementation of this embodiment, the device is used for grinding of acetabular cups.
作为本实施例一种可选的实现方式,所述装置还包括:根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。As an optional implementation of this embodiment, the device further includes: according to the initial position coordinates of the center of the inner spherical surface of the acetabular cup, determining the limit point of the acetabular cup's wear depth; according to the detected The current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth determine the feedback resistance of the bruising tool to the acetabular cup.
作为本实施例一种可选的实现方式,根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力,包括:计算所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值;根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。As an optional implementation of this embodiment, according to the detected current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth, determine the impact of the bruising tool on the hip. The feedback resistance of the acetabular cup for grinding includes: calculating the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the limit point of the grinding depth; The mapping relationship between the response thresholds of the mechanical sensors of the mechanical arm is used to determine the feedback resistance of the grinding tool for grinding the acetabular cup.
作为本实施例一种可选的实现方式,所述装置还包括:控制单元,被配置为当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。As an optional implementation of this embodiment, the device further includes: a control unit configured to, when the current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruise depth, When the coordinate difference is less than or equal to a preset threshold, the grinding tool is controlled by the mechanical arm to stop moving.
装置的具体细节可以对应参阅图1至图4所示的实施例中对应的相关描述和效果进行理解,此处不再赘述。The specific details of the device can be understood by correspondingly referring to the corresponding descriptions and effects in the embodiments shown in FIG. 1 to FIG. 4 , and will not be repeated here.
实施例3Example 3
本发明实施例还提供了一种电子设备,该电子设备可以包括处理器和存储器,其中处理器和存储器可以通过总线或者其他方式连接。An embodiment of the present invention also provides an electronic device, which may include a processor and a memory, where the processor and the memory may be connected through a bus or in other ways.
处理器可以为中央处理器(Central Processing Unit,CPU)。处理器还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated  Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor may be a central processing unit (Central Processing Unit, CPU). The processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate array (Field-Programmable Gate Array, FPGA) or other Chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本发明实施例中用于手术机器人的磨挫工具的控制方法对应的程序指令/模块(例如,图5所示的获取模块20、姿态变换模块22和磨挫模块24)。处理器通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理,即实现上述方法实施例中用于手术机器人的磨挫工具的控制方法。As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the control method for the grinding tool of the surgical robot in the embodiment of the present invention. Program instructions/modules (for example, the acquisition module 20, the attitude transformation module 22 and the friction module 24 shown in FIG. 5). The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, to realize the control method for the grinding tool of the surgical robot in the above method embodiment .
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储处理器所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created by the processor, and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include memory located remotely from the processor, and such remote memory may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器中,当被所述处理器执行时,执行如图1-3所示实施例中用于手术机器人的磨挫工具的控制方法。The one or more modules are stored in the memory, and when executed by the processor, the method for controlling a grinding tool for a surgical robot in the embodiment shown in FIGS. 1-3 is executed.
上述电子设备具体细节可以对应参阅图1至图5所示的实施例中对应的相关描述和效果进行理解,此处不再赘述。The specific details of the above electronic device can be understood by correspondingly referring to the corresponding descriptions and effects in the embodiments shown in FIG. 1 to FIG. 5 , and will not be repeated here.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述存储介质还可以包括上述种类的存储器的组合。Those skilled in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk) Disk Drive, abbreviation: HDD) or solid-state hard drive (Solid-State Drive, SSD) etc.; The storage medium can also include the combination of above-mentioned types of memory.
虽然结合附图描述了本发明的实施例,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall into the scope of the appended claims. within the limited range.

Claims (22)

  1. 一种用于手术机器人的磨挫工具的控制方法,包括:A method for controlling a grinding tool for a surgical robot, comprising:
    获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;Obtaining the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the top of the frustrating tool;
    基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;Transforming the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix;
    固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹;Fixing the position coordinates of the top of the grinding tool, controlling the grinding tool to perform grinding in the motion posture through the robot arm, and obtaining the motion track of the origin of the flange of the mechanical arm;
    根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿。According to the motion trajectory of the origin of the flange of the mechanical arm, the pose of the grinding tool is adjusted.
  2. 根据权利要求1所述的方法,其中,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:The method according to claim 1, wherein, according to the motion trajectory of the origin of the flange of the manipulator, adjusting the pose of the grinding tool comprises:
    基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;Determine the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator;
    如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。If the frustrating angle is greater than or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    实时检测被磨挫对象中预设的磨挫位置点的当前位置;Real-time detection of the current position of the preset frustrating position point in the frustrating object;
    如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工作从运动姿态调整为初始姿态。If the current position of the preset frustrating point does not match the position of the preset limit point, adjust the frustrating work from the motion posture to the initial posture.
  4. 根据权利要求1所述的方法,其中,基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态,包括:The method according to claim 1, wherein, based on a preset transformation matrix, transforming the frustrating tool from an initial posture to a motion posture comprises:
    基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶端为坐标系原点的第二坐标系;Based on the coordinate system transformation matrix T, the first coordinate system with the origin of the flange of the robot arm as the origin of the coordinate system is converted into a second coordinate system with the top of the grinding tool as the origin of the coordinate system;
    将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;Carrying out matrix multiplication operation with described coordinate system conversion matrix T and first rotation matrix M, obtains MT matrix;
    基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。Transforming the frustrating tool from the initial pose to the motion pose based on the MT matrix.
  5. 根据权利要求4所述的方法,其中,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,包括:The method according to claim 4, wherein adjusting the pose of the grinding tool according to the motion track of the origin of the flange of the manipulator comprises:
    在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵,将所述磨挫工具由当前的运动姿态变换为所述初始姿态;When it is determined according to the motion trajectory of the origin of the flange of the manipulator that the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold, through the inverse matrix and reverse matrix of the coordinate system transformation matrix T, transforming the frustrating tool from the current motion posture to the initial posture;
    基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正; Correcting the initial attitude of the frustrating tool based on the second rotation matrix M 1 ;
    基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。Based on the transformation matrix, the corrected initial pose of the frustrating tool is transformed into a corresponding motion pose.
  6. 根据权利要求5所述的方法,其中,所述坐标系转换矩阵T为:T=transl(0,-k,-q),其中,所述k表示MN的长度,所述q表示OM的长度,所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点在所述磨挫工具上的垂足;The method according to claim 5, wherein the coordinate system transformation matrix T is: T=transl(0,-k,-q), wherein the k represents the length of the MN, and the q represents the length of the OM , the N represents the top position of the frustrating tool, the O represents the origin of the flange of the manipulator, and the M represents the vertical foot of the flange origin of the manipulator on the frustrating tool;
    所述第一旋转矩阵M为:M=rotx(a);所述rotx(a)表示磨挫工具绕x轴的旋转角度为a;The first rotation matrix M is: M=rotx(a); the rotx(a) indicates that the rotation angle of the frustrating tool around the x-axis is a;
    所述第二旋转矩阵M 1为:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β; The second rotation matrix M 1 is: M 1 =roty(β), and the roty(β) indicates that the rotation angle of the grinding tool around the y-axis is β;
    y轴为MN方向;z轴为OM方向;根据右手定则方向确定出来x轴;The y-axis is the MN direction; the z-axis is the OM direction; the x-axis is determined according to the right-hand rule;
    反向矩阵为:T inverse=transl(0,k,q)*rotx(-a))。 The inverse matrix is: T inverse =transl(0,k,q)*rotx(-a)).
  7. 根据权利要求1-6任一项所述的方法,其中,所述方法用于髋臼杯的磨挫。The method according to any one of claims 1-6, wherein the method is used for abrasion of an acetabular cup.
  8. 根据权利要求7所述的方法,所述方法还包括:The method according to claim 7, said method further comprising:
    根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;According to the initial position coordinates of the center of the inner spherical surface of the acetabular cup, the limit point of the depth of the acetabular cup is determined;
    根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。According to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruising depth, the feedback resistance of the bruising tool to the acetabular cup is determined.
  9. 根据权利要求7所述的方法,其中,根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力,包括:The method according to claim 7, wherein, according to the detected current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth, it is determined whether the bruising tool is suitable for the acetabulum. The feedback resistance of the cup for grinding, including:
    计算所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值;calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth;
    根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。According to the mapping relationship between the coordinate difference and the response threshold of the mechanical sensor of the mechanical arm, the feedback resistance of the grinding tool for grinding the acetabular cup is determined.
  10. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。When the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the frustrating depth limit point is less than or equal to a preset threshold, the frustrating tool is controlled by the mechanical arm to stop sports.
  11. 一种用于手术机器人的磨挫工具的控制装置,包括:A control device for a grinding tool of a surgical robot, comprising:
    获取模块,被配置为获取磨挫工具在基坐标系下的初始姿态和关键点的位置坐标,其中,所述关键点的位置坐标包括所述磨挫工具顶端的位置坐标;The obtaining module is configured to obtain the initial posture of the frustrating tool in the base coordinate system and the position coordinates of the key points, wherein the position coordinates of the key points include the position coordinates of the top of the frustrating tool;
    姿态变换模块,被配置为基于预设的变换矩阵,将所述磨挫工具由初始姿态变换为运动姿态;The posture transformation module is configured to transform the frustrating tool from an initial posture to a motion posture based on a preset transformation matrix;
    磨挫模块,被配置为固定所述磨挫工具顶端的位置坐标,通过机器臂控制所述磨挫工具在所述运动姿态下进行磨挫,并获取机械臂法兰原点的运动轨迹,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿。The frustrating module is configured to fix the position coordinates of the top of the frustrating tool, control the frustrating tool to perform frustrating in the motion posture through the robot arm, and obtain the motion track of the origin of the flange of the mechanical arm, according to the The trajectory of the origin of the flange of the manipulator is adjusted to adjust the pose of the grinding tool.
  12. 根据权利要求11所述的装置,其中,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿包括:The device according to claim 11, wherein, according to the motion trajectory of the origin of the flange of the manipulator, adjusting the pose of the grinding tool comprises:
    基于机械臂法兰原点的运动轨迹确定磨挫工具的磨挫角度;Determine the frustrating angle of the frustrating tool based on the motion track of the origin of the flange of the manipulator;
    如果磨挫角度大于或等于设定的磨挫角度阈值,将磨挫工作从运动姿态调整为初始姿态。If the frustrating angle is greater than or equal to the set frustrating angle threshold, adjust the frustrating work from the motion posture to the initial posture.
  13. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, further comprising:
    检测单元,被配置为实时检测被磨挫对象中预设的磨挫位置点的当前位置;The detection unit is configured to detect in real time the current position of the preset frustrating position point in the frustrating object;
    调整单元,被配置为如果预设磨挫位置点的当前位置与预设限位点的位置不符,将磨挫工作从运动姿态调整为初始姿态。The adjustment unit is configured to adjust the frustrating work from the motion posture to the initial posture if the current position of the preset frustrating position point does not match the preset limit point.
  14. 根据权利要求11所述的装置,其中,姿态变换模块进一步被配置成:The apparatus according to claim 11, wherein the pose transformation module is further configured to:
    基于坐标系转换矩阵T,将以所述机械臂法兰原点为坐标系原点的第一坐标系转换为以所述磨挫工具顶端为坐标系原点的第二坐标系;Based on the coordinate system transformation matrix T, the first coordinate system with the origin of the flange of the robot arm as the origin of the coordinate system is converted into a second coordinate system with the top of the grinding tool as the origin of the coordinate system;
    将所述坐标系转换矩阵T和第一旋转矩阵M进行矩阵乘法运算,得到MT矩阵;Carrying out matrix multiplication operation with described coordinate system conversion matrix T and first rotation matrix M, obtains MT matrix;
    基于所述MT矩阵,将所述磨挫工具由所述初始姿态变换为所述运动姿态。Transforming the frustrating tool from the initial pose to the motion pose based on the MT matrix.
  15. 根据权利要求14所述的装置,其中,根据所述机械臂法兰原点的运动轨迹,调整所述磨挫工具的位姿,包括:The device according to claim 14, wherein adjusting the pose of the frustrating tool according to the motion track of the origin of the flange of the mechanical arm comprises:
    在根据所述机械臂法兰原点的运动轨迹确定所述磨挫工具的磨挫角度大于或等于设定的磨挫角度阈值时,通过所述坐标系转换矩阵T的逆矩阵和反向矩阵,将所述磨挫工具由当前的运动姿态变换为所述初始姿态;When it is determined according to the motion trajectory of the origin of the flange of the manipulator that the frustrating angle of the frustrating tool is greater than or equal to the set frustrating angle threshold, through the inverse matrix and reverse matrix of the coordinate system transformation matrix T, transforming the frustrating tool from the current motion posture to the initial posture;
    基于第二旋转矩阵M 1,对所述磨挫工具的初始姿态进行校正; Correcting the initial attitude of the frustrating tool based on the second rotation matrix M 1 ;
    基于所述变换矩阵,将所述磨挫工具校正后的初始位姿变换为相对应的运动位姿。Based on the transformation matrix, the corrected initial pose of the frustrating tool is transformed into a corresponding motion pose.
  16. 根据权利要求15所述的装置,其中,所述坐标系转换矩阵T为:T=transl(0,-k,-q),其中,所述k表示MN的长度,所述q表示OM的长度,所述N表示所述磨挫工具的顶端位置,所述O表示所述机械臂法兰原点,所述M表示所述机械臂法兰原点在所述磨挫工具上的垂足;The device according to claim 15, wherein the coordinate system transformation matrix T is: T=transl(0,-k,-q), wherein the k represents the length of the MN, and the q represents the length of the OM , the N represents the top position of the frustrating tool, the O represents the origin of the flange of the manipulator, and the M represents the vertical foot of the flange origin of the manipulator on the frustrating tool;
    所述第一旋转矩阵M为:M=rotx(a);所述rotx(a)表示磨挫工具绕x轴的旋转角度为α;The first rotation matrix M is: M=rotx(a); the rotx(a) indicates that the rotation angle of the grinding tool around the x-axis is α;
    所述第二旋转矩阵M 1为:M 1=roty(β),所述roty(β)表示磨挫工具绕y轴的旋转角度为β; The second rotation matrix M 1 is: M 1 =roty(β), and the roty(β) indicates that the rotation angle of the grinding tool around the y-axis is β;
    y轴为MN方向;z轴为OM方向;根据右手定则方向确定出来x轴;The y-axis is the MN direction; the z-axis is the OM direction; the x-axis is determined according to the right-hand rule;
    反向矩阵为:T inverse=transl(0,k,q)*rotx(-a))。 The inverse matrix is: T inverse =transl(0,k,q)*rotx(-a)).
  17. 根据权利要求11-16任一项所述的装置,其中,所述装置用于髋臼杯的磨挫。The device according to any one of claims 11-16, wherein the device is used for abrading an acetabular cup.
  18. 根据权利要求17所述的装置,所述装置还包括:The apparatus of claim 17, further comprising:
    根据髋臼杯的内球面球心的初始位置坐标,确定髋臼杯的磨挫深度限位点;According to the initial position coordinates of the center of the inner spherical surface of the acetabular cup, the limit point of the depth of the acetabular cup is determined;
    根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。According to the detected current position coordinates of the center of the inner sphere of the acetabular cup and the limit point of the bruising depth, the feedback resistance of the bruising tool to the acetabular cup is determined.
  19. 根据权利要求17所述的装置,其中,根据检测到的所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力,包括:The device according to claim 17, wherein, according to the detected current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth, it is determined that the bruising tool has a greater impact on the acetabulum. The feedback resistance of the cup for grinding, including:
    计算所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值;calculating the coordinate difference between the current position coordinates of the center of the inner spherical surface of the acetabular cup and the limit point of the bruising depth;
    根据所述坐标差值与所述机械臂的力学传感器的反应阈值之间的映射关系,确定所述磨挫工具对所述髋臼杯进行磨挫的反馈阻力。According to the mapping relationship between the coordinate difference and the response threshold of the mechanical sensor of the mechanical arm, the feedback resistance of the grinding tool for grinding the acetabular cup is determined.
  20. 根据权利要求18所述的装置,所述装置还包括:The apparatus of claim 18, further comprising:
    控制单元,被配置为当所述髋臼杯的内球面球心的当前位置坐标和所述磨挫深度限位点之间的坐标差值小于或等于预设阈值时,通过所述机械臂控制所述磨挫工具停止运动。The control unit is configured to control the acetabular cup through the mechanical arm when the coordinate difference between the current position coordinates of the inner spherical center of the acetabular cup and the bruise depth limit point is less than or equal to a preset threshold. The frustrating tool stops moving.
  21. 一种电子设备,包括:An electronic device comprising:
    存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行权利要求1-10中任一项所述的用于手术机器人的磨挫工具的控制方法。A memory and a processor, the memory and the processor are connected in communication with each other, computer instructions are stored in the memory, and the processor performs any one of claims 1-10 by executing the computer instructions The control method for the frustrating tool of the surgical robot.
  22. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使所述计算机执行权利要求1-10中任一项所述的用于手术机器人的磨挫工具的控制方法。A computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer perform the grinding setback for a surgical robot according to any one of claims 1-10 Tool control method.
PCT/CN2022/073123 2021-06-07 2022-01-21 Control method and apparatus for reaming tool of surgical robot WO2022257473A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110633980.9 2021-06-07
CN202110633980.9A CN113400305B (en) 2021-06-07 2021-06-07 Control method and device for contusion tool, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022257473A1 true WO2022257473A1 (en) 2022-12-15

Family

ID=77676757

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073123 WO2022257473A1 (en) 2021-06-07 2022-01-21 Control method and apparatus for reaming tool of surgical robot

Country Status (2)

Country Link
CN (1) CN113400305B (en)
WO (1) WO2022257473A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115813563A (en) * 2023-02-20 2023-03-21 北京壹点灵动科技有限公司 Surgical robot control method, surgical robot control device, storage medium, and processor

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113400305B (en) * 2021-06-07 2023-01-17 北京长木谷医疗科技有限公司 Control method and device for contusion tool, electronic equipment and storage medium
CN113561188B (en) * 2021-09-26 2021-12-07 北京壹点灵动科技有限公司 Robot control method, device, computer readable storage medium and processor
CN114211484B (en) * 2021-12-01 2023-08-18 北京长木谷医疗科技有限公司 Front-end tool pose synchronization method, electronic equipment and storage medium
CN115227463B (en) * 2022-07-22 2023-04-07 北京长木谷医疗科技有限公司 Surgical instrument's rasping device, surgical instrument and surgical robot
CN115227397B (en) * 2022-09-19 2022-12-16 杭州三坛医疗科技有限公司 Registration plate automatic alignment method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190021796A1 (en) * 2017-07-20 2019-01-24 Howmedica Osteonics Corp. System and method for robotically assisting a surgical procedure
CN110587594A (en) * 2018-06-13 2019-12-20 西门子医疗有限公司 Method for controlling a robot, corresponding data storage device and robot
CN111358563A (en) * 2020-03-11 2020-07-03 上海交通大学 Hip arthroscope auxiliary robot system based on cooperative mechanical arm and control method
CN111870348A (en) * 2020-07-23 2020-11-03 武汉联影智融医疗科技有限公司 Surgical robot auxiliary positioning method, surgical robot and storage medium
CN112641510A (en) * 2020-12-18 2021-04-13 北京长木谷医疗科技有限公司 Joint replacement surgical robot navigation positioning system and method
CN112790867A (en) * 2021-02-03 2021-05-14 上海电气集团股份有限公司 Method and system for cutting acetabular cup based on mechanical arm
CN112809686A (en) * 2021-02-02 2021-05-18 杭州柳叶刀机器人有限公司 Robot body state follow-up control method and device
CN113400305A (en) * 2021-06-07 2021-09-17 北京长木谷医疗科技有限公司 Control method and device for contusion tool, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100617490B1 (en) * 2004-09-03 2006-09-04 한국과학기술원 Acetabular cup orientator attachable on pelvic in THR
JP2010149267A (en) * 2008-12-26 2010-07-08 Yaskawa Electric Corp Robot calibration method and device
CN108927801B (en) * 2018-03-21 2021-04-13 北京猎户星空科技有限公司 Method and device for adjusting tail end attitude of mechanical arm
CN108748159B (en) * 2018-06-20 2022-01-14 无锡信捷电气股份有限公司 Self-calibration method for tool coordinate system of mechanical arm
TWI672206B (en) * 2018-12-19 2019-09-21 財團法人工業技術研究院 Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN110811832B (en) * 2019-11-21 2021-02-23 苏州微创畅行机器人有限公司 Osteotomy checking method, checking equipment, readable storage medium and orthopedic surgery system
CN111633643B (en) * 2020-05-07 2021-06-04 武汉理工大学 Rotation matrix calibration method based on translation motion under TCP coordinate system
CN111844130B (en) * 2020-06-22 2021-11-26 深圳市智流形机器人技术有限公司 Method and device for correcting pose of robot end tool

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190021796A1 (en) * 2017-07-20 2019-01-24 Howmedica Osteonics Corp. System and method for robotically assisting a surgical procedure
CN110587594A (en) * 2018-06-13 2019-12-20 西门子医疗有限公司 Method for controlling a robot, corresponding data storage device and robot
CN111358563A (en) * 2020-03-11 2020-07-03 上海交通大学 Hip arthroscope auxiliary robot system based on cooperative mechanical arm and control method
CN111870348A (en) * 2020-07-23 2020-11-03 武汉联影智融医疗科技有限公司 Surgical robot auxiliary positioning method, surgical robot and storage medium
CN112641510A (en) * 2020-12-18 2021-04-13 北京长木谷医疗科技有限公司 Joint replacement surgical robot navigation positioning system and method
CN112809686A (en) * 2021-02-02 2021-05-18 杭州柳叶刀机器人有限公司 Robot body state follow-up control method and device
CN112790867A (en) * 2021-02-03 2021-05-14 上海电气集团股份有限公司 Method and system for cutting acetabular cup based on mechanical arm
CN113400305A (en) * 2021-06-07 2021-09-17 北京长木谷医疗科技有限公司 Control method and device for contusion tool, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115813563A (en) * 2023-02-20 2023-03-21 北京壹点灵动科技有限公司 Surgical robot control method, surgical robot control device, storage medium, and processor

Also Published As

Publication number Publication date
CN113400305B (en) 2023-01-17
CN113400305A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
WO2022257473A1 (en) Control method and apparatus for reaming tool of surgical robot
JP6223640B2 (en) Calibration apparatus and robot system using the same
KR102491909B1 (en) System and method for controlling a surgical tool during autonomous movement of the surgical tool
US9221176B2 (en) Robot system and method for controlling the same
CN108818536A (en) A kind of online offset correction method and device of Robotic Hand-Eye Calibration
US20170120450A1 (en) Robot device
US20160075030A1 (en) Robot apparatus, robot control method, program, and recording medium
CN1696855A (en) Orientation system of adaptive sensor
JP2008142810A (en) Robot controller
US20170277167A1 (en) Robot system, robot control device, and robot
WO2022247172A1 (en) Massage motion control method and apparatus, robot control device, and storage medium
CN108115690A (en) A kind of robot adaptive control system and method
US11376732B2 (en) Robot system for correcting teaching of robot using image processing
JP2018176341A5 (en)
JP5223407B2 (en) Redundant robot teaching method
CN106965187B (en) Method for generating feedback force vector when bionic hand grabs object
JP2021133470A (en) Control method of robot and robot system
JP2016120549A (en) Robot control method and robot control device
US20180215044A1 (en) Image processing device, robot control device, and robot
JP6697544B2 (en) Optimizer and vertical articulated robot equipped with the same
CN111358659B (en) Robot power-assisted control method and system and lower limb rehabilitation robot
CN109311163A (en) Correct the method and its relevant device of the motion control commands of robot
JP2022011402A (en) Robot control method and robot system
US20210237261A1 (en) Teaching method and robot system
CN113263498B (en) Mechanical arm movement control method and device, terminal equipment and storage medium

Legal Events

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

Ref document number: 22819080

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE