Method for determining force and surgical robot system

By calculating the driving amount residual and position difference of the surgical robot arm, the force perception of the surgical robot arm is realized, which solves the problem of lack of force perception in the existing technology and improves the accuracy and safety of surgery.

CN118662227AActive Publication Date: 2024-09-20BEIJING SURGERII TECH CO LTD

Patent Information

Application Number
CN202310990865.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2023-08-08
Publication Date
2024-09-20
Estimated Expiration
2043-08-08

AI Technical Summary

Technical Problem

The existing surgical robot system lacks the perception of interactive forces during arm operation, resulting in the inability to accurately determine the force on the arm, affecting surgical accuracy and safety.

Method used

By obtaining the current actual position and driving amount of the arm, calculating its driving amount residual in the free motion state, determining the ideal position, and determining the force situation based on the actual and ideal positions, the force perception of the end of the arm is realized.

Benefits of technology

It achieves precise force perception of the surgical robot arm, improves the accuracy and safety of surgery, and reduces dependence on doctors' operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118662227A
    Figure CN118662227A
Patent Text Reader

Abstract

The invention relates to the field of robot control, and discloses a method for determining force and a surgical robot system. The method for determining the force comprises the steps that the current actual position of a target part of an arm body is obtained; the current actual driving quantity of the arm body is obtained; based on the current actual driving quantity and a driving quantity residual calculation model, determining a first driving quantity residual of the arm body in the free motion state; determining a current ideal position of the target part of the arm body based on the current actual driving quantity and the first driving quantity residual error; and determining the stress of the target part based on the current actual position and the current ideal position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of medical devices, and in particular to a method for determining force and a surgical robot system. Background Art

[0002] In recent years, many surgical robot systems using robotic arms have been developed for cardiovascular surgery, neurosurgery, and endoscopic surgery. During the operation, the surgical arm may generate interaction forces with the patient's tissue. Currently, there is a lack of perception of the interaction forces during the operation of the arm in the surgical robot system. Summary of the invention

[0003] In some embodiments, the present disclosure provides a method for determining force, including: obtaining the current actual position of the target part of the arm; obtaining the current actual driving amount of the arm; determining the first driving amount residual of the arm in a free motion state based on the current actual driving amount and the driving amount residual calculation model; determining the current ideal position of the target part of the arm based on the current actual driving amount and the first driving amount residual; and determining the force on the target part based on the current actual position and the current ideal position.

[0004] In some embodiments, the present disclosure provides a surgical robot system, comprising: a surgical instrument, the surgical instrument comprising an arm body, a surgical actuator disposed at the end of the arm body; and a processor for executing any one of the methods in some embodiments of the present disclosure.

[0005] In some embodiments, the present disclosure provides a computer device, comprising: a memory for storing at least one instruction; and a processor, coupled to the memory and configured to execute the at least one instruction to perform any method in some embodiments of the present disclosure.

[0006] In some embodiments, the present disclosure provides a computer-readable storage medium for storing at least one instruction, which, when executed by a computer, causes a robot system to implement any method in some embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments of the present disclosure. The drawings described below only illustrate some embodiments of the present disclosure. For ordinary technicians in this field, other embodiments can be obtained based on the contents of the embodiments of the present disclosure and these drawings without creative work.

[0008] Figure 1 A flowchart showing a method of determining force according to some embodiments of the present disclosure;

[0009] Figure 2 A structural block diagram of a surgical robot system according to some embodiments of the present disclosure is shown;

[0010] Figure 3 A schematic diagram showing the structure of an arm according to some embodiments of the present disclosure;

[0011] Figure 4 A schematic diagram showing the structure of an arm according to some embodiments of the present disclosure;

[0012] Figure 5 A schematic diagram showing the current actual position of the end of an acquisition arm in a surgical robot system according to some embodiments of the present disclosure;

[0013] Figure 6 A schematic diagram showing a positioning tag including multiple posture identifiers and multiple angle identifiers according to some embodiments of the present disclosure;

[0014] Figure 7 A schematic diagram showing a cylindrical positioning tag disposed on the peripheral side of the end of the operating arm according to some embodiments of the present disclosure;

[0015] Figure 8 A schematic diagram showing the posture of the end of the arm obtained by using a binocular endoscope-based visual detection algorithm according to some embodiments of the present disclosure;

[0016] Fig. 9 A flow chart showing a method for determining the motion state of an arm according to some embodiments of the present disclosure;

[0017] Fig.10 A schematic diagram showing the forces acting on an arm according to some embodiments of the present disclosure is shown;

[0018] Fig.11 A schematic diagram showing the force applied to the end of an arm according to some embodiments of the present disclosure;

[0019] Fig. 12A A schematic diagram showing the loading conditions at various positions of the arm body in a test experiment according to some embodiments of the present disclosure;

[0020] Fig. 12B The figure shows the result curve of the terminal force perception in the test experiment according to some embodiments of the present disclosure;

[0021] Fig.13 A schematic block diagram showing a computer device according to some embodiments of the present disclosure;

[0022] Fig.14 A schematic diagram of a surgical robot system according to some embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0023] In order to make the technical problems solved by the present disclosure, the technical solutions adopted and the technical effects achieved more clearly, the technical solutions of the embodiments of the present disclosure will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only exemplary embodiments of the present disclosure, rather than all embodiments.

[0024] In the description of the present disclosure, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present disclosure, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "coupled" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present disclosure can be understood according to the specific circumstances.

[0025] Those skilled in the art can understand that the embodiments of the present disclosure can be applied to a deformable arm provided on a mechanical device (such as a surgical robot) operating in a variety of environments including but not limited to the surface, underground, underwater, in space, and in a living body. In the present disclosure, the end close to the operator (such as a doctor) is defined as the proximal end, the proximal part or the rear end, the rear part, and the end close to the operating object (such as a surgical patient) is defined as the distal end, the distal part or the front end, the front part. In the present disclosure, the arm may include an arm distal end portion at the distal end, and the distal end of the arm distal end portion may be installed with a terminal instrument (such as an imaging device, a surgical actuator, etc.). For clarity, in the present disclosure, the end of the arm refers to the most distal part of the arm and its terminal instrument. For example, when the arm distal end portion of the arm is installed with a terminal instrument (such as an imaging device, a surgical actuator, etc.), the end of the arm may refer to the terminal instrument; when the arm distal end portion of the arm is not installed with a terminal instrument (such as an imaging device, a surgical actuator, etc.), the end of the arm refers to the arm distal end.

[0026] In the present disclosure, the term "position" refers to the positioning of an object or a part of an object in three-dimensional space (e.g., three translational degrees of freedom can be described using changes in Cartesian X, Y, and Z coordinates, such as three translational degrees of freedom along the Cartesian X axis, Y axis, and Z axis, respectively). In the present disclosure, the term "attitude" refers to the rotational setting of an object or a part of an object (e.g., three rotational degrees of freedom, which can be described using roll, pitch, and yaw). In the present disclosure, the term "pose" refers to the combination of the position and attitude of an object or a part of an object, such as can be described using six parameters of the six degrees of freedom mentioned above.

[0027] Some embodiments of the present disclosure provide a method of determining force. Figure 1 1 is a flowchart of a method 100 for determining force (hereinafter also referred to as “method 100”) according to some embodiments of the present disclosure. Method 100 may be implemented or executed by hardware, software, or firmware. In some embodiments, method 100 may be performed by a surgical robot system (e.g., Figure 2 The surgical robot system shown or Fig.14 In some embodiments, the method 100 may be implemented as computer-readable instructions. These instructions may be executed by a general-purpose processor or a special-purpose processor (e.g., Figure 2 The control device 220 shown or Fig.14 For example, the control device of the surgical robot system (e.g., Figure 2 The control device 220 shown may include a processor configured to execute the method 100. In some embodiments, the instructions may be stored on a computer-readable medium.

[0028] Some embodiments of the present disclosure provide a surgical robot system. Figure 2 FIG. 2 shows a block diagram of a surgical robot system 200 according to some embodiments of the present disclosure. Figure 2As shown, the surgical robot system 200 may include a main control trolley 210, an operating trolley 230 and a control device 220. The control device 220 may be connected to the main control trolley 210 and the operating trolley 230 in communication, for example, by a cable connection or a wireless connection, so as to realize communication between the main control trolley 210 and the operating trolley 230. The main control trolley 210 includes a main operator for remote operation by an operator, and a display for displaying an image of an operation area. The operating trolley 230 includes a slave tool for performing surgery, and the slave tool includes an arm body and an end instrument (such as an imaging device, a surgical actuator, etc.) arranged at the distal end of the arm body. The master-slave mapping between the master operator in the main control trolley 210 and the slave tool in the operating trolley 230 is realized by the control device 220, so as to realize the motion control of the slave tool by the master operator. In some embodiments, the surgical trolley 230 includes a plurality of driven tools, and the plurality of driven tools are configured to enter the operating area through a sheath, and the end instrument (e.g., an imaging device) of at least one driven tool can obtain an image of an object to be operated (e.g., human tissue) in the operating area, and the end instrument (e.g., a surgical actuator) of at least one driven tool can contact and generate a force with the object to be operated (e.g., human tissue) in the operating area. The sheath can be fixed at the surgical opening (e.g., an incision or a natural opening) of the patient, and the operating area can be an area where surgery is performed. In some embodiments, the imaging device can include, but is not limited to, a monocular endoscope, a binocular endoscope, etc., and the surgical actuator can include, but is not limited to, surgical forceps, an electric knife, an electric hook, etc.

[0029] In some embodiments, the arm may include a deformable robotic arm. For example, the arm may be a robotic arm with multiple degrees of freedom composed of multiple joints, such as a robotic arm that can achieve 6 degrees of freedom movement. For another example, the arm may be a deformable continuum robotic arm.

[0030] Figure 3 Schematic diagram of a section 300 of an arm according to some embodiments of the present disclosure is shown. Figure 4 The arm body 400 shown, Figure 5 The surgical execution arm 510 and the visual guidance arm 520 are shown. Fig.14 The arm body 1411) shown may include at least one deformable segment 300. Figure 3 As shown, the deformable structural segment 300 includes a fixing plate 310 and a plurality of structural bones 320. The first ends of the plurality of structural bones 320 are fixedly connected to the fixing plate 310, and the second ends are connected to a driving unit (not shown). In some embodiments, the fixing plate 310 may be a ring-shaped structure, a disc-shaped structure, etc., and the cross-section may be a circular, rectangular, polygonal, etc., various shapes.

[0031] In some embodiments, the structural bone 320 in the deformable segment 300 may be made of an elastic material and have a certain degree of flexibility. For example, the material of the structural bone 320 may be a superelastic alloy, an air / liquid cavity, a memory alloy, a polymer structural material, etc., such as a nickel-titanium alloy. Based on the elastic properties of the structural bone 320, when subjected to an external force and / or a driving action (e.g., a push-pull action) of a driving unit, the deformable segment 300 may change in shape. The shape change of the deformable segment 300 may be manifested as bending deformation, telescopic deformation, or twisting deformation, etc. For example, the driving unit drives the structural bone 320 to make the segment 300 be in a state such as Figure 2 The bent state shown. In some embodiments, the second ends of the multiple structural bones 320 pass through the base plate 330 and are connected to the driving unit, so that the deformable segment 300 changes shape by driving the structural bones 320 through the driving unit. In some embodiments, similar to the fixed plate 210, the base plate 330 can be a ring structure, a disc structure, etc., and the cross-section can be a variety of shapes such as a circle, a rectangle, a polygon, etc. In some embodiments, the driving unit may include a linear motion mechanism, a driving segment, or a combination of the two. The linear motion mechanism may be connected to the multiple structural bones 320 to push or pull the multiple structural bones 320, thereby driving the segment 300 to bend. The driving segment may include a fixed plate and multiple structural bones, wherein one end of the multiple structural bones is fixedly connected to the fixed plate. The other ends of the multiple structural bones of the driving segment are connected to the multiple structural bones 320 or are integrally formed to drive the bending of the deformable segment 300 by driving the bending of the segment.

[0032] In some embodiments, at least one spacer disk 340 is further included between the fixed disk 310 and the base disk 330, and the first ends of the plurality of structural bones 320 pass through the at least one spacer disk 340 and are fixedly connected to the fixed disk 310. Similarly, the driving joint may also include a spacer disk.

[0033] Figure 4 FIG. 4 is a schematic diagram showing the structure of the arm 400 according to some embodiments of the present disclosure. Figure 4 As shown, the arm 400 is a continuous body robot arm, and the arm 400 may include an arm distal end 410 and an arm body 420. The arm body 420 may include one or more segments, such as a first segment 4201 and a second segment 4202. In some embodiments, the structures of the first segment 4201 and the second segment 4202 may be the same as those of the embodiment of the present invention. Figure 3 The structure section 300 shown is similar. In some implementations, as Figure 4 As shown, the arm body 420 also includes a first straight rod segment 4203 located between the first segment 4201 and the second segment 4202. The first end of the first straight rod segment 4203 is connected to the base plate of the second segment 4202, and the second end is connected to the fixed plate of the first segment 4201. In some implementations, such as Figure 4 As shown, the operating arm body 420 also includes a second straight rod segment 4204, and the first end of the second straight rod segment 4204 is connected to the base plate of the first structure section 4201. In some embodiments, the arm body distal end portion 410 is located at the distal end of the arm body 420. In some embodiments, the arm body distal end portion 410 may include a columnar portion located at the distal end of the arm body 420. In some embodiments, the distal end of the arm body distal end portion 410 may be provided with an end instrument (e.g., an imaging tool, a surgical actuator, etc.) 430. In some embodiments, the arm body 400 may be wrapped with a coating or cover on the outside.

[0034] In some embodiments, the arm 400 and the segments it contains can be described by a kinematic model. In some embodiments, the structure of each segment can be specifically described as follows: Figure 3 The structure section 300 shown. Figure 3 As shown, the base coordinate system Attached to the base plate 330 of the i-th (i=1, 2, 3...) structure node, its origin is located at the center of the base plate 330, and the XY plane coincides with the plane of the base plate 330, From the center of the base plate 330 to the first structural bone (the first structural bone can be understood as a structural bone arbitrarily designated as a reference from the multiple structural bones 320). Curved plane coordinate system Its origin coincides with the origin of the base coordinate system, and the XY plane coincides with the bending plane. and Coincident. Fixed disk coordinate system Attached to the fixed disk 310 of the i-th structural section, its origin is located at the center of the fixed disk 310, and the XY plane coincides with the plane of the fixed disk 310, From the center of the fixing plate 310 to the first structural bone. Its origin is located at the center of the fixed disk 310, and the XY plane coincides with the bending plane. and coincide.

[0035] In some embodiments, Figure 3 The single segment 300 shown can be described by a kinematic model. The position of the segment tip of the i-th segment (eg, the fixed disk coordinate system {ie}) relative to the base disk coordinate system {ib} ib p ie ,attitude ib R ie They can be expressed as the following formulas (1) and (2):

[0036]

[0037] ib R ie = ib Ri1 i1 R i2 i2 R ie (2)

[0038] Among them, L i is the virtual structural bone of the i-th segment (e.g., Figure 3 The length of the virtual structural bone 321 shown in FIG. i is the bending angle of the i-th structural section, indicating that in the i-th structural section, about or Rotate to Required rotation angle; δ i is the bending direction angle of the i-th structural section, indicating that in the i-th structural section, the bending plane and The angle of ib R i1 is the posture of the bending plane coordinate system 1 {i1} of the i-th structural node relative to the base coordinate system {ib}; i1 R i2 is the posture of the bending plane coordinate system 2{i2} of the i-th structural section relative to the bending plane coordinate system 1{i1}; i2 R ie is the posture of the fixed disk coordinate system {ie} of the i-th node relative to the bending plane coordinate system 2{i2}.

[0039] ib R i1 , i1 R i2 and i2 R ie It can be determined based on the following formulas (3), (4) and (5):

[0040]

[0041]

[0042]

[0043] like Figure 3 The node parameter ψ of a single node 300 is shown i It can be determined based on the following formula (6):

[0044] ψ i =[θ i ,δ i ] T (6)

[0045] In some embodiments, the driving amount of the multiple structural bones has a known mapping relationship with the joint parameters. Based on the target joint parameters and the mapping relationship, the driving amount of the multiple structural bones can be determined. The driving amount of the multiple structural bones can be understood as changing a single joint from an initial state (e.g., θ i =0) is the length of the structural bone pushed or pulled when the structural bone is bent to the target bending angle. In some embodiments, the mapping relationship between the driving amount of multiple structural bones and the joint parameters can be determined based on the following formula (7):

[0046] q ij =-r ij θ i cos(δ i -β ij ) (7)

[0047] Among them, q ij is the driving force of the jth structural bone in the i-th structural segment, r ij is the distance from the jth structural bone to the virtual structural bone in the i-th structural segment, β ij is the angle between the jth structural bone and the first structural bone in the i-th structural section. The driving signal of the driving unit can be determined based on the driving amounts of the multiple structural bones.

[0048] In some embodiments, based on the overall rotation angle of the arm body in the arm body 400, the feed amount of the arm body (for example, the overall feed length of the arm body, the feed length of the structural section in the arm body, or the feed length of the straight rod section in the arm body), and the various structural sections that make up the arm body (for example, Figure 4 The structural parameters of the first structural section 4201 and the second structural section 4202 shown in the figure can determine the shape characteristic parameters of the arm body. For example, the shape characteristic parameters of the arm body can be determined based on the following formula (8):

[0049]

[0050] in, is the overall rotation angle of the arm, and d is the overall feed length of the arm. In some embodiments, the overall rotation angle of the arm The overall feed length d of the arm body is provided by the drive unit. For example, the overall feed length d of the arm body is provided by a linear drive mechanism that drives the arm body to linearly feed. The overall rotation angle of the arm body is It is provided by a rotation drive mechanism that drives the arm body to rotate around its own central axis.

[0051] Those skilled in the art will appreciate that the arm has different shape characteristic parameters in different working states. Figure 4 The arm body 400 shown includes at least four working states, and the four working states correspond to four positions of the arm body 400, which can be recorded as C1-C4 positions. The four working states of the arm body 400 are as follows:

[0052] First working state (C1 position): only the second segment 4202 participates in the posture control of the control device (for example, only the second segment 4202 enters the working space). At this time, the shape characteristic parameters of the arm 400 are shown in the following formula (9):

[0053]

[0054] Among them, ψ c1 is the shape characteristic parameter of the arm body 400 in the first working state, is the overall rotation angle of the arm body 400, L2 is the feed length of the second segment 3202, and L2 is related to Figure 3 The L in the structure section 300 shown t The physical meaning of is the same, ψ2 is the node parameter of the second node 4202, and ψ2 can be determined by the above formula (6).

[0055] Second working state (C2 position): the second structure section 4202 and the first straight line segment 4203 participate in the posture control of the control device (for example, the second structure section 4202 enters the working space in its entirety, and the first straight line segment 4203 partially enters the working space). At this time, the shape characteristic parameters of the arm body 400 are as shown in the following formula (10):

[0056]

[0057] Among them, ψ c2 is the shape characteristic parameter of the arm body 400 in the second working state, L r is the feed length of the first straight line segment 4203.

[0058] The third working state (C3 position): the second segment 4202, the first straight segment 4203 and the first segment 4201 participate in the position and posture control of the actuator (for example, the second segment 4202 enters the working space in its entirety, the first straight segment 4203 enters the working space in its entirety, and the first segment 4201 partially enters the working space). At this time, the shape characteristic parameters of the arm 400 are as shown in the following formula (11):

[0059]

[0060] Among them, ψ c3 is the shape characteristic parameter of the arm body 400 in the third working state, L1 is the feed length of the first segment 4201, and L1 is related to Figure 3 The L in the structure section 300 shown t The physical meanings are the same, ψ1 is the node parameter of the first node 4201, ψ2 is the node parameter of the second node 4202, and ψ1 and ψ2 can be determined by the above formula (6).

[0061] Fourth working state (C4 position): the second section 4202, the first straight segment 4203, the first section 4201 and the second straight segment 4204 participate in the position and posture control of the actuator (for example, the second section 4202 enters the working space in its entirety, the first straight segment 4203 enters the working space in its entirety, the first section 4201 enters the working space in its entirety, and the second straight segment 4204 partially enters the working space). At this time, the shape characteristic parameters of the arm 400 are as shown in the following formula (12):

[0062]

[0063] Among them, ψ c4 is the shape characteristic parameter of the arm body 400 in the fourth working state, L s is the feed length of the second straight line segment 4204.

[0064] In some embodiments, similar to a single segment, the driving amount of each structural bone of each segment of the arm body can be determined based on formula (7), and then the driving signal of the driving unit can be determined based on the driving amount.

[0065] Figure 1 A flow chart of a method 100 of determining force according to some embodiments of the present disclosure is shown.

[0066] See also Figure 1 In step 101, the current actual position of the target part of the arm is obtained. In the present disclosure, the target part of the arm may include the end of the arm or a part of the arm body.

[0067] In some embodiments, method 100 may include using an electromagnetic sensor to obtain the current actual position of the target portion of the arm. The electromagnetic sensor may include an electromagnetic induction device and a plurality of electromagnetic reflectors discretely arranged at a plurality of positions of the arm, and the electromagnetic induction device determines the position information (including position information and posture information) of the electromagnetic reflectors discretely arranged at a plurality of positions of the arm by relying on the mutual induction principle of the electromagnetic field, so as to obtain the current actual position of the target portion of the arm.

[0068] In some embodiments, the method 100 may include obtaining an image of the arm and analyzing the obtained image to determine the current actual position of the target portion of the arm.

[0069] In some embodiments, a positioning mark may be provided on the arm, and a positioning image of the positioning mark is obtained by an image acquisition device, and the current actual position of the target part of the arm is obtained by processing the positioning image. The image acquisition device includes but is not limited to a dual-lens image acquisition device or a single-lens image acquisition device, such as a binocular or monocular camera.

[0070] In some embodiments, it may also include acquiring images of the arm through medical imaging equipment such as computed tomography (CT), magnetic resonance imaging (MRI), stereoscopic vision, etc., and determining the current actual position of the target part of the arm based on analysis of the image.

[0071] In some embodiments, the arm can be a continuum robot (e.g., Figure 4 The arm body 400 shown in the figure) includes at least one structural section, the structural section includes a fixed plate, multiple structural bones and at least one spacer plate, the multiple structural bones pass through the at least one spacer plate and are fixedly connected to the fixed plate at the first end, and the second ends of the multiple structural bones are connected to the driving unit. In some embodiments, the target part includes the end of the arm body, and the current actual position includes the current actual position of the end.

[0072] In some embodiments, the end of the arm may include an end instrument (e.g., a surgical actuator) installed at the distal end of the arm, and the current actual position of the end may be the current actual position of the end instrument. Method 100 may include obtaining the current actual position of the end of the arm using a visual detection algorithm. In some embodiments, a positioning image is acquired by an image acquisition device, and the positioning image may include an image of part or all of the arm. In some embodiments, a positioning tag is provided at the distal end of the arm or a nearby area of ​​the arm, and the positioning tag is used to detect the end position or end posture of the arm. The positioning tag may include multiple posture identifiers and angle identifiers. In some embodiments, the positioning tag is within the observation field of the image acquisition device, and the acquired positioning image may include a positioning image for positioning the end of the arm, and the end position or end posture of the arm is obtained through the positioning image. In some embodiments, method 100 may include obtaining a positioning image of the arm; in the positioning image, identifying multiple identifiers located on the arm; and determining the current actual position of the end based on the multiple identifiers.

[0073] In some embodiments, in a surgical robot system, the surgical robot system may include a visual guidance arm having an imaging device (e.g., a binocular endoscope) installed at the distal end of the arm and at least one surgical execution arm having a surgical actuator installed at the distal end of the arm. The imaging device installed at the distal end of the visual guidance arm can capture a positioning image of the surgical execution arm as an image acquisition device, so as to obtain the current actual position of the end of the surgical execution arm through the positioning image. Figure 5 Schematic diagram showing the current actual position of the end of the acquisition arm in the surgical robot system 500 according to some embodiments of the present disclosure. Figure 5As shown, the surgical robot system 500 includes at least one surgical execution arm 510 and a visual guidance arm 520. A binocular endoscope 521 is installed on the distal end of the visual guidance arm 520, and a surgical actuator 511 is installed on the distal end of the surgical execution arm 510. In some embodiments, a positioning tag ( Figure 5 The distal end of the surgical execution arm 510 is within the field of view of the binocular endoscope 521. The positioning image collected by the binocular endoscope 521 may include the positioning image of the distal end of the surgical execution arm 510. The current actual position of the distal end of the surgical execution arm 510 is obtained through the positioning image. In some embodiments, the positioning image from the binocular endoscope 521 can be received, and the positioning image can be processed to obtain the current actual position of the distal end of the surgical execution arm 510.

[0074] In some embodiments, Figure 4 The arm body 400 shown is provided with a plurality of posture marks and at least one angle mark (for example, the arm body main body 420 or the arm body distal end portion 410). For example, a plurality of posture marks are distributed circumferentially on the arm body distal end portion 410, and a plurality of angle marks are distributed circumferentially on the arm body distal end portion 410. A plurality of posture marks and a plurality of angle marks are arranged axially side by side on the arm body distal end portion 410. For example, a plurality of posture marks and a plurality of angle marks are arranged on the outer surface of the columnar portion of the arm body distal end portion 410.

[0075] In some embodiments, each angle identifier has a position association relationship with one of the posture identifiers. Based on the position association relationship, the area where the angle identifier may be distributed can be determined by the position of the posture identifier. Alternatively, the area where the posture identifier may be distributed can be determined by the position of the angle identifier. The position association relationship can be determined based on the specific arrangement of the posture identifier and the angle identifier, and can be pre-designed.

[0076] In some embodiments, the position association relationship may include an axial correspondence between the angle identifier and the posture identifier. For example, the position association relationship may include an axial offset. Based on the axial correspondence, when the position of one or more posture identifiers on the distal end of the arm is known, the area where the angle identifier may exist can be determined by offsetting a certain distance in the axial direction. For example, the position association relationship may also include an axial oblique alignment, etc.

[0077] In some embodiments, a plurality of posture identifiers and a plurality of angle identifiers may be provided on a label attached to the peripheral side of the distal end portion of the arm body.

[0078] In some embodiments, the posture identification may include a posture identification pattern and a posture identification pattern corner point, and the angle identification may include an angle identification pattern and an angle identification pattern corner point. In some embodiments, the posture identification pattern and the angle identification pattern may be set on a label attached to the distal end of the arm body, or may be printed on the distal end of the arm body, or may be a pattern formed by the physical structure of the distal end of the arm body itself, for example, it may include a depression or a protrusion and a combination thereof. In some embodiments, the posture identification pattern or the angle identification pattern may include a pattern formed by brightness, grayscale, color, etc. In some embodiments, the posture identification pattern and the angle identification pattern may include a pattern that actively (e.g., self-luminous) or passively (e.g., reflected light) provides information detected by an image acquisition device (e.g., an imaging device installed at the distal end of the arm body of the visual guidance arm of the robot system, such as a binocular endoscope). Those skilled in the art should understand that in some embodiments, the posture of the posture identification can be represented by the posture of the posture identification pattern corner point coordinate system, and the posture of the angle identification can be represented by the posture of the angle identification pattern corner point coordinate system.

[0079] Figure 6 A schematic diagram of a positioning tag 600 including multiple posture identifiers and multiple angle identifiers according to some embodiments of the present disclosure is shown. Figure 7 A schematic diagram of a cylindrical positioning tag 700 disposed on the circumference of the distal end of the arm according to some embodiments of the present disclosure is shown. It can be understood that for simplicity, the positioning tag 600 can include the same posture identification pattern and angle identification pattern as the positioning tag 700.

[0080] See also Figure 6 , multiple pose identifiers (in this disclosure, the "○" symbol indicates the pose identifier pattern corner points) and multiple angle identifiers (in this disclosure, the "△" symbol indicates the angle identifier pattern corner points) are arranged side by side. Multiple pose identifier patterns 611 can be the same or similar, and multiple pose identifier pattern corner points are located in multiple pose identifier patterns 611. Multiple angle identifier patterns 621-626 can be different, and multiple angle identifier pattern corner points are located in multiple angle identifier patterns 621-626.

[0081] Each angle identifier may have a position association relationship with one of the posture identifiers. Figure 6 As shown, in the direction indicated by the arrow, some posture markers (such as posture marker pattern 611) and corresponding angle markers (such as angle marker pattern 621) are arranged along the arrow direction and have an interval distance d1. Figure 7 In the circumferential arrangement state, the tag 600 becomes a tag 700 with a cylindrical spatial structure, and the position association relationship between each angle mark and one of the posture marks may include the angle mark and the posture mark in the axial direction (such as Figure 7Based on the corresponding relationship in the axial direction, when the positions of one or more posture identifiers on the distal end of the arm are known, the area where the angle identifier may exist can be determined by offsetting a certain distance (such as distance d1) in the axial direction. In some embodiments, the corresponding relationship between the angle identifier and the posture identifier in the axial direction can be represented by the corresponding relationship between the angle identifier pattern corner point and the posture identifier pattern corner point in the axial direction. In some embodiments, based on the corresponding relationship between the angle identifier and the posture identifier in the axial direction, the projection of the angle identifier pattern corner point coincides with that of one of the posture identifier pattern corner points along the Z-axis direction.

[0082] In some embodiments, the rotation angle or roll angle of the angle mark or posture mark can be represented by the rotation angle of the angle mark pattern corner point or the posture mark pattern corner point. The angle mark pattern corner point is relative to the arm body coordinate system (for example, the coordinate system established at the distal end of the arm body, such as Figure 7 The angle of the XY coordinate system shown in FIG. 1 is known or predetermined, for example, Figure 7 The angle between the angle identification pattern corner point R7 and the X-axis in the XY coordinate system is θ. Based on the position association relationship, it can be obtained that the angle between the posture identification pattern corner point P7 associated with its position and the X-axis is angle θ. It should be understood that the angle θ corresponding to the angle identification pattern corner point R7 and the posture identification pattern corner point P7 can be called the axis angle or roll angle around the Z axis of the angle identification or posture identification. In the present disclosure, the axis angle or roll angle refers to the angle around the Z axis. It can be understood that for clarity, Figure 7 The angle identification pattern corner point R7 and the posture identification pattern corner point P7 are shown as separated, but they are overlapping.

[0083] In some embodiments, the arm body can be obtained by a visual detection algorithm (e.g., Figure 4 The arm body 400 shown, Figure 5 The surgical execution arm 510 and the visual guidance arm 520 are shown. Fig.14 In some embodiments, the method 100 may include obtaining a positioning image of a positioning tag disposed at the distal end of the arm; in the positioning image, identifying multiple identifiers (including position identifiers and angle identifiers) located on the arm; and determining the current actual position of the end of the arm based on the multiple identifiers, wherein the current actual position of the end includes the current actual position of the end and the current actual posture of the end. Figure 8 A schematic diagram showing the actual current position of the end of the arm 800 obtained by using a visual detection algorithm based on a binocular endoscope 821 according to some embodiments of the present disclosure. Figure 8 In the embodiment, the arm 800 is as follows Figure 4The end of the arm body 400 and the arm body 800 shown in the figure may include an end instrument (e.g., a surgical actuator) installed at the distal end of the arm body. Therefore, the current actual posture of the end of the arm body 800 refers to the current actual posture of the end instrument (e.g., the current actual posture of the surgical actuator). In some of the following embodiments, the end instrument is described by taking the surgical actuator as an example. Figure 8 The definition of the coordinate system is explained in the following sections: Surgical actuator coordinate system and Figure 4 The same, you can refer to Figure 4 The surgical actuator coordinate system {tip} is attached to the surgical actuator, which is fixed at the distal end of the distal end portion 410 of the arm body and at a set distance from the fixed plate coordinate system {2e} at the end of the second segment 4202 in the arm body 420. and The same direction, The direction of Figure 4 or Figure 8 Sheath Coordinate System and Figure 4 It is attached to the outlet of the sheath. The coordinate system of the first node base {1b} The same direction, The direction of Figure 4 or Figure 8 As shown. Positioning label coordinate system Attached to the positioning label set on the peripheral side of the distal end of the arm body, the origin is the center of the cross-sectional circle where the corner points of the multiple posture identification patterns are located. The axis direction is from the origin to one of the corner points of the pose identification pattern. The direction is parallel to the axis of the distal end of the arm. Axis perpendicular to Plane. Binocular endoscope left lens coordinate system Attached to the left lens, its origin is located at the center of the left lens, The direction is parallel to the left lens optical axis, The direction of Figure 8 As shown. Coordinate system of the right lens of binocular endoscope Attached to the right lens, its origin is located at the center of the right lens, The direction is parallel to the right lens optical axis, The direction of Figure 8 In some embodiments, Figure 8As shown, the left lens and the right lens of the binocular endoscope 821 can obtain positioning images respectively, and the position and posture of the positioning tag in the binocular endoscope lens coordinates can be estimated by using a visual detection algorithm based on an image of the binocular endoscope 821 (the left lens image or the right lens image) (for example, the position and posture of the positioning tag in the binocular endoscope lens coordinates can be obtained by using a method similar to that disclosed in some embodiments of the Chinese patent document CN115708128A). For example, the position and posture of the positioning tag in the binocular endoscope left lens coordinate system {ll} ( ll p wm , ll R wm ) or the position of the positioning tag in the right lens coordinate system {rl} of the binocular endoscope ( rl p wm , rl R wm ),in, ll p wm , rl p wm Indicates location, ll R wm , rl R wm The following is the position and posture of the positioning tag in the left lens coordinate system of the binocular endoscope {ll} ( ll p wm , ll R wm ) is used as an example to illustrate. The position and posture of the positioning tag in the left lens coordinate system of the binocular endoscope ( ll p wm , ll R wm ) can be determined through image analysis, and the homogeneous transformation matrix of the positioning tag relative to the left lens coordinate system of the binocular endoscope can also be obtained ll T wm Thus, the homogeneous transformation matrix of the surgical actuator coordinates {tip} at the end of the arm 800 relative to its sheath coordinate system {tc} can be, for example, as shown in the following formula (13):

[0084]

[0085] in, represents the homogeneous transformation matrix of the surgical actuator coordinates {tip} relative to its sheath coordinate system {tc} obtained based on the visual detection algorithm, represents the current actual position of the end of the arm obtained based on the visual detection algorithm (i.e., the current actual position of the surgical actuator relative to the sheath coordinate system), is the actual current position of the end of the arm, is the actual current posture of the end of the arm, tc Tll represents the homogeneous transformation matrix of the left lens coordinate system of the binocular endoscope relative to the sheath coordinate system, ll T wm Represents the homogeneous transformation matrix of the positioning tag coordinate system relative to the left lens coordinate system of the binocular endoscope, wm T tip is the homogeneous transformation matrix of the surgical actuator coordinates relative to the positioning tag coordinate system.

[0086] In some embodiments, the binocular endoscope is fixed to the distal end of the vision-guided arm (e.g., Figure 5 As shown, the binocular endoscope 521 is installed at the distal end of the visual guidance arm 520), and the current actual posture of the end of the visual guidance arm can be obtained in the same way as in some of the above embodiments (for example, the current actual posture of the end of the visual guidance arm corresponds to the current actual posture of the binocular endoscope). Based on the current actual posture of the end of the visual guidance arm, the postures of the left lens and the right lens in the binocular endoscope can be obtained respectively, and then the transformation matrix of the binocular endoscope lens coordinate system relative to the sheath coordinate system can be determined, for example, the homogeneous transformation matrix of the binocular endoscope left lens coordinate system relative to the sheath coordinate system tc T ll In some embodiments, the surgical actuator is fixedly disposed at the distal end of the distal end of the surgical actuator arm, and the positioning tag is fixedly disposed at the distal end of the arm (for example, the positioning tag is fixedly disposed on the outer surface of the columnar portion of the distal end of the arm). wm T tip is known or predetermined. In some embodiments, based on tc T ll , ll T wm , wm T tip It has been determined that the actual current position of the end of the arm can be obtained based on formula (13): Based on the actual current position of the end of the arm The actual position of the end of the arm can be obtained

[0087] Continue to view Figure 1 In step 103, the current actual driving amount of the arm is obtained. In some embodiments, the arm can be a continuous body robot (e.g., Figure 4The arm body 400 shown in the figure includes at least one structural section, the structural section includes a fixing plate, multiple structural bones and at least one spacer plate, the multiple structural bones pass through the at least one spacer plate, the first ends of the multiple structural bones are fixedly connected to the fixing plate, and the second ends of the multiple structural bones are connected to the driving unit. The current actual driving amount of the arm body may include the current actual driving amount output by the driving unit to the multiple structural bones of the arm body.

[0088] In some embodiments, the operator issues a control instruction for controlling the movement of the arm (for example, the control instruction includes driving information), and the driving unit responds to the control instruction and realizes the movement of the structural bone by pushing and / or pulling the structural bone, thereby meeting the operator's operation requirements for the arm. In some embodiments, the current control instruction of the arm can be obtained, and the driving information of the arm (for example, the driving amount vector) can be obtained from the current control instruction, and the current actual driving amount output by the driving unit to the structural bone of the arm can be obtained based on the driving information of the arm. In some embodiments, the state (for example, rotation angle or stroke) of the driving device (for example, the driving motor) can be sensed by a sensor (for example, a potentiometer) to obtain the current actual driving amount of the structural bone of the arm.

[0089] In some embodiments, the driving amount vector of the arm may include driving amounts q of multiple structural bones of the arm ij , ij is the number of the structural bone, and the driving amount of multiple structural bones constitutes the driving amount vector of the structural bone, which can be recorded as q a,bkb . For example, Figure 4 In the arm body 400 shown, the deformation of the i-th structural section is achieved by driving two groups of symmetrically distributed structural bones by a driving unit. In some embodiments, each group of symmetrically distributed structural bones can include two symmetrically distributed structural bones (for example, the angle between the two structural bones is π). In some embodiments, the deformation of the i-th structural section can be achieved by driving (for example, pushing and pulling at the same time) two groups of symmetrically distributed structural bones, for example, by driving by two pairs of double-headed screw driving mechanisms. In some embodiments, the double-headed screw driving mechanism can include a double-headed screw and two threaded sliders located on the double-headed screw. When the double-headed screw rotates, the two threaded sliders located on the double-headed screw perform linear motion in opposite directions at the same speed. The two threaded sliders drive the two symmetrically distributed structural bones to perform linear motion in opposite directions at the same speed, so that the two symmetrically distributed structural bones are pushed or pulled to achieve bending deformation of the section. In some embodiments, the two groups of structural bones of the i-th structural section are driven by structural bones numbered i1 and i2, respectively. Therefore, the driving amount vector of the structural bones can be expressed as: q a,bkb =[q 11 ,q 12 ,q 21 ,q 22 ] TIn some embodiments, the current driving amount vector of the structural bone can be obtained, and the current driving amount vector of the structural bone is used as the current actual driving amount of the arm, which can be expressed as q a,bkb .

[0090] Continue to view Figure 1 In step 105, based on the current actual driving amount and the driving amount residual calculation model, the first driving amount residual of the arm in the free motion state is determined. In the present disclosure, the free motion state of the arm refers to the motion state of the arm when there is no external load force acting on it under the drive of the driving unit.

[0091] Due to the existence of factors such as the difficult-to-model and nonlinear driving hysteresis and / or tensile and compressive deformation of the structural bones in the arm body, the driving amount residual of the structural bones in the arm body always exists. In some embodiments, the first driving amount residual of the arm body in a free motion state may include the first driving amount residual values ​​of multiple structural bones of the arm body in a free motion state, each structural bone corresponds to a first driving amount residual value, and the first driving amount residual values ​​of multiple structural bones are combined into a first driving amount residual vector.

[0092] In order to compensate for the driving amount residual that is difficult to model when there is no external load force on the arm, in some embodiments of the present disclosure, a driving amount residual calculation model without external load force is trained through model design and a series of random trajectory motion data. The trained driving amount residual calculation model can predict the driving amount residual under actual driving amount conditions and without external load force, that is, the driving amount residual calculation model can predict the driving amount residual of the arm in a free motion state under actual driving amount conditions. In the present disclosure, the driving amount residual predicted by the driving amount residual calculation model is recorded as the first driving amount residual, and the first driving amount residual can be expressed as For example, taking the arm body that drives four sets of symmetrically distributed structural bones as an example, ij=11,12,21,22, is the first driving value residual of the ijth structural bone.

[0093] In some embodiments, the driving amount residual calculation model can be a machine learning model, and a machine learning model for calculating the first driving amount residual of at least one structural bone (e.g., four structural bones) of a continuum robotic arm in a free state can be constructed and trained based on a machine learning algorithm. In some embodiments, the driving amount residual calculation model can include a support vector regression model, referred to as an SVR (Support Vector Regression) model. The SVR model can directly predict the actual driving amount of the arm (e.g., the driving amount vector q of the structural bone of the current given arm) at the current actual driving amount. a,bkb ) is the first driving quantity residual corresponding to the case where there is no external load force under driving. The first driving quantity residual can be expressed as

[0094] In some embodiments, the training data set of the driving amount residual calculation model may include: a driving amount residual data set of the arm in a free motion state under different actual driving amount conditions.

[0095] In some embodiments, through the kernel function, the SVR model can convert the original data space into a high-dimensional linearly separable space, thereby achieving a better regression effect for nonlinear data. At the same time, the SVR model characterizes the entire data feature through a limited number of support vectors and corresponding weight coefficients. Therefore, the SVR model can achieve fast prediction calculations and ensure the real-time control of the arm. In some embodiments, independent SVR models can be created for each structural bone in the continuous robot arm. For example, in some embodiments, Figure 4 In the arm 400 shown in the figure, the deformation of the i-th segment is achieved by driving two groups of symmetrically distributed structural bones by the driving unit. The driving of the two groups of structural bones of the i-th segment is represented by structural bones numbered i1 and i2 respectively. Figure 4 The arm 400 includes the first segment and the second segment, and four independent SVR models are created for the four representative structural bones (ij=11, 12, 21, 22) in the arm 400, as shown in the following formula (14):

[0096]

[0097] Among them, SV ij is the number of support vectors of the ijth SVR model (the SVR model used to predict the first driver residual of the ijth structural bone), χ is the eigenvector of the input SVR model, χ ij,w and m ij,w are the wth support vector and its weight of the ijth SVR model, n ij is the constant term of the ijth SVR model, κ(χ ij,w ,χ) is the Gaussian kernel function of the SVR model. κ(χ ij,w , χ) can be defined as shown in the following formula (15):

[0098]

[0099] Among them, γ ij is the adjustable parameter of the Gaussian kernel function, γ ij > 0. Before training the SVR model, the optimal γ ij The parameters and the soft margin parameter C in the SVR model are determined by a grid traversal search strategy and cross-validation.

[0100] In some embodiments, the coupling force relationship between the structural bones in the continuum robot arm is taken into account, that is, the structural bones of the i-th segment not only affect the bending deformation within the segment, but also affect the deformation of the structural bones of other segments due to the coupling between the segments. In some embodiments, the characteristic vectors x of the four SVR models take into account the driving effect of all structural bones, that is, the characteristic vectors x of each SVR model are defined in the same way, which can be shown as the following formula (16):

[0101]

[0102] Among them, h bkb =[h 11 ,h 12 ,h 21 ,h 22 ] is a hysteresis feature vector characterizing the hysteresis characteristics of the structural bone drive, and the hysteresis feature vector represents the historical state of the structural bone drive process. In some embodiments, for time k, h ij (k) is represented as an accumulated number with saturation characteristics, which can be shown as the following formula (17):

[0103]

[0104] Among them, μ max represents the maximum driving hysteresis of each structural bone. For the continuum robot arm of some embodiments of the present disclosure, μ max Set to 0.2mm. Δq a,ij is the driving increment of the structural bone numbered ij from time k-1 to time k.

[0105] In some embodiments, the SVR model for calculating the first driving amount residual of the four structural bones is determined based on formulas (14) to (17). In some embodiments, before using the SVR model, a large number of random data sets need to be collected to train the SVR model. For example, for the ijth SVR model, the collected random data set can be expressed as: χ1, χ2, ... are random feature vector data, is the residual data of the first driving amount of the arm in the free motion state under the actual driving amount conditions corresponding to the eigenvector random data χ1, χ2, ..., Can be obtained through experiments.

[0106] In some embodiments, different arm configurations (e.g., C1-C4 configurations) may affect the training of the SVR model and its prediction results. Figure 4The arm body 400 shown is in the C3 position, and the overall feed length d of the arm body 400 directly changes the feed length L1 of the first structure section 4201. Different L1 conditions will affect the training of the SVR model and its prediction results. In some embodiments, when performing SVR model training, L1 is first discretized from a predetermined motion range (for example, 40mm to 60mm) at predetermined intervals (for example, 5mm), and a sufficient number of random data sets are collected under each L1 condition to train the SVR model of the corresponding L1. In the process of calculating the first driving amount residual using the trained SVR model, a group of SVR models corresponding to the nearest are selected for prediction according to the size of the current L1. In some embodiments, the training and prediction of the SVR model can be implemented using the support vector machine library LIBSVM developed by Professor Chih-JenLin and others.

[0107] For example, L1=L x The random data collection process in this case can be, for example, carried out in the following manner:

[0108] Set L1 = L x , in, is the overall rotation angle of the arm, according to the maximum bending angle of the segments in the arm (e.g., θ 1,max =π / 2,θ 2,max =2π / 3) to determine the structural bone driving amount range, and randomly select N groups (for example, 3000 groups) of structural bone driving amount vectors q within the structural bone driving range. a,bkb , the driving vector sum of each group of structural bones is L1=L x , A set of arm drive vectors are formed For each set of driving quantity q a , the kinematic model is used to calculate the theoretical position of the positioning tag coordinate system {wm} relative to the binocular endoscope lens coordinate system, for example, the theoretical position of the positioning tag coordinate system {wm} relative to the binocular endoscope left lens coordinate system {ll} ll T wm, the driving vectors that exceed the visual detection range of the positioning tag on the distal end of the arm are eliminated. In some embodiments, the final random driving quantity trajectory can be obtained by interpolating the two adjacent driving vectors after the above elimination at a set interval (for example, 0.05mm). The experimental platform is used to drive the arm to each given driving quantity in the random driving quantity trajectory without external load conditions, and the characteristic vector (χ) at each given driving quantity is calculated and recorded. In some embodiments, the terminal posture of the arm can be obtained by a visual detection algorithm as in some of the above embodiments. Shape reconstruction is performed based on the terminal posture, and the theoretical driving quantity of the arm at each given driving quantity is obtained based on the reconstructed shape. Specifically, it can be implemented in the manner described in some of the embodiments described later. In some embodiments, based on the given driving quantity and the calculated theoretical driving quantity, a driving quantity residual can be obtained. Since the random data acquisition process is experimentally obtained without the action of external load force, the experimentally obtained driving quantity residual can be considered as the first driving quantity residual of the arm in a free motion state, and the experimentally obtained first driving quantity residual is recorded as Thus, the recorded feature vectors at all given driving quantities and the corresponding first driving quantity residuals constitute a random data set. In some embodiments, a portion of the obtained random data set (e.g., 80% of the data in the random data set) is randomly extracted as a training data set, and the rest (e.g., the remaining 20% ​​of the data) is used as a test data set, and the test data set is used to verify the prediction effect of the SVR model trained by the training data set.

[0109] Continue to see Figure 1 In step 107, the current ideal position of the target part of the arm is determined based on the current actual driving amount and the first driving amount residual. In some embodiments, the arm can be a continuum robot arm (e.g., Figure 4 The arm body 400 shown in the figure comprises at least one structural section, the structural section comprises a fixed plate, a plurality of structural bones and at least one spacer plate, the plurality of structural bones pass through the at least one spacer plate and the first ends of the plurality of structural bones are fixedly connected to the fixed plate, and the second ends of the plurality of structural bones are connected to the driving unit.

[0110] In some embodiments, method 100 includes determining the ideal driving amount corresponding to the arm body in the current free motion state based on the current actual driving amount and the first driving amount residual. In the present disclosure, the first driving amount residual is the driving amount residual of the structural bones in the arm body obtained by taking into account the driving hysteresis and / or tensile and compressive deformation of the structural bones that are difficult to model and nonlinear in the arm body. In some embodiments, the ideal driving amount corresponding to the arm body in the current free motion state includes the ideal joint driving amount corresponding to the arm body in the current free motion state. The ideal structural bone driving amount of multiple structural bones corresponding to the arm body in the current free motion state can be obtained through the current actual driving amount and the first driving amount residual. Based on the ideal structural bone driving amount of multiple structural bones, the overall feed length of the arm body, and the overall rotation angle of the arm body, the ideal joint driving amount corresponding to the arm body in the current free motion state can be obtained.

[0111] For example, Figure 4 In the arm body 400 shown, the deformation of the i-th structural segment is achieved by the driving unit driving two groups of symmetrically distributed structural bones. The specific manner in which the driving unit drives the structural segment to bend and deform is consistent with some of the above embodiments and will not be repeated here. Figure 4 The driving of the two groups of structural bones in the i-th segment of the arm body 400 is represented by the structural bones numbered i1 and i2 respectively. The arm body 400 includes two segments, namely the first segment 4201 and the second segment 4202. Therefore, there are four groups of structural bones in the arm body 400. The driving of the four groups of structural bones in the arm body 400 is represented by the structural bones numbered ij=11, 12, 21, and 22 respectively. The current actual driving amount of the arm body can be obtained by the method in some of the above embodiments. The current actual driving amount of the arm body can be recorded as q a,bkb =[q 11 ,q 12 ,q 21 ,q 22 ] T The first driving amount residual of the arm in the free motion state can be obtained by the methods in some of the above embodiments. The first driving amount residual can be recorded as Based on the current actual driving amount q of the arm a,bkb The residual error of the first driving amount of the arm in the free motion state The ideal structural bone driving amount of multiple structural bones corresponding to the current free motion state of the arm can be determined, which can be recorded as It can be expressed as in, Indicates the ideal structural bone driving amount of the ijth structural bone corresponding to the current free motion state of the arm. Based on the ideal structural bone driving amount of the structural bone corresponding to the current free motion state of the arm, the overall feed length d of the arm, and the overall rotation angle of the arm The ideal joint drive value corresponding to the current free motion state of the arm can be obtained, which can be recorded as It can be expressed as In some embodiments, the overall feed length d of the arm is provided by the drive unit. In some embodiments, the arm has a slender section (e.g., with a length greater than 200 mm) between the drive unit and the sheath, which will produce a certain torsion under the external load force, so the overall rotation angle of the arm is The driving rotation angle that needs to be provided by the driving unit (for example, the rotation driving mechanism that drives the arm body to rotate around its own central axis) Add an additional offset angle based on Right now Among them, the additional offset angle In some embodiments, the shape of the arm (e.g., a continuum robot arm) can be reconstructed based on the shape information and / or the end position of the arm to obtain the shape characteristic parameters of the arm. As a parameter to be estimated, the estimated value of the additional deflection angle is obtained by estimating The specific contents can be implemented in some embodiments described later. It can be expressed as

[0112] In some embodiments, method 100 includes determining a current ideal position of a target portion of the arm based on an ideal drive amount corresponding to the current free motion state of the arm. In some embodiments, ideal position information (including position information and posture information) of the arm in the free motion state can be obtained based on the ideal drive amount corresponding to the current free motion state of the arm and the kinematic model of the arm, and thus the current ideal position of the target portion of the arm can be obtained.

[0113] In some embodiments, the arm body includes at least one structural section, the structural section includes a fixed plate, multiple structural bones and at least one spacer plate, the multiple structural bones pass through the at least one spacer plate and the first ends of the multiple structural bones are fixedly connected to the fixed plate, and the second ends of the multiple structural bones are connected to the driving unit. In some embodiments, the target portion includes the end of the arm body, and the current ideal position includes the current ideal position of the end.

[0114] In some embodiments, the end of the arm may include an end instrument (e.g., a surgical actuator) mounted at the distal end of the arm, and the current ideal position of the end may be the current ideal position of the end instrument. ) and the kinematic model of the arm can obtain the current ideal posture of the end of the arm in the free motion state. The current ideal posture of the end can be expressed as is the current ideal position of the end of the arm, is the current ideal posture of the end of the arm. The kinematic model of the arm has been described in detail in some of the above embodiments, and will not be repeated here.

[0115] Continue to see Figure 1 In step 109, the force on the target part is determined based on the current actual position and the current ideal position.

[0116] In some embodiments, the method 100 includes determining an actual position deformation amount of the target part based on the current actual position and the current ideal position, for example, Fig.11 As shown, based on the current actual position and the current ideal position of the end of the arm, the actual position deformation Δp of the end of the arm is determined. load In some embodiments, if the actual position deformation of the target part exceeds the position deformation threshold, the force on the target part is determined based on the current actual position and the current ideal position. In some embodiments of the present disclosure, the position deformation threshold can be configured as an empirical value or can be predetermined.

[0117] In some embodiments, method 100 may further include determining a motion state of the arm. In some embodiments, the motion state includes a free motion state (e.g., a motion state without an external load force) and / or a constrained state (e.g., a motion state under the action of an external load force). In some embodiments, based on the arm being in a constrained state, it is determined that the arm is under the action of an external load force, and based on the current actual position and the current ideal position, the force on the target portion is determined.

[0118] Fig. 9 A flowchart of a method 900 (hereinafter referred to as “method 900”) for determining the motion state of an arm according to some embodiments of the present disclosure is shown. The method 900 may be implemented or executed by hardware, software, or firmware. In some embodiments, the method 900 may be implemented by a surgical robot system (e.g., Figure 2 The surgical robot system shown, Figure 5 The surgical robot system 500 or Fig.14 In some embodiments, the method 900 may be implemented as computer-readable instructions. These instructions may be executed by a general-purpose processor or a special-purpose processor (e.g., Figure 2 The control device 220 shown or Fig.14 For example, the control device of the surgical robot system (e.g., Figure 2The control device 220 shown may include a processor configured to execute the method 900. In some embodiments, these instructions may be stored on a computer-readable medium.

[0119] Some embodiments of the present disclosure disclose the reconstruction of the shape of the arm body based on the current shape information / end position of the arm body (for example, a continuum manipulator) to obtain the shape characteristic parameters of the arm body. In some embodiments, the theoretical driving amount of multiple structural bones in the arm body caused by the change of the arm body shape can be calculated by the reconstructed shape characteristic parameters. Due to the existence of factors such as the driving hysteresis and / or tensile and compressive deformation of the structural bones that are difficult to model in the arm body, the driving amount residual of the structural bones in the arm body always exists. The driving amount residual is the difference between the actual driving amount output by the driving mechanism (such as the driving motor) in the driving unit and the theoretical driving amount calculated by the reconstructed shape characteristic parameters. The present disclosure records the difference between the actual driving amount and the theoretical driving amount as the second driving amount residual. In order to compensate for the driving amount residual that is difficult to model in the arm body without external load force, in some embodiments of the present disclosure, a driving amount residual calculation model without external load force is trained by designing a support vector regression model and a series of random trajectory motion data. The driving amount residual calculation model trained can predict the driving amount residual under the actual driving amount condition and without external load force. In the present disclosure, the driving amount residual predicted by the driving amount residual calculation model under the actual driving amount condition and without external load force is recorded as the first driving amount residual. However, under the same actual driving amount condition, the external load force will change the shape of the arm, thereby changing the second driving amount residual of each corresponding structural bone. Based on this, some embodiments of the present disclosure use the difference between the driving amount residual (second driving residual) calculated by the actual driving amount and the theoretical driving amount and the driving amount residual (first driving amount residual) predicted by the driving amount residual calculation model to determine the motion state of the arm (for example, free motion state or constrained state).

[0120] The following, combined Fig. 9 The method 900 for determining the motion state of an arm according to some embodiments of the present disclosure is described in detail.

[0121] See also Fig. 9 In step 901, the current actual driving amount of the arm is obtained. In some embodiments, the same Figure 1 The current actual driving amount of the arm body is obtained in the same manner as step 103. This has been described in detail in some of the above embodiments and will not be repeated here.

[0122] Continue to see Fig. 9 In step 903, the current theoretical drive amount of the arm is determined. In some embodiments, the arm can be a continuum robot (e.g., Figure 4The arm body 400 shown in the figure includes at least one structural section, the structural section includes a fixing plate and multiple structural bones, the first ends of the multiple structural bones are fixedly connected to the fixing plate, and the second ends of the multiple structural bones are connected to the driving unit. The current theoretical driving amount of the arm body can be the driving amount of the structural bones of the arm body in theory based on the current shape of the arm body.

[0123] In some embodiments, method 900 may include determining current shape characteristic parameters of the arm body; and determining a current theoretical driving amount based on the current shape characteristic parameters.

[0124] In some embodiments, method 900 may include obtaining current shape information of the arm body, and determining current shape feature parameters based on the current shape information.

[0125] In some embodiments, the arm body includes a shape sensor, and the current shape information of the arm body can be obtained based on the shape sensor, and the current shape characteristic parameters of the arm body can be determined based on the current shape information. For example, a measurement signal can be received from the shape sensor, and the current shape information of the arm body can be determined based on the measurement signal. In some embodiments, the measurement signal can include the curvature of the arm body at multiple positions along the axial direction, and the current shape information of the arm body is determined based on the curvature. In some embodiments, the curvature at multiple positions can be processed continuously by a continuousization algorithm to determine the current shape information of the arm body. For example, the continuousization algorithm can be an interpolation algorithm. In this way, the shape information of the arm body determined based on the continuous curvature is more accurate.

[0126] In some embodiments, the number of shape sensors may be one or more. In some embodiments, the shape sensor may be uniformly or non-uniformly arranged on the arm body. In some embodiments, the shape sensor includes a fiber grating sensor, and the fiber grating sensor includes gratings located at multiple positions along the axial direction of the arm body. A measurement signal can be obtained through the grating, and the shape of the arm body is reconstructed based on the measurement signal, and the current shape information of the arm body is obtained based on the reconstructed arm body shape. The fiber grating sensor adopts optical measurement, has good electromagnetic compatibility, and can obtain accurate shape measurement data. The optical measurement method occupies less space inside the deformable mechanical arm, making data acquisition more flexible. The overall shape of the arm body can be obtained by setting a shape sensor in the arm body. As an existing medical imaging device in the hospital, the fiber grating sensor can be reused and has the low-cost advantage of data measurement. In some embodiments, the shape sensor can also be an electromagnetic sensor. The electromagnetic sensor may include an electromagnetic induction device and multiple electromagnetic reflectors discretely arranged at multiple positions of the arm body. The electromagnetic induction device relies on the mutual induction principle of the electromagnetic field to determine the position information of the electromagnetic reflectors discretely arranged at multiple positions of the arm body, reconstruct the shape of the arm body according to the discrete position information, and obtain the current shape information of the arm body based on the reconstructed arm body shape. In some embodiments, the current shape information of the arm can also be obtained by using medical imaging equipment such as computed tomography (CT), magnetic resonance imaging (MRI), stereoscopic vision, etc.

[0127] In some embodiments, method 900 may include obtaining the current actual posture of the end of the arm body, and determining the current shape feature parameters based on the current actual posture of the end. In some embodiments, the current actual posture of the end of the arm body can be obtained based on an electromagnetic sensor, which has been described in detail in some of the above embodiments and will not be repeated here. In some embodiments, the current actual posture of the end of the arm body can also be obtained through a visual detection algorithm, which has been described in detail in some of the above embodiments and will not be repeated here.

[0128] In some embodiments, the method 900 may further include determining the current shape feature parameters based on the current actual posture of the end and the kinematic model of the arm by minimizing the difference between the theoretical end posture and the current actual posture of the end.

[0129] In some embodiments, the bending deformation of each segment in the arm body can be estimated based on the constant curvature assumption. The constant curvature means that the curvature magnitude κ(s) of the center curve of each segment in the arm body is a fixed constant along with its arc length variable s. For example, Figure 3 As shown in the figure, in the i-th node, the curvature change information of the bending deformation of the node can be expressed as θ i ,θ i for about or Rotate to The required rotation angle. A single segment 300 can be described by a kinematic model. In some embodiments, the position of the end of the i-th segment (e.g., the fixed disk coordinate system {ie}) relative to the base disk coordinate system {ib} can be determined by using formulas (1) to (5) as described in some of the above embodiments. ib p ie ,attitude ib R ie The node parameter ψ of a single node 300 is i It can be determined based on formula (6) in some of the above embodiments. Thus, the shape characteristic parameters of the arm body can be determined according to the working state of the arm body (e.g., C1-C4 position). For example, the shape characteristic parameter ψ of the arm body is determined based on formula (9) to formula (12). For example, Figure 4 The arm body 400 shown, the shape characteristic parameters of the arm body 400 in the C3 position can be expressed as:

[0130] In some embodiments, the bending deformation of the segments in the arm body can be estimated based on the linear curvature assumption. The linear curvature means that the curvature magnitude κ(s) of the center curve of each segment in the arm body changes linearly with its arc length variable s. For example, Figure 3 As shown in the figure, in the i-th node, the curvature change information of the bending deformation of the node can be expressed as κ i (s i ), κ i (s i ) can be expressed as the following formula (18):

[0131] κ i (s i )=a i s i +b i (18)

[0132] Among them, κ i (s i ) represents the center curve of the i-th segment (for example, the center curve corresponding to the virtual structural bone of the i-th segment) at the arc length s i The curvature at a i and b i are the slope and intercept of the curvature change of the i-th section. i With κ i (s i ) can be shown in the following formula (19):

[0133]

[0134] Among them, L iis the virtual structural bone of the i-th segment (e.g., Figure 3 The length of the virtual structural bone 321) shown in FIG.

[0135] The node parameters of a single node 300 can be expressed as ψ i It means that ψ i It can be shown as the following formula (20):

[0136] ψ i =[a i ,b i ,δ i ] T (20)

[0137] Among them, δ i is the bending direction angle, indicating that in the i-th structural section, the bending plane and Angle.

[0138] like Figure 3 The single segment 300 shown can be represented by a kinematic model. The position of the end of the i-th segment (fixed disk coordinate system {ie}) relative to the base disk coordinate system {ib} ib p ie ,attitude ib R ie They can be expressed as the following formulas (21) and (22) respectively:

[0139]

[0140] ib R ie = ib R i1 i1 R i2 i2 R ie (twenty two)

[0141] Among them, L i is the virtual structural bone of the i-th segment (e.g., Figure 3 The length of the virtual structural bone 221) shown in ib R i1 is the posture of the bending plane coordinate system 1 {i1} of the i-th structural node relative to the base plate coordinate system {ib}, i1 R i2 is the posture of the bending plane coordinate system 2{i2} of the i-th structural section relative to the bending plane coordinate system 1{i1}, i2 R ie is the posture of the fixed disk coordinate system {ie} of the i-th node relative to the bending plane coordinate system 2 {i2}. Similar to some of the above embodiments, ib R i1 ,i1 R i2 and i2 R ie It can be determined based on formula (3), formula (4) and formula (5) in some embodiments above.

[0142] Thus, the shape characteristic parameters of the arm body can be determined according to the working state of the arm body (e.g., C1-C4 position). For example, the shape characteristic parameter ψ of the arm body can be determined based on formula (9) to formula (12). For example, Figure 4 The arm body 400 shown, the shape characteristic parameters of the arm body 400 in the C3 position can be expressed as:

[0143] In some embodiments, Figure 4 In the arm body 400 shown, the length of the first section 4201 is much larger than the length of the second section 4202, for example, L1 is 2 to 3 times of L2, wherein L1 is the length of the virtual structural bone of the first section 4201, and L2 is the length of the virtual structural bone of the second section 4202. It should be understood by those skilled in the art that the lengths of the first section 4201 and the second section 4202 can be configured according to the requirements of the actual application scenario. The first section 4201 is closer to the linear curvature shape under load, and the shape error caused by the bending deformation of the first section 4201 estimated based on the linear curvature assumption is also smaller. The second section 4202 is closer to the constant curvature shape under load, and the shape error caused by the bending deformation of the second section 4202 estimated based on the constant curvature assumption is also smaller. Therefore, in some embodiments, the bending deformation of the first section 4201 can be estimated based on the linear curvature assumption, and the bending deformation of the second section 4202 can be estimated based on the constant curvature assumption. The estimation of the bending deformation of the section based on the linear curvature assumption and the estimation of the bending deformation of the section based on the constant curvature assumption have been described in detail in some of the above embodiments, and will not be repeated here. Based on the formula (20) in some of the above embodiments, the section parameter of the first section 4201 can be obtained by ψ1, and based on the formula (6) in some of the above embodiments, the section parameter of the second section 4202 can be obtained by ψ2, and ψ1 and ψ2 can be shown in the following formulas (23) and (24), respectively:

[0144] ψ1=[a1,b1,δ1] T (twenty three)

[0145] ψ2=[θ2,δ2] T (twenty four)

[0146] Wherein, a1 and b1 represent the slope and intercept of the curvature change of the first segment 4201, respectively, and δ1 represents the curvature of the curved plane and θ2 represents the angle of the second structural section 4202. about or Rotate to The required rotation angle, δ2, represents the bending plane and Angle.

[0147] like Figure 3 The single segment 300 shown can be represented by a kinematic model. Based on formula (21) and formula (22) in some of the above embodiments, the position of the end of the first segment 4201 (fixed disk coordinate system {1e}) relative to the base disk coordinate system {1b} 1b P 1e ,attitude 1b R 1e They can be expressed as the following formulas (25) and (26) respectively.

[0148]

[0149] 1b R 1e = 1b R 11 11 R 12 12 R 1e (26)

[0150] Based on formula (1) and formula (2) in some of the above embodiments, the position of the end of the second segment 4201 (fixed disk coordinate system {2e}) relative to the base disk coordinate system {2b} is 2b P 2e ,attitude 2b R 2e They can be expressed as the following formulas (27) and (28) respectively:

[0151]

[0152] 2b R 2e = 2b R 21 21 R 22 22 R 2e (28)

[0153] in, 2b R 21 , 21 R 22 , 22 R 2e It can be determined based on formula (3), formula (4) and formula (5) in some of the above embodiments.

[0154] Thus, the shape characteristic parameters of the arm body can be determined according to the working state of the arm body (e.g., C1-C4 position). For example, the shape characteristic parameter ψ of the arm body can be determined based on formula (9) to formula (12). For example, Figure 4 The arm body 400 shown, the shape characteristic parameters of the arm body 400 in the C3 position can be expressed as:

[0155] In some embodiments, the shape of the arm is reconstructed based on the shape assumption of the arm and the current actual position of the end of the arm to determine the current shape characteristic parameters of the arm.

[0156] In some embodiments, the arm shape reconstruction problem is expressed as the following nonlinear optimization problem, as shown in formula (29):

[0157]

[0158] in, The shape characteristic parameters of the arm body to be optimized, is the current theoretical end position of the arm, is the current theoretical end position of the arm, Indicates the current theoretical end pose of the arm. It is represented as the actual current position of the end of the arm. In some embodiments, It can be the actual current position of the end of the arm obtained based on the visual detection algorithm. In some embodiments, The shape assumption based on the arm body may be determined by the shape assumption method in some of the above embodiments.

[0159] In some embodiments, the current theoretical end position of the arm can be based on the shape assumption of the arm and described by a kinematic model. Figure 4 The position of a single segment (e.g., the first segment 4201 or the second segment 4202) in the arm body 400 shown can be determined based on the estimation of the segment bending deformation in the arm body in combination with the kinematic model. For example, the position of the segment end of the i-th segment (e.g., the fixed disk coordinate system {ie}) relative to the base disk coordinate system {ib} is obtained based on the segment parameters of the single segment. ib p ie ,attitude ib R ie The specific content has been described in detail in some of the above embodiments and will not be repeated here. Figure 4 The end position of the entire arm 400 shown can be described by a kinematic model, so that the theoretical end position of the arm can be obtained when the shape characteristic parameters of the arm are given. Figure 4The homogeneous transformation matrix of the surgical actuator coordinates {tip} at the end of the arm 400 relative to its sheath coordinate system {tc} can be expressed as shown in formula (30):

[0160]

[0161] in, represents the homogeneous transformation matrix of the surgical actuator coordinates {tip} relative to its sheath coordinate system {tc} obtained based on the kinematic model, represents the theoretical end posture of the arm 300 (for example, it can be the posture of the surgical actuator relative to its sheath coordinate system obtained by the kinematic model), represents the theoretical end position of the arm 300 (for example, the position of the surgical actuator coordinates relative to its sheath coordinate system obtained by the kinematic model), tc T 1b represents the homogeneous transformation matrix of the base plate of the first segment 4201 relative to the sheath coordinate system, 1b T 1e represents the homogeneous transformation matrix of the fixed disk of the first node 4201 relative to the base disk of the first node 4201, 1e T 2b represents the homogeneous transformation matrix of the base disk of the second node 4202 relative to the fixed disk of the first node 4201, 2b T 2e represents the homogeneous transformation matrix of the fixed disk of the second node 3202 relative to the base disk of the second node 4202, 2e T tip represents the homogeneous transformation matrix of the surgical implement relative to the fixed disk of the second segment 4202. In some embodiments, the surgical implement is fixedly disposed at the distal end of the fixed disk of the second segment 4202, so, 2e T tip In some embodiments, the base plate of the second segment 4202 is connected to the fixed plate of the first segment 4201 via the first straight rod segment 4203, so that 1e T 2b is known or predetermined, for example, in some embodiments, Figure 4 The first structural bones of the first segment 4201 and the second segment 4202 of the arm body 400 shown in the figure differ by γ2 on the cross section of the arm body 400. The length of the first straight rod segment 4202 is L r (That is, the distance between the base plate of the second segment 4202 and the fixed plate of the first segment 4201 can be approximately L r ),thus, 1e T 2b =Rot z (γ2)·Transz (L r In some embodiments, the base plate of the first segment 4201 is connected to the second straight rod 4204, and the position of the sheath tube relative to the base plate of the first segment 4201 is determined by the overall rotation angle of the arm body. Sure, can be obtained directly from the drive unit, so tc T 1b It can be determined in advance.

[0162] In some embodiments, the shape characteristic parameters of the arm body to be optimized are It can be obtained based on the shape assumption of the arm body, for example, by using the constant curvature assumption and / or the linear curvature assumption in the above embodiment. Figure 4 For the arm 400 shown, the bending deformation of the first segment 4201 is estimated based on the linear curvature assumption, and the bending deformation of the second segment 4202 is estimated based on the constant curvature assumption. The shape characteristic parameters of the arm 400 in the C3 position can be expressed as: The shape characteristic parameter vector of the arm to be optimized is It can be expressed as: is the parameter to be estimated. Those skilled in the art will appreciate that Figure 4 In the arm 400 shown, when estimating the bending deformation of each segment based on the constant curvature assumption, the shape characteristic parameter vector of the arm 400 that needs to be optimized in the C3 position can be expressed as: When estimating the bending deformation of each segment based on the linear curvature assumption, the shape characteristic parameter vector of the arm body 400 that needs to be optimized in the C3 position can be expressed as: is the parameter to be estimated.

[0163] In some embodiments, the feed amount of the arm (e.g., the overall feed length of the arm, the feed length of the structural section in the arm, or the feed length of the straight rod section in the arm) is provided by a driving unit (e.g., a linear driving mechanism that drives the linear feed of the arm). Figure 4 In the arm body 400 shown, in the C3 position, the feeding length L1 of the first segment 4201 is provided by the driving unit (e.g., a linear driving mechanism driving the arm body to feed linearly). In some embodiments, the arm body has a slender section (e.g., a length greater than 200 mm) between the driving unit and the sheath tube, and this slender section will produce a certain torsion under the external load force, so the overall rotation angle of the arm body is The driving rotation angle that needs to be provided by the driving unit (for example, the rotation driving mechanism that drives the arm body to rotate around its own central axis) Add an additional offset angle based on Right now Thus, illustratively, Figure 4 For the arm shown in the figure, when estimating the bending deformation of each segment based on the constant curvature assumption in the C3 position, the shape characteristic parameter vector of the arm that needs to be optimized can be expressed as: is the parameter to be estimated. When estimating the bending deformation of each segment based on the linear curvature assumption, the shape characteristic parameter vector of the arm to be optimized can be expressed as: When estimating the bending deformation of the first segment 4201 based on the linear curvature assumption and estimating the bending deformation of the second segment 4202 based on the constant curvature assumption, the shape characteristic parameter vector of the arm body to be optimized can be expressed as: is the parameter to be estimated.

[0164] In some embodiments, based on formula (29) Determined as the current shape feature parameters.

[0165] In some embodiments, the optimization problem of formula (29) can be solved, for example, using the open source C++ optimization library CeresSolver developed by Google. The corresponding cost function is calculated by formula (29), and the input of the cost function is The parameters to be estimated in .

[0166] In some embodiments, the method 900 includes determining a current theoretical drive amount based on current shape feature parameters. In some embodiments, the method 900 may determine a current theoretical drive amount based on current shape feature parameters and a relationship between the current shape feature parameters and the drive amount of the arm.

[0167] In some embodiments, in the joints of the arm body, the driving amounts of the multiple structural bones have a known mapping relationship with the joint parameters. In some embodiments, the mapping relationship between the driving amounts of the multiple structural bones and the joint parameters can be determined based on formula (7). In some embodiments, similar to a single joint, the driving amount of each structural bone of each joint of the arm body can be determined based on formula (7), and then the driving signal of the driving unit is determined based on the driving amount.

[0168] In some embodiments, for example Figure 4 The arm 400 shown in FIG. 1 is used to estimate the current characteristic parameters of the arm based on formula (29): The theoretical driving amount of at least one structural bone caused by the change in the shape of the arm body may be calculated, for example, the theoretical driving length of at least one structural bone.

[0169] For example, Figure 4 In the arm body 400 shown, the deformation of the i-th structural section is achieved by driving two groups of symmetrically distributed structural bones by a driving unit. In some embodiments, each group of symmetrically distributed structural bones can include two symmetrically distributed structural bones (for example, the angle between the two structural bones is π). In some embodiments, the deformation of the i-th structural section can be achieved by driving two groups of symmetrically distributed structural bones by two pairs of double-headed screw driving mechanisms. In some embodiments, the double-headed screw driving mechanism can include a double-headed screw and two threaded sliders located on the double-headed screw. When the double-headed screw rotates, the two threaded sliders located on the double-headed screw perform linear motion in opposite directions at the same speed. The two threaded sliders drive the two symmetrically distributed structural bones to perform linear motion in opposite directions at the same speed, so that the two symmetrically distributed structural bones are pushed or pulled to achieve bending deformation of the section. In some embodiments, the two groups of structural bones of the i-th structural section are represented by structural bones numbered i1 and i2, respectively, and the theoretical driving amount of the structural bones can be recorded as: q shape,bkb =[q shape,11 ,q shape,12 ,q shape,21 ,q shape,22 ] T In some embodiments, Figure 4 In the arm 400 shown in the figure, the driving of the second segment 4202 takes into account the coupling effect of the structural bone of the second segment 4202 through the channel of the first segment 4201. The theoretical driving amount of the structural bone q shape,bkb =[q shape,11 ,q shape,12 ,q shape,21 ,q shape,22 ] T It can be shown as the following formula (31):

[0170]

[0171] Among them, r i1 is the distance from the structural bone i1 to the virtual structural bone in the i-th segment, r i2 is the distance from the structural bone i2 to the virtual structural bone in the i-th segment, β i1 is the angle between the structural bone i1 and the first structural bone in the i-th segment, β i2 is the angle between the structural bone i2 and the first structural bone in the i-th segment, and γ is the offset angle of the second segment 4202 relative to the first segment 4201. To estimate the current characteristic parameters of the arm based on formula (29): The estimated values ​​of the parameters to be estimated in are determined.

[0172] In some embodiments, in the i-th structural segment, the angle between the structural bones numbered i1 and i2 may be π / 2, and the structural bone i1 may be used as the first structural bone. Therefore, β 11 =0,β 21 =0,β 12 =π / 2,β 22 =π / 2. In some embodiments, the offset angle γ of the second segment 4202 relative to the first segment 4201 is =π / 4.

[0173] In some embodiments, the bending deformation of the first segment 4201 is estimated based on the linear curvature assumption, and the bending deformation of the second segment 4202 is estimated based on the constant curvature assumption. The parameters to be estimated can be obtained by formula (29): The estimated value of The estimated value of The estimated value of can be expressed as Those skilled in the art should understand that by estimating the bending deformation of each segment based on the constant curvature assumption, the parameter to be estimated can be directly obtained by formula (29): Based on the linear curvature assumption, the bending deformation of each node can be estimated by formula (29) to obtain the estimated parameter The estimated value of The estimated value of The estimated value of The estimated value of The estimated value of can be expressed as

[0174] Continue to see Fig. 9 In step 905, based on the current actual driving amount and the driving amount residual calculation model, the first driving amount residual of the arm in the free motion state is determined. Figure 1 In some embodiments, the same method as step 105 may be used to determine the first driving amount residual of the arm in the free motion state. The specific contents have been described in detail in some of the above embodiments and will not be repeated here.

[0175] Continue to view Fig. 9 In step 907, based on the current actual driving amount and the current theoretical driving amount, a second driving amount residual of the arm is determined. In some embodiments, the second driving amount residual of the arm may be a second driving amount residual of a structural bone of the arm.

[0176] In some embodiments, the current theoretical drive amount of the arm can be obtained by reconstructing the shape of the arm. In some embodiments, the arm can be a continuum robot (e.g., Figure 4The arm body 400 shown in the figure includes at least one structural section, the structural section includes a fixing plate and a plurality of structural bones, the first ends of the plurality of structural bones are fixedly connected to the fixing plate, and the second ends of the plurality of structural bones are connected to the driving unit. The current theoretical driving amount of the arm body can be the theoretical driving amount of the structural bones of the arm body based on the current shape of the arm body. For example, Figure 4 In the arm body 400 shown, the deformation of the i-th structural segment is achieved by the driving unit driving two groups of symmetrically distributed structural bones. The specific manner in which the driving unit drives the structural segment to bend and deform is consistent with some of the above embodiments and will not be repeated here. Figure 4 The two groups of structural bone driving in the i-th segment of the arm 400 are represented by structural bones numbered i1 and i2 respectively. The theoretical driving amount of the representative structural bones can be recorded as q shape,ij , ij=11,12,21,22, the theoretical driving quantities of multiple structural bones constitute the theoretical driving quantity vector of the structural bones, which can be recorded as: q shape,bkb =[q shape,11 ,q shape,12 ,q shape,21 ,q shape,22 ] T In some embodiments, the shape of the arm (e.g., a continuum robot arm) is reconstructed based on the shape information and / or the end position of the arm to obtain the shape characteristic parameters of the arm. The theoretical driving amount of the structural bones in the arm caused by the shape change of the arm can be calculated through the reconstructed shape characteristic parameters (e.g., q shape,ij ), the details of which will be described later. In some embodiments, the current theoretical driving amount vector of the structural bone can be obtained (for example, q shape,bkb ), the current theoretical driving amount vector of the structural bone is used as the current theoretical driving amount of the arm, that is, the current theoretical driving amount of the arm can be expressed as q shape,bkb .

[0177] In some embodiments, the current theoretical driving amount q of the arm is obtained by reconstructing the shape of the arm. shape,bkb When calculating the driving hysteresis and / or elastic tensile and compressive deformation of each structural bone, the influence of the factors is not taken into account. Therefore, each structural bone has a driving residual. In the present disclosure, the driving amount residual calculated by the actual driving amount of the arm and the theoretical driving amount of the arm is recorded as the second driving amount residual. The second driving amount residual can be shown in the following formula (32):

[0178] q rsd,bkb =q a,bkb -q shape,bkb ,q rsd,bkb ≠0 (32)

[0179] For example, taking the arm body that drives four sets of symmetrically distributed structural bones as an example, q rsd,bkb =[q rsd,11 ,qrsd,12 ,q rsd,21 ,q rsd,22 ] T , where q rsd,ij =q ij -q shape,ij , ij=11,12,21,22.

[0180] Continue to view Fig. 9 In step 909, the motion state of the arm is determined based on the first driving amount residual and the second driving amount residual. In some embodiments, the motion state includes a free motion state (e.g., a motion state without an external load force) and / or a constrained state (e.g., a motion state under the action of an external load force).

[0181] In some embodiments, the method 900 includes obtaining a difference in the driving residual amount based on the first driving residual amount and the second driving residual amount, for example, as shown in the following formula (33):

[0182]

[0183] in, is the first driving quantity residual, q rsd,bkb is the second driving quantity residual, is the difference in driving residuals.

[0184] For example, taking the arm body driving four sets of symmetrically distributed structural bones as an example, q rsd,bkb =[q rsd,11 ,q rsd,12 ,q rsd,21 ,q rsd,22 ] T , in, is the difference of the driving residual of the ijth structural bone, Calculated by a driving amount residual calculation model (eg, SVR model), ij=11, 12, 21, 22.

[0185] In some embodiments, based on the difference between the first driving amount residual and the second driving amount residual being higher than a threshold, it is determined that the arm is in a constrained state at the current moment (for example, the arm moves under the drive of the driving unit and is affected by an external load force at the current moment).

[0186] In some embodiments, based on the difference between the first driving amount residual and the second driving amount residual being no higher than a threshold, it is determined that the arm is in a free motion state at the current moment (for example, the arm only moves under the drive of the driving unit at the current moment without being affected by any external load force).

[0187] In some embodiments, the difference of the driving residuals is obtained based on formula (33), and the difference of the driving residuals of at least one structural bone is higher than a threshold, and it is determined that the arm is in a constrained state at the current moment. For example, taking the arm of four groups of symmetrically distributed structural bones as an example, when , it is determined that the arm is in a constrained state at the current moment. is the difference of the driving residual of the ijth structural bone, ξ ij is the difference threshold of the driving residual amount.

[0188] In some embodiments, the difference of the driving residuals is obtained based on formula (33), and the difference of the driving residuals of all structural bones is not higher than the threshold, and it is determined that the arm is in a free motion state at the current moment. For example, taking the arm of four groups of symmetrically distributed structural bones as an example, when , it is determined that the arm is in a free motion state at the current moment.

[0189] In some embodiments, each structural bone corresponds to a driving residual difference threshold ξ ij ,ξ ij The minimum value of ξ ij,min The size of is related to the average prediction error of the driving quantity residual calculation model (such as the SVR model).

[0190] Continue to view Figure 1 In step 109, based on the current actual position and the current ideal position, the force on the target part is determined. For example, in response to the arm being in a constrained state (e.g., ) to determine that the arm is subjected to external load force.

[0191] In some embodiments, method 100 further includes obtaining a current stiffness of the target portion; and, based on the current actual position, the current ideal position, and the current stiffness, determining a force on the target portion. In the present disclosure, the force on the target portion may be an external force acting on the target portion. For example, the external force may include a force generated when the target portion of the arm contacts the operated tissue when performing a surgical operation.

[0192] In some embodiments, the actual position deformation amount of the target part can be determined based on the current actual position and the current ideal position. The actual position deformation amount of the target part can be a position difference vector generated after the target is deformed.

[0193] In some embodiments, the current stiffness of the target part corresponding to the direction of the actual position deformation amount can be obtained, and the force on the target part can be determined based on the actual position deformation amount of the target part and the current stiffness. In some embodiments, based on Hooke's law, the product of the actual position deformation amount of the target part and the current stiffness is determined as the force on the target part.

[0194] In some embodiments, the arm body includes at least one segment, the segment includes a fixed plate, a plurality of structural bones and at least one spacer plate, the plurality of structural bones pass through the at least one spacer plate and the end is fixedly connected to the fixed plate. In some embodiments, the target portion includes the end of the arm body, the current actual position includes the current actual position of the end, and the current ideal position includes the current ideal position of the end. Method 100 may include determining the actual position deformation amount of the end of the arm body based on the current actual position of the end and the current ideal position of the end. Method 100 may also include obtaining the current stiffness of the end of the arm body corresponding to the direction of the actual position deformation amount, and the force on the end of the arm body may be determined based on the actual position deformation amount and the current stiffness of the end of the arm body.

[0195] In some embodiments, method 100 further includes: obtaining an average end stiffness of the end of the arm; and determining an end virtual force of the end of the arm based on a current actual position of the end, a current ideal position of the end and the average end stiffness.

[0196] In some embodiments, the end of the arm body may include an end instrument (e.g., a surgical actuator) mounted at the distal end of the arm body, and therefore, the end average stiffness of the end of the arm body may be the average stiffness of the end instrument. In embodiments of the present disclosure, the end average stiffness of the end of the arm body may be determined based on the material properties of the end of the arm body.

[0197] In some embodiments, the actual position deformation amount of the end of the arm body is determined based on the current actual position of the end and the current ideal position of the end, for example, Fig.11 As shown, the actual position deformation of the end of the arm can be determined by the following formula (34):

[0198]

[0199] Among them, Δp load is the actual position deformation of the end of the arm, is the actual current position of the end, The current ideal position of the end.

[0200] Based on Hooke's law, the actual position deformation of the end of the arm and the average stiffness of the end are multiplied to determine the end virtual force of the end of the arm, for example, Fig.11 As shown, the end virtual force at the end of the arm can be determined by the following formula (35):

[0201]

[0202] Among them, f virtual is the terminal virtual force, is the average stiffness of the end, for example, in some implementations, Can be set to 20N / m, Δp load is the actual position deformation of the end of the arm.

[0203] In some embodiments, method 100 also includes determining the end virtual position deformation of the end of the arm body based on the current actual driving amount of the arm body, the end virtual force and the mechanical model of the arm body, wherein the mechanical model is determined based on the distribution of multiple structural bones of the arm body on the cross-section of the arm body and the physical properties of the multiple structural bones.

[0204] In some embodiments, the mechanical model may include a constitutive relationship related to the structural bone. The constitutive relationship may represent the material properties of the structural bone, for example, the material properties may be expressed through the internal force of the structural bone and the deformation of the structural bone.

[0205] In some embodiments, the arm includes multiple structural bones (j is the structural bone number, j=1, 2, 3...m), and the internal force constitutive relationship of the arm can be determined based on the internal force constitutive relationship of the structural bones. The internal force constitutive relationship of the arm can be determined based on the shear tensile stiffness matrix of the multiple structural bones.

[0206] In some embodiments, the arm includes a constraint structure (e.g., a spacer disk, a fixing disk, a coating layer, etc.) and a structural bone, and the internal force constitutive relationship of the arm can be determined based on the constraint structure of the arm and the internal force constitutive relationship of the structural bone. For example, the internal force constitutive relationship of the deformable mechanical arm is shown in formula (36),

[0207]

[0208] In formula (36), n all is the internal force of the arm, R is the rotation matrix, K SE is the shear-tension stiffness matrix of the arm's restraining structure, K SEj is the shear tensile stiffness matrix of the jth structural bone in the arm, v is the linear velocity of the arm's posture change along the arc length of the reference line. For example, the reference line can be the central axis of the arm, v min is the linear velocity of the arm in its natural state. For example, v min It can be the linear velocity when there is no external force or driving action, v min =[0 0 1] T .

[0209] In some embodiments, the arm includes multiple structural bones (j is the structural bone number, j=1, 2, 3...m), and the internal moment constitutive relation of the arm can be determined based on the internal moment constitutive relation of the structural bones. The internal moment constitutive relation of the arm can be determined based on the bending torsional stiffness matrix of the structural bones.

[0210] In some embodiments, the arm includes a constraint structure and a structural bone, and the internal moment constitutive relation of the arm can be determined based on the constraint structure of the arm and the internal force constitutive relation of the structural bone. For example, the internal moment constitutive relation of the arm is shown in formula (37):

[0211]

[0212] In formula (37), m all is the internal torque of the arm, R is the rotation matrix, K BT is the bending torsional stiffness matrix of the arm’s constraint structure, K BTj is the bending torsional stiffness matrix of the jth structural bone in the arm, u is the angular velocity of the arm posture along the arc length of the reference line, and u min is the angular velocity in a natural state, for example, the angular velocity when not subject to external forces or driving forces, u min =0.

[0213] In some embodiments, the mechanical model includes a mechanical balance relationship related to the structural bone. The mechanical balance relationship includes a force balance relationship of the structural bone, and the force balance relationship includes the force balance at each position of the structural bone along the axial direction. In some embodiments, the force balance relationship includes that the external force and the internal force of the structural bone at the force-bearing position along the axial direction are in balance.

[0214] In some embodiments, the mechanical balance relationship includes the force balance relationship of the arm body, and the force balance relationship includes the force balance at various locations along the axial direction of the structural bone. In some embodiments, the force balance relationship of the arm body includes the external force and the internal force of the arm body at the force-bearing location along the axial direction being balanced.

[0215] Fig.10 FIG. 1 is a schematic diagram showing the force of the arm 1000 according to some embodiments. Fig.10 In (a), for a structural unit [s,s+Δs] of the arm, the force balance relationship of the structural unit [s,s+Δs] can be seen from formula (38),

[0216]

[0217] The arm may include a constraining structure (e.g., a spacer disk, a fixing disk, a covering layer, etc.) and a structural bone. In formula (38), n(s) represents the internal force of the arm skeleton at position s, n(s+Δs) represents the internal force of the arm's constraining structure at position (s+Δs), Δs is a small increment, and f e (ξ) represents the distributed external force of the arm at ξ. j (s) represents the internal force of the jth structural bone at position s, n j (s+Δs) represents the internal force of the jth structural bone at (s+Δs).

[0218] Based on formula (38), the force balance relationship in the arm body is obtained, as shown in formula (39):

[0219] n′ all +f e =0 (39)

[0220] In formula (39), n all is the internal force of the arm, ()′ represents the derivative, f e is a distributed external force (such as the weight of the arm). In some embodiments, the distributed external force can be ignored.

[0221] In some embodiments, the mechanical balance relationship of the arm includes a moment balance relationship, and the moment balance relationship includes the moment of the structural bone along the axial direction. Fig.10 In (b), for a structural unit [s,s+Δs] of the arm, the moment balance relationship of the structural unit [s,s+Δs] can be seen from formula (40),

[0222]

[0223] In formula (40), m(s) represents the internal moment of the arm's constraint structure at s, m(s+Δs) represents the internal moment of the arm's constraint structure at s+Δs, and Δs is a small increment. p(s+Δs) represents the position of the arm's constraint structure at s+Δs, and n(s+Δs) represents the internal force of the arm's constraint structure at s+Δs. p(s) represents the position of the arm's constraint structure at s, and n(s) represents the internal force of the arm's constraint structure at s. e (ξ) represents the distributed moment of the arm's constraint structure at ξ (in some embodiments, the distributed moment can be ignored), p(ξ) is the position of the arm's constraint structure at ξ, and f e (ξ) represents the distributed external force of the arm's restraining structure at ξ. m j (s) represents the internal moment of the jth structural bone at position s, m j (s+Δs) represents the internal moment of the jth structural bone at s+Δs. j (s+Δs) represents the position of the jth structural bone at s+Δs, n j (s+Δs) represents the internal force of the jth structural bone at s+Δs. j (s) represents the position of the jth structural bone at s, n j (s) represents the internal force of the jth structural bone at position s.

[0224] Based on formula (40), the moment balance relationship of the arm at position s is obtained, see formula (41),

[0225]

[0226] In formula (41), m all is the internal moment of the arm, p is the position of the reference line of the arm, n all is the internal force of the arm, l e is the distributed moment of the arm, which can be ignored in some embodiments. R is the rotation matrix of the reference line of the arm, r j is the distribution of the jth structural bone on the cross section of the arm, for example, r j It can be the distribution position coordinates of the structural bone on the cross section of the arm, u is the angular velocity of the arm posture along the arc length of the reference line, K SEj The shear-tension stiffness matrix of the jth structural bone is: is the linear strain, which represents the difference in linear velocity of the jth structural bone along the arc length of the reference line before and after the deformation occurs.

[0227] In some embodiments, a moment boundary condition of the arm at the end of the arm is applied, and the moment boundary condition includes that the sum of the moments of the arm at the end of the arm is zero, see formula (42),

[0228]

[0229] In formula (42), m e is the external torque of the arm at the end L of the arm, m(L) is the internal torque of the arm at the end L of the arm, and R(L) is the rotation matrix of the arm at the end L of the arm.

[0230] In some embodiments, a force boundary condition is applied to the arm at the end of the arm, and the force boundary condition includes that the sum of the forces on the arm at the end of the arm is zero, see formula (43),

[0231] n e -n(L)=0 (43)

[0232] In formula (43), n e is the external force of the arm at the end L of the arm, and n(L) is the internal force of the arm at the end L of the arm.

[0233] In some embodiments, the mechanical model of the arm includes the relationship between the length variation of the structural bone along the axial direction and the distribution of the structural bone on the cross section of the arm. For example, the length variation of each structural bone (j is the structural bone number, j = 1, 2, 3, ..., m) in the arm along the axial direction is shown in formula (44),

[0234] q′ j =||v+u^r j||-1 (44)

[0235] In formula (44), q j is the length change of the jth structural bone along the axial direction, r j is the distribution of structural bones in the cross section of the arm, for example, r j It can be the distribution position coordinates of the structural bone on the cross section of the arm, v is the linear velocity of the arm posture change along the arc length of the reference line, and u is the angular velocity of the arm posture change along the arc length of the reference line.

[0236] In some embodiments, the length change q of the structural bone j (j is the number of the structural bone, j = 1, 2, 3, ..., m) may be related to the driving information, for example, the driving information may be information about the driving mechanism driving the structural bone to move. In some embodiments, the length change of the structural bone may also be related to the deformation of the arm. For example, the deformation of the arm may be the telescopic deformation of its structural bone. In some embodiments, the length boundary condition of the structural bone is applied, and the length boundary condition includes the length change of the structural bone at the end q j (L) is equal to the length drive q aj and length deformation ε j The driving information of the structural bones includes the length driving amount. For example, the length change of all the structural bones in the arm along the axial direction can be found in formula (45).

[0237] q(L)=q a +L all ε (45)

[0238] In formula (45), q(L) = [q1(L)q2(L)...q m (L)] T represents the length of each structural bone at s = L, q a =[q a1 q a2 ... q am ] T Indicates the driving length of each structural bone, L all represents the total length of the structural bone, ε=[ε1 ε2 ... ε m ] T represents the linear strain on each structural bone. For example, ε j It can be a percentage, L all ε j Represents the expansion and contraction deformation of the jth structural bone.

[0239] Formula (38) to Formula (45) constitute the mechanical model of the arm. In some embodiments, given the driving length q of each structural bone a , given the known distributed external force fe 、Distributed torque I e 、External torque m e and external force n e Under the condition of , the end position of the end of the arm can be calculated. For example, in some embodiments, the current actual driving amount of the arm is obtained, such as q a,bkb , and the terminal virtual forces, such as f virtual , then let q a =q a,bkb , n e =f virtual , m e =0, distributed external force f e and distributed torque I e can be ignored, then f e =0,I e = 0, solve the mechanical model of the arm, and calculate the end virtual posture of the end of the arm (including the end virtual position and the end virtual posture). For example, the end virtual posture can be recorded as ( tc p tip (f virtual ), tc R tip (f virtual )),in, tc p tip (f virtual ) is the end virtual position, tc R tip (f virtual ) is the terminal virtual posture.

[0240] In some embodiments, the terminal virtual position deformation amount can be determined based on the terminal virtual position and the current actual position of the terminal, for example, Fig.11 As shown, the end virtual deformation amount Δp of the end of the arm virtual It can be determined by the following formula (46):

[0241]

[0242] Among them, Δp virtual is the virtual position deformation of the end, The actual current position of the end.

[0243] In some embodiments, based on the end virtual force and the end virtual position deformation, the end current stiffness of the end of the arm body can be determined, for example, by the following formula (47):

[0244] k stiffness =||f virtual || / ||Δp virtual || (47)

[0245] Among them, k stiffness is the current stiffness of the end, f virtual is the end virtual force, Δp virtual is the virtual position deformation of the end.

[0246] In some embodiments, method 100 includes determining the force on the end of the arm based on the current actual position of the end, the current ideal position of the end, and the current stiffness of the end. For example, the actual position deformation variable Δp of the end of the arm can be obtained based on the current actual position of the end and the current ideal position of the end using formula (34) in some embodiments described above: load The current stiffness k of the end can be obtained by using formula (47) as in some implementations above: stiffness Based on Hooke's law, the actual position deformation Δp of the end of the arm is used load The current stiffness of the terminal can determine the force on the terminal. For example, the force on the terminal can be determined by the following formula (48):

[0247]

[0248] in, The force at the end.

[0249] In some of the above embodiments, formula (48) assumes that the force direction of the end of the arm body is related to the actual position deformation Δp of the end of the arm body. load The direction is parallel, avoiding the uncertainty of force perception caused by the force direction. This directional uncertainty is generated by the anisotropic characteristics of the end stiffness of the end of the arm (the axial stiffness of the end of the arm is infinite). However, for the lateral force perception of the end of the arm, the directional error of the force at the end of the perception generated by this assumption is acceptable.

[0250] Fig.11 Schematic diagram showing the force of the end of the arm according to some embodiments of the present disclosure. In some embodiments, the actual position deformation of the end of the arm can be determined based on the current actual position of the end and the current ideal position of the end, for example, Fig.11 As shown, the current actual position of the end can be the actual driving amount of the arm (for example, q a,bkb ) and the arm is loaded (for example, the force at the end is is the parameter to be estimated) the actual position of the end of the end of the arm body; the current ideal position of the end can be the arm body at the ideal driving amount (for example, ) and the arm is in a free motion state (e.g., without load); the actual position deformation of the end of the arm can be obtained by using formula (34) as in some of the above embodiments (e.g., Fig.11 The Δp shownload Based on the actual position deformation of the end of the arm and the average stiffness of the end, the end virtual force of the end of the arm can be obtained by using formula (35) as in some of the above embodiments (for example, Fig.11 The f virtual ). Based on the ideal drive amount of the arm (for example, ) and the arm is loaded (for example, the end of the arm is subjected to the end virtual force f virtual After the arm is shaped like a ball, the virtual position of the end of the arm can be obtained based on the mechanical model of the arm. Based on the current actual position of the end of the arm and the virtual position of the end, the virtual deformation amount of the end of the arm can be obtained using formula (46) (for example, Fig.11 The Δp shown virtual Those skilled in the art will appreciate that due to the anisotropic stiffness of the end of the arm, the end virtual force (e.g., f virtual ) and terminal dummy shape (e.g., Δp virtual ) have a certain direction difference. Based on the end virtual force and end virtual deformation of the end of the arm body, the current end stiffness of the end of the arm body (for example, k stiffness ). Based on the actual position deformation of the end of the arm and the current stiffness of the end, the force on the end can be determined by using formula (48) in some of the above embodiments.

[0251] In some embodiments, when the actual position deformation of the end of the arm (for example, Fig.11 The Δp shown load ) changes, and the corresponding end current stiffness (e.g., k stiffness ) is updated and calculated, for example, the updated current stiffness of the terminal can be calculated by the method in some of the above embodiments. The force on the terminal can be determined based on the updated current stiffness of the terminal and the actual position deformation of the terminal of the arm body.

[0252] In some embodiments, the method further comprises performing a response operation based on the force on the target portion. In some embodiments, the response operation comprises feeding back the force on the target portion and / or indicating the force information on the target portion. In some embodiments, the target portion may be, for example, the end of an arm. In a surgical robot system (e.g., Figure 2 The surgical robot system 200 shown, Figure 5 The surgical robot system 500 or Fig.14During the surgical operation, the surgical robot system 1400 shown in the figure obtains the force at the end of the arm, feeds back the force at the end of the arm to the main control vehicle, and / or sends the force information at the end of the arm to the main control vehicle and indicates the relevant force information. In some embodiments, based on the fed-back force of the target part and / or the indicated force information of the target part, the operator at the main control station (e.g., a doctor) can be guided to control the movement of the arm to perform the surgical operation.

[0253] In some embodiments, the static force sensing accuracy of the disclosed method 100 is tested by experiments. Figure 4 The arm 400 shown in FIG. 1 has 11 arm positions (Cfg) with different bending plane distributions. In some positions, only one direction (-x or +y) is applied, while in other positions, two directions (-x and +y) are applied. The loading conditions in each position are as follows: Fig. 12A According to the test results of the SVR model, the difference threshold ξ of the driving residual value for load judgment in the experiment ij During the experiment, the arm was first driven to 11 pre-planned Cfg positions without load, and then 10g, 20g and 50g weights were placed in each loading direction. When the arm was stable, the end force estimated by the method 100 of the present disclosure under each loading condition (one loading size in one loading direction) was recorded simultaneously. and the actual position deformation Δp of the end load The end force sensing results under the two loading directions of -x and +y are as follows: Fig. 12B As shown in (a) and (b), Fig. 12B In the figure, the solid line, dashed line and dot-dash line represent the loading conditions of 10 grams, 20 grams and 50 grams, respectively. The average perceived force errors of all loading conditions for 10 grams, 20 grams and 50 grams of weight loading (including -x and +y directions) are 4.20 (2.47, 1.75 and 1.92 in the x, y and z directions, respectively), 4.77 (2.36, 1.56 and 3.11 in the x, y and z directions, respectively), and 8.20 (3.01, 2.51 and 6.43 in the x, y and z directions, respectively). In specific applications, such as providing auxiliary force feedback functions to doctors, the perceived force errors of the above experiments (e.g., lateral force perception errors in the -x and +y directions) are acceptable.

[0254] In some embodiments of the present disclosure, the present disclosure further provides a computer device, the computer device comprising a memory and a processor. The memory may be used to store at least one instruction, and the processor is coupled to the memory and is used to execute at least one instruction to execute some or all steps in the method of the present disclosure, for example, Figure 1 Some or all of the steps in the method 100 disclosed in, or Fig. 9 Some or all of the steps in method 900 disclosed in.

[0255] Fig.13 13 is a schematic block diagram of a computer device 1300 according to some embodiments of the present disclosure. Fig.13 The computer device 1300 may include a central processing unit (CPU) 1301, a system memory 1304 including a random access memory (RAM) 1302 and a read-only memory (ROM) 1303, and a system bus 1305 connecting the various components. The computer device 1300 may also include an input / output system 1306, and a large-capacity storage device 1307 for storing an operating system 1313, application programs 1314, and other program modules 1315. The input / output system includes an input / output controller 1306 mainly composed of a display 1308 and an input device 1309.

[0256] The mass storage device 1307 is connected to the central processing unit 1301 through a mass storage controller (not shown) connected to the system bus 1305. The mass storage device 1307 or computer readable medium provides non-volatile storage for the computer device. The mass storage device 1307 may include a computer readable medium (not shown) such as a hard disk or a Compact Disc Read-Only Memory (CD-ROM) drive.

[0257] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, flash memory or other solid-state storage technologies, CD-ROM, or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory and mass storage devices may be collectively referred to as memory.

[0258] The computer device 1300 may be connected to a network 1312 via a network interface unit 1311 connected to the system bus 1305 .

[0259] The system memory 1304 or the mass storage device 1307 is also used to store one or more instructions. The CPU 1301 implements all or part of the steps of the method in some embodiments of the present disclosure by executing the one or more instructions, for example, Figure 4Some or all of the steps in method 400 disclosed in.

[0260] In some embodiments of the present disclosure, the present disclosure further provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor to enable a computer to execute some or all steps of the method in some embodiments of the present disclosure, such as Figure 4 Examples of computer-readable storage media include storage of computer programs (instructions), such as read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device.

[0261] Fig.14 A schematic diagram of a surgical robot system 1400 according to some embodiments of the present disclosure is shown. Fig.14 The surgical robot system 1400 may include a surgical instrument 1410 and a processor 1430. The surgical instrument 1410 includes an arm 1411 and a surgical actuator 1415 disposed at the distal end of the arm 1411. The processor 1430 is used to execute some or all of the steps in the method of some embodiments of the present disclosure, for example, Figure 1 Some or all of the steps in the method 100 disclosed in, or Fig. 9 Some or all of the steps in method 900 disclosed in.

[0262] Note that the above are only exemplary embodiments of the present disclosure and the technical principles used. It should be understood by those skilled in the art that the present disclosure is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present disclosure. Therefore, although the present disclosure is described in more detail through the above embodiments, the present disclosure is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present disclosure, and the scope of the present disclosure is determined by the scope of the appended claims.

Claims

1. A method of determining force, It is characterized in that include: Obtaining the current actual position of the target part of the arm; Obtaining the current actual driving amount of the arm; Determining a first driving amount residual of the arm in a free motion state based on the current actual driving amount and the driving amount residual calculation model; Determining a current ideal position of the target portion of the arm body based on the current actual driving amount and the first driving amount residual; as well as Based on the current actual position and the current ideal position, the force on the target part is determined.

2. The method according to claim 1, It is characterized in that Also includes: Determining an ideal driving amount corresponding to the arm body in a current free motion state based on the current actual driving amount and the first driving amount residual; as well as Based on the ideal driving amount corresponding to the current free motion state of the arm, the current ideal position of the target part of the arm is determined.

3. The method according to claim 2, It is characterized in that include: Based on the ideal driving amount corresponding to the current free motion state of the arm and the kinematic model of the arm, the current ideal position of the target part of the arm is determined.

4. The method according to claim 1, It is characterized in that Also includes: Based on the force on the target portion, a response operation is performed.

5. The method according to claim 4, It is characterized in that The response operation includes: feeding back the force on the target part and / or indicating the force information on the target part.

6. The method according to claim 1, It is characterized in that Also includes: Determining an actual position deformation amount of the target portion based on the current actual position and the current ideal position; as well as In response to the actual position deformation amount of the target portion exceeding a position deformation threshold, a force on the target portion is determined based on the actual position deformation amount.

7. The method according to claim 1, It is characterized in that Also includes: Determining the motion state of the arm, wherein the motion state includes a free motion state and a constrained state; as well as In response to the arm being in the constrained state, the force of the target part is determined based on the current actual position and the current ideal position.

8. The method according to claim 7, It is characterized in that Also includes: Determining a current theoretical drive amount of the arm; Determining a second driving amount residual of the arm body based on the current actual driving amount and the current theoretical driving amount; as well as The motion state of the arm is determined based on the first driving amount residual and the second driving amount residual.

9. The method according to claim 8, It is characterized in that determining that the arm is in the constrained state based on a difference between the first driving amount residual and the second driving amount residual being higher than a threshold; Based on the fact that the difference between the first driving amount residual and the second driving amount residual is not higher than a threshold, it is determined that the arm is in the free motion state.

10. The method according to claim 1, It is characterized in that Also includes: obtaining a current stiffness of the target portion; as well as The force of the target part is determined based on the current actual position, the current ideal position and the current stiffness.

11. The method according to claim 10, It is characterized in that Also includes: Determine the actual position deformation amount of the target part based on the current actual position and the current ideal position; Obtaining the current stiffness of the target part corresponding to the direction of the actual position deformation; as well as Based on the actual position deformation and the current stiffness, the force of the target part is determined.

12. The method according to any one of claims 1 to 11, It is characterized in that The arm body includes: at least one structural section, the structural section includes a fixed plate, multiple structural bones and at least one spacer plate, the multiple structural bones pass through the at least one spacer plate and the ends are fixedly connected to the fixed plate; the target part includes the end of the arm body; the current actual position includes the current actual position of the end, and the current ideal position includes the current ideal position of the end; the current actual drive amount includes the current actual drive amount of the multiple structural bones; the current theoretical drive amount includes the drive amount of the structural bones of the arm body in theory based on the current shape of the arm body.

13. The method according to claim 12, It is characterized in that The ideal driving amount corresponding to the current free motion state of the arm body includes the ideal joint driving amount corresponding to the current free motion state of the arm body, and the method further includes: Determining the ideal structural bone driving amounts of the plurality of structural bones corresponding to the arm body in a current free motion state based on the current actual driving amount and the first driving amount residual; and Based on the ideal structural bone drive amount, the overall feed length of the arm and the overall rotation angle of the arm, the ideal joint drive amount corresponding to the current free motion state of the arm is determined.

14. The method according to claim 12, It is characterized in that The method further comprises: Obtaining an average end stiffness of an end of the arm body; Determining a terminal virtual force of the terminal of the arm body based on the current actual position of the terminal, the current ideal position of the terminal and the average stiffness of the terminal; and Based on the current actual driving amount of the arm, the end virtual force and the mechanical model of the arm, the end virtual position deformation of the end of the arm is determined, wherein the mechanical model is determined based on the distribution of the multiple structural bones of the arm on the cross-section of the arm and the physical properties of the multiple structural bones.

15. The method according to claim 14, It is characterized in that Also includes: Determining the current stiffness of the end of the arm body based on the end virtual force and the end virtual position deformation; as well as The force on the end of the arm is determined based on the current actual position of the end, the current ideal position of the end and the current stiffness of the end.

16. The method according to claim 15, It is characterized in that The mechanical model includes a constitutive relationship and a mechanical equilibrium relationship related to the multiple structural bones.

17. The method according to claim 16, It is characterized in that The constitutive relationship includes an internal force constitutive relationship and an internal moment constitutive relationship. The internal force constitutive relationship is based on the shear-tension stiffness matrix of the multiple structural bones, and the internal moment constitutive relationship is based on the bending-torsion stiffness matrix of the multiple structural bones.

18. The method according to claim 16, It is characterized in that The mechanical balance relationship includes the force balance relationship and the moment balance relationship of the arm body. The force balance relationship includes the force of the multiple structural bones along the axial direction, and the moment balance relationship includes the moment of the multiple structural bones along the axial direction.

19. A surgical robot system, It is characterized in that include: A surgical instrument, comprising an arm body and a surgical actuator arranged at a distal end of the arm body; as well as A processor, configured to execute the method according to any one of claims 1 to 18.

20. A computer device, It is characterized in that The computer device comprises: A memory for storing at least one instruction; and A processor is coupled to the memory and configured to execute the at least one instruction to perform the method according to any one of claims 1 to 18.

21. A computer-readable storage medium for storing at least one instruction, It is characterized in that When the at least one instruction is executed by a computer, the robot system implements the method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Medical robot arm device, medical robot arm control system, medical robot arm control method, and program

    CN105555222A

  • Universal control method for mobile operation robot on basis of full-state impedance controller

    CN112497208A

  • Method and device for sensing tail end force of rope-driven flexible mechanical arm without external sensor

    CN112917469A

  • Reducing energy buildup in servo-controlled mechanisms

    CN113286682A

  • Mechanical arm tactile external force estimation method based on mechanism data hybrid model

    CN114367990A

Cited By

  • Control method for arm body and surgical robot system

    CN118662228A

  • Control method for an arm body and surgical robot system

    CN118662228B