WO2024022459A1 - Positioning alignment method and apparatus for micro mechanical arm, and electronic device - Google Patents

Positioning alignment method and apparatus for micro mechanical arm, and electronic device Download PDF

Info

Publication number
WO2024022459A1
WO2024022459A1 PCT/CN2023/109673 CN2023109673W WO2024022459A1 WO 2024022459 A1 WO2024022459 A1 WO 2024022459A1 CN 2023109673 W CN2023109673 W CN 2023109673W WO 2024022459 A1 WO2024022459 A1 WO 2024022459A1
Authority
WO
WIPO (PCT)
Prior art keywords
micro
manipulator
target
reachable
targets
Prior art date
Application number
PCT/CN2023/109673
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 WO2024022459A1 publication Critical patent/WO2024022459A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/30Surgical robots
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/70Manipulators specially adapted for use in surgery
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J7/00Micromanipulators

Definitions

  • the present invention relates to the field of micro-robot positioning technology, and in particular to a positioning and alignment method, device and electronic equipment for a micro-robot.
  • micro-robots in traditional orthopedic surgery scenarios as an example, the user needs to first move the micro-robot to a position close to the surgical area, then fix the micro-robot, and then start the micro-robot for fine positioning to achieve precise positioning.
  • the user needs to first move the micro-robot to a position close to the surgical area, then fix the micro-robot, and then start the micro-robot for fine positioning to achieve precise positioning.
  • frequent manual movement and fixation is required before starting the micro-robot, which increases manual operations, risks, and operation time, ultimately limiting the application. scope.
  • Embodiments of the present invention provide a positioning and alignment method, device and electronic equipment for a micro-robot to at least solve the problem in related technologies that the positioning of the micro-robot requires frequent manual movement and fixation, resulting in increased application time and risk. question.
  • a positioning and alignment method for a micro-manipulator including: determining the initial posture of the micro-manipulator in a stowed state and the center positions of multiple targets, wherein the initial The posture includes an initial position and an initial posture; according to the initial position and the center positions of multiple targets, the target area of the micro-manipulator in the motion plane is determined, where the target area is the target area of the micro-manipulator.
  • the instrument clamping front end can reach at least two target areas when the micro-manipulator is in the initial posture; the micro-manipulator is controlled to move from the initial position to a predetermined position in the target area, and the The micro-manipulator is fixed at the predetermined position, and , the predetermined position is any position within the target area; the micro-manipulator is controlled to use the predetermined position as a base point to convert from the stowed state to the unfolded state, and move to the reachable target in sequence. center position and align the reachable target.
  • determining the initial posture of the micro-manipulator in the stowed state includes: detecting a position mark attached to the micro-manipulator in the stowed state; determining based on the position mark The instrument holds the initial position and the initial posture of the front end in the physical space coordinate system, and uses the initial position and the initial posture as the initial posture.
  • determining the center positions of multiple targets includes: acquiring a planning image containing multiple targets; comparing the first marker point in the planning image with the second marker point in the physical space coordinate system. Register to obtain a registration matrix, where the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system one-to-one; according to the registration matrix Perform coordinate transformation on multiple targets to obtain coordinates of multiple targets in the physical space coordinate system, and use the coordinates of multiple targets in the physical space coordinate system as multiple targets. central location.
  • obtaining a planning image containing a plurality of the targets includes: obtaining three-dimensional image data of a plurality of the targets; planning a plurality of the targets according to the three-dimensional image data to obtain the planning image, wherein , the target in the planning image includes an instrument entry point and a target end point.
  • determining the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets includes: obtaining the maximum movement radius of the micro-manipulator;
  • the motion plane of the arm determines the intersection point between the motion plane and multiple target extension lines, wherein the target extension line is an extension line connecting the target instrument entry point and the target end point to form a line segment; determine the initial The distance between the position and each intersection point; the target whose distance is less than or equal to the maximum movement radius is recorded in the list as the reachable target; the intersection point corresponding to the reachable target As the center, the maximum movement radius is used as the radius to generate a circular area of all reachable targets in the list in the motion plane; based on the circular area of all reachable targets in the motion plane, Generate a common intersection area and use the common intersection area as the target area.
  • controlling the micro-manipulator to move from the initial position to a predetermined position in the target area includes: displaying the initial position and the target area in real time; based on the real-time display of the initial position and the target area, moving the micromanipulator from the initial position to a predetermined position in the target area.
  • moving to the center position of the reachable targets in sequence includes: based on the motion plane of the micro-manipulator, determining the target extension corresponding to the motion plane and at least two reachable targets.
  • controlling the movement of the micro-manipulator to the central position of the reachable target includes: determining the movement range of the robot arm required to move the micro-manipulator to the central position of the reachable target; according to The movement range of the micro-manipulator moves the micro-manipulator to a central position of the reachable target.
  • the method further includes: obtaining the position of the micro-manipulator arm after completing the movement. posture; determine the angle difference and distance difference between the target line segment and the posture, wherein the target line segment is a line segment connected to the entry point of the instrument that can reach the target and the target end point; in the angle difference If the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold, it is determined that the micro-manipulator has reached the center position of the reachable target.
  • the method further includes: detecting whether the micro-manipulator is fixed in the target area; If so, control the micro-manipulator to move from the center position of the currently reachable target to the center position of the next reachable target, and align the next reachable target; If the micro-manipulator is not fixed in the target area, the micro-manipulator is returned to the stowed state, and the target area of the micro-manipulator is re-determined based on the remaining reachable targets.
  • fix the micro-manipulator at the predetermined position of the target area fix the micro-manipulator at the predetermined position of the target area, control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, and move to the remaining reachable areas in sequence.
  • the center position of the target and align the remaining reachable targets.
  • a positioning and alignment device for a micro-manipulator including: a first determination unit for determining the initial posture and multiple targets of the micro-manipulator in a stowed state. center position, wherein the initial pose includes an initial position and an initial posture; a second determination unit configured to determine the position of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets.
  • a target area wherein the target area is an area where the instrument holding front end of the micro-manipulator can reach at least two of the targets when the micro-manipulator is in the initial posture;
  • the first control unit with In order to control the micro-manipulator to move from the initial position to a predetermined position in the target area, the micro-manipulator is fixed at the predetermined position, wherein the predetermined position is any one in the target area. Position;
  • the second control unit is used to control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, move in sequence to the center position of the reachable target, and control the reachable target. to align with the target.
  • an electronic device including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute any of the above. The method steps described steps.
  • a computer-readable storage medium includes a stored program, wherein when the program is running, the location of the computer-readable storage medium is controlled.
  • the device performs any of the method steps described above.
  • the initial posture of the micro-manipulator in the folded state and the center positions of multiple targets are determined, where the initial posture includes the initial position and the initial posture; according to the initial position and the centers of the multiple targets Position, determine the target area of the micro-manipulator in the motion plane, where the target area is an area where the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture; control the micro-manipulator from the initial position The position moves to a predetermined position in the target area, and the micro-manipulator is fixed at the predetermined position, where the predetermined position is any position in the target area; the micro-manipulator is controlled to convert from the stowed state to the unfolded state based on the predetermined position, and then Move to the center of the reachable target and aim at the reachable target.
  • the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving
  • the micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
  • Figure 1 is a flow chart of a positioning and alignment method for a micromanipulator provided by an embodiment of the present invention
  • Figure 2 is a schematic diagram of the intersection between the motion plane of the micro-manipulator and the target according to an embodiment of the present invention
  • Figure 3 is a schematic diagram of the common intersection area of the circle formed by all targets provided by the embodiment of the present invention.
  • Figure 4 is a schematic diagram showing that the micro-manipulator provided by the embodiment of the present invention has been aligned with the target 1;
  • FIG. 5 is a schematic diagram of a positioning and alignment device for a micromanipulator provided by an embodiment of the present invention.
  • a method for positioning and aligning a micro-manipulator is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions. are performed, and, although a logical order is shown in the flowchart diagrams, in some cases the steps shown or described may be performed in a different order than herein.
  • Figure 1 is a flow chart of a positioning and alignment method for a micromanipulator provided by an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
  • Step S102 determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture;
  • the above-mentioned micro-manipulator is a component of a micro-robot.
  • the micro-manipulator includes but is not limited to a lower actuator arm and an upper actuator arm.
  • the lower actuator arm is provided with an instrument clamping front end and a position mark.
  • the above-mentioned multiple targets are the positioning and alignment targets of the micro-manipulator, and these targets are located in small local areas.
  • the micro-manipulator arm in the retracted state can be placed above the area where multiple targets are located, and then the initial posture of the micro-manipulator arm in the retracted state is obtained.
  • position and posture or position and posture are also called poses.
  • Step S104 Determine the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of the multiple targets, where the target area is the instrument clamping front end of the micro-manipulator that can reach at least 1 when the micro-manipulator is in the initial posture.
  • the above-mentioned target area is a part of the movement plane of the micro-manipulator, which belongs to the movement plane of the micro-manipulator; the above-mentioned micro-manipulator can cover multiple targets in the target area of the movement plane, that is, the micro-manipulator is fixed in the target area. Multiple targets that can be reached; optionally, multiple targets are located on the same side relative to the micro-manipulator.
  • the target area is reachable by the instrument clamping front end of the micro-manipulator when the micro-manipulator is in the initial position.
  • the area of multiple targets; the multiple targets are located on different sides relative to the micro-manipulator.
  • the target area is the area with the most targets that can be reached by the instrument clamping front end of the micro-manipulator when the micro-manipulator is in the initial position.
  • Step S106 control the micro-manipulator to move from the initial position to a predetermined position in the target area, and fix the micro-manipulator at the predetermined position, where the predetermined position is any position in the target area;
  • the micro-manipulator can be controlled to move from the initial position to any position in the target area, and then the micro-manipulator can be fixed at that position. A rough positioning can be achieved.
  • Step S108 control the micro-manipulator to switch from the folded state to the unfolded state with the predetermined position as the base point, and move sequentially Go to the center of the reachable target and align the reachable target.
  • controlling the micro-manipulator to move sequentially to the center position of the reachable target is related to the movement path of the micro-manipulator.
  • the movement path of the micro-manipulator includes the alignment sequence of at least two reachable targets
  • the alignment sequence of the at least two reachable targets can be flexibly adjusted according to the needs of the application scenario; for example, The alignment sequence of multiple reachable targets is preset as the movement path of the micro-manipulator, and then the micro-manipulator is controlled to move to the center of each reachable target in sequence according to the movement path; for another example, the micro-manipulator can be The movement plane of the arm is determined by the intersection point of the movement plane and the target extension line corresponding to multiple reachable targets.
  • the target extension line is the extension line of the line segment connected to the target instrument entry point and the target end point, and then the target extension line is connected to the predetermined position according to the predetermined position.
  • the distance between each intersection determines the alignment sequence of multiple reachable targets as the movement path of the micro-manipulator.
  • the micro-manipulator is controlled to move to the center of each reachable target in sequence according to the movement path; here it can be reached.
  • the alignment order of multiple targets includes but is not limited to the sorting result obtained by sorting the multiple reachable targets from small to large or from small to large according to the distance between the predetermined position and each intersection point.
  • performing a rough positioning of the micro-manipulator can achieve alignment of at least one reachable target.
  • the target area of the micro manipulator can cover all targets, only one rough positioning can be performed to achieve alignment of all targets; if the target area of the micro manipulator only covers part of the targets, multiple times are required.
  • multiple rough positionings are required to achieve alignment of all targets.
  • the above method can reduce the number of rough positioning, thereby reducing the time-consuming and operational risks of manual rough positioning.
  • the initial posture of the micro-manipulator in the folded state and the center positions of multiple targets are determined, where the initial posture includes the initial position and the initial posture; according to the initial position and the centers of the multiple targets Position, determine the target area of the micro-manipulator in the motion plane, where the target area is an area where the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture; control the micro-manipulator from the initial position The position moves to a predetermined position in the target area, and the micro-manipulator is fixed at the predetermined position, where the predetermined position is any position in the target area; the micro-manipulator is controlled to convert from the stowed state to the unfolded state based on the predetermined position, and then Move to the center of the reachable target and aim at the reachable target.
  • the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving
  • the micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
  • determining the initial posture of the micro-manipulator arm in the stowed state includes: detecting the position mark attached to the micro-manipulator arm in the stowed state; determining the instrument clamp according to the position mark Hold the initial position and initial attitude of the front end in the physical space coordinate system, and use the initial position and initial attitude as the initial pose.
  • the instrument holding front end of the micro manipulator can be detected by the detection equipment, and then the position mark attached to the micro manipulator is detected when the micro manipulator is in the folded state, and then based on the position mark
  • the initial posture also includes the initial position and initial posture.
  • the initial position and initial attitude of the instrument clamping front end in the physical space coordinate system are calculated using the position mark attached to the micro-manipulator, so that the retracted state of the micro-manipulator can be accurately obtained the initial pose below.
  • determining the center positions of multiple targets includes: acquiring a planning image containing multiple targets; comparing the first marker point in the planning image with the second marker point in the physical space coordinate system. Register to obtain a registration matrix, in which the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system one-to-one; perform coordinate transformation on multiple targets according to the registration matrix, The coordinates of multiple targets in the physical space coordinate system are obtained, and the coordinates of the multiple targets in the physical space coordinate system are used as the center positions of the multiple targets.
  • the first marker point in the above planned image is the location of the physical marker point used when collecting the image.
  • the location of the physical marker point can be at the center of the target or at the edge of the area where multiple targets are located. There is no limit here. .
  • the quasi-matrix performs coordinate transformation on multiple targets to obtain the coordinates of the multiple targets in the physical space coordinate system, and uses the coordinates of the multiple targets in the physical space coordinate system as the center positions of the multiple targets.
  • the coordinates of multiple targets in the physical space coordinate system are obtained through coordinate transformation using a registration matrix, and then the center positions of the multiple targets can be obtained.
  • obtaining a planning image containing multiple targets includes: obtaining three-dimensional image data of multiple targets; planning the multiple targets based on the three-dimensional image data to obtain a planning image, wherein in the planning image The target includes the instrument entry point and the target end point.
  • instrument entry point and target end point are represented by three-dimensional coordinates.
  • the instrument entry point and target end point of any target in the three-dimensional image data can reflect the center position of the corresponding target in the three-dimensional space of the image.
  • multiple targets are planned through three-dimensional image data of multiple targets, and corresponding planning images are obtained to facilitate subsequent registration processing and coordinate transformation.
  • determining the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of the multiple targets includes: obtaining the maximum movement radius of the micro-manipulator; based on the motion plane of the micro-manipulator , determine the intersection points of the motion plane and multiple target extension lines, where the target extension line is the extension line connecting the target instrument entry point and the target end point to form a line segment; determine the distance between the initial position and each intersection point; set the distance to be less than or equal to the maximum movement
  • the target of the radius is recorded in the list as a reachable target; using the intersection corresponding to the reachable target as the center and the maximum movement radius as the radius, all reachable targets in the list are generated in the circular area of the motion plane; according to all The reachable target is in the circular area of the motion plane, a common intersection area is generated, and the common intersection area is used as the target area.
  • the above maximum movement radius is the maximum movement distance of the micro-manipulator from the stowed state to the expansion in a single direction under fixed conditions; the above list is used to save reachable targets.
  • the target area of the micro-manipulator in the motion plane it is first necessary to obtain the maximum movement radius of the micro-manipulator, and then determine the intersection points of the motion plane and multiple target extension lines according to the motion plane of the micro-manipulator, and determine the initial The distance between the position and each intersection point, and then the target whose distance is less than or equal to the maximum movement radius is recorded in the list as the reachable target, and then the intersection point corresponding to the reachable target is used as the center and the maximum movement radius is used as the radius to generate a list All reachable targets are in the circular area of the motion plane. Finally, a common intersection area is generated based on all reachable targets in the circular area of the motion plane. This common intersection area is also the target area.
  • the target area of the micro-manipulator in the motion plane can be obtained more accurately, thereby fixing the micro-manipulator to the target area, which can effectively reduce the number of rough positioning.
  • controlling the micro-manipulator to move from the initial position to a predetermined position in the target area includes: displaying the initial position and the target area in real time; and moving the micro-manipulator from the original position and the target area based on the real-time display of the initial position and the target area.
  • the initial position is moved to a predetermined position in the target area.
  • the initial position and the target area are displayed in real time through visualization, and the micro-manipulator is controlled to move from the initial position to a predetermined position in the target area based on the visual display content, thereby realizing the visualization of the rough positioning of the micro-manipulator.
  • the initial position and target area are displayed more intuitively, which can reduce misoperation and grasp the execution dynamics of rough positioning in a timely manner.
  • moving to the center position of the reachable targets in sequence includes: determining the intersection point of the motion plane and target extension lines corresponding to at least two reachable targets according to the motion plane of the micro-manipulator, Among them, the target extension line is the extension line of the line segment connecting the target instrument entry point and the target end point; the movement path of the micro-manipulator is obtained, wherein the movement path of the micro-manipulator includes the alignment sequence of at least two targets that can be reached, The alignment sequence is determined based on the distance between the predetermined position and each intersection point; according to the movement path of the micro-manipulator, the micro-manipulator is controlled to move to the center position of the reachable target.
  • the at least two reachable targets can be sorted according to the distance between the predetermined position and each intersection point to obtain the alignment order of the at least two reachable targets.
  • the at least two reachable targets can be sorted according to the distance from small to large.
  • the targets are sorted to obtain the alignment sequence of at least two targets that can be reached, and the alignment sequence is used as the movement path of the micro-manipulator.
  • the alignment sequence obtained according to distance is: target 1, target 2 and target 3, then the micro-manipulator will first move to target 1, then move from target 1 to target 2, and then move from target 2 to target 3, and control the micro-manipulator to move to target 1, target 2 and The center position of target 3.
  • the selection of the alignment target is optimized and the target alignment efficiency is improved.
  • controlling the movement of the micro-manipulator to the central position of the reachable target includes: determining the movement range of the micro-manipulator required to move the micro-manipulator to the center position of the reachable target; according to the micro-machine The arm movement range moves the micro-manipulator to the center of the reachable target.
  • the above-mentioned robot arm movement range includes the movement distance of the upper actuator arm and/or the movement distance of the lower actuator arm;
  • the movement range of the robot arm required for the micro-manipulator to be deployed from the stowed state to the center position of the reachable target is used to control the movement of the micro-manipulator to the center position of the reachable target. This allows the micro-manipulator to accurately move to the center of the reachable target.
  • the above method further includes: obtaining the pose of the micro-manipulator arm after completing the movement; determining The angle difference and distance difference between the target line segment and the posture, where the target line segment is a line segment connected to the entry point of the instrument that can reach the target and the target end point; when the angle difference is less than the angle difference threshold and the distance difference is less than the distance In the case of a difference threshold, it is determined that the micro-manipulator has reached the center position of the reachable target.
  • the above pose includes the position and attitude of the micro-manipulator after completing its movement, where the position is represented by coordinates in the physical space coordinate system, and the attitude is represented by a rotation vector;
  • the pose of the micro-manipulator arm after completing the movement can be obtained, and then the angle difference between the target line segment and the pose can be calculated and distance difference, and then determine whether the angle difference is less than the angle difference threshold and whether the distance difference is less than the distance difference threshold. If the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold, then the micro When the robotic arm has reached the center position of the reachable target, it indicates that the micro robotic arm has moved into position.
  • the angle difference is greater than or equal to the angle difference threshold or the distance difference is greater than or equal to the distance difference threshold, it indicates that the micro manipulator has not moved in place, and the movement of the micro manipulator needs to be appropriately adjusted until the micro manipulator has been moved into position.
  • angle difference threshold and distance difference threshold can be set according to the needs of the application scenario;
  • angle difference threshold is 0.1 degrees, and the distance difference threshold is 0.3 mm.
  • the above method further includes: detecting whether the micro-manipulator is fixed in the target area; if the micro-manipulator is fixed in the target area, control The micro-manipulator moves from the center position of the currently reachable target to the center position of the next reachable target, and aligns the next reachable target; when the micro-manipulator is not fixed in the target area, then Return the micro-manipulator to the stowed state, re-determine the target area of the micro-manipulator based on the remaining reachable targets, fix the micro-manipulator at a predetermined position in the target area, and control the micro-manipulator to transition from the stowed state with the predetermined position as the base point. In the expanded state, move to the center of the remaining reachable targets in sequence and align the remaining reachable targets.
  • the micro manipulator Since the micro manipulator is prone to artificially moving its position after the target is aligned, the previous rough positioning of the micro manipulator cannot reach the remaining reachable targets. Therefore, in the present invention, after the micro manipulator is aligned with the target, It will detect whether the micro-manipulator is still fixed in the target area; if the micro-manipulator is fixed in the target area, the micro-manipulator can be controlled to move from the center position of the reachable target to the center position of the next reachable target.
  • the micro-manipulator can be returned to the stowed state, and the target area of the micro-manipulator is re-determined according to the remaining reachable targets, and the micro-manipulator can be moved to the target area.
  • the robotic arm is fixed at a predetermined position in the target area, and then controls the micro robotic arm to convert from the stowed state to the unfolded state based on the predetermined position, and then move to the center of the remaining reachable targets in sequence, and align the remaining reachable targets. allow.
  • the previous rough positioning is still effective, continue to align the remaining reachable targets. , otherwise it is necessary to re-perform rough positioning, that is, use the remaining reachable targets to re-determine the target area of the micro-manipulator to achieve positioning and alignment of the remaining reachable targets, thus avoiding invalid operations on the remaining reachable targets. .
  • Step 1 Rough positioning.
  • Step 2 Rough positioning.
  • Step 1.1 Use surgical planning software to plan the surgical target accordingly (generally, planning can be based on three-dimensional image data such as CT, MRI or ultrasound images).
  • the result of the planning is 2 points, each point is represented by (x, y, z) express.
  • the two points represent the target end point and the equipment entry point respectively.
  • the two points can ultimately be represented by a line segment or a vector;
  • Step 1.2 Use the navigation registration method to register the planning image with the physical spatial location.
  • the position of the physical marker point is used when collecting the image so that it can be scanned into the image so that it can be recognized by the algorithm.
  • the registration matrix is obtained by registering the physical marker points in the physical space coordinate system and the marker points in the image coordinate system.
  • the registration matrix is expressed in a 3 ⁇ 3 matrix;
  • Step 1.3 Transform all surgical targets according to the registration matrix to obtain the coordinates of the corresponding targets in the physical space coordinate system;
  • Step 1.4 Attach corresponding position marks to the micro-manipulator.
  • the instrument holding front end of the micro-manipulator can be a passive optical reflective mark or an electromagnetic sensor so that it can be detected by the optical or electromagnetic positioning system, thereby obtaining the instrument holding front end of the micro-manipulator.
  • Position and attitude in the physical space coordinate system including current position and rotation vector);
  • Step 1.5 When the micro-manipulator needs to be placed in the approximate area of the surgical area, the current position and target position of the manipulator (corresponding to the center position of the above target) are calculated based on the screen. Calculate the area that can cover the most targets at the same time and give the corresponding logo;
  • the optional calculation method is as follows: Assume that the maximum moving radius of the micro-manipulator from the stowed state to unfolding to a single direction under the current fixed conditions is x, where the value of The hardware parameters of the robotic arm are as follows;
  • FIG. 2 is a schematic diagram of the intersection of the motion plane of the micro-manipulator provided by the embodiment of the present invention and the target, as shown As shown in Figure 2, in order to move the micro-manipulator to the target trajectory, which is the line connecting the two points of the target, move the position B of the instrument held by the lower actuator arm to the target connection line B'.
  • B' is the intersection point of the plane where the lower actuator arm is located and the line connecting the two target points. Then the position A of the instrument held by the upper actuator arm is also moved to the above-mentioned connecting line A', where, A ′ is the intersection point of the plane where the upper actuator arm is located and the line connecting the two points of the target; the movement distance of the upper actuator arm is the movement of the mechanical arm, recorded as y′, and the movement of the upper actuator arm reaches the target when the lower actuator arm reaches The latter can be satisfied without too much consideration; and the moving distance of the lower actuator arm is the moving range of the mechanical arm mentioned above, which is x′. If x′ ⁇ x, it is considered to be included in the reachable range. target list;
  • the common intersection area of the circle formed by all targets is the area that can cover the most targets at the current position and posture of the micro-manipulator.
  • the common intersection areas of other circles are areas that can cover the corresponding targets at the same time;
  • Figure 3 is a schematic diagram of the common intersecting area of the circle formed by all targets provided by the embodiment of the present invention, as shown in Figure 3.
  • the dark area can cover the most area, while other areas cover relatively few targets.
  • Step 1.6 When moving the micro-manipulator, use the position mark attached to the micro-manipulator to move the micro-manipulator in real time.
  • the screen visually displays its position (circular dark area), and prompts the user based on the current position, the number of targets that the current micro-manipulator can cover, so that the user can understand the micro-manipulator and the above-mentioned target area that can be covered
  • the positional relationship guides the user to place the micro-manipulator to cover as many target areas as possible, and then fix it.
  • Step 2 Automatically move from the rough positioning position to the center position of a certain target
  • FIG. 4 is a schematic diagram of the micro manipulator provided by the embodiment of the present invention that has been aligned with the target 1. As shown in Figure 4, the micro manipulator has covered the target 1; during the movement of the micro manipulator, the position of the micro manipulator on the screen can be updated in real time. position (indicated by a dark circular area) to let the user know the progress of the movement and give prompts when the movement is in place.
  • the method for determining that the micro-manipulator has covered the target is as follows:
  • the current position and rotation vector are obtained according to the position sensor, and the angle difference and distance difference between the line connecting the two points of the target are calculated. If the angle difference and distance difference are less than a certain threshold (such as 0.3mm and 0.1 degrees), the micro-manipulator is considered to have covered the target.
  • a certain threshold such as 0.3mm and 0.1 degrees
  • Step 3 Move from the center of one target to the center of another target
  • the micro-manipulator When moving from one target to another, it is necessary to determine whether the position and posture of the micro-manipulator has changed since the last time the micro-manipulator was placed and locked. If the position has changed, it may have previously been considered that the micro-manipulator The initial placement area where the arm can cover multiple targets is no longer valid. At this time, it may not be possible to directly reach the corresponding target position through the automatic movement of the micro-manipulator. It is necessary to consider the possibility that the micro-manipulator is moving to a certain target position. Later, the position was artificially moved. In this case, although the rough fixation of the micro-manipulator at the beginning ensured that the micro-manipulator could reach several targets at the same time. However, due to human movement, the micro-manipulator may not be able to reach several targets that were previously thought to be reachable, so recalculation is required. In the specific implementation process, the following methods can be used:
  • Step (1) The position and posture of the micro manipulator at a certain target can be represented by a matrix C, which can be obtained based on the position and posture A of the micro manipulator in the stowed state combined with the movement posture of the micro manipulator itself.
  • Step (3) After obtaining the position and posture A, calculate the distance range of the movement posture from the position and posture A to the target that needs to be reached. If the movement distance and posture are within the one-directional movement range of the micro-manipulator starting from A, the micro-manipulator directly executes the corresponding movement posture instructions and reaches the corresponding target in one go. Otherwise, the corresponding target is considered unreachable. Pass The screen prompts that the micro-manipulator must return to the retracted state and perform rough positioning again.
  • FIG. 5 is a schematic diagram of a positioning and alignment device for a micro-manipulator provided by an embodiment of the present invention.
  • the positioning and alignment device of the micro manipulator includes: a first determination unit 52 , a second determination unit 54 , a first control unit 56 and a second control unit 58 .
  • the positioning and alignment device of the micro robotic arm will be described in detail below.
  • the first determination unit 52 is used to determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture;
  • the second determination unit 54 is connected to the above-mentioned first determination unit 52 and is used to determine the target area of the micro-manipulator in the motion plane according to the initial position and the center positions of the multiple targets, where the target area is the instrument holder of the micro-manipulator.
  • the holding front end can reach the area of at least two targets when the micro manipulator is in the initial position;
  • the first control unit 56 is connected to the above-mentioned second determination unit 54 and is used to control the micro-manipulator to move from the initial position to a predetermined position in the target area and fix the micro-manipulator at the predetermined position, where the predetermined position is within the target area. any position;
  • the second control unit 58 is connected to the above-mentioned first control unit 56 and is used to control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, move to the center position of the reachable target in sequence, and control the reachable target. target to align.
  • the positioning and alignment device of the micro-manipulator is used to determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture; Determine the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets, where the target area is that the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture.
  • control the micro-manipulator to move from the initial position to a predetermined position in the target area, and fix the micro-manipulator at the predetermined position, where the predetermined position is any position within the target area; control the micro-manipulator to use the predetermined position as the base point by The folded state is converted to the unfolded state, and the system moves to the center of the reachable target in sequence, and aims at the reachable target.
  • the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving
  • the micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
  • first determination unit 52 corresponds to steps S102 to S108 in the method embodiment, and the above-mentioned units are the same as the corresponding steps.
  • the implementation examples and application scenarios are the same, but are not limited to the content disclosed in the above method embodiments.
  • the above-mentioned first determination unit 52 includes: a detection module for detecting the position mark attached to the micro-manipulator when the micro-manipulator is in the stowed state; a first determination module for detecting the position according to the location of the micro-manipulator.
  • the mark determines the initial position and initial posture of the instrument clamping front end in the physical space coordinate system, and takes the initial position and initial posture as the initial posture.
  • the above-mentioned first determination unit 52 includes: a first acquisition module, used to acquire a planning image containing multiple targets; a registration module, used to compare the first marker point in the planning image with The second marker point in the physical space coordinate system is registered to obtain a registration matrix, in which the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system; transformation The module is used to perform coordinate transformation on multiple targets according to the registration matrix, obtain the coordinates of multiple targets in the physical space coordinate system, and use the coordinates of the multiple targets in the physical space coordinate system as the center positions of the multiple targets.
  • the above-mentioned first acquisition module includes: a first acquisition sub-module for acquiring three-dimensional image data of multiple targets; and a first processing sub-module for processing multiple targets based on the three-dimensional image data. Perform planning to obtain a planning image, where the target in the planning image includes the instrument entry point and the target end point.
  • the above-mentioned second determination unit 54 includes: a second acquisition module, used to acquire the maximum movement radius of the micro-manipulator; and a second determination module, used to determine based on the motion plane of the micro-manipulator.
  • the above-mentioned first control unit 56 includes: a display module for displaying the initial position and the target area in real time; a first processing module for displaying the initial position and the target area of the miniature in real time.
  • the robotic arm moves from the initial position to a predetermined position in the target area.
  • the above-mentioned second control unit 58 includes: a fifth determination module, configured to determine, according to the movement plane of the micro-manipulator, the intersection point of the movement plane and target extension lines corresponding to at least two reachable targets, wherein the target extension The line is an extension line connecting the target instrument entry point and the target end point to form a line segment; the third acquisition module is used to acquire the movement path of the micro-manipulator, wherein the movement path of the micro-manipulator includes pairs of at least two targets that can be reached.
  • the alignment sequence is determined based on the distance between the predetermined position and each intersection point; the second processing module is used to control the micro-manipulator to move to the center position of the reachable target according to the movement path of the micro-manipulator.
  • the above-mentioned second processing module includes: a first determining sub-module for determining the micro The movement range of the manipulator arm required to move the manipulator arm to the center position of the reachable target; the second processing submodule is used to move the micro manipulator arm to the center position of the reachable target according to the movement range of the micro manipulator arm.
  • the above-mentioned second processing module also includes: a second acquisition sub-module, configured to acquire the The pose of the micro-manipulator after completing its movement; the second determination sub-module is used to determine the angle difference and distance difference between the target line segment and the pose, where the target line segment is the entry point of the instrument that can reach the target and the target end point connected into line segments; the third determination sub-module is used to determine that the micro-manipulator has reached the center position of the reachable target when the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold.
  • a second acquisition sub-module configured to acquire the The pose of the micro-manipulator after completing its movement
  • the second determination sub-module is used to determine the angle difference and distance difference between the target line segment and the pose, where the target line segment is the entry point of the instrument that can reach the target and the target end point connected into line segments
  • the third determination sub-module is used to determine that the micro-manipulator has reached the
  • the above-mentioned second control unit 58 also includes: a detection module for detecting whether the micro-manipulator is fixed in the target area after aligning the target reachable by the micro-manipulator; a third The processing module is used to control the micro-manipulator to move from the center position of the currently reachable target to the center position of the next reachable target when the micro-manipulator is fixed in the target area, and to control the next reachable target.
  • the target is aligned; the fourth processing module is used to return the micro-manipulator to the retracted state when the micro-manipulator is not fixed in the target area, and re-determine the target area of the micro-manipulator based on the remaining reachable targets.
  • Fix the micro-manipulator at a predetermined position in the target area control the micro-manipulator to convert from the stowed state to the unfolded state based on the predetermined position, move to the center position of the remaining reachable targets in sequence, and perform operations on the remaining reachable targets. alignment.
  • an electronic device including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to perform any of the above method steps .
  • a computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above. The method steps of the item.
  • the above-mentioned computer-readable storage medium can be located in any computer terminal in the computer terminal group in the computer network, and/or in any mobile terminal in the mobile terminal group.
  • the above-mentioned computer-readable storage medium includes storage program of.

Abstract

Disclosed in embodiments of the present invention are a positioning alignment method and apparatus for a micro mechanical arm, and an electronic device. The method comprises: determining an initial pose of the micro mechanical arm in a folded state and center positions of a plurality of targets, the initial pose comprising an initial position and an initial posture; determining a target area of the micro mechanical arm in a motion plane according to the initial position and the center positions of the plurality of targets; controlling the micro mechanical arm to move from the initial position to a preset position of the target area, and fixing the micro mechanical arm at the preset position; and controlling the micro mechanical arm to be converted from the folded state to an unfolded state by taking the preset position as a base point, sequentially moving to the center positions of reachable targets, and carrying out alignment on the reachable targets. The present invention solves the technical problem that due to the fact that a micro mechanical arm in the prior art needs to be frequently moved and fixed manually for positioning, the application time and the risk are increased, and achieves the technical effects of reducing the number of moving and fixing times and reducing the application time and risk.

Description

一种微型机械臂的定位对准方法、装置及电子设备A positioning and alignment method, device and electronic equipment for a micro robotic arm 技术领域Technical field
本发明涉及微型机器人定位技术领域,尤其涉及一种微型机械臂的定位对准方法、装置及电子设备。The present invention relates to the field of micro-robot positioning technology, and in particular to a positioning and alignment method, device and electronic equipment for a micro-robot.
背景技术Background technique
目前的手术机器人解决方案一般使用大型机械臂,大型机械臂具有关节灵活,自由度高,活动范围大的优点,但是使用成本高,操作复杂,容易造成手术时间延迟,不利于应用机器人的手术大量普及。而采用局部定位技术的微型机器人出现,可以弥补大型机械臂使用复杂,使用成本高的缺点,但是同时具备定位精度准确的优点。微型机械臂的特点相对于大型机械臂来说由于其体积小,一般应用在局部区域定位,比如,对于定位区域要求相对较小,定位精度要求高的神经外科领域等。以将微型机器人应用于传统骨科手术场景为例,需要使用者先将微型机器人移动到术区临近位置,之后将微型机器人进行固定,再启动微型机器人进行精细定位,从而完成精准定位的目的。但在这样的应用场景中,如果存在多个定位位置或目标,则需要频繁进行手工的移动和固定,再启动微型机器人,增加了人工操作,提高了风险,增加了手术时间,最终限制了应用范围。Current surgical robot solutions generally use large-scale robotic arms. Large-scale robotic arms have the advantages of flexible joints, high degrees of freedom, and wide range of motion. However, they are expensive to use and complex to operate, which can easily cause delays in surgical time and are not conducive to a large number of surgeries using robots. universal. The emergence of micro-robots using local positioning technology can make up for the shortcomings of complex and high-cost use of large robotic arms, but at the same time it has the advantage of accurate positioning accuracy. Compared with large-scale robotic arms, micro-manipulators are smaller in size and are generally used in local area positioning. For example, in the field of neurosurgery where the positioning area is relatively small and the positioning accuracy is high. Taking the application of micro-robots in traditional orthopedic surgery scenarios as an example, the user needs to first move the micro-robot to a position close to the surgical area, then fix the micro-robot, and then start the micro-robot for fine positioning to achieve precise positioning. However, in such application scenarios, if there are multiple positioning positions or targets, frequent manual movement and fixation is required before starting the micro-robot, which increases manual operations, risks, and operation time, ultimately limiting the application. scope.
针对上述的问题,尚未提出有效地解决方案。No effective solution has yet been proposed for the above problems.
发明内容Contents of the invention
本发明实施例提供了一种微型机械臂的定位对准方法、装置及电子设备,以至少解决相关技术中微型机械臂的定位需要频繁进行手工的移动和固定,导致应用时间与风险增加的技术问题。Embodiments of the present invention provide a positioning and alignment method, device and electronic equipment for a micro-robot to at least solve the problem in related technologies that the positioning of the micro-robot requires frequent manual movement and fixation, resulting in increased application time and risk. question.
根据本发明实施例的一个方面,提供了一种微型机械臂的定位对准方法,包括:确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,所述初始位姿包括初始位置和初始姿态;根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,其中,所述目标区域为所述微型机械臂的器械夹持前端在所述微型机械臂处于所述初始位姿时可到达至少两个所述目标的区域;控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,将所述微型机械臂固定在所述预定位置,其 中,所述预定位置为所述目标区域内的任一位置;控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到可到达的所述目标的中心位置,并对可到达的所述目标进行对准。According to an aspect of an embodiment of the present invention, a positioning and alignment method for a micro-manipulator is provided, including: determining the initial posture of the micro-manipulator in a stowed state and the center positions of multiple targets, wherein the initial The posture includes an initial position and an initial posture; according to the initial position and the center positions of multiple targets, the target area of the micro-manipulator in the motion plane is determined, where the target area is the target area of the micro-manipulator. The instrument clamping front end can reach at least two target areas when the micro-manipulator is in the initial posture; the micro-manipulator is controlled to move from the initial position to a predetermined position in the target area, and the The micro-manipulator is fixed at the predetermined position, and , the predetermined position is any position within the target area; the micro-manipulator is controlled to use the predetermined position as a base point to convert from the stowed state to the unfolded state, and move to the reachable target in sequence. center position and align the reachable target.
可选地,确定微型机械臂在收起状态下的初始位姿,包括:检测所述微型机械臂在所述收起状态下所述微型机械臂上附带的位置标记;根据所述位置标记确定所述器械夹持前端在物理空间坐标系中的所述初始位置和所述初始姿态,并将所述初始位置和所述初始姿态作为所述初始位姿。Optionally, determining the initial posture of the micro-manipulator in the stowed state includes: detecting a position mark attached to the micro-manipulator in the stowed state; determining based on the position mark The instrument holds the initial position and the initial posture of the front end in the physical space coordinate system, and uses the initial position and the initial posture as the initial posture.
可选地,确定多个所述目标的中心位置,包括:获取包含多个所述目标的规划图像;将所述规划图像中的第一标记点与物理空间坐标系中的第二标记点进行配准,得到配准矩阵,其中,所述第一标记点在图像坐标系中的坐标与所述第二标记点在所述物理空间坐标系中的坐标一一对应;根据所述配准矩阵对多个所述目标进行坐标变换,得到多个所述目标在所述物理空间坐标系中的坐标,并将多个所述目标在所述物理空间坐标系中的坐标作为多个所述目标的中心位置。Optionally, determining the center positions of multiple targets includes: acquiring a planning image containing multiple targets; comparing the first marker point in the planning image with the second marker point in the physical space coordinate system. Register to obtain a registration matrix, where the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system one-to-one; according to the registration matrix Perform coordinate transformation on multiple targets to obtain coordinates of multiple targets in the physical space coordinate system, and use the coordinates of multiple targets in the physical space coordinate system as multiple targets. central location.
可选地,获取包含多个所述目标的规划图像,包括:获取多个所述目标的三维图像数据;根据所述三维图像数据对多个所述目标进行规划,得到所述规划图像,其中,所述规划图像中的所述目标包括器械进入点和目标终点。Optionally, obtaining a planning image containing a plurality of the targets includes: obtaining three-dimensional image data of a plurality of the targets; planning a plurality of the targets according to the three-dimensional image data to obtain the planning image, wherein , the target in the planning image includes an instrument entry point and a target end point.
可选地,根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,包括:获取所述微型机械臂的最大移动半径;根据所述微型机械臂的所述运动平面,确定所述运动平面与多个目标延长线的交点,其中,所述目标延长线为所述目标的器械进入点和目标终点连成线段的延长线;确定所述初始位置与各所述交点的距离;将所述距离小于或者等于所述最大移动半径的所述目标作为可到达的所述目标,记录到列表中;将可到达的所述目标对应的所述交点作为中心,所述最大移动半径作为半径,生成所述列表中的所有可到达的所述目标在所述运动平面的圆形区域;根据所有可到达的所述目标在运动平面的圆形区域,生成公共相交区域,并将所述公共相交区域作为所述目标区域。Optionally, determining the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets includes: obtaining the maximum movement radius of the micro-manipulator; The motion plane of the arm determines the intersection point between the motion plane and multiple target extension lines, wherein the target extension line is an extension line connecting the target instrument entry point and the target end point to form a line segment; determine the initial The distance between the position and each intersection point; the target whose distance is less than or equal to the maximum movement radius is recorded in the list as the reachable target; the intersection point corresponding to the reachable target As the center, the maximum movement radius is used as the radius to generate a circular area of all reachable targets in the list in the motion plane; based on the circular area of all reachable targets in the motion plane, Generate a common intersection area and use the common intersection area as the target area.
可选地,控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,包括:实时显示所述初始位置以及所述目标区域;根据实时显示的所述初始位置以及所述目标区域,将所述微型机械臂从所述初始位置移动到所述目标区域的预定位置。Optionally, controlling the micro-manipulator to move from the initial position to a predetermined position in the target area includes: displaying the initial position and the target area in real time; based on the real-time display of the initial position and the target area, moving the micromanipulator from the initial position to a predetermined position in the target area.
可选地,依次移动到可到达的所述目标的中心位置,包括:根据所述微型机械臂的所述运动平面,确定所述运动平面与可到达的至少两个所述目标对应的目标延长线的交点,其中,所述目标延长线为所述目标的器械进入点和目标终点连成线段的延长线;获取所述 微型机械臂的移动路径,其中,所述微型机械臂的移动路径包括可到达的至少两个所述目标的对准顺序,所述对准顺序是根据所述预定位置与各所述交点的距离确定;根据所述微型机械臂的移动路径,控制所述微型机械臂移动到可到达的所述目标的中心位置。Optionally, moving to the center position of the reachable targets in sequence includes: based on the motion plane of the micro-manipulator, determining the target extension corresponding to the motion plane and at least two reachable targets. The intersection point of the lines, wherein the target extension line is the extension line connecting the target instrument entry point and the target end point to form a line segment; obtain the The movement path of the micro-manipulator, wherein the movement path of the micro-manipulator includes an alignment sequence of at least two reachable targets, the alignment sequence is based on the distance between the predetermined position and each of the intersection points Determine; according to the movement path of the micro-manipulator, control the micro-manipulator to move to the reachable center position of the target.
可选地,控制所述微型机械臂移动到可到达的所述目标的中心位置,包括:确定所述微型机械臂移动到可到达的所述目标的中心位置所需的机械臂移动范围;根据所述微型机械臂移动范围,将所述微型机械臂移动到可到达的所述目标的中心位置。Optionally, controlling the movement of the micro-manipulator to the central position of the reachable target includes: determining the movement range of the robot arm required to move the micro-manipulator to the central position of the reachable target; according to The movement range of the micro-manipulator moves the micro-manipulator to a central position of the reachable target.
可选地,在根据所述微型机械臂移动范围,将所述微型机械臂移动到可到达的所述目标的中心位置之后,所述方法还包括:获取所述微型机械臂完成移动后的位姿;确定目标线段与所述位姿之间的角度差值及距离差值,其中,所述目标线段为可到达所述目标的器械进入点和目标终点连成线段;在所述角度差值小于角度差值阈值且所述距离差值小于距离差值阈值的情况下,则确定所述微型机械臂已到达可到达的所述目标的中心位置。Optionally, after moving the micro-manipulator arm to the reachable center position of the target according to the movement range of the micro-manipulator arm, the method further includes: obtaining the position of the micro-manipulator arm after completing the movement. posture; determine the angle difference and distance difference between the target line segment and the posture, wherein the target line segment is a line segment connected to the entry point of the instrument that can reach the target and the target end point; in the angle difference If the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold, it is determined that the micro-manipulator has reached the center position of the reachable target.
可选地,在对可到达的所述目标进行对准之后,所述方法还包括:检测所述微型机械臂是否固定在所述目标区域;在所述微型机械臂固定在所述目标区域的情况下,则控制所述微型机械臂从当前可到达的所述目标的中心位置移动到下一个可到达的所述目标的中心位置,并对下一个可到达的所述目标进行对准;在所述微型机械臂未固定在所述目标区域的情况下,则将所述微型机械臂返回所述收起状态,基于剩余可到达的所述目标重新确定所述微型机械臂的所述目标区域,将所述微型机械臂固定在所述目标区域的所述预定位置,控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到剩余可到达的所述目标的中心位置,并对剩余可到达的所述目标进行对准。Optionally, after aligning the reachable target, the method further includes: detecting whether the micro-manipulator is fixed in the target area; If so, control the micro-manipulator to move from the center position of the currently reachable target to the center position of the next reachable target, and align the next reachable target; If the micro-manipulator is not fixed in the target area, the micro-manipulator is returned to the stowed state, and the target area of the micro-manipulator is re-determined based on the remaining reachable targets. , fix the micro-manipulator at the predetermined position of the target area, control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, and move to the remaining reachable areas in sequence. The center position of the target and align the remaining reachable targets.
根据本发明实施例的另一个方面,还提供了一种微型机械臂的定位对准装置,包括:第一确定单元,用于确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,所述初始位姿包括初始位置和初始姿态;第二确定单元,用于根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,其中,所述目标区域为所述微型机械臂的器械夹持前端在所述微型机械臂处于所述初始位姿时可到达至少两个所述目标的区域;第一控制单元,用于控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,将所述微型机械臂固定在所述预定位置,其中,所述预定位置为所述目标区域内的任一位置;第二控制单元,用于控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到可到达的所述目标的中心位置,并对可到达的所述目标进行对准。According to another aspect of the embodiment of the present invention, a positioning and alignment device for a micro-manipulator is also provided, including: a first determination unit for determining the initial posture and multiple targets of the micro-manipulator in a stowed state. center position, wherein the initial pose includes an initial position and an initial posture; a second determination unit configured to determine the position of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets. A target area, wherein the target area is an area where the instrument holding front end of the micro-manipulator can reach at least two of the targets when the micro-manipulator is in the initial posture; the first control unit, with In order to control the micro-manipulator to move from the initial position to a predetermined position in the target area, the micro-manipulator is fixed at the predetermined position, wherein the predetermined position is any one in the target area. Position; the second control unit is used to control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, move in sequence to the center position of the reachable target, and control the reachable target. to align with the target.
根据本发明实施例的另一个方面,还提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述中任一项所述的方法步 骤。According to another aspect of an embodiment of the present invention, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute any of the above. The method steps described steps.
根据本发明实施例的另一个方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行上述中任一项所述的方法步骤。According to another aspect of the embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium includes a stored program, wherein when the program is running, the location of the computer-readable storage medium is controlled. The device performs any of the method steps described above.
在本发明实施例中,采用确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,初始位姿包括初始位置和初始姿态;根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,其中,目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达至少两个目标的区域;控制微型机械臂从初始位置移动到目标区域的预定位置,将微型机械臂固定在预定位置,其中,预定位置为目标区域内的任一位置;控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到可到达的目标的中心位置,并对可到达的目标进行对准。也就是说,本发明实施例需要控制微型机械臂移动到运动平面的目标区域,并将微型机械臂固定在预定位置,然后再控制微型机械臂依次移动到可到达的目标的中心位置,从而实现微型机械臂对多个可到达的目标对准,进而解决了相关技术中微型机械臂的定位需要频繁进行手工的移动和固定,导致应用时间与风险增加的技术问题,达到了减少移动和固定次数,降低应用时间与风险的技术效果。In the embodiment of the present invention, the initial posture of the micro-manipulator in the folded state and the center positions of multiple targets are determined, where the initial posture includes the initial position and the initial posture; according to the initial position and the centers of the multiple targets Position, determine the target area of the micro-manipulator in the motion plane, where the target area is an area where the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture; control the micro-manipulator from the initial position The position moves to a predetermined position in the target area, and the micro-manipulator is fixed at the predetermined position, where the predetermined position is any position in the target area; the micro-manipulator is controlled to convert from the stowed state to the unfolded state based on the predetermined position, and then Move to the center of the reachable target and aim at the reachable target. That is to say, the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving The micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached picture:
图1为本发明实施例提供的微型机械臂的定位对准方法的流程图;Figure 1 is a flow chart of a positioning and alignment method for a micromanipulator provided by an embodiment of the present invention;
图2为本发明实施例提供的微型机械臂的运动平面与目标的交点的示意图;Figure 2 is a schematic diagram of the intersection between the motion plane of the micro-manipulator and the target according to an embodiment of the present invention;
图3为本发明实施例提供的所有目标所形成的圆的公共相交区域的示意图;Figure 3 is a schematic diagram of the common intersection area of the circle formed by all targets provided by the embodiment of the present invention;
图4为本发明实施例提供的微型机械臂已对准目标1的示意图;Figure 4 is a schematic diagram showing that the micro-manipulator provided by the embodiment of the present invention has been aligned with the target 1;
图5为本发明实施例提供的微型机械臂的定位对准装置的示意图。FIG. 5 is a schematic diagram of a positioning and alignment device for a micromanipulator provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范 围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the scope of protection of the present invention. around.
需要说明的是,本发明的说明书和权利要求书及附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于限定特定顺序。It should be noted that the terms "first", "second", etc. in the description, claims and drawings of the present invention are used to distinguish different objects, rather than to limit a specific order.
根据本发明实施例的一个方面,提供了一种微型机械臂的定位对准方法,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to one aspect of an embodiment of the present invention, a method for positioning and aligning a micro-manipulator is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions. are performed, and, although a logical order is shown in the flowchart diagrams, in some cases the steps shown or described may be performed in a different order than herein.
图1为本发明实施例提供的微型机械臂的定位对准方法的流程图,如图1所示,该方法包括如下步骤:Figure 1 is a flow chart of a positioning and alignment method for a micromanipulator provided by an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
步骤S102,确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,初始位姿包括初始位置和初始姿态;Step S102, determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture;
上述微型机械臂为微型机器人的构成部件,其中,微型机械臂包括但不限于下致动器臂和上致动器臂,下致动器臂设置有器械夹持前端以及位置标记等。上述多个目标为微型机械臂的定位对准对象,这些目标分别位于面积较小的局部区域。在具体实施过程中,可以将处于收起状态下的微型机械臂放置在多个目标所在区域的上方,然后再获取微型机械臂在收起状态下的初始位姿。另外,位置姿态或者位置与姿态,又称为位姿。The above-mentioned micro-manipulator is a component of a micro-robot. The micro-manipulator includes but is not limited to a lower actuator arm and an upper actuator arm. The lower actuator arm is provided with an instrument clamping front end and a position mark. The above-mentioned multiple targets are the positioning and alignment targets of the micro-manipulator, and these targets are located in small local areas. During the specific implementation process, the micro-manipulator arm in the retracted state can be placed above the area where multiple targets are located, and then the initial posture of the micro-manipulator arm in the retracted state is obtained. In addition, position and posture or position and posture are also called poses.
步骤S104,根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,其中,目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达至少两个目标的区域;Step S104: Determine the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of the multiple targets, where the target area is the instrument clamping front end of the micro-manipulator that can reach at least 1 when the micro-manipulator is in the initial posture. Two target areas;
上述目标区域为微型机械臂运动平面的部分区域,其属于微型机械臂的运动平面;上述微型机械臂在运动平面的目标区域内可以覆盖多个目标,即该微型机械臂固定在该目标区域内能够到达的多个目标;可选地,多个目标相对于微型机械臂,其位置均位于同一侧,该目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达多个目标的区域;多个目标相对于微型机械臂,其位置位于不同侧,该目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达的目标最多的区域。The above-mentioned target area is a part of the movement plane of the micro-manipulator, which belongs to the movement plane of the micro-manipulator; the above-mentioned micro-manipulator can cover multiple targets in the target area of the movement plane, that is, the micro-manipulator is fixed in the target area. Multiple targets that can be reached; optionally, multiple targets are located on the same side relative to the micro-manipulator. The target area is reachable by the instrument clamping front end of the micro-manipulator when the micro-manipulator is in the initial position. The area of multiple targets; the multiple targets are located on different sides relative to the micro-manipulator. The target area is the area with the most targets that can be reached by the instrument clamping front end of the micro-manipulator when the micro-manipulator is in the initial position.
步骤S106,控制微型机械臂从初始位置移动到目标区域的预定位置,将微型机械臂固定在预定位置,其中,该预定位置为目标区域内的任一位置;Step S106, control the micro-manipulator to move from the initial position to a predetermined position in the target area, and fix the micro-manipulator at the predetermined position, where the predetermined position is any position in the target area;
由于目标区域内包括多个位置,且任意一个位置可以实现到达的目标最多的目的,因而可以控制微型机械臂从初始位置移动到目标区域内的任一位置,再将微型机械臂固定在该位置即可实现一次粗定位。Since the target area includes multiple positions, and any one position can achieve the goal of reaching the most targets, the micro-manipulator can be controlled to move from the initial position to any position in the target area, and then the micro-manipulator can be fixed at that position. A rough positioning can be achieved.
步骤S108,控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动 到可到达的目标的中心位置,并对可到达的目标进行对准。Step S108, control the micro-manipulator to switch from the folded state to the unfolded state with the predetermined position as the base point, and move sequentially Go to the center of the reachable target and align the reachable target.
可选地,控制微型机械臂依次移动到可到达的目标的中心位置与该微型机械臂的移动路径相关。由于微型机械臂的移动路径包括可到达的至少两个目标的对准顺序,那么对于可到达的至少两个目标而言,它们的对准顺序可以根据应用场景的需求而灵活调整;例如,可以预先设定可到达的多个目标的对准顺序作为微型机械臂的移动路径,然后控制微型机械臂按照该移动路径依次移动到每个可到达的目标的中心位置;又例如,可以根据微型机械臂的运动平面,确定该运动平面与可到达的多个目标对应的目标延长线的交点,该目标延长线为目标的器械进入点和目标终点连成线段的延长线,然后再根据预定位置与各交点的距离确定出可到达的多个目标的对准顺序作为微型机械臂的移动路径,最后控制微型机械臂按照该移动路径依次移动到每个可到达的目标的中心位置;此处可到达的多个目标的对准顺序包括但不限于按照预定位置与各交点的距离由小到大或者由小到大对可到达的多个目标进行排序而得到的排序结果。Optionally, controlling the micro-manipulator to move sequentially to the center position of the reachable target is related to the movement path of the micro-manipulator. Since the movement path of the micro-manipulator includes the alignment sequence of at least two reachable targets, the alignment sequence of the at least two reachable targets can be flexibly adjusted according to the needs of the application scenario; for example, The alignment sequence of multiple reachable targets is preset as the movement path of the micro-manipulator, and then the micro-manipulator is controlled to move to the center of each reachable target in sequence according to the movement path; for another example, the micro-manipulator can be The movement plane of the arm is determined by the intersection point of the movement plane and the target extension line corresponding to multiple reachable targets. The target extension line is the extension line of the line segment connected to the target instrument entry point and the target end point, and then the target extension line is connected to the predetermined position according to the predetermined position. The distance between each intersection determines the alignment sequence of multiple reachable targets as the movement path of the micro-manipulator. Finally, the micro-manipulator is controlled to move to the center of each reachable target in sequence according to the movement path; here it can be reached The alignment order of multiple targets includes but is not limited to the sorting result obtained by sorting the multiple reachable targets from small to large or from small to large according to the distance between the predetermined position and each intersection point.
需要说明的是,在本发明的上述实施步骤中进行一次微型机械臂的粗定位能够实现对至少一个可到达的目标的对准。可选地,如果微型机械臂的目标区域能够覆盖所有的目标,则仅需一次粗定位即可实现对所有目标的对准;如果微型机械臂的目标区域仅覆盖部分的目标,则需要多次执行上述方法步骤,即需要多次粗定位即可实现对所有目标的对准。相比于现有技术而言,上述方法可以减少粗定位的次数,从而降低了人工粗定位的耗时与操作风险。It should be noted that in the above implementation steps of the present invention, performing a rough positioning of the micro-manipulator can achieve alignment of at least one reachable target. Optionally, if the target area of the micro manipulator can cover all targets, only one rough positioning can be performed to achieve alignment of all targets; if the target area of the micro manipulator only covers part of the targets, multiple times are required. By executing the above method steps, multiple rough positionings are required to achieve alignment of all targets. Compared with the existing technology, the above method can reduce the number of rough positioning, thereby reducing the time-consuming and operational risks of manual rough positioning.
在本发明实施例中,采用确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,初始位姿包括初始位置和初始姿态;根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,其中,目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达至少两个目标的区域;控制微型机械臂从初始位置移动到目标区域的预定位置,将微型机械臂固定在预定位置,其中,预定位置为目标区域内的任一位置;控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到可到达的目标的中心位置,并对可到达的目标进行对准。也就是说,本发明实施例需要控制微型机械臂移动到运动平面的目标区域,并将微型机械臂固定在预定位置,然后再控制微型机械臂依次移动到可到达的目标的中心位置,从而实现微型机械臂对多个可到达的目标对准,进而解决了相关技术中微型机械臂的定位需要频繁进行手工的移动和固定,导致应用时间与风险增加的技术问题,达到了减少移动和固定次数,降低了应用时间与风险的技术效果。In the embodiment of the present invention, the initial posture of the micro-manipulator in the folded state and the center positions of multiple targets are determined, where the initial posture includes the initial position and the initial posture; according to the initial position and the centers of the multiple targets Position, determine the target area of the micro-manipulator in the motion plane, where the target area is an area where the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture; control the micro-manipulator from the initial position The position moves to a predetermined position in the target area, and the micro-manipulator is fixed at the predetermined position, where the predetermined position is any position in the target area; the micro-manipulator is controlled to convert from the stowed state to the unfolded state based on the predetermined position, and then Move to the center of the reachable target and aim at the reachable target. That is to say, the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving The micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
需要说明的是,上述方法的应用场景包括但不限于骨科手术以及其他的定位区域小且 定位精度要求高的场景。It should be noted that the application scenarios of the above method include but are not limited to orthopedic surgery and other positioning areas with small and Scenarios with high positioning accuracy requirements.
在一种可选的实施方式中,确定微型机械臂在收起状态下的初始位姿,包括:检测微型机械臂在收起状态下微型机械臂上附带的位置标记;根据位置标记确定器械夹持前端在物理空间坐标系中的初始位置和初始姿态,并将初始位置和初始姿态作为初始位姿。In an optional implementation, determining the initial posture of the micro-manipulator arm in the stowed state includes: detecting the position mark attached to the micro-manipulator arm in the stowed state; determining the instrument clamp according to the position mark Hold the initial position and initial attitude of the front end in the physical space coordinate system, and use the initial position and initial attitude as the initial pose.
由于微型机械臂上附加相应的位置标记,使得微型机械臂的器械夹持前端能够被检测设备探测到,进而检测微型机械臂在收起状态下微型机械臂上附带的位置标记,再根据位置标记来计算出器械夹持前端在物理空间坐标系中的初始位置和初始姿态,而初始位姿也就包括初始位置和初始姿态。Since the corresponding position mark is attached to the micro manipulator, the instrument holding front end of the micro manipulator can be detected by the detection equipment, and then the position mark attached to the micro manipulator is detected when the micro manipulator is in the folded state, and then based on the position mark To calculate the initial position and initial posture of the instrument clamping front end in the physical space coordinate system, and the initial posture also includes the initial position and initial posture.
在本发明的上述实施方式中,利用微型机械臂上附带的位置标记来计算出器械夹持前端在物理空间坐标系中的初始位置和初始姿态,从而能够准确地得到微型机械臂在收起状态下的初始位姿。In the above embodiment of the present invention, the initial position and initial attitude of the instrument clamping front end in the physical space coordinate system are calculated using the position mark attached to the micro-manipulator, so that the retracted state of the micro-manipulator can be accurately obtained the initial pose below.
在一种可选的实施方式中,确定多个目标的中心位置,包括:获取包含多个目标的规划图像;将规划图像中的第一标记点与物理空间坐标系中的第二标记点进行配准,得到配准矩阵,其中,第一标记点在图像坐标系中的坐标与第二标记点在物理空间坐标系中的坐标一一对应;根据配准矩阵对多个目标进行坐标变换,得到多个目标在物理空间坐标系中的坐标,并将多个目标在物理空间坐标系中的坐标作为多个目标的中心位置。In an optional implementation, determining the center positions of multiple targets includes: acquiring a planning image containing multiple targets; comparing the first marker point in the planning image with the second marker point in the physical space coordinate system. Register to obtain a registration matrix, in which the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system one-to-one; perform coordinate transformation on multiple targets according to the registration matrix, The coordinates of multiple targets in the physical space coordinate system are obtained, and the coordinates of the multiple targets in the physical space coordinate system are used as the center positions of the multiple targets.
上述规划图像中的第一标记点为采集图像时使用物理标记点的位置,物理标记点的位置可在目标的中心位置,也可以是多个目标所在区域的边缘位置,在此不做任何限定。在具体实施过程中,需要首先获取包含多个目标的规划图像,再将规划图像中的第一标记点与物理空间坐标系中的第二标记点进行配准,得到配准矩阵,然后根据配准矩阵对多个目标进行坐标变换,得到多个目标在物理空间坐标系中的坐标,并将多个目标在物理空间坐标系中的坐标作为多个目标的中心位置。The first marker point in the above planned image is the location of the physical marker point used when collecting the image. The location of the physical marker point can be at the center of the target or at the edge of the area where multiple targets are located. There is no limit here. . In the specific implementation process, it is necessary to first obtain a planning image containing multiple targets, and then register the first marker point in the planning image with the second marker point in the physical space coordinate system to obtain the registration matrix, and then according to the registration The quasi-matrix performs coordinate transformation on multiple targets to obtain the coordinates of the multiple targets in the physical space coordinate system, and uses the coordinates of the multiple targets in the physical space coordinate system as the center positions of the multiple targets.
在本发明的上述实施方式中,利用配准矩阵经坐标变换得到多个目标在物理空间坐标系中的坐标,进而可以得到多个目标的中心位置。In the above-described embodiment of the present invention, the coordinates of multiple targets in the physical space coordinate system are obtained through coordinate transformation using a registration matrix, and then the center positions of the multiple targets can be obtained.
在一种可选的实施方式中,获取包含多个目标的规划图像,包括:获取多个目标的三维图像数据;根据三维图像数据对多个目标进行规划,得到规划图像,其中,规划图像中的目标包括器械进入点和目标终点。In an optional implementation, obtaining a planning image containing multiple targets includes: obtaining three-dimensional image data of multiple targets; planning the multiple targets based on the three-dimensional image data to obtain a planning image, wherein in the planning image The target includes the instrument entry point and the target end point.
需要说明的是,上述器械进入点和目标终点均采用三维坐标表示,在三维图像数据中的任意目标的器械进入点和目标终点,可以反映图像的三维空间中对应目标的中心位置。It should be noted that the above-mentioned instrument entry point and target end point are represented by three-dimensional coordinates. The instrument entry point and target end point of any target in the three-dimensional image data can reflect the center position of the corresponding target in the three-dimensional space of the image.
在本发明的上述实施方式中,通过多个目标的三维图像数据实现对多个目标进行规划,得到相应的规划图像,便于后续的对配准处理与坐标变换。 In the above-described embodiment of the present invention, multiple targets are planned through three-dimensional image data of multiple targets, and corresponding planning images are obtained to facilitate subsequent registration processing and coordinate transformation.
在一种可选的实施方式中,根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,包括:获取微型机械臂的最大移动半径;根据微型机械臂的运动平面,确定运动平面与多个目标延长线的交点,其中,目标延长线为目标的器械进入点和目标终点连成线段的延长线;确定初始位置与各交点的距离;将距离小于或者等于最大移动半径的目标作为可到达的目标,记录到列表中;将可到达的目标对应的交点作为中心,最大移动半径作为半径,生成列表中的所有可到达的目标在运动平面的圆形区域;根据所有可到达的目标在运动平面的圆形区域,生成公共相交区域,并将公共相交区域作为目标区域。In an optional implementation, determining the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of the multiple targets includes: obtaining the maximum movement radius of the micro-manipulator; based on the motion plane of the micro-manipulator , determine the intersection points of the motion plane and multiple target extension lines, where the target extension line is the extension line connecting the target instrument entry point and the target end point to form a line segment; determine the distance between the initial position and each intersection point; set the distance to be less than or equal to the maximum movement The target of the radius is recorded in the list as a reachable target; using the intersection corresponding to the reachable target as the center and the maximum movement radius as the radius, all reachable targets in the list are generated in the circular area of the motion plane; according to all The reachable target is in the circular area of the motion plane, a common intersection area is generated, and the common intersection area is used as the target area.
上述最大移动半径为微型机械臂在固定条件下从收起状态到展开到单个方向的最大移动距离;上述列表用于保存可到达的目标。The above maximum movement radius is the maximum movement distance of the micro-manipulator from the stowed state to the expansion in a single direction under fixed conditions; the above list is used to save reachable targets.
为了更加准确的得到微型机械臂在运动平面的目标区域,首先需要获取微型机械臂的最大移动半径,再根据微型机械臂的运动平面,确定运动平面与多个目标延长线的交点,以及确定初始位置与各交点的距离,然后将距离小于或者等于最大移动半径的目标作为可到达的目标,记录到列表中,进而以可到达的目标对应的交点作为中心,最大移动半径作为半径,生成列表中的所有可到达的目标在运动平面的圆形区域,最后根据所有可到达的目标在运动平面的圆形区域,生成公共相交区域,此公共相交区域也即是目标区域。In order to more accurately obtain the target area of the micro-manipulator in the motion plane, it is first necessary to obtain the maximum movement radius of the micro-manipulator, and then determine the intersection points of the motion plane and multiple target extension lines according to the motion plane of the micro-manipulator, and determine the initial The distance between the position and each intersection point, and then the target whose distance is less than or equal to the maximum movement radius is recorded in the list as the reachable target, and then the intersection point corresponding to the reachable target is used as the center and the maximum movement radius is used as the radius to generate a list All reachable targets are in the circular area of the motion plane. Finally, a common intersection area is generated based on all reachable targets in the circular area of the motion plane. This common intersection area is also the target area.
在本发明的上述实施方式中,能够更为准确的得到微型机械臂在运动平面的目标区域,从而将微型机械臂固定到该目标区域,可以有效减少粗定位的次数。In the above-described embodiment of the present invention, the target area of the micro-manipulator in the motion plane can be obtained more accurately, thereby fixing the micro-manipulator to the target area, which can effectively reduce the number of rough positioning.
在一种可选的实施方式中,控制微型机械臂从初始位置移动到目标区域的预定位置,包括:实时显示初始位置以及目标区域;根据实时显示的初始位置以及目标区域,将微型机械臂从初始位置移动到目标区域的预定位置。In an optional implementation, controlling the micro-manipulator to move from the initial position to a predetermined position in the target area includes: displaying the initial position and the target area in real time; and moving the micro-manipulator from the original position and the target area based on the real-time display of the initial position and the target area. The initial position is moved to a predetermined position in the target area.
在本发明的上述实施方式中,通过可视化的方式实时显示初始位置以及目标区域,并基于可视化显示内容控制微型机械臂从初始位置移动到目标区域的预定位置,从而实现微型机械臂的粗定位可视化操作,更加直观的显示初始位置以及目标区域,能够减少误操作、及时掌握粗定位的执行动态。In the above embodiments of the present invention, the initial position and the target area are displayed in real time through visualization, and the micro-manipulator is controlled to move from the initial position to a predetermined position in the target area based on the visual display content, thereby realizing the visualization of the rough positioning of the micro-manipulator. Operation, the initial position and target area are displayed more intuitively, which can reduce misoperation and grasp the execution dynamics of rough positioning in a timely manner.
在一种可选的实施方式中,依次移动到可到达的目标的中心位置,包括:根据微型机械臂的运动平面,确定运动平面与可到达的至少两个目标对应的目标延长线的交点,其中,目标延长线为目标的器械进入点和目标终点连成线段的延长线;获取微型机械臂的移动路径,其中,微型机械臂的移动路径包括可到达的至少两个目标的对准顺序,对准顺序是根据预定位置与各交点的距离确定;根据微型机械臂的移动路径,控制微型机械臂移动到可到达的目标的中心位置。 In an optional implementation, moving to the center position of the reachable targets in sequence includes: determining the intersection point of the motion plane and target extension lines corresponding to at least two reachable targets according to the motion plane of the micro-manipulator, Among them, the target extension line is the extension line of the line segment connecting the target instrument entry point and the target end point; the movement path of the micro-manipulator is obtained, wherein the movement path of the micro-manipulator includes the alignment sequence of at least two targets that can be reached, The alignment sequence is determined based on the distance between the predetermined position and each intersection point; according to the movement path of the micro-manipulator, the micro-manipulator is controlled to move to the center position of the reachable target.
可选地,可以根据预定位置与各交点的距离对可到达的至少两个目标进行排序,得到可到达的至少两个目标的对准顺序,例如,按照距离从小到大对可到达的至少两个目标进行排序,从而得到可到达的至少两个目标的对准顺序,并将对准顺序作为微型机械臂的移动路径,例如,按照距离得到的对准顺序为:目标1、目标2和目标3,那么微型机械臂就会按照先移动到目标1,再从目标1移动到目标2,然后再从目标2移动到目标3的移动路径,控制微型机械臂依次移动到目标1、目标2和目标3的中心位置。Optionally, the at least two reachable targets can be sorted according to the distance between the predetermined position and each intersection point to obtain the alignment order of the at least two reachable targets. For example, the at least two reachable targets can be sorted according to the distance from small to large. The targets are sorted to obtain the alignment sequence of at least two targets that can be reached, and the alignment sequence is used as the movement path of the micro-manipulator. For example, the alignment sequence obtained according to distance is: target 1, target 2 and target 3, then the micro-manipulator will first move to target 1, then move from target 1 to target 2, and then move from target 2 to target 3, and control the micro-manipulator to move to target 1, target 2 and The center position of target 3.
在本发明的上述实施方式中,通过获取微型机械臂最优的移动路径,并使得微型机械按照该移动路径实现多个目标的对准,从而优化对对准目标的选择,提高目标对准效率。In the above-mentioned embodiments of the present invention, by obtaining the optimal movement path of the micro-manipulator and causing the micro-machine to achieve alignment of multiple targets according to the movement path, the selection of the alignment target is optimized and the target alignment efficiency is improved. .
在一种可选的实施方式中,控制微型机械臂移动到可到达的目标的中心位置,包括:确定微型机械臂移动到可到达的目标的中心位置所需的机械臂移动范围;根据微型机械臂移动范围,将微型机械臂移动到可到达的目标的中心位置。In an optional implementation, controlling the movement of the micro-manipulator to the central position of the reachable target includes: determining the movement range of the micro-manipulator required to move the micro-manipulator to the center position of the reachable target; according to the micro-machine The arm movement range moves the micro-manipulator to the center of the reachable target.
上述机械臂移动范围包括上致动器臂的移动距离和/或下致动器臂的移动距离;The above-mentioned robot arm movement range includes the movement distance of the upper actuator arm and/or the movement distance of the lower actuator arm;
在本发明的上述实施方式中,利用微型机械臂从收起状态展开到可到达的目标的中心位置所需的机械臂移动范围,来控制微型机械臂移动到可到达的目标的中心位置,能够使得微型机械臂精准地移动到可到达的目标的中心位置。In the above-described embodiment of the present invention, the movement range of the robot arm required for the micro-manipulator to be deployed from the stowed state to the center position of the reachable target is used to control the movement of the micro-manipulator to the center position of the reachable target. This allows the micro-manipulator to accurately move to the center of the reachable target.
在一种可选的实施方式中,在根据微型机械臂移动范围,将微型机械臂移动到可到达的目标的中心位置之后,上述方法还包括:获取微型机械臂完成移动后的位姿;确定目标线段与位姿之间的角度差值及距离差值,其中,目标线段为可到达目标的器械进入点和目标终点连成线段;在角度差值小于角度差值阈值且距离差值小于距离差值阈值的情况下,则确定微型机械臂已到达可到达的目标的中心位置。In an optional implementation, after moving the micro-manipulator arm to the center position of the reachable target according to the movement range of the micro-manipulator arm, the above method further includes: obtaining the pose of the micro-manipulator arm after completing the movement; determining The angle difference and distance difference between the target line segment and the posture, where the target line segment is a line segment connected to the entry point of the instrument that can reach the target and the target end point; when the angle difference is less than the angle difference threshold and the distance difference is less than the distance In the case of a difference threshold, it is determined that the micro-manipulator has reached the center position of the reachable target.
上述位姿包括微型机械臂完成移动后的位置与姿态,其中,位置采用物理空间坐标系中的坐标来表示,姿态采用旋转向量表示;The above pose includes the position and attitude of the micro-manipulator after completing its movement, where the position is represented by coordinates in the physical space coordinate system, and the attitude is represented by a rotation vector;
为了确认微型机械臂是否移动到位,在将微型机械臂移动到可到达的目标的中心位置之后,可以获取微型机械臂完成移动后的位姿,再计算目标线段与位姿之间的角度差值及距离差值,然后判断角度差值是否小于角度差值阈值且距离差值是否小于距离差值阈值,若角度差值小于角度差值阈值且距离差值小于距离差值阈值,则可以确定微型机械臂已到达可到达的目标的中心位置,即表明微型机械臂已移动到位。In order to confirm whether the micro-manipulator arm has moved in place, after moving the micro-manipulator arm to the center position of the reachable target, the pose of the micro-manipulator arm after completing the movement can be obtained, and then the angle difference between the target line segment and the pose can be calculated and distance difference, and then determine whether the angle difference is less than the angle difference threshold and whether the distance difference is less than the distance difference threshold. If the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold, then the micro When the robotic arm has reached the center position of the reachable target, it indicates that the micro robotic arm has moved into position.
此外,若角度差值大于或者等于角度差值阈值或者距离差值大于或者等于距离差值阈值,表明微型机械臂未移动到位,则需要对微型机械臂的移动进行适当地调整,直至微型机械臂已移动到位。In addition, if the angle difference is greater than or equal to the angle difference threshold or the distance difference is greater than or equal to the distance difference threshold, it indicates that the micro manipulator has not moved in place, and the movement of the micro manipulator needs to be appropriately adjusted until the micro manipulator has been moved into position.
需要说明的是,上述角度差值阈值、距离差值阈值可以根据应用场景的需要而设置; 可选地,上述角度差值阈值为0.1度,距离差值阈值为0.3mm。It should be noted that the above-mentioned angle difference threshold and distance difference threshold can be set according to the needs of the application scenario; Optionally, the above angle difference threshold is 0.1 degrees, and the distance difference threshold is 0.3 mm.
在一种可选的实施方式中,在对可到达的目标进行对准之后,上述方法还包括:检测微型机械臂是否固定在目标区域;在微型机械臂固定在目标区域的情况下,则控制微型机械臂从当前可到达的目标的中心位置移动到下一个可到达的目标的中心位置,并对下一个可到达的目标进行对准;在微型机械臂未固定在目标区域的情况下,则将微型机械臂返回收起状态,基于剩余可到达的目标重新确定微型机械臂的目标区域,将微型机械臂固定在目标区域的预定位置,控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到剩余可到达的目标的中心位置,并对剩余可到达的目标进行对准。In an optional implementation, after aligning the reachable target, the above method further includes: detecting whether the micro-manipulator is fixed in the target area; if the micro-manipulator is fixed in the target area, control The micro-manipulator moves from the center position of the currently reachable target to the center position of the next reachable target, and aligns the next reachable target; when the micro-manipulator is not fixed in the target area, then Return the micro-manipulator to the stowed state, re-determine the target area of the micro-manipulator based on the remaining reachable targets, fix the micro-manipulator at a predetermined position in the target area, and control the micro-manipulator to transition from the stowed state with the predetermined position as the base point. In the expanded state, move to the center of the remaining reachable targets in sequence and align the remaining reachable targets.
由于微型机械臂在目标对准后,容易出现人为挪动位置的问题,这样微型机械臂之前的粗定位就无法到达剩余可到达的目标,为此,本发明在微型机械臂在目标对准后,就会检测微型机械臂是否仍固定在目标区域;若微型机械臂固定在目标区域,则可以控制微型机械臂从已到达可到达的目标的中心位置移动到下一个可到达的目标的中心位置,并对下一个可到达的目标进行对准;若微型机械臂未固定在目标区域,则可以将微型机械臂返回收起状态,按照剩余可到达的目标重新确定微型机械臂的目标区域,将微型机械臂固定在目标区域的预定位置,进而控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到剩余可到达的目标的中心位置,并对剩余可到达的目标进行对准。Since the micro manipulator is prone to artificially moving its position after the target is aligned, the previous rough positioning of the micro manipulator cannot reach the remaining reachable targets. Therefore, in the present invention, after the micro manipulator is aligned with the target, It will detect whether the micro-manipulator is still fixed in the target area; if the micro-manipulator is fixed in the target area, the micro-manipulator can be controlled to move from the center position of the reachable target to the center position of the next reachable target. And align the next reachable target; if the micro-manipulator is not fixed in the target area, the micro-manipulator can be returned to the stowed state, and the target area of the micro-manipulator is re-determined according to the remaining reachable targets, and the micro-manipulator can be moved to the target area. The robotic arm is fixed at a predetermined position in the target area, and then controls the micro robotic arm to convert from the stowed state to the unfolded state based on the predetermined position, and then move to the center of the remaining reachable targets in sequence, and align the remaining reachable targets. allow.
在本发明的上述实施方式中,通过检测微型机械臂是否仍固定在目标区域,来确定之前的粗定位是否仍有效,在之前的粗定位仍有效时,继续对剩余可到达的目标进行对准,否则就需要重新进行粗定位,即利用剩余可到达的目标重新确定微型机械臂的目标区域,实现对剩余可到达的目标进行定位与对准,从而避免了对剩余可到达的目标的无效操作。In the above-described embodiment of the present invention, it is determined whether the previous rough positioning is still effective by detecting whether the micro-manipulator is still fixed in the target area. When the previous rough positioning is still effective, continue to align the remaining reachable targets. , otherwise it is necessary to re-perform rough positioning, that is, use the remaining reachable targets to re-determine the target area of the micro-manipulator to achieve positioning and alignment of the remaining reachable targets, thus avoiding invalid operations on the remaining reachable targets. .
下面以骨科手术为例,对本发明一种可选的实施例进行详细说明。Taking orthopedic surgery as an example, an optional embodiment of the present invention will be described in detail below.
步骤1、粗定位,其对应具体实施步骤如下:Step 1. Rough positioning. The corresponding specific implementation steps are as follows:
步骤1.1、使用手术规划软件对手术目标进行相应规划(一般可以基于CT和核磁或者超声图像等三维图像数据进行规划),规划的结果是2个点,每个点用(x,y,z)表示。2个点分别代表目标终点和器械进入点,2个点最终可以用线段或一个向量表示;Step 1.1. Use surgical planning software to plan the surgical target accordingly (generally, planning can be based on three-dimensional image data such as CT, MRI or ultrasound images). The result of the planning is 2 points, each point is represented by (x, y, z) express. The two points represent the target end point and the equipment entry point respectively. The two points can ultimately be represented by a line segment or a vector;
步骤1.2、使用导航配准方法,将规划图像与物理空间位置进行配准。一般情况下采用在采集图像时使用物理标记点的位置使其被扫描到影像中,从而可被算法识别。之后通过物理空间坐标系中的物理标记点和图像坐标系中的标记点进行配准从而得到配准矩阵,配准矩阵以3×3的矩阵方式表示;Step 1.2: Use the navigation registration method to register the planning image with the physical spatial location. Generally, the position of the physical marker point is used when collecting the image so that it can be scanned into the image so that it can be recognized by the algorithm. Then, the registration matrix is obtained by registering the physical marker points in the physical space coordinate system and the marker points in the image coordinate system. The registration matrix is expressed in a 3×3 matrix;
步骤1.3、将所有的手术目标,根据配准矩阵进行变换,以得到相应目标在物理空间坐标系的坐标; Step 1.3. Transform all surgical targets according to the registration matrix to obtain the coordinates of the corresponding targets in the physical space coordinate system;
步骤1.4、微型机械臂上附加相应的位置标记,其器械夹持前端可以是被动光学反光标记或电磁传感器从而使其能被光学或电磁定位系统探测到,从而得到微型机械臂的器械夹持前端在物理空间坐标系中的位置和姿态(包括当前位置和旋转向量);Step 1.4. Attach corresponding position marks to the micro-manipulator. The instrument holding front end of the micro-manipulator can be a passive optical reflective mark or an electromagnetic sensor so that it can be detected by the optical or electromagnetic positioning system, thereby obtaining the instrument holding front end of the micro-manipulator. Position and attitude in the physical space coordinate system (including current position and rotation vector);
步骤1.5、微型机械臂在需要放置到术区大概区域时,在屏幕根据计算机械臂的当前位置和目标位置(对应于上述目标的中心位置),计算可以同时覆盖目标最多的区域,给出相应的标识;Step 1.5. When the micro-manipulator needs to be placed in the approximate area of the surgical area, the current position and target position of the manipulator (corresponding to the center position of the above target) are calculated based on the screen. Calculate the area that can cover the most targets at the same time and give the corresponding logo;
可选的计算方法如下:假设微型机械臂在当前固定条件下从收起状态到展开到单个方向的最大移动半径为x,其中,x的值取决于微型机械臂的具体设计限制,可以提前从机械臂的硬件参数到;The optional calculation method is as follows: Assume that the maximum moving radius of the micro-manipulator from the stowed state to unfolding to a single direction under the current fixed conditions is x, where the value of The hardware parameters of the robotic arm are as follows;
步骤(a):在微型机械臂收起状态下,根据微型机械臂运动平面,求该平面与各目标(目标2个点所连成线段的延长线)的交点。计算微型机械臂的当前位置与该交点的距离,若小于x,则将该目标计入可到达的目标列表。Step (a): In the retracted state of the micro-manipulator, according to the motion plane of the micro-manipulator, find the intersection point between the plane and each target (the extension of the line segment connecting the two points of the target). Calculate the distance between the current position of the micro-manipulator and the intersection point. If it is less than x, then the target is included in the list of reachable targets.
需要说明的是,上述微型机械臂分为下致动器臂和上致动器臂,下致动器臂的移动即为机械臂在当前平面的位置移动,上致动器臂的移动也能在其所在平面移动,通过改变与下致动器臂的位置关系,从而改变所夹持器械的角度;图2为本发明实施例提供的微型机械臂的运动平面与目标的交点的示意图,如图2所示,为使微型机械臂移动到目标的轨迹,即为目标2个点连成的连线,将下致动器臂所夹持器械的位置B移动到目标连线B′上,其中,B′为下致动器臂所在平面与目标2个点连线的交点,再将上致动器臂所夹持器械的位置A同样移动至上述的连线上A′,其中,A′为上致动器臂所在平面与目标2个点连线的交点;上致动器臂移动距离为机械臂移动记为y′,上致动器臂的移动针对目标在下致动器臂到达后均可满足,不用过多考虑;而下致动器臂的移动距离即为上文所说机械臂的移动范围,即为x′,若x′<x,则认为可以计入到可到达的目标列表;It should be noted that the above-mentioned micro robot arm is divided into a lower actuator arm and an upper actuator arm. The movement of the lower actuator arm is the movement of the robot arm in the current plane, and the movement of the upper actuator arm can also By moving in its plane, the angle of the clamped instrument is changed by changing the positional relationship with the lower actuator arm; Figure 2 is a schematic diagram of the intersection of the motion plane of the micro-manipulator provided by the embodiment of the present invention and the target, as shown As shown in Figure 2, in order to move the micro-manipulator to the target trajectory, which is the line connecting the two points of the target, move the position B of the instrument held by the lower actuator arm to the target connection line B'. Among them, B' is the intersection point of the plane where the lower actuator arm is located and the line connecting the two target points. Then the position A of the instrument held by the upper actuator arm is also moved to the above-mentioned connecting line A', where, A ′ is the intersection point of the plane where the upper actuator arm is located and the line connecting the two points of the target; the movement distance of the upper actuator arm is the movement of the mechanical arm, recorded as y′, and the movement of the upper actuator arm reaches the target when the lower actuator arm reaches The latter can be satisfied without too much consideration; and the moving distance of the lower actuator arm is the moving range of the mechanical arm mentioned above, which is x′. If x′<x, it is considered to be included in the reachable range. target list;
步骤(b):将所有可到达列表中的目标,以刚才计算的交点为中心,以x为半径,在微型机械臂的运动平面上形成圆形区域。所有目标所形成的圆的公共相交区域即为在当前微型机械臂的当前位置姿态时,所能覆盖最多目标的区域。以此类推,其它圆的公共相交区域为同时能覆盖到相应目标的区域;Step (b): Place all the targets in the reachable list, with the intersection point just calculated as the center and x as the radius, to form a circular area on the motion plane of the micro-manipulator. The common intersection area of the circle formed by all targets is the area that can cover the most targets at the current position and posture of the micro-manipulator. By analogy, the common intersection areas of other circles are areas that can cover the corresponding targets at the same time;
步骤(c):根据相交目标的多少,可对相应的区域提供不同的颜色提示,图3为本发明实施例提供的所有目标所形成的圆的公共相交区域的示意图,如图3所示,目标1、目标2、目标3和目标4所形成的圆的公共相交区域,深色区域所能覆盖最多的区域,其它区域则是相对覆盖目标较少的区域。Step (c): Depending on the number of intersecting targets, different color prompts can be provided for the corresponding areas. Figure 3 is a schematic diagram of the common intersecting area of the circle formed by all targets provided by the embodiment of the present invention, as shown in Figure 3. In the common intersection area of the circle formed by target 1, target 2, target 3 and target 4, the dark area can cover the most area, while other areas cover relatively few targets.
步骤1.6、在对微型机械臂进行移动时,通过微型机械臂上附带的位置标记,实时在 屏幕以可视化方式上显示其位置(圆形深色区域),并根据当前的位置,提示使用者当前微型机械臂可以覆盖的目标数目范围,以使使用者理解微型机械臂和上述可覆盖目标区域的位置关系,从而引导使用者将微型机械臂放置到尽可能覆盖更多目标的区域,然后再进行固定。Step 1.6. When moving the micro-manipulator, use the position mark attached to the micro-manipulator to move the micro-manipulator in real time. The screen visually displays its position (circular dark area), and prompts the user based on the current position, the number of targets that the current micro-manipulator can cover, so that the user can understand the micro-manipulator and the above-mentioned target area that can be covered The positional relationship guides the user to place the micro-manipulator to cover as many target areas as possible, and then fix it.
步骤2、从粗定位位置自动移动到某个目标的中心位置Step 2. Automatically move from the rough positioning position to the center position of a certain target
从粗定位的位置(微型机械臂处于收起状态),实时计算出微型机械臂移动到目标位置(向量)所需的微型机械臂的移动范围x′和y′,通过发送指令将x′和y′给微型机械臂平台,即可完成微型机械臂的移动。图4为本发明实施例提供的微型机械臂已对准目标1的示意图,如图4所示,微型机械臂已经覆盖目标1;在微型机械臂移动过程中可实时更新屏幕上微型机械臂的位置(以深色圆形区域表示),以使使用者了解移动的进度,并在移动到位后给出提示。From the rough positioning position (the micro-manipulator is in the retracted state), the movement range x' and y' of the micro-manipulator required to move the micro-manipulator to the target position (vector) are calculated in real time, and x' and y' are calculated by sending instructions. If y′ is given to the micro-manipulator platform, the movement of the micro-manipulator can be completed. Figure 4 is a schematic diagram of the micro manipulator provided by the embodiment of the present invention that has been aligned with the target 1. As shown in Figure 4, the micro manipulator has covered the target 1; during the movement of the micro manipulator, the position of the micro manipulator on the screen can be updated in real time. position (indicated by a dark circular area) to let the user know the progress of the movement and give prompts when the movement is in place.
进一步地,判定微型机械臂已经覆盖目标的方法如下:Furthermore, the method for determining that the micro-manipulator has covered the target is as follows:
通过微型机械臂已经完成移动的位置姿态,例如,根据位置传感器获得当前位置和旋转向量,计算其与目标2个点连线的角度差和距离差。若角度差和距离差小于一定阈值(如0.3mm和0.1度),则认为微型机械臂已经覆盖目标。Through the position and attitude of the micro-manipulator that has completed the movement, for example, the current position and rotation vector are obtained according to the position sensor, and the angle difference and distance difference between the line connecting the two points of the target are calculated. If the angle difference and distance difference are less than a certain threshold (such as 0.3mm and 0.1 degrees), the micro-manipulator is considered to have covered the target.
步骤3、从一个目标的中心位置移动到另外一个目标的中心位置Step 3. Move from the center of one target to the center of another target
在从一个目标移动到另外一个目标时,需要判断上一次对微型机械臂进行放置并锁紧后,微型机械臂的位姿是否已经发生了变化,如果位置已经发生变化,则可能之前认为微型机械臂能覆盖多个目标的初始放置区域已不再有效,此时可能并不能直接通过微型机械臂的自动移到到达相应的目标位置,需要考虑有可能存在微型机械臂在移动到某个目标位置后被人为挪动了位置,在这种情况下,尽管在开始时微型机械臂的粗固定时保证微型机械臂能够同时到达几个目标。但由于人为挪开的原因,微型机械臂不一定还能到达之前认为能到达的几个目标,因此需要进行重新计算。在具体实施过程中,其可以采用以下方法:When moving from one target to another, it is necessary to determine whether the position and posture of the micro-manipulator has changed since the last time the micro-manipulator was placed and locked. If the position has changed, it may have previously been considered that the micro-manipulator The initial placement area where the arm can cover multiple targets is no longer valid. At this time, it may not be possible to directly reach the corresponding target position through the automatic movement of the micro-manipulator. It is necessary to consider the possibility that the micro-manipulator is moving to a certain target position. Later, the position was artificially moved. In this case, although the rough fixation of the micro-manipulator at the beginning ensured that the micro-manipulator could reach several targets at the same time. However, due to human movement, the micro-manipulator may not be able to reach several targets that were previously thought to be reachable, so recalculation is required. In the specific implementation process, the following methods can be used:
步骤(1):微型机械臂在某一个目标所在的位置姿态可以用矩阵C表示,其可以根据微型机械臂在收起状态的位置姿态A结合微型机械臂自身的移动位姿得到,微型机械臂自身的移动位姿可以认为是一个本地坐标系变换,用矩阵B表示。则有C=B·A;Step (1): The position and posture of the micro manipulator at a certain target can be represented by a matrix C, which can be obtained based on the position and posture A of the micro manipulator in the stowed state combined with the movement posture of the micro manipulator itself. The micro manipulator arm The own movement pose can be considered as a local coordinate system transformation, represented by matrix B. Then there is C=B·A;
步骤(2):根据微型机械臂在某个目标的位置矩阵C计算微型机械臂在上一次定位时的位置姿态A,则有A=B-1C;Step (2): Calculate the position and attitude A of the micro-manipulator at the last positioning based on the position matrix C of the micro-manipulator at a certain target, then A=B -1 C;
步骤(3):得到位置姿态A之后,再计算位置姿态A到需要到达的目标的运动姿态移动距离范围。若运动距离姿态在微型机械臂从A开始的单方向运动范围内,则微型机械臂直接执行相应的运动姿态指令,一次到达对应的目标。否则认为相应目标无法到达。通 过屏幕提示微型机械臂必须返回收起状态,并进行重新进行粗定位。Step (3): After obtaining the position and posture A, calculate the distance range of the movement posture from the position and posture A to the target that needs to be reached. If the movement distance and posture are within the one-directional movement range of the micro-manipulator starting from A, the micro-manipulator directly executes the corresponding movement posture instructions and reaches the corresponding target in one go. Otherwise, the corresponding target is considered unreachable. Pass The screen prompts that the micro-manipulator must return to the retracted state and perform rough positioning again.
根据本发明实施例的另一个方面,还提供了一种微型机械臂的定位对准装置,图5为本发明实施例提供的微型机械臂的定位对准装置的示意图,如图5所示,该微型机械臂的定位对准装置包括:第一确定单元52、第二确定单元54、第一控制单元56和第二控制单元58。下面对该微型机械臂的定位对准装置进行详细说明。According to another aspect of the embodiment of the present invention, a positioning and alignment device for a micro-manipulator is also provided. Figure 5 is a schematic diagram of a positioning and alignment device for a micro-manipulator provided by an embodiment of the present invention. As shown in Figure 5, The positioning and alignment device of the micro manipulator includes: a first determination unit 52 , a second determination unit 54 , a first control unit 56 and a second control unit 58 . The positioning and alignment device of the micro robotic arm will be described in detail below.
第一确定单元52,用于确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,初始位姿包括初始位置和初始姿态;The first determination unit 52 is used to determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture;
第二确定单元54,连接至上述第一确定单元52,用于根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,其中,目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达至少两个目标的区域;The second determination unit 54 is connected to the above-mentioned first determination unit 52 and is used to determine the target area of the micro-manipulator in the motion plane according to the initial position and the center positions of the multiple targets, where the target area is the instrument holder of the micro-manipulator. The holding front end can reach the area of at least two targets when the micro manipulator is in the initial position;
第一控制单元56,连接至上述第二确定单元54,用于控制微型机械臂从初始位置移动到目标区域的预定位置,将微型机械臂固定在预定位置,其中,预定位置为目标区域内的任一位置;The first control unit 56 is connected to the above-mentioned second determination unit 54 and is used to control the micro-manipulator to move from the initial position to a predetermined position in the target area and fix the micro-manipulator at the predetermined position, where the predetermined position is within the target area. any position;
第二控制单元58,连接至上述第一控制单元56,用于控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到可到达的目标的中心位置,并对可到达的目标进行对准。The second control unit 58 is connected to the above-mentioned first control unit 56 and is used to control the micro-manipulator to convert from the stowed state to the unfolded state with the predetermined position as the base point, move to the center position of the reachable target in sequence, and control the reachable target. target to align.
在本发明实施例中,该微型机械臂的定位对准装置采用确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,初始位姿包括初始位置和初始姿态;根据初始位置和多个目标的中心位置,确定微型机械臂在运动平面的目标区域,其中,目标区域为微型机械臂的器械夹持前端在微型机械臂处于初始位姿时可到达至少两个目标的区域;控制微型机械臂从初始位置移动到目标区域的预定位置,将微型机械臂固定在预定位置,其中,预定位置为目标区域内的任一位置;控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到可到达的目标的中心位置,并对可到达的目标进行对准。也就是说,本发明实施例需要控制微型机械臂移动到运动平面的目标区域,并将微型机械臂固定在预定位置,然后再控制微型机械臂依次移动到可到达的目标的中心位置,从而实现微型机械臂对多个可到达的目标对准,进而解决了相关技术中微型机械臂的定位需要频繁进行手工的移动和固定,导致应用时间与风险增加的技术问题,达到了减少移动和固定次数,降低应用时间与风险的技术效果。In the embodiment of the present invention, the positioning and alignment device of the micro-manipulator is used to determine the initial posture of the micro-manipulator in the stowed state and the center positions of multiple targets, where the initial posture includes the initial position and the initial posture; Determine the target area of the micro-manipulator in the motion plane based on the initial position and the center positions of multiple targets, where the target area is that the instrument clamping front end of the micro-manipulator can reach at least two targets when the micro-manipulator is in the initial posture. area; control the micro-manipulator to move from the initial position to a predetermined position in the target area, and fix the micro-manipulator at the predetermined position, where the predetermined position is any position within the target area; control the micro-manipulator to use the predetermined position as the base point by The folded state is converted to the unfolded state, and the system moves to the center of the reachable target in sequence, and aims at the reachable target. That is to say, the embodiment of the present invention needs to control the micro-manipulator to move to the target area of the motion plane, fix the micro-manipulator at a predetermined position, and then control the micro-manipulator to move to the center of the reachable target in sequence, thereby achieving The micro-manipulator aligns multiple reachable targets, thereby solving the technical problem in related technologies that the positioning of the micro-manipulator requires frequent manual movement and fixation, resulting in increased application time and risk, and reduces the number of moves and fixations. , the technical effect of reducing application time and risk.
此处需要说明的是,上述第一确定单元52、第二确定单元54、第一控制单元56和第二控制单元58对应于方法实施例中的步骤S102至S108,上述单元与对应的步骤所实现的示例和应用场景相同,但不限于上述方法实施例所公开的内容。 It should be noted here that the above-mentioned first determination unit 52, second determination unit 54, first control unit 56 and second control unit 58 correspond to steps S102 to S108 in the method embodiment, and the above-mentioned units are the same as the corresponding steps. The implementation examples and application scenarios are the same, but are not limited to the content disclosed in the above method embodiments.
在一种可选的实施方式中,上述第一确定单元52包括:检测模块,用于检测微型机械臂在收起状态下微型机械臂上附带的位置标记;第一确定模块,用于根据位置标记确定器械夹持前端在物理空间坐标系中的初始位置和初始姿态,并将初始位置和初始姿态作为初始位姿。In an optional implementation, the above-mentioned first determination unit 52 includes: a detection module for detecting the position mark attached to the micro-manipulator when the micro-manipulator is in the stowed state; a first determination module for detecting the position according to the location of the micro-manipulator. The mark determines the initial position and initial posture of the instrument clamping front end in the physical space coordinate system, and takes the initial position and initial posture as the initial posture.
在一种可选的实施方式中,上述第一确定单元52包括:第一获取模块,用于获取包含多个目标的规划图像;配准模块,用于将规划图像中的第一标记点与物理空间坐标系中的第二标记点进行配准,得到配准矩阵,其中,第一标记点在图像坐标系中的坐标与第二标记点在物理空间坐标系中的坐标一一对应;变换模块,用于根据配准矩阵对多个目标进行坐标变换,得到多个目标在物理空间坐标系中的坐标,并将多个目标在物理空间坐标系中的坐标作为多个目标的中心位置。In an optional implementation, the above-mentioned first determination unit 52 includes: a first acquisition module, used to acquire a planning image containing multiple targets; a registration module, used to compare the first marker point in the planning image with The second marker point in the physical space coordinate system is registered to obtain a registration matrix, in which the coordinates of the first marker point in the image coordinate system correspond to the coordinates of the second marker point in the physical space coordinate system; transformation The module is used to perform coordinate transformation on multiple targets according to the registration matrix, obtain the coordinates of multiple targets in the physical space coordinate system, and use the coordinates of the multiple targets in the physical space coordinate system as the center positions of the multiple targets.
在一种可选的实施方式中,上述第一获取模块包括:第一获取子模块,用于获取多个目标的三维图像数据;第一处理子模块,用于根据三维图像数据对多个目标进行规划,得到规划图像,其中,规划图像中的目标包括器械进入点和目标终点。In an optional implementation, the above-mentioned first acquisition module includes: a first acquisition sub-module for acquiring three-dimensional image data of multiple targets; and a first processing sub-module for processing multiple targets based on the three-dimensional image data. Perform planning to obtain a planning image, where the target in the planning image includes the instrument entry point and the target end point.
在一种可选的实施方式中,上述第二确定单元54包括:第二获取模块,用于获取微型机械臂的最大移动半径;第二确定模块,用于根据微型机械臂的运动平面,确定运动平面与多个目标延长线的交点,其中,目标延长线为目标的器械进入点和目标终点连成线段的延长线;第三确定模块,用于确定初始位置与各交点的距离;第四确定模块,用于将距离小于或者等于最大移动半径的目标作为可到达的目标,记录到列表中;第一生成模块,用于将可到达的目标对应的交点作为中心,最大移动半径作为半径,生成列表中的所有可到达的目标在运动平面的圆形区域;第二生成模块,用于根据所有可到达的目标在运动平面的圆形区域,生成公共相交区域,并将公共相交区域作为目标区域。In an optional implementation, the above-mentioned second determination unit 54 includes: a second acquisition module, used to acquire the maximum movement radius of the micro-manipulator; and a second determination module, used to determine based on the motion plane of the micro-manipulator. The intersection of the motion plane and multiple target extension lines, where the target extension line is the extension line of the line segment connected by the target instrument entry point and the target end point; the third determination module is used to determine the distance between the initial position and each intersection point; the fourth The determination module is used to record the targets whose distance is less than or equal to the maximum movement radius as reachable targets into the list; the first generation module is used to use the intersection corresponding to the reachable target as the center and the maximum movement radius as the radius. Generate all reachable targets in the list in the circular area of the motion plane; the second generation module is used to generate a common intersection area based on all reachable targets in the circular area of the motion plane, and use the common intersection area as the target area.
在一种可选的实施方式中,上述第一控制单元56包括:显示模块,用于实时显示初始位置以及目标区域;第一处理模块,用于根据实时显示的初始位置以及目标区域,将微型机械臂从初始位置移动到目标区域的预定位置。In an optional implementation, the above-mentioned first control unit 56 includes: a display module for displaying the initial position and the target area in real time; a first processing module for displaying the initial position and the target area of the miniature in real time. The robotic arm moves from the initial position to a predetermined position in the target area.
可选地,上述第二控制单元58包括:第五确定模块,用于根据微型机械臂的运动平面,确定运动平面与可到达的至少两个目标对应的目标延长线的交点,其中,目标延长线为目标的器械进入点和目标终点连成线段的延长线;第三获取模块,用于获取微型机械臂的移动路径,其中,微型机械臂的移动路径包括可到达的至少两个目标的对准顺序,对准顺序是根据预定位置与各交点的距离确定;第二处理模块,用于根据微型机械臂的移动路径,控制微型机械臂移动到可到达的目标的中心位置。Optionally, the above-mentioned second control unit 58 includes: a fifth determination module, configured to determine, according to the movement plane of the micro-manipulator, the intersection point of the movement plane and target extension lines corresponding to at least two reachable targets, wherein the target extension The line is an extension line connecting the target instrument entry point and the target end point to form a line segment; the third acquisition module is used to acquire the movement path of the micro-manipulator, wherein the movement path of the micro-manipulator includes pairs of at least two targets that can be reached. The alignment sequence is determined based on the distance between the predetermined position and each intersection point; the second processing module is used to control the micro-manipulator to move to the center position of the reachable target according to the movement path of the micro-manipulator.
在一种可选的实施方式中,上述第二处理模块包括:第一确定子模块,用于确定微型 机械臂移动到可到达的目标的中心位置所需的机械臂移动范围;第二处理子模块,用于根据微型机械臂移动范围,将微型机械臂移动到可到达的目标的中心位置。In an optional implementation, the above-mentioned second processing module includes: a first determining sub-module for determining the micro The movement range of the manipulator arm required to move the manipulator arm to the center position of the reachable target; the second processing submodule is used to move the micro manipulator arm to the center position of the reachable target according to the movement range of the micro manipulator arm.
在一种可选的实施方式中,上述第二处理模块还包括:第二获取子模块,用于在根据微型机械臂移动范围,将微型机械臂移动到可到达的目标的中心位置之后,获取微型机械臂完成移动后的位姿;第二确定子模块,用于确定目标线段与位姿之间的角度差值及距离差值,其中,目标线段为可到达目标的器械进入点和目标终点连成线段;第三确定子模块,用于在角度差值小于角度差值阈值且距离差值小于距离差值阈值的情况下,则确定微型机械臂已到达可到达的目标的中心位置。In an optional implementation, the above-mentioned second processing module also includes: a second acquisition sub-module, configured to acquire the The pose of the micro-manipulator after completing its movement; the second determination sub-module is used to determine the angle difference and distance difference between the target line segment and the pose, where the target line segment is the entry point of the instrument that can reach the target and the target end point connected into line segments; the third determination sub-module is used to determine that the micro-manipulator has reached the center position of the reachable target when the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold.
在一种可选的实施方式中,上述第二控制单元58还包括:检测模块,用于在对微型机械臂可到达的目标进行对准之后,检测微型机械臂是否固定在目标区域;第三处理模块,用于在微型机械臂固定在目标区域的情况下,则控制微型机械臂从当前可到达的目标的中心位置移动到下一个可到达的目标的中心位置,并对下一个可到达的目标进行对准;第四处理模块,用于在微型机械臂未固定在目标区域的情况下,则将微型机械臂返回收起状态,基于剩余可到达的目标重新确定微型机械臂的目标区域,将微型机械臂固定在目标区域的预定位置,控制微型机械臂以预定位置为基点由收起状态转换为展开状态,依次移动到剩余可到达的目标的中心位置,并对剩余可到达的目标进行对准。In an optional implementation, the above-mentioned second control unit 58 also includes: a detection module for detecting whether the micro-manipulator is fixed in the target area after aligning the target reachable by the micro-manipulator; a third The processing module is used to control the micro-manipulator to move from the center position of the currently reachable target to the center position of the next reachable target when the micro-manipulator is fixed in the target area, and to control the next reachable target. The target is aligned; the fourth processing module is used to return the micro-manipulator to the retracted state when the micro-manipulator is not fixed in the target area, and re-determine the target area of the micro-manipulator based on the remaining reachable targets. Fix the micro-manipulator at a predetermined position in the target area, control the micro-manipulator to convert from the stowed state to the unfolded state based on the predetermined position, move to the center position of the remaining reachable targets in sequence, and perform operations on the remaining reachable targets. alignment.
根据本发明实施例的另一个方面,还提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,处理器被配置为执行上述中任一项的方法步骤。According to another aspect of the embodiment of the present invention, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to perform any of the above method steps .
根据本发明实施例的另一个方面,还提供了一种计算机可读存储介质,计算机可读存储介质包括存储的程序,其中,在程序运行时控制计算机可读存储介质所在设备执行上述中任一项的方法步骤。According to another aspect of the embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above. The method steps of the item.
需要说明的是,上述计算机可读存储介质可以位于计算机网络中计算机终端群中的任意一个计算机终端中,和/或位于移动终端群中的任意一个移动终端中,上述计算机可读存储介质包括存储的程序。It should be noted that the above-mentioned computer-readable storage medium can be located in any computer terminal in the computer terminal group in the computer network, and/or in any mobile terminal in the mobile terminal group. The above-mentioned computer-readable storage medium includes storage program of.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above descriptions are only preferred embodiments of the present invention and are not intended to limit the scope of the present invention.

Claims (13)

  1. 一种微型机械臂的定位对准方法,其特征在于,包括:A positioning and alignment method for a micro-manipulator, which is characterized by including:
    确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,所述初始位姿包括初始位置和初始姿态;Determine the initial posture of the micromanipulator in the stowed state and the center positions of multiple targets, wherein the initial posture includes an initial position and an initial posture;
    根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,其中,所述目标区域为所述微型机械臂的器械夹持前端在所述微型机械臂处于所述初始位姿时可到达至少两个所述目标的区域;According to the initial position and the center positions of multiple targets, the target area of the micro-manipulator in the motion plane is determined, wherein the target area is the instrument clamping front end of the micro-manipulator at the position of the micro-machine. The arm can reach the area of at least two of the targets when it is in the initial position;
    控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,将所述微型机械臂固定在所述预定位置,其中,所述预定位置为所述目标区域内的任一位置;Controlling the micro-manipulator to move from the initial position to a predetermined position in the target area, and fixing the micro-manipulator at the predetermined position, wherein the predetermined position is any position within the target area ;
    控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到可到达的所述目标的中心位置,并对可到达的所述目标进行对准。The micro-manipulator is controlled to use the predetermined position as a base point to convert from the stowed state to the unfolded state, move to the center position of the reachable target in sequence, and align the reachable target.
  2. 根据权利要求1所述的方法,其特征在于,确定微型机械臂在收起状态下的初始位姿,包括:The method according to claim 1, characterized in that determining the initial posture of the micro-manipulator in the retracted state includes:
    检测所述微型机械臂在所述收起状态下所述微型机械臂上附带的位置标记;Detecting the position mark attached to the micro-manipulator arm when the micro-manipulator arm is in the stowed state;
    根据所述位置标记确定所述器械夹持前端在物理空间坐标系中的所述初始位置和所述初始姿态,并将所述初始位置和所述初始姿态作为所述初始位姿。The initial position and the initial posture of the instrument clamping front end in the physical space coordinate system are determined according to the position mark, and the initial position and the initial posture are used as the initial posture.
  3. 根据权利要求1所述的方法,其特征在于,确定多个所述目标的中心位置,包括:The method according to claim 1, characterized in that determining the center positions of multiple targets includes:
    获取包含多个所述目标的规划图像;Obtaining a planning image containing a plurality of said targets;
    将所述规划图像中的第一标记点与物理空间坐标系中的第二标记点进行配准,得到配准矩阵,其中,所述第一标记点在图像坐标系中的坐标与所述第二标记点在所述物理空间坐标系中的坐标一一对应;Register the first marker point in the planning image with the second marker point in the physical space coordinate system to obtain a registration matrix, where the coordinates of the first marker point in the image coordinate system and the third marker point are The coordinates of the two marker points in the physical space coordinate system correspond one to one;
    根据所述配准矩阵对多个所述目标进行坐标变换,得到多个所述目标在所述物理空间坐标系中的坐标,并将多个所述目标在所述物理空间坐标系中的坐标作为多个所述目标的中心位置。Perform coordinate transformation on multiple targets according to the registration matrix to obtain the coordinates of multiple targets in the physical space coordinate system, and obtain the coordinates of multiple targets in the physical space coordinate system. as a central location for multiple of said targets.
  4. 根据权利要求3所述的方法,其特征在于,获取包含多个所述目标的规划图像,包括:The method according to claim 3, characterized in that obtaining a planning image containing a plurality of said targets includes:
    获取多个所述目标的三维图像数据;Obtain three-dimensional image data of multiple targets;
    根据所述三维图像数据对多个所述目标进行规划,得到所述规划图像,其中,所述规划图像中的所述目标包括器械进入点和目标终点。A plurality of the targets are planned according to the three-dimensional image data to obtain the planning image, wherein the targets in the planning image include an instrument entry point and a target end point.
  5. 根据权利要求1所述的方法,其特征在于,根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,包括:The method according to claim 1, characterized in that, based on the initial position and the center positions of multiple targets, determining the target area of the micro-manipulator in the motion plane includes:
    获取所述微型机械臂的最大移动半径;Obtain the maximum movement radius of the micro-manipulator;
    根据所述微型机械臂的所述运动平面,确定所述运动平面与多个目标延长线的交 点,其中,所述目标延长线为所述目标的器械进入点和目标终点连成线段的延长线;According to the motion plane of the micro-manipulator, the intersection of the motion plane and multiple target extension lines is determined. point, wherein the target extension line is an extension line connecting the target instrument entry point and the target end point to form a line segment;
    确定所述初始位置与各所述交点的距离;Determine the distance between the initial position and each of the intersection points;
    将所述距离小于或者等于所述最大移动半径的所述目标作为可到达的所述目标,记录到列表中;The target whose distance is less than or equal to the maximum movement radius is recorded in the list as the reachable target;
    将可到达的所述目标对应的所述交点作为中心,所述最大移动半径作为半径,生成所述列表中的所有可到达的所述目标在所述运动平面的圆形区域;Using the intersection point corresponding to the reachable target as the center and the maximum movement radius as the radius, generate a circular area in the motion plane for all the reachable targets in the list;
    根据所有可到达的所述目标在运动平面的圆形区域,生成公共相交区域,并将所述公共相交区域作为所述目标区域。A common intersection area is generated based on all reachable circular areas of the target in the motion plane, and the common intersection area is used as the target area.
  6. 根据权利要求1所述的方法,其特征在于,控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,包括:The method of claim 1, wherein controlling the micro-manipulator to move from the initial position to a predetermined position in the target area includes:
    实时显示所述初始位置以及所述目标区域;Display the initial position and the target area in real time;
    根据实时显示的所述初始位置以及所述目标区域,将所述微型机械臂从所述初始位置移动到所述目标区域的预定位置。According to the initial position and the target area displayed in real time, the micro-manipulator is moved from the initial position to a predetermined position in the target area.
  7. 根据权利要求1所述的方法,其特征在于,依次移动到可到达的所述目标的中心位置,包括:The method according to claim 1, characterized in that sequentially moving to the central position of the reachable target includes:
    根据所述微型机械臂的所述运动平面,确定所述运动平面与可到达的至少两个所述目标对应的目标延长线的交点,其中,所述目标延长线为所述目标的器械进入点和目标终点连成线段的延长线;According to the motion plane of the micro-manipulator, the intersection point of the motion plane and target extension lines corresponding to at least two reachable targets is determined, wherein the target extension line is the instrument entry point of the target An extension line connected to the target end point;
    获取所述微型机械臂的移动路径,其中,所述微型机械臂的移动路径包括可到达的至少两个所述目标的对准顺序,所述对准顺序是根据所述预定位置与各所述交点的距离确定;Obtain the movement path of the micro-manipulator, wherein the movement path of the micro-manipulator includes an alignment sequence of at least two reachable targets, and the alignment sequence is based on the predetermined position and each of the targets. The distance between the intersection points is determined;
    根据所述微型机械臂的移动路径,控制所述微型机械臂移动到可到达的所述目标的中心位置。According to the movement path of the micro-manipulator, the micro-manipulator is controlled to move to a central position of the reachable target.
  8. 根据权利要求7所述的方法,其特征在于,控制所述微型机械臂移动到可到达的所述目标的中心位置,包括:The method of claim 7, wherein controlling the micro-manipulator to move to a central position of the reachable target includes:
    确定所述微型机械臂移动到可到达的所述目标的中心位置所需的机械臂移动范围;Determine the movement range of the robot arm required to move the micro-robot arm to the central position of the reachable target;
    根据所述微型机械臂移动范围,将所述微型机械臂移动到可到达的所述目标的中心位置。According to the movement range of the micro-manipulator, the micro-manipulator is moved to a central position of the reachable target.
  9. 根据权利要求8所述的方法,其特征在于,在根据所述微型机械臂移动范围,将所述微型机械臂移动到可到达的所述目标的中心位置之后,所述方法还包括:The method according to claim 8, characterized in that, after moving the micro-manipulator arm to a central position of the reachable target according to the movement range of the micro-manipulator arm, the method further includes:
    获取所述微型机械臂完成移动后的位姿; Obtain the posture of the micro-manipulator after completing its movement;
    确定目标线段与所述位姿之间的角度差值及距离差值,其中,所述目标线段为可到达所述目标的器械进入点和目标终点连成线段;Determine the angle difference and distance difference between the target line segment and the posture, wherein the target line segment is a line segment connected by the entry point of the instrument that can reach the target and the target end point;
    在所述角度差值小于角度差值阈值且所述距离差值小于距离差值阈值的情况下,则确定所述微型机械臂已到达可到达的所述目标的中心位置。When the angle difference is less than the angle difference threshold and the distance difference is less than the distance difference threshold, it is determined that the micro-manipulator has reached the center position of the reachable target.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,在对可到达的所述目标进行对准之后,所述方法还包括:The method according to any one of claims 1 to 9, characterized in that, after aligning the reachable target, the method further includes:
    检测所述微型机械臂是否固定在所述目标区域;Detect whether the micro-manipulator is fixed in the target area;
    在所述微型机械臂固定在所述目标区域的情况下,则控制所述微型机械臂从当前可到达的所述目标的中心位置移动到下一个可到达的所述目标的中心位置,并对下一个可到达的所述目标进行对准;When the micro-manipulator is fixed in the target area, the micro-manipulator is controlled to move from the center position of the currently reachable target to the center position of the next reachable target, and Aim at the next reachable said target;
    在所述微型机械臂未固定在所述目标区域的情况下,则将所述微型机械臂返回所述收起状态,基于剩余可到达的所述目标重新确定所述微型机械臂的所述目标区域,将所述微型机械臂固定在所述目标区域的所述预定位置,控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到剩余可到达的所述目标的中心位置,并对剩余可到达的所述目标进行对准。When the micro-manipulator is not fixed in the target area, the micro-manipulator is returned to the stowed state, and the target of the micro-manipulator is re-determined based on the remaining reachable targets. area, fix the micro-manipulator at the predetermined position of the target area, control the micro-manipulator to use the predetermined position as the base point to convert from the stowed state to the unfolded state, and move sequentially to the remaining reachable the center position of the target, and align the remaining reachable targets.
  11. 一种微型机械臂的定位对准装置,其特征在于,包括:A positioning and alignment device for a micro-manipulator, which is characterized by including:
    第一确定单元,用于确定微型机械臂在收起状态下的初始位姿和多个目标的中心位置,其中,所述初始位姿包括初始位置和初始姿态;A first determination unit configured to determine the initial posture of the micromanipulator in the stowed state and the center positions of multiple targets, where the initial posture includes an initial position and an initial posture;
    第二确定单元,用于根据所述初始位置和多个所述目标的中心位置,确定所述微型机械臂在运动平面的目标区域,其中,所述目标区域为所述微型机械臂的器械夹持前端在所述微型机械臂处于所述初始位姿时可到达至少两个所述目标的区域;A second determination unit, configured to determine the target area of the micro-manipulator in the motion plane according to the initial position and the center positions of multiple targets, wherein the target area is the instrument holder of the micro-manipulator. The holding front end can reach the area of at least two of the targets when the micro-manipulator is in the initial posture;
    第一控制单元,用于控制所述微型机械臂从所述初始位置移动到所述目标区域的预定位置,将所述微型机械臂固定在所述预定位置,其中,所述预定位置为所述目标区域内的任一位置;A first control unit, configured to control the micro-manipulator to move from the initial position to a predetermined position in the target area, and to fix the micro-manipulator at the predetermined position, wherein the predetermined position is the Any location within the target area;
    第二控制单元,用于控制所述微型机械臂以所述预定位置为基点由所述收起状态转换为展开状态,依次移动到可到达的所述目标的中心位置,并对可到达的所述目标进行对准。The second control unit is used to control the micro-manipulator to switch from the stowed state to the unfolded state with the predetermined position as the base point, move to the center position of the reachable target in sequence, and control all reachable targets. Align with the above targets.
  12. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
    其中,所述处理器被配置为执行权利要求1至10中任一项所述的方法步骤。Wherein, the processor is configured to perform the method steps of any one of claims 1 to 10.
  13. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序, 其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行权利要求1至10中任一项所述的方法步骤。 A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, Wherein, when the program is running, the device where the computer-readable storage medium is located is controlled to perform the method steps described in any one of claims 1 to 10.
PCT/CN2023/109673 2022-07-29 2023-07-27 Positioning alignment method and apparatus for micro mechanical arm, and electronic device WO2024022459A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210902656.7A CN115153855B (en) 2022-07-29 2022-07-29 Positioning and aligning method and device for micro mechanical arm and electronic equipment
CN202210902656.7 2022-07-29

Publications (1)

Publication Number Publication Date
WO2024022459A1 true WO2024022459A1 (en) 2024-02-01

Family

ID=83476613

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/109673 WO2024022459A1 (en) 2022-07-29 2023-07-27 Positioning alignment method and apparatus for micro mechanical arm, and electronic device

Country Status (2)

Country Link
CN (1) CN115153855B (en)
WO (1) WO2024022459A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115153855B (en) * 2022-07-29 2023-05-05 中欧智薇(上海)机器人有限公司 Positioning and aligning method and device for micro mechanical arm and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109310474A (en) * 2016-09-19 2019-02-05 直观外科手术操作公司 Position indicator system and correlation technique for remote-controllable arm
CN109922750A (en) * 2017-02-08 2019-06-21 直观外科手术操作公司 Repositioning system and correlation technique for remote-controllable executor
CN112245011A (en) * 2020-10-23 2021-01-22 微创(上海)医疗机器人有限公司 Surgical robot system, adjustment method, storage medium, and terminal
WO2021224351A1 (en) * 2020-05-05 2021-11-11 Ecential Robotics Surgical robotic system
CN113768640A (en) * 2021-11-09 2021-12-10 极限人工智能有限公司 Method and device for determining working pose of mechanical arm
CN115153855A (en) * 2022-07-29 2022-10-11 中欧智薇(上海)机器人有限公司 Positioning alignment method and device of micro mechanical arm and electronic equipment

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012209769C5 (en) * 2012-06-12 2021-11-11 Kuka Deutschland Gmbh Method for operating a robot and device with a robot
CN107072723B (en) * 2014-09-23 2019-12-24 柯惠Lp公司 Surgical robotic arm support system and method of use
US11141859B2 (en) * 2015-11-02 2021-10-12 Brainlab Ag Determining a configuration of a medical robotic arm
CA2917654C (en) * 2016-01-14 2018-09-25 Synaptive Medical (Barbados) Inc. System and method for configuring positions in a surgical positioning system
CN106041941B (en) * 2016-06-20 2018-04-06 广州视源电子科技股份有限公司 The method for planning track and device of a kind of mechanical arm
CN109310473B (en) * 2016-09-19 2023-02-17 直观外科手术操作公司 Base positioning system for a controllable arm and related method
CA2977489C (en) * 2017-08-28 2019-11-26 Synaptive Medical (Barbados) Inc. Positioning arm for a surgical navigation system
CN107813313A (en) * 2017-12-11 2018-03-20 南京阿凡达机器人科技有限公司 The bearing calibration of manipulator motion and device
WO2021067438A1 (en) * 2019-09-30 2021-04-08 Mako Surgical Corp. Systems and methods for guiding movement of a tool
CN111645079B (en) * 2020-08-04 2020-11-10 天津滨电电力工程有限公司 Device and method for planning and controlling mechanical arm path of live working robot
CN112402020B (en) * 2020-12-01 2022-02-22 北京天智航医疗科技股份有限公司 Control method and device for surgical robot mechanical arm, medium and equipment
CN114795489A (en) * 2021-01-06 2022-07-29 深圳市精锋医疗科技股份有限公司 Surgical robot and method and control device for guiding surgical arm to move
AU2022205690A1 (en) * 2021-01-11 2023-07-27 Digital Surgery Systems, Inc. Registration degradation correction for surgical navigation procedures
CN112957125B (en) * 2021-02-02 2022-07-29 哈尔滨思哲睿智能医疗设备有限公司 Method and device for planning initial pose of operation arm of endoscopic surgery robot
CN113499137B (en) * 2021-07-07 2022-07-12 南开大学 Surgical robot navigation positioning system and measurement visual angle multi-target optimization method
CN114559432B (en) * 2022-03-02 2023-11-21 杭州柳叶刀机器人有限公司 Automatic positioning and path-finding method and device for surgical mechanical arm, robot and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109310474A (en) * 2016-09-19 2019-02-05 直观外科手术操作公司 Position indicator system and correlation technique for remote-controllable arm
CN109922750A (en) * 2017-02-08 2019-06-21 直观外科手术操作公司 Repositioning system and correlation technique for remote-controllable executor
WO2021224351A1 (en) * 2020-05-05 2021-11-11 Ecential Robotics Surgical robotic system
CN112245011A (en) * 2020-10-23 2021-01-22 微创(上海)医疗机器人有限公司 Surgical robot system, adjustment method, storage medium, and terminal
CN113768640A (en) * 2021-11-09 2021-12-10 极限人工智能有限公司 Method and device for determining working pose of mechanical arm
CN115153855A (en) * 2022-07-29 2022-10-11 中欧智薇(上海)机器人有限公司 Positioning alignment method and device of micro mechanical arm and electronic equipment

Also Published As

Publication number Publication date
CN115153855A (en) 2022-10-11
CN115153855B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
JP6007194B2 (en) Surgical robot system for performing surgery based on displacement information determined by user designation and its control method
EP1215017B1 (en) Robot teaching apparatus
US11890067B2 (en) Positioning arm for a surgical navigation system
WO2024022459A1 (en) Positioning alignment method and apparatus for micro mechanical arm, and electronic device
CN108827154B (en) Robot non-teaching grabbing method and device and computer readable storage medium
US20090234502A1 (en) Apparatus for determining pickup pose of robot arm with camera
WO2016079967A1 (en) Robot and robot system
KR20180080630A (en) Robot and electronic device for performing hand-eye calibration
Iyer et al. A single arm, single camera system for automated suturing
CN113194862A (en) Setting up a surgical robot using an enhanced mirror display
WO2018043525A1 (en) Robot system, robot system control device, and robot system control method
US20150134113A1 (en) Method for operating a robot
US20230347509A1 (en) Robot control apparatus, robot control method, and program
WO2023134237A1 (en) Coordinate system calibration method, apparatus and system for robot, and medium
JPWO2018043524A1 (en) Robot system, robot system control apparatus, and robot system control method
Antonello et al. A fully automatic hand-eye calibration system
US20220000571A1 (en) System and method for assisting tool exchange
CN116459007A (en) Method, device and equipment for determining mechanical arm configuration of surgical robot system
JP7392409B2 (en) Setting device, setting method and program
JP2004009209A (en) Teaching device for robot
JPH0847881A (en) Method of remotely controlling robot
JPH10264065A (en) Remote operation support device for robot
JP2002307346A (en) Method and device for calibrating visual coordinates of robot
US20230249341A1 (en) Robot teaching method and robot working method
CN115869069A (en) Surgical robot control method, device, equipment, medium and system

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

Country of ref document: EP

Kind code of ref document: A1