Movatterモバイル変換


[0]ホーム

URL:


CN115429432B - Readable storage medium, surgical robot system, and adjustment system - Google Patents

Readable storage medium, surgical robot system, and adjustment system

Info

Publication number
CN115429432B
CN115429432BCN202110614235.XACN202110614235ACN115429432BCN 115429432 BCN115429432 BCN 115429432BCN 202110614235 ACN202110614235 ACN 202110614235ACN 115429432 BCN115429432 BCN 115429432B
Authority
CN
China
Prior art keywords
target
supporting device
coordinate system
robotic arm
mechanical arm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110614235.XA
Other languages
Chinese (zh)
Other versions
CN115429432A (en
Inventor
王家寅
李自汉
王超
蒋友坤
何超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Microport Medbot Group Co Ltd
Original Assignee
Shanghai Microport Medbot Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Microport Medbot Group Co LtdfiledCriticalShanghai Microport Medbot Group Co Ltd
Priority to CN202110614235.XApriorityCriticalpatent/CN115429432B/en
Publication of CN115429432ApublicationCriticalpatent/CN115429432A/en
Application grantedgrantedCritical
Publication of CN115429432BpublicationCriticalpatent/CN115429432B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了一种可读存储介质、手术机器人系统和调整系统,所述可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时,实现如下步骤:接收用户的调整指令;获取机械臂的目标位姿或支撑装置的目标位姿;根据所述机械臂的目标位姿,控制所述机械臂进行调整运动并控制所述支撑装置跟随所述机械臂进行相应运动;或根据所述支撑装置的目标位姿,控制所述支撑装置进行调整运动并控制所述机械臂跟随所述支撑装置进行相应运动。本发明能够在不撤出器械的情况下,即可实现患者体位与机械臂的位姿的调整,从而能够更高效、安全地完成手术,降低了对术前打孔位置以及设备摆位的要求。

The present invention provides a readable storage medium, a surgical robot system, and an adjustment system. The readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented: receiving an adjustment instruction from a user; obtaining a target position of a robotic arm or a target position of a support device; controlling the robotic arm to perform an adjustment movement and controlling the support device to follow the robotic arm to perform a corresponding movement according to the target position of the robotic arm; or controlling the support device to perform an adjustment movement and controlling the robotic arm to follow the support device to perform a corresponding movement according to the target position of the support device. The present invention can adjust the patient's position and the position of the robotic arm without withdrawing the instrument, thereby completing the operation more efficiently and safely, and reducing the requirements for preoperative drilling positions and equipment placement.

Description

Readable storage medium, surgical robot system, and adjustment system
Technical Field
The invention relates to the technical field of robots, in particular to a readable storage medium, a surgical robot system and an adjusting system.
Background
Currently, various industries are in great trend of electronics and intellectualization, especially in operating rooms, a large number of semi-automatic and fully-automatic electromechanical devices are gradually applied to various surgical scenes, for example, traditional hand-held surgical instruments are gradually replaced by surgical robots.
The surgical robot has the design concept that a micro-wound mode is adopted, complex surgical operation is accurately implemented, the limitation of human eyes is broken through, and an internal organ is more clearly presented to an operator by adopting a three-dimensional imaging technology. In the area where the original hand cannot extend in, the robot can complete 360-degree rotation, movement, swing and clamping, and avoid shaking, is favored by vast doctors and patients, and is widely applied to various clinical operations as a high-end medical instrument. However, in the operation process, when the position of the perforation before the operation is not ideal enough, the adjacent mechanical arms are easy to collide, so that the operation process is greatly influenced, or the focus position is blocked by other tissues of the patient in the operation process due to the influence of the position of the patient, the operation cannot be continuously completed, or a new focus is found in the operation, and the corresponding operation is required to be performed at the new focus position. Generally, a user needs to interrupt the surgical procedure and remove the surgical instrument, and the mechanical arm on the surgical robot must be separated from the sleeve through the punching position of the patient body, so that the patient is completely separated from the surgical robot, and then the patient position is adjusted, and the surgical operation can be continued after the preoperative preparation process of the surgical robot is continued. The process is time-consuming, the operation process is very tedious, and the requirements on the proficiency of medical staff are very high.
Disclosure of Invention
The invention aims to provide a readable storage medium, a surgical robot system and an adjusting system, which can realize the purpose of automatically adjusting the position of a patient and the pose of a mechanical arm under the condition that an instrument is not withdrawn.
To achieve the above object, the present invention provides a readable storage medium for use in a surgical robot system, the readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
receiving an adjustment instruction of a user;
acquiring a target pose of the mechanical arm or a target pose of the supporting device;
According to the target pose of the mechanical arm, controlling the mechanical arm to adjust and control the supporting device to move correspondingly along with the mechanical arm, or
And controlling the supporting device to carry out adjustment movement and controlling the mechanical arm to carry out corresponding movement along with the supporting device according to the target pose of the supporting device.
Optionally, the acquiring the target pose of the mechanical arm or the target pose of the supporting device includes:
acquiring the target pose of the mechanical arm or the target pose of the supporting device according to the corresponding relation between the pre-stored target pose and the operation type, or
And acquiring the target pose of the mechanical arm or the target pose of the supporting device according to a preset target function.
Optionally, the obtaining the target pose of the mechanical arm or the target pose of the supporting device according to the preset objective function includes:
Taking one mechanical arm as a target mechanical arm;
Acquiring the current position of a stationary point of the target mechanical arm;
Creating a safety space according to the current position of the fixed point of the target mechanical arm;
Traversing each point of the safety space, and solving the function value of a preset objective function at different positions;
taking the position of which the function value meets the preset condition as the target position of the motionless point of the target mechanical arm;
And acquiring the target pose of the mechanical arm or the target pose of the supporting device according to the target position of the fixed point of the target mechanical arm.
Optionally, the preset objective function is:
w(q)=α·w1(q)+β·w2(q)
Wherein alpha is the weight of w1 (q), beta is the weight of w2 (q), alpha+beta=1, N is the number of joints of the target mechanical arm, qi is the position of the ith joint of the target mechanical arm when traversing the safety space,Qimax is the average position of the ith joint of the target mechanical arm, qimin is the maximum position of the ith joint of the target mechanical arm, qimin is the minimum position of the ith joint of the target mechanical arm, n is the number of mechanical arms of the robot, hi is the distance between two adjacent mechanical arms when traversing the safety space,Is the average value of the spacing between all adjacent mechanical arms;
the step of taking the position of the function value meeting the preset condition as the target position of the fixed point of the target mechanical arm includes:
and taking the position when the function value is the maximum as the target position of the fixed point of the target mechanical arm.
Optionally, according to the target pose of the mechanical arm, controlling the mechanical arm to perform adjustment movement and controlling the supporting device to perform corresponding movement along with the mechanical arm, including:
acquiring the current pose of the mechanical arm;
Planning a motion track of the mechanical arm according to the target pose and the current pose of the mechanical arm;
According to the planned motion trail of the mechanical arm, controlling the mechanical arm to adjust motion according to the motion trail, and controlling the supporting device to correspondingly move along with the motion trail of the mechanical arm;
according to the target pose of the supporting device, controlling the supporting device to perform adjustment movement and controlling the mechanical arm to perform corresponding movement along with the supporting device, including:
acquiring the current pose of the supporting device;
Planning a motion track of the supporting device according to the target pose and the current pose of the supporting device;
And controlling the supporting device to adjust according to the planned movement track of the supporting device, and controlling the mechanical arm to move correspondingly along with the movement track of the supporting device.
Optionally, the planning the motion track of the mechanical arm according to the target pose and the current pose of the mechanical arm includes:
according to the target pose and the current pose of the mechanical arm, an interpolation algorithm is adopted to obtain the motion trail of the mechanical arm;
Planning a motion trail of the supporting device according to a target pose and a current pose of the supporting device, including:
And according to the target pose and the current pose of the supporting device, acquiring the motion trail of the supporting device by adopting an interpolation algorithm.
Optionally, the planning the motion track of the mechanical arm according to the target pose and the current pose of the mechanical arm includes:
Planning the motion trail of each joint of the mechanical arm according to the target position and the current position of each joint of the mechanical arm;
Planning a motion trail of the supporting device according to a target pose and a current pose of the supporting device, including:
and planning the motion trail of each joint of the supporting device according to the target position and the current position of each joint of the supporting device.
Optionally, the controlling the supporting device to follow the mechanical arm to perform corresponding movement includes:
Acquiring real-time position information of a stationary point of the mechanical arm under a robot coordinate system;
Acquiring a target mapping relation between a support device coordinate system and a world coordinate system in real time according to real-time position information of the motionless point under the robot coordinate system, the mapping relation between the motionless point and the support device coordinate system and the mapping relation between the robot coordinate system and the world coordinate system;
According to a target mapping relation between the support device coordinate system and the world coordinate system, which is obtained in real time, controlling the support device to move correspondingly along with the mechanical arm;
the control of the mechanical arm to follow the supporting device to perform corresponding movement comprises the following steps:
acquiring a real-time mapping relation between a supporting device coordinate system and a world coordinate system;
acquiring target position information of the stationary point of the mechanical arm under the robot coordinate system in real time according to a real-time mapping relation between the support device coordinate system and the world coordinate system, a mapping relation between the stationary point of the mechanical arm and the support device coordinate system, and a mapping relation between the robot coordinate system and the world coordinate system;
And controlling the mechanical arm to follow the supporting device to perform corresponding movement according to the real-time acquired target position information of the fixed point of the mechanical arm under the robot coordinate system.
Optionally, when the computer program is executed by a processor, the following steps are implemented:
and judging whether the current state of the surgical robot system meets the adjustment requirement.
Optionally, when the computer program is executed by a processor, the following steps are implemented:
And monitoring the real-time adjustment movement process of the mechanical arm and the supporting device to judge whether an abnormal condition occurs.
Optionally, when the computer program is executed by a processor, the following steps are implemented:
And displaying the real-time adjustment movement process of the mechanical arm and the supporting device.
To achieve the above object, the present invention also provides a surgical robot system comprising a robot comprising at least one mechanical arm and a controller in communication with the robot, the controller comprising a processor and a readable storage medium as described above.
Optionally, the surgical robot system includes a display device communicatively connected to the controller, where the display device is configured to display a real-time adjustment motion process of the mechanical arm and the support device.
In order to achieve the above object, the present invention further provides an adjustment system, which includes the above-mentioned robot system and a positioning device, where the positioning device is configured to obtain a mapping relationship between a robot coordinate system and a world coordinate system and a mapping relationship between a support device coordinate system and the world coordinate system.
Optionally, the adjustment system includes a support device in communication with the controller, the controller configured to control the support device to perform the adjustment movement.
Compared with the prior art, the readable storage medium, the surgical robot system and the adjusting system have the advantages that the target pose of the mechanical arm of the robot is firstly obtained, then the mechanical arm is adjusted to move so as to adjust the pose of the mechanical arm to the target pose, and in the adjusting process of the mechanical arm, the supporting device is controlled to move correspondingly along with the mechanical arm, or the target pose of the supporting device is firstly obtained, then the supporting device is adjusted to move so as to adjust the pose of the supporting device to the target pose, and in the adjusting process of the supporting device, the mechanical arm of the robot is controlled to move correspondingly along with the supporting device. Therefore, the invention can realize the adjustment of the body position (namely the position of the supporting device) of the patient and the position of the mechanical arm under the condition of not withdrawing the instrument, thereby completing the operation more efficiently and safely, reducing the requirements on the position of punching before operation and the positioning of equipment, effectively reducing the preparation time before operation and effectively avoiding the collision probability of the mechanical arm.
Drawings
FIG. 1 is a schematic diagram of steps implemented when a computer program stored on a readable storage medium in an embodiment of the invention is executed by a processor;
FIG. 2 is a schematic flow chart of acquiring a target pose according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a method for resolving a target pose according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of the mechanical arm following the supporting device for adjusting movement according to an embodiment of the invention;
FIG. 5 is a schematic flow chart of the supporting device following the mechanical arm for adjusting movement according to an embodiment of the invention;
FIG. 6 is a schematic flow chart of interpolating and planning a motion trajectory using a trapezoidal velocity curve according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a trapezoidal velocity curve for planning a motion trajectory according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a triangle speed profile planning motion profile in an embodiment of the present invention;
FIG. 9 is a velocity graph of a polynomial interpolation program motion trajectory in accordance with an embodiment of the present invention;
FIG. 10 is a graph of acceleration of a motion trajectory for polynomial interpolation planning in accordance with an embodiment of the present invention;
FIG. 11 is a general flow chart of the automatic adjustment of the mechanical arm and the supporting device according to an embodiment of the invention;
FIG. 12 is a schematic diagram of a monitoring flow of an adjustment state according to an embodiment of the invention;
FIG. 13 is a schematic diagram of a frame structure of an adjustment system according to an embodiment of the present invention;
FIG. 14 is a block diagram of a processor according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of a positioning device according to an embodiment of the present invention;
Fig. 16 is a schematic view of a display device according to an embodiment of the invention.
Wherein, the reference numerals are as follows:
The device comprises a supporting device 100, a supporting device base 110, a supporting body 120, a robot 200, a robot base 210, a mechanical arm 220, an instrument 230, a controller 300, a target pose acquisition module 310, a control module 320, a memory unit 311, a resolving unit 312, a track planning unit 321, an adjusting unit 322, a state judging module 330, a monitoring module 340, a positioning device 400, a first marker 130, a second marker 240, a display device 500 and a doctor control end 600.
Detailed Description
The readable storage medium, the surgical robotic system and the adjustment system according to the present invention are described in further detail below with reference to fig. 1 to 16 and the detailed description. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the drawings are in a very simplified form and are all to a non-precise scale, merely for the purpose of facilitating and clearly aiding in the description of embodiments of the invention. For a better understanding of the invention with objects, features and advantages, refer to the drawings. It should be understood that the structures, proportions, sizes, etc. shown in the drawings are shown only in connection with the present disclosure for the understanding and reading of the present disclosure, and are not intended to limit the scope of the invention, which is defined by the appended claims, and any structural modifications, proportional changes, or dimensional adjustments, which may be made by the present disclosure, should fall within the scope of the present disclosure under the same or similar circumstances as the effects and objectives attained by the present invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The invention mainly aims to provide a readable storage medium, a surgical robot system and an adjusting system, which can realize the purpose of automatically adjusting the position of a patient and the pose of a mechanical arm under the condition that an instrument is not withdrawn. The robot coordinate system (X2, Y2, Z2) herein refers to a coordinate system created with any point on the robot base as an origin, the support device coordinate system (X1, Y1, Z1) refers to a coordinate system created with any point on the support body of the support device as an origin, the pose of the robot arm refers to a pose of the robot arm under the robot coordinate system (X2, Y2, Z2), the pose of the support device refers to a pose of the support device under the world coordinate system (X0, Y0, Z0), and the mapping relationship between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0) is unchanged during the automatic adjustment, and the mapping relationship between the support device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) changes with the change of the pose of the support device.
In order to achieve the above object, the present invention provides a readable storage medium applied to a surgical robot system including a robot including at least one mechanical arm, the readable storage medium storing a computer program. Referring to fig. 1, a schematic diagram of steps implemented when a computer program stored on a readable storage medium according to an embodiment of the present invention is executed by a processor is shown. As shown in fig. 1, the computer program, when executed by a processor, performs the steps of:
s1, receiving an adjustment instruction of a user;
S2, acquiring a target pose of the mechanical arm or a target pose of the supporting device;
And S3, controlling the mechanical arm to move and controlling the supporting device to move correspondingly along with the mechanical arm according to the target pose of the mechanical arm, or controlling the supporting device to adjust and controlling the mechanical arm to move correspondingly along with the supporting device according to the target pose of the supporting device.
The invention can adjust the pose of the mechanical arm of the robot to the target pose by firstly acquiring the target pose of the mechanical arm of the robot and then adjusting the mechanical arm to the target pose, and control the supporting device to move correspondingly along with the mechanical arm in the adjusting process of the mechanical arm, or can adjust the pose of the supporting device to the target pose by firstly acquiring the target pose of the supporting device and then adjusting the supporting device to move correspondingly along with the supporting device in the adjusting process of the supporting device. Therefore, the invention can realize the adjustment of the body position (namely the position of the supporting device) of the patient and the position of the mechanical arm under the condition of not withdrawing the instrument, thereby completing the operation more efficiently and safely, reducing the requirements on the position of punching before operation and the positioning of equipment, effectively reducing the preparation time before operation and effectively avoiding the collision probability of the mechanical arm.
Further, the acquiring the target pose of the mechanical arm or the target pose of the supporting device includes:
Acquiring the target pose of the mechanical arm or the target pose of the supporting device according to the corresponding relation between the pre-stored target pose and the operation type, or
And acquiring the target pose of the mechanical arm or the target pose of the supporting device according to a preset target function.
Referring to fig. 2, a schematic flow chart of acquiring a target pose according to an embodiment of the present application is shown. As shown in fig. 2, a user (for example, a medical staff) may select a corresponding operation type through an input unit (for example, a physical key or a virtual key) to enter a recovery mode, and at this time, may select a target pose of the mechanical arm or a target pose of the supporting device according to a pre-stored correspondence between a target pose and the operation type. The user (for example, medical staff) can also select to enter the setting mode through the physical key or the virtual key, and at this time, the target pose of the mechanical arm or the target pose of the supporting device can be obtained according to a preset objective function. The target pose of the mechanical arm in the present application refers to a pose of the mechanical arm (i.e., a terminal position and a pose of the mechanical arm) to be adjusted, and the target pose of the supporting device refers to a pose of the supporting device (i.e., a three-dimensional spatial position of the supporting device and a rotation angle around each direction) to be adjusted.
Specifically, the target pose of the mechanical arm or the target pose of the supporting device can be obtained according to a preset target function through the following steps:
Taking one mechanical arm as a target mechanical arm;
Acquiring the current position of a stationary point of the target mechanical arm;
Creating a safety space according to the current position of the fixed point of the target mechanical arm;
Traversing each point of the safety space, and solving the function value of a preset objective function at different positions;
taking the position of which the function value meets the preset condition as the target position of the motionless point of the target mechanical arm;
And acquiring the target pose of the mechanical arm or the target pose of the supporting device according to the target position of the fixed point of the target mechanical arm.
Referring to fig. 3, a schematic flow chart of resolving a pose of an acquisition target according to an embodiment of the invention is shown. As shown in fig. 3, in the actual operation process, any one mechanical arm may be selected as a target mechanical arm, for example, a mechanical arm with an endoscope is selected as a target mechanical arm, by acquiring the current position (coordinates under a robot coordinate system (X2, Y2, Z2)) of an motionless point of the target mechanical arm, creating a safety space (ensuring that the mechanical arm does not damage organ tissues of a patient when moving in the safety space) according to the current position of the motionless point of the target mechanical arm, where the safety space may be a three-dimensional space with smooth boundaries, such as a spherical space, an ellipsoidal space, a conical space, and the like, specifically, taking the current position of the motionless point as a spherical center and a preset radius (for example, 2 cm) as a radius, creating a safety space, traversing each point (including each point on the boundary of the safety space and each point in the safety space) of a fixed step length, solving a function value of a preset objective function in different positions, and taking a position satisfying a preset condition as a position of the motionless point of the target mechanical arm (coordinates of the motionless point, namely, the target robot 2) under the target coordinate system (Z2). And (3) obtaining the target position of each joint of the target mechanical arm by carrying out inverse solution on the target position of the fixed point, for example, adopting an inverse kinematics method. Because the fixed points of the other mechanical arms and the fixed points of the target mechanical arm have a preset mapping relation, according to the mapping relation between the fixed points of the other mechanical arms and the fixed points of the target mechanical arm and the target positions of the fixed points of the target mechanical arm, the target positions of the fixed points of the other mechanical arms, namely the target positions of the other mechanical arms, can be obtained, and the target positions of the joints of the other mechanical arms can be obtained by reversely solving the target positions of the fixed points of the other mechanical arms.
Similarly, since a predetermined mapping relationship is provided between the stationary point of the target mechanical arm and the coordinate system (X1, Y1, Z1) of the supporting device, and a predetermined mapping relationship is provided between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0), the target position of each joint of the supporting device can be obtained by inversely solving the target position of the supporting device according to the target position of the stationary point of the target mechanical arm, the mapping relationship between the stationary point of the target mechanical arm and the coordinate system (X1, Y1, Z1) of the supporting device, and the mapping relationship between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0). Wherein, the mapping relation between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0) can be measured by the positioning device.
Further, the preset objective function is:
w(q)=α·w1(q)+β·w2(q)
Wherein alpha is the weight of w1 (q), beta is the weight of w2 (q), alpha+beta=1, N is the number of joints of the target mechanical arm, qi is the position of the ith joint of the target mechanical arm when traversing the safety space,Qimax is the average position of the ith joint of the target mechanical arm, qimin is the maximum position of the ith joint of the target mechanical arm, qimin is the minimum position of the ith joint of the target mechanical arm, n is the number of mechanical arms of the robot, hi is the distance between two adjacent mechanical arms when traversing the safety space,Is the average of the spacing between all adjacent robotic arms.
Correspondingly, the step of taking the position of the function value meeting the preset condition as the target position of the fixed point includes:
and taking the position when the objective function value is the maximum as the objective position of the fixed point.
Specifically, when traversing a certain point of the safety space, the positions of the joints of the target mechanical arm at the position and the corresponding positions of the fixed points of other mechanical arms at the position are obtained through an inverse kinematics algorithm, so that the function value of the target function w (q) at the position is obtained. Similarly, the function value of the objective function w (q) at the corresponding position can be obtained by the method when any other point of the safety space is traversed. And comparing the function values of the objective function w (q) at different positions, and taking the position when the function value is maximum as the target position of the stationary point of the target mechanical arm.
The specific values of α and β may be set according to the specific situation, for example, when α is 1 and β is 0, the objective function is:
For this case, when the function value of the objective function w (q) is maximum, qi approachesThat is, the positions of the joints of the mechanical arm 220 of the robot approach to the average positions thereof, so that the working space range of the mechanical arm is greatly increased, and the condition of optimal movement space of the mechanical arm can be satisfied.
When α is 0 and β is 1, the objective function is:
for this case, when the objective function value is maximum, hi approachesThe mechanical arms of the robot are distributed at equal intervals, so that collision among the mechanical arms in the operation process can be effectively avoided, and the condition that the mechanical arms are positioned optimally can be met.
When alpha is 0.5 and beta is 0.5, the optimization of the movement space of the mechanical arm and the optimization of the swing of the mechanical arm can be balanced, so that the effective movement space of the mechanical arm can be improved, and the collision probability of the mechanical arm in the operation process can be effectively reduced.
With continued reference to fig. 4, a schematic diagram of a flow of the mechanical arm following the supporting device to perform an adjustment motion is provided in an embodiment of the present invention, as shown in fig. 4, the flow of controlling the mechanical arm to perform an adjustment motion and controlling the supporting device to follow the mechanical arm to perform a corresponding motion according to a target pose of the mechanical arm includes:
acquiring the current pose of the mechanical arm;
Planning a motion track of the mechanical arm according to the target pose and the current pose of the mechanical arm;
according to the planned movement track of the mechanical arm, controlling the mechanical arm to carry out adjustment movement according to the movement track, and controlling the supporting device (such as an operating table) to carry out corresponding movement along the movement track of the mechanical arm.
Please continue to refer to fig. 5, which schematically illustrates a flow chart of the supporting device according to an embodiment of the present invention following the mechanical arm for adjustment movement. As shown in fig. 5, according to the target pose of the supporting device, the controlling the supporting device to perform an adjustment motion and controlling the mechanical arm to perform a corresponding motion along with the supporting device includes:
acquiring the current pose of the supporting device;
Planning a motion track of the supporting device according to the target pose and the current pose of the supporting device;
And controlling the supporting device to adjust according to the planned movement track of the supporting device, and controlling the mechanical arm to move correspondingly along with the movement track of the supporting device.
Further, the planning the motion track of the mechanical arm according to the target pose and the current pose of the mechanical arm includes:
according to the target pose and the current pose of the mechanical arm, an interpolation algorithm is adopted to obtain the motion trail of the mechanical arm;
Planning a motion trail of the supporting device according to a target pose and a current pose of the supporting device, including:
And according to the target pose and the current pose of the supporting device, acquiring the motion trail of the supporting device by adopting an interpolation algorithm.
Fig. 6 to 8 are schematic diagrams of a process of planning a motion track of a mechanical arm or a supporting device by interpolation of a trapezoidal speed curve according to an embodiment of the present invention, fig. 7 is a schematic diagram of a trapezoidal speed curve according to an embodiment of the present invention, and fig. 8 is a schematic diagram of a triangular speed curve according to an embodiment of the present invention. As shown in fig. 6 to 8, the speed rise time ts in the trapezoidal speed curve can be obtained from the set maximum speed Vmax and the constant acceleration a, which can be set according to the specific case. When the planned distance s (the distance between the target position and the current position) is smaller than Vmax*ts, a triangular speed curve is used to generate a motion track, where the speed track is shown in fig. 8, and the position track may be obtained by speed integration, where:
v=at,t≤0
v=a(t-2t0),t0≤t≤2t0
when the planned distance s is greater than or equal to Vmax*ts, a trapezoidal speed curve is used to generate a motion track, where the speed track is shown in fig. 7, and the position track may be obtained by speed integration, where:
v=at,t≤ts
v=Vmax,ts≤t≤tf-ts
v=-a(t-tf),tf-ts≤t≤tf
the principle of planning the motion trail by polynomial interpolation is described below by taking the polynomial interpolation as an example.
The positional expression at the time t is set as:
q(t)=a5t5+a4t4+a3t3+a2t2+a1t+a0
setting the initial time position as q0, the end time position as qf, and the initial time speed and the end time speed as 0, wherein the conditions are constraint conditions, namely, the constraint conditions are as follows:
q(0)=qs
q(tf)=qf
Using the 6 constraints described above, a position trajectory can be obtained in which:
a0=qs
a1=a2=0
The velocity trajectory can be obtained by deriving the position trajectory, and please refer to fig. 9, which schematically shows a velocity graph of a five-term interpolation planning trajectory according to an embodiment of the present invention. The acceleration track can be obtained by deriving the velocity track, please refer to fig. 10, which schematically shows an acceleration graph of the five-term interpolation planning track according to an embodiment of the present invention.
In an exemplary embodiment, the planning the motion trajectory of the mechanical arm according to the target pose and the current pose of the mechanical arm includes:
Planning the motion trail of each joint of the mechanical arm according to the target position and the current position of each joint of the mechanical arm;
Planning a motion trail of the supporting device according to a target pose and a current pose of the supporting device, including:
and planning the motion trail of each joint of the supporting device according to the target position and the current position of each joint of the supporting device.
Further, the controlling the supporting device to follow the mechanical arm to perform corresponding movement includes:
Acquiring real-time position information of a stationary point of the mechanical arm under a robot coordinate system;
Acquiring a target mapping relation between a support device coordinate system and a world coordinate system in real time according to real-time position information of the motionless point under the robot coordinate system, the mapping relation between the motionless point and the support device coordinate system and the mapping relation between the robot coordinate system and the world coordinate system;
and controlling the supporting device to follow the mechanical arm to perform corresponding movement according to the target mapping relation between the supporting device coordinate system and the world coordinate system, which are acquired in real time.
Specifically, in the process that the supporting device follows the mechanical arm j to perform corresponding movement, the target mapping relation between the coordinate system (X1, Y1, Z1) of the supporting device and the world coordinate system (X0, Y0, Z0) is formedThe method can be obtained by the following formula:
Wherein, theThe mapping relation between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0) is2Pi the coordinates of the stationary point of the mechanical arm j in the robot coordinate system (X2, Y2, Z2), which continuously changes along with the adjustment movement of the mechanical arm j,1Pj the coordinates of the stationary point of the mechanical arm j in the support device coordinate system (X1, Y1, Z1), and (1Pj)+ the pseudo inverse of1Pj.
Because the position sensors are mounted on the joints of the mechanical arm j, in the adjustment movement process of the mechanical arm 220, the coordinates of the joints in the robot coordinate system (X2, Y2, Z2) can be obtained in real time, and the coordinates2Pj of the stationary point of the mechanical arm j in the robot coordinate system (X2, Y2, Z2) can be obtained in real time through a kinematic equation. Thus, according to the above formula, the target mapping relationship between the supporting device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) can be obtained in real timeAnd further can be based on a target mapping between the support device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) acquired in real timeAnd controlling the supporting device to follow the mechanical arm j to perform corresponding movement. Specifically, the target mapping relation between the acquired supporting device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) can be realizedAnd acquiring the target positions of all joints of the supporting device by adopting an inverse kinematics method, and further controlling the supporting device to follow the mechanical arm j to perform corresponding movement according to the real-time acquired target positions of all joints of the supporting device.
The control of the mechanical arm to follow the supporting device to perform corresponding movement comprises the following steps:
acquiring a real-time mapping relation between a supporting device coordinate system and a world coordinate system;
acquiring target position information of the stationary point of the mechanical arm under the robot coordinate system in real time according to a real-time mapping relation between the support device coordinate system and the world coordinate system, a mapping relation between the stationary point of the mechanical arm and the support device coordinate system, and a mapping relation between the robot coordinate system and the world coordinate system;
And controlling the mechanical arm to follow the supporting device to perform corresponding movement according to the real-time acquired target position information of the fixed point of the mechanical arm under the robot coordinate system.
Specifically, taking the mechanical arm j as an example, in the process that the mechanical arm j follows the supporting device to perform adjustment movement, the target coordinate2P′j of the fixed point of the mechanical arm j in the robot coordinate system (X2, Y2, Z2) can be obtained by the following formula:
Wherein, theIs the mapping relation between the coordinate system (X1, Y1, Z1) of the supporting device and the world coordinate system (X0, Y0, Z0), which is continuously changed along with the adjusting movement of the supporting device,Is the mapping relation between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0),1Pj is the coordinate of the stationary point of the mechanical arm j under the support device coordinate system (X1, Y1, Z1).
In the adjustment movement of the supporting device, the mapping relation between the coordinate system (X1, Y1, Z1) of the supporting device and the world coordinate system (X0, Y0, Z0) can be measured in real time by the positioning deviceTherefore, according to the above formula, the target coordinates2Pj 'of the stationary point of the mechanical arm j in the robot coordinate system (X2, Y2, Z2) can be obtained in real time, and then the mechanical arm j can be controlled to follow the supporting device 100 to perform the adjustment motion according to the target coordinates2Pj' of the stationary point in the robot coordinate system (X2, Y2, Z2) obtained in real time. Specifically, the target positions of the joints of the mechanical arm j may be obtained by using an inverse kinematics solution according to the target coordinates2Pj' of the stationary point in the robot coordinate system (X2, Y2, Z2), and then the mechanical arm j may be controlled to move correspondingly along with the supporting device 100 according to the target positions of the joints of the mechanical arm j obtained in real time. The movement process of the other mechanical arm 220 may refer to the adjustment process of the mechanical arm j, so that the description thereof will not be repeated here.
Fig. 11 is a schematic diagram showing a flow chart of automatic adjustment of the mechanical arm and the supporting device according to an embodiment of the invention. As shown in fig. 11, the computer program, when executed by a processor, further performs the steps of:
and judging whether the current state of the surgical robot system meets the adjustment requirement.
Specifically, as shown in fig. 11, after receiving an automatic adjustment instruction from a user, the current state of the surgical robot system is firstly determined whether the current state is suitable for performing the adjustment movement of the mechanical arm and the supporting device, if yes, then the automatic adjustment movement of the supporting device and the mechanical arm is performed, and if no, the automatic adjustment process is ended. Therefore, the invention can effectively ensure the operation safety in the automatic adjustment process by carrying out the automatic adjustment movement of the supporting device and the mechanical arm on the premise that the current state of the operation robot system meets the adjustment requirement. Specifically, it may be determined whether the current state of the surgical robot system meets the adjustment requirement by performing a number of safety checks including, but not limited to, checking whether each of the mechanical arms is in a position maintaining state (i.e., whether the mechanical arms are in a stationary state), whether the position of the instrument mounted on each of the mechanical arms has been locked, whether the position of the instrument mounted on each of the mechanical arms is appropriate, for example, when any of the mechanical arms is not in a position maintaining state, the position of the instrument mounted on each of the mechanical arms is not locked, the position of the instrument mounted on each of the mechanical arms is inappropriate, and the like, then it is determined that the current state of the surgical robot system does not meet the adjustment requirement. When each mechanical arm is in a position maintaining state, the position of the instrument mounted on each mechanical arm is locked, and the position of the instrument mounted on each mechanical arm is proper, the current state of the surgical robot system is judged to meet the adjustment requirement.
Further, as shown in fig. 11, when the computer program is executed by the processor, the following steps are also implemented:
And displaying the real-time adjustment movement process of the mechanical arm and the supporting device.
Therefore, the real-time adjustment movement process of the mechanical arm and the supporting device is displayed in the automatic adjustment process, so that a user can conveniently observe the adjustment movement process of the mechanical arm and the supporting device.
With continued reference to fig. 12, a schematic diagram of a monitoring flow of an adjustment state according to an embodiment of the invention is shown. As shown in fig. 12, the computer program, when executed by the processor, further performs the steps of:
And monitoring the real-time adjustment movement process of each mechanical arm and each supporting device so as to judge whether abnormal conditions occur.
Specifically, as shown in fig. 12, during the automatic adjustment process of the mechanical arms and the supporting device, the real-time adjustment motion process of each mechanical arm and the supporting device is monitored, and whether an abnormal condition exists in the adjustment process is judged, so that the automatic adjustment process can be immediately stopped when the abnormal condition occurs in the adjustment process, and the safety of the patient is protected. For example, if the patient is determined to be under excessive stress at the punching site, the patient is determined to be abnormal, and if the displacement of the robot arm stationary point in the support device coordinate system is large, the patient is also determined to be abnormal.
Further, as shown in fig. 12, when the computer program is executed by the processor, the following steps are also implemented:
Judging whether the mechanical arm and/or the supporting device move to a target pose;
if yes, the target pose is saved.
Therefore, in the automatic adjustment process of the mechanical arm and the supporting device, whether the mechanical arm and/or the supporting device moves to the target pose is judged, so that when the mechanical arm and/or the supporting device moves to the target pose, the target pose can be stored, and the automatic adjustment process is finished.
The present invention further provides an adjustment system, please refer to fig. 13, which schematically illustrates a frame structure of the adjustment system provided in an embodiment of the present invention, as shown in fig. 13, where the adjustment system includes a surgical robot system, the surgical robot system includes a robot 200, the robot 200 includes a robot base 210, and at least one mechanical arm 220 is mounted on the robot base 210.
With continued reference to fig. 13, the adjustment system further includes a positioning device 400, a support device 100, and a controller 300, where the robot 200, the positioning device 400, and the support device 100 are all communicatively connected to the controller 300. The controller 300 includes a processor and readable storage media as described above. The supporting device 100 has multiple degrees of freedom (the supporting device has multiple joints to realize motion with multiple degrees of freedom such as movement, pitching, swaying, etc.), and the specific structure of the supporting device can refer to a multi-degree-of-freedom sickbed in the prior art, which is not described herein. The supporting device 100 includes a supporting device base 110 and a supporting body 120 mounted on the supporting device base 110. The support device 100 is used to support the surgical object (e.g., a surgical object), that is, the surgical object may lie or sit on the support device 200 to perform a surgery, and the support device 200 may be a hospital bed or other components capable of supporting the surgical object for performing a surgical operation other than the hospital bed.
In some embodiments, the controller 300 may be provided in combination with any one or more devices in the surgical robotic system, such as at a physician control end 600 of the surgical robotic system, at the robot 100, at a display device 500 described below, etc., in some embodiments, the controller 300 may also be provided at the positioning device 400, in other embodiments, the controller 300 may be provided separately, and the controller 300 may be a specific hardware or software unit, or a combination of hardware and software unit, without limitation to the specific configuration of the controller 300.
With continued reference to fig. 14, a schematic block diagram of a processor in a controller according to an embodiment of the present invention is shown. As shown in fig. 14, the processor specifically includes a target pose acquisition module 310 and a control module 320. The target pose obtaining module 310 is configured to obtain a target pose of the mechanical arm 220 or a target pose of the supporting device 100, and the control module 320 is configured to control the mechanical arm 220 to perform an adjustment motion and control the supporting device 100 to perform a corresponding motion along with the mechanical arm 220 according to the target pose of the mechanical arm 220, or control the supporting device 100 to perform an adjustment motion and control the mechanical arm 220 to perform a corresponding motion along with the supporting device 100 according to the target pose of the supporting device 100.
As shown in fig. 14, the target pose obtaining module 310 further includes a memory unit 310 and a resolving unit 312, where the memory unit 310 is configured to obtain, according to a correspondence between a pre-stored target pose and a surgery type, the target pose of the mechanical arm 220 or the target pose of the supporting device 100, for example, the memory unit is configured to store a preset mechanical arm and a sickbed configuration, and store the preset configuration, so as to enable an automatic recovery in surgery to the preset configuration, and the preset configuration can avoid collision in surgery of the mechanical arm and/or has an optimal operation space, and the resolving unit 312 is configured to obtain, according to a preset target function, the target pose of the mechanical arm 220 or the target pose of the supporting device 100.
The memory unit 310 is preset with a plurality of different surgical configurations (i.e., target pose) of the mechanical arm 220 and the supporting device 100, such as a kidney-type surgical configuration, a prostate-type surgical configuration, etc., and the calculating unit 312 may calculate an optimal configuration of the mechanical arm 220 or the supporting device 100 according to a state of the surgical robot system and a specific requirement of a user (e.g., a medical staff) through an optimization algorithm. During actual operation, a user (e.g., a medical staff) may select a corresponding operation type to enter a recovery mode through a physical key or a virtual key, and the control module 320 may control the mechanical arm 220 or the supporting device 100 to automatically move to the configuration position according to the configuration of the mechanical arm 220 or the supporting device 100 acquired by the memory unit 310. The user (e.g., a medical staff) may also select to enter the setting mode through a physical key or a virtual key, at this time, the control module 320 may control the mechanical arm 220 or the supporting device 100 to automatically move to the optimal configuration according to the optimal configuration of the mechanical arm 220 or the supporting device 100 calculated by the calculating unit 312. After determining the optimal configuration of the robotic arm 220 or the support device 100, a user (e.g., a medical staff member) may save the information related to the optimal configuration through the memory unit 310, so that the user (e.g., the medical staff member) may directly control the robotic arm 220 or the support device 100 to return to the saved optimal configuration through the controller 300 during a subsequent operation.
It should be noted that, in other embodiments, the target pose acquisition module 310 may include only the memory unit 310, and in other embodiments, the target pose acquisition module 310 may include only the resolving unit 312, as will be appreciated by those skilled in the art.
As shown in fig. 14, the control module 320 includes a trajectory planning unit 321 and an adjusting unit 322. The track planning unit 321 is configured to plan a motion track of the mechanical arm 220 according to a target pose and a current pose of the mechanical arm 220, or plan a motion track of the supporting device 100 according to the target pose and the current pose of the supporting device 100, and the adjusting unit 322 is configured to control each mechanical arm 220 to perform an adjusting motion according to the motion track according to the planned motion track of the mechanical arm 220, and control the supporting device 100 to perform a corresponding motion along the motion track of the mechanical arm 220, or control the supporting device 100 to perform an adjusting motion according to the motion track of the supporting device 100 according to the planned motion track of the supporting device 100, and control the mechanical arm 220 to perform a corresponding motion along the motion track of the supporting device 100.
Further, the trajectory planning unit 321 is configured to plan a motion trajectory of each joint of the mechanical arm 220 according to the target position and the current position of each joint of the mechanical arm 220, or plan a motion trajectory of each joint of the supporting device 100 according to the target position and the current position of each joint of the supporting device 100.
Further, the trajectory planning unit 321 is configured to obtain a motion trajectory of the mechanical arm 220 (a motion trajectory of each joint of the mechanical arm 220) by using an interpolation algorithm according to a target pose and a current pose of the mechanical arm 220 (a target position and a current position of each joint of the mechanical arm 220), or obtain a motion trajectory of the supporting device 100 (a motion trajectory of each joint of the supporting device 100) by using an interpolation algorithm according to a target pose and a current pose of the supporting device 100 (a target position and a current position of each joint of the supporting device 100).
Referring to fig. 15, a schematic diagram of a measurement principle of a positioning device according to an embodiment of the invention is schematically shown. As shown in fig. 15, the positioning device 400 is a binocular camera, that is, in the present embodiment, the positioning device 400 obtains a mapping relationship between a robot coordinate system (X2, Y2, Z2) and a world coordinate system (X0, Y0, Z0) and a real-time mapping relationship between a supporting device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) based on a binocular vision measurement principle. The support body 120 of the support device 100 is provided with a plurality of first markers 130, further, in order to improve measurement accuracy, the support device base 110 may also be provided with a plurality of first markers 130, the robot base 210 is provided with a plurality of second markers 240, the images of the plurality of first markers 130 are acquired by the binocular camera, coordinates of the plurality of first markers 130 in the world coordinate system (X0, Y0, Z0) may be acquired, and then, according to a mapping relationship between the plurality of first markers 130 and the support device coordinate system (X1, Y1, Z1), a mapping relationship between the support device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) may be acquired. Similarly, the images of the plurality of second markers 240 are acquired by the binocular camera, so that coordinates of the plurality of second markers 240 in the world coordinate system (X0, Y0, Z0) can be acquired, and then, according to a mapping relationship between the plurality of second markers 240 and the robot coordinate system (X2, Y2, Z2), a mapping relationship between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0) can be acquired.
It should be noted that, in other embodiments, the positioning device 400 may also obtain a mapping relationship between the robot coordinate system (X2, Y2, Z2) and the world coordinate system (X0, Y0, Z0) and a real-time mapping relationship between the support device coordinate system (X1, Y1, Z1) and the world coordinate system (X0, Y0, Z0) based on a common position measurement method such as a monocular vision measurement method, an optical tracking measurement method, or an electromagnetic measurement method, which is not limited in the present invention.
Further, after the adjustment movement of the mechanical arm 220 and the supporting device 100 is completed, the system stores the adjusted pose of the mechanical arm 220 and the adjusted pose of the supporting device 100, and the whole automatic adjustment process is finished. By this, by storing the adjusted pose of the robot arm 220 and the adjusted pose of the supporting device 100, the robot arm 220 and the supporting device 100 can be directly restored to the stored pose in the subsequent operation.
As shown in fig. 14, the processor further includes a state determination module 330, where the state determination module 330 is configured to determine whether the current state of the surgical robot system is suitable for performing the adjustment movement of the robotic arm 220 and the support device 100. Specifically, when the user (for example, a medical staff) sends the automatic adjustment instruction to the controller 300 through a physical key on the surgical robot system or a virtual key on the interactive interface (i.e., after the controller 300 receives the user instruction), in order to ensure the safety in the automatic adjustment process, before entering the automatic adjustment process, the state determination module 330 performs a plurality of safety detections to determine whether the current state of the surgical robot system is suitable for performing the adjustment movements of the mechanical arm 220 and the supporting device 100, and if the determination result is yes, performs the automatic adjustment movements of the supporting device 100 and the mechanical arm 220. If the judgment result is negative, the automatic adjustment request of the user (such as medical staff) is forbidden, and the automatic adjustment flow is directly ended. To facilitate timely awareness by a user (e.g., healthcare personnel), the surgical robotic system may provide the user (e.g., healthcare personnel) with several pieces of explanatory information, or feedback in the form of audible and visual alarms, under the control of the controller 300.
As shown in fig. 14, the processor further includes a monitoring module 340, where the monitoring module 340 is configured to monitor the adjustment motion of each of the robotic arms 220 and the support device 100.
As shown in fig. 13, the adjustment system further includes a display device 500 communicatively connected to the controller 300, where the display device 500 is configured to display the real-time adjustment movement process of the robot arm 220 and the support device 100. Thus, the display device 500 can display the adjustment movement process of the manipulator 220 and the support device 100 in real time, wherein the display content is shown as a right box in fig. 16, and a user (for example, a medical staff) can observe an image photographed by an endoscope mounted on the manipulator 220 through the display device 500, and the display content is shown as a left box in fig. 16, so as to prevent the instrument 230 mounted on the manipulator 220 from damaging the tissue of a patient.
It should be noted that any combination of one or more computer readable media may be employed as the readable storage media of embodiments of the present invention. The readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable computer hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In summary, compared with the prior art, the readable storage medium, the surgical robot system and the adjusting system have the advantages that the target pose of the mechanical arm of the robot is firstly obtained, then the mechanical arm is adjusted to move so as to adjust the pose of the mechanical arm to the target pose, and in the adjusting process of the mechanical arm, the supporting device is controlled to move correspondingly along with the mechanical arm, or the target pose of the supporting device is firstly obtained, then the supporting device is adjusted to move so as to adjust the pose of the supporting device to the target pose, and in the adjusting process of the supporting device, the mechanical arm of the robot is controlled to move correspondingly along with the supporting device. Therefore, the invention can realize the adjustment of the body position (namely the position of the supporting device) of the patient and the position of the mechanical arm under the condition of not withdrawing the instrument, thereby completing the operation more efficiently and safely, reducing the requirements on the position of punching before operation and the positioning of equipment, effectively reducing the preparation time before operation and effectively avoiding the collision probability of the mechanical arm.
It should be noted that the apparatus and methods disclosed in the embodiments herein may be implemented in other ways. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments herein. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments herein may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The above description is only illustrative of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention, and any alterations and modifications made by those skilled in the art based on the above disclosure shall fall within the scope of the present invention. It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, the present invention is intended to include such modifications and alterations insofar as they come within the scope of the invention or the equivalents thereof.

Claims (13)

Translated fromChinese
1.一种可读存储介质,应用于手术机器人系统,其特征在于,所述可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时,实现如下步骤:1. A readable storage medium, applied to a surgical robot system, characterized in that the readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:接收用户的调整指令;Receive adjustment instructions from users;获取机械臂的目标位姿或支撑装置的目标位姿;Obtaining a target position of the robotic arm or a target position of the supporting device;根据所述机械臂的目标位姿,控制所述机械臂进行调整运动并控制所述支撑装置跟随所述机械臂进行相应运动;或According to the target posture of the robotic arm, controlling the robotic arm to perform adjustment movement and controlling the supporting device to follow the robotic arm to perform corresponding movement; or根据所述支撑装置的目标位姿,控制所述支撑装置进行调整运动并控制所述机械臂跟随所述支撑装置进行相应运动;According to the target posture of the support device, controlling the support device to perform adjustment movement and controlling the robotic arm to follow the support device to perform corresponding movement;所述获取所述机械臂的目标位姿或支撑装置的目标位姿,包括:The obtaining of the target posture of the robotic arm or the target posture of the supporting device includes:将其中一条机械臂作为目标机械臂;Use one of the robotic arms as the target robotic arm;获取所述目标机械臂的不动点的当前位置;Obtaining the current position of the fixed point of the target manipulator;根据所述目标机械臂的不动点的当前位置创建安全空间;Creating a safe space based on the current position of the fixed point of the target manipulator;遍历所述安全空间的每一点,求解不同位置下的预设目标函数的函数值;Traversing each point of the safety space and solving the function value of the preset objective function at different positions;将函数值满足预设条件的位置作为所述目标机械臂的不动点的目标位置,其中,所述预设条件包括机械臂运动空间最优、机械臂摆位最优以及机械臂运动空间的优化和机械臂摆位的优化达到均衡中的任意一者;The position where the function value satisfies a preset condition is used as the target position of the fixed point of the target manipulator, wherein the preset condition includes any one of the following: optimal manipulator motion space, optimal manipulator position, and a balance between optimization of the manipulator motion space and optimization of the manipulator position;根据所述目标机械臂的不动点的目标位置获取所述机械臂的目标位姿或支撑装置的目标位姿。The target posture of the manipulator arm or the target posture of the supporting device is obtained according to the target position of the fixed point of the target manipulator arm.2.根据权利要求1所述的可读存储介质,其特征在于,所述预设目标函数为:2. The readable storage medium according to claim 1, wherein the preset objective function is:w(q)=α·w1(q)+β·w2(q)w(q)=α·w1 (q)+β·w2 (q)其中,α为w1(q)的权重,β为w2(q)的权重,且α+β=1,N为所述目标机械臂的关节数,qi为遍历所述安全空间时,所述目标机械臂的第i个关节的位置,为所述目标机械臂的第i个关节的平均位置,qimax为所述目标机械臂的第i个关节的最大位置,qimin为所述目标机械臂的第i个关节的最小位置,n为所述机器人的机械臂数量,hi为遍历所述安全空间时,相邻两机械臂之间的间距,为所有相邻机械臂之间的间距的平均值;Wherein, α is the weight of w1 (q), β is the weight of w2 (q), and α+β=1, N is the number of joints of the target manipulator, qi is the position of the i-th joint of the target manipulator when traversing the safe space, is the average position of the i-th joint of the target manipulator,qimax is the maximum position of the i-th joint of the target manipulator,qimin is the minimum position of the i-th joint of the target manipulator, n is the number of manipulator arms of the robot,hi is the distance between two adjacent manipulator arms when traversing the safe space, is the average distance between all adjacent robotic arms;所述将函数值满足预设条件的位置作为所述目标机械臂的不动点的目标位置,包括:The step of taking the position where the function value satisfies a preset condition as the target position of the fixed point of the target manipulator comprises:将函数值最大时的位置作为所述目标机械臂的不动点的目标位置。The position at which the function value is maximum is used as the target position of the fixed point of the target manipulator.3.根据权利要求1所述的可读存储介质,其特征在于,所述根据所述机械臂的目标位姿,控制所述机械臂进行调整运动并控制所述支撑装置跟随所述机械臂进行相应运动,包括:3. The readable storage medium according to claim 1, wherein controlling the manipulator to perform adjustment movement and controlling the support device to follow the manipulator to perform corresponding movement according to the target posture of the manipulator comprises:获取所述机械臂的当前位姿;Obtaining the current position of the robotic arm;根据所述机械臂的目标位姿和当前位姿,规划所述机械臂的运动轨迹;Planning the motion trajectory of the robotic arm according to the target posture and current posture of the robotic arm;根据所规划的所述机械臂的运动轨迹,控制所述机械臂按照所述运动轨迹进行调整运动,并控制所述支撑装置跟随所述机械臂的运动轨迹进行相应运动;According to the planned motion trajectory of the robotic arm, controlling the robotic arm to adjust the movement according to the motion trajectory, and controlling the supporting device to move accordingly following the motion trajectory of the robotic arm;所述根据所述支撑装置的目标位姿,控制所述支撑装置进行调整运动并控制所述机械臂跟随所述支撑装置进行相应运动,包括:The controlling the supporting device to perform adjustment movement and controlling the robotic arm to follow the supporting device to perform corresponding movement according to the target posture of the supporting device includes:获取所述支撑装置的当前位姿;Obtaining the current posture of the supporting device;根据支撑装置的目标位姿和当前位姿,规划所述支撑装置的运动轨迹;Planning a motion trajectory of the support device according to the target posture and current posture of the support device;根据所规划的支撑装置的运动轨迹,控制所述支撑装置按照其运动轨迹进行调整运动,并控制所述机械臂跟随所述支撑装置的运动轨迹进行相应运动。According to the planned motion trajectory of the support device, the support device is controlled to adjust its movement according to its motion trajectory, and the robot arm is controlled to follow the motion trajectory of the support device to perform corresponding movement.4.根据权利要求3所述的可读存储介质,其特征在于,所述根据所述机械臂的目标位姿和当前位姿,规划所述机械臂的运动轨迹,包括:4. The readable storage medium according to claim 3, wherein planning the motion trajectory of the robotic arm according to the target posture and current posture of the robotic arm comprises:根据所述机械臂的目标位姿和当前位姿,采用插值算法,获取所述机械臂的运动轨迹;According to the target posture and current posture of the robotic arm, an interpolation algorithm is used to obtain the motion trajectory of the robotic arm;所述根据支撑装置的目标位姿和当前位姿,规划所述支撑装置的运动轨迹,包括:The step of planning the motion trajectory of the supporting device according to the target posture and current posture of the supporting device includes:根据所述支撑装置的目标位姿和当前位姿,采用插值算法,获取所述支撑装置的运动轨迹。According to the target posture and current posture of the supporting device, an interpolation algorithm is adopted to obtain the motion trajectory of the supporting device.5.根据权利要求3所述的可读存储介质,其特征在于,所述根据所述机械臂的目标位姿和当前位姿,规划所述机械臂的运动轨迹,包括:5. The readable storage medium according to claim 3, wherein planning the motion trajectory of the robotic arm according to the target posture and current posture of the robotic arm comprises:根据所述机械臂的各关节的目标位置和当前位置,规划所述机械臂的各关节的运动轨迹;Planning the motion trajectory of each joint of the robotic arm according to the target position and current position of each joint of the robotic arm;所述根据支撑装置的目标位姿和当前位姿,规划所述支撑装置的运动轨迹,包括:The step of planning the motion trajectory of the supporting device according to the target posture and current posture of the supporting device includes:根据所述支撑装置的各关节的目标位置和当前位置,规划所述支撑装置的各关节的运动轨迹。The motion trajectory of each joint of the support device is planned according to the target position and current position of each joint of the support device.6.根据权利要求1所述的可读存储介质,其特征在于,所述控制所述支撑装置跟随所述机械臂进行相应运动,包括:6. The readable storage medium according to claim 1, wherein controlling the supporting device to follow the movement of the robotic arm comprises:获取所述机械臂的不动点在机器人坐标系下的实时位置信息;Obtaining real-time position information of the fixed point of the robotic arm in the robot coordinate system;根据所述不动点在机器人坐标系下的实时位置信息、所述不动点与支撑装置坐标系之间的映射关系以及所述机器人坐标系与世界坐标系之间的映射关系,实时获取所述支撑装置坐标系与所述世界坐标系之间的目标映射关系;Acquire a target mapping relationship between the support device coordinate system and the world coordinate system in real time based on the real-time position information of the fixed point in the robot coordinate system, the mapping relationship between the fixed point and the support device coordinate system, and the mapping relationship between the robot coordinate system and the world coordinate system;根据实时获取的所述支撑装置坐标系与所述世界坐标系之间的目标映射关系,控制所述支撑装置跟随所述机械臂进行相应运动;Controlling the support device to follow the robotic arm to perform corresponding movements according to a target mapping relationship between the support device coordinate system and the world coordinate system acquired in real time;所述控制所述机械臂跟随所述支撑装置进行相应运动,包括:The controlling the robotic arm to follow the supporting device to perform corresponding movement includes:获取支撑装置坐标系与世界坐标系之间的实时映射关系;Obtaining the real-time mapping relationship between the support device coordinate system and the world coordinate system;根据所述支撑装置坐标系与所述世界坐标系之间的实时映射关系、所述机械臂的不动点与所述支撑装置坐标系之间的映射关系以及机器人坐标系与所述世界坐标系之间的映射关系,实时获取所述机械臂的不动点在所述机器人坐标系下的目标位置信息;According to the real-time mapping relationship between the support device coordinate system and the world coordinate system, the mapping relationship between the fixed point of the manipulator and the support device coordinate system, and the mapping relationship between the robot coordinate system and the world coordinate system, the target position information of the fixed point of the manipulator in the robot coordinate system is obtained in real time;根据实时获取的所述机械臂的不动点在所述机器人坐标系下的目标位置信息,控制所述机械臂跟随所述支撑装置进行相应运动。According to the target position information of the fixed point of the manipulator in the robot coordinate system acquired in real time, the manipulator is controlled to follow the supporting device to perform corresponding movement.7.根据权利要求1所述的可读存储介质,其特征在于,所述计算机程序被处理器执行时,实现如下步骤:7. The readable storage medium according to claim 1, wherein when the computer program is executed by a processor, the computer program implements the following steps:判断所述手术机器人系统的当前状态是否满足调整要求。Determine whether the current state of the surgical robot system meets the adjustment requirements.8.根据权利要求1所述的可读存储介质,其特征在于,所述计算机程序被处理器执行时,实现如下步骤:8. The readable storage medium according to claim 1, wherein when the computer program is executed by a processor, the computer program implements the following steps:对所述机械臂和所述支撑装置的实时调整运动过程进行监测,以判断是否出现异常情况。The real-time adjustment movement process of the robotic arm and the supporting device is monitored to determine whether any abnormal situation occurs.9.根据权利要求1所述的可读存储介质,其特征在于,所述计算机程序被处理器执行时,实现如下步骤:9. The readable storage medium according to claim 1, wherein when the computer program is executed by a processor, the computer program implements the following steps:对所述机械臂和所述支撑装置的实时调整运动过程进行显示。The real-time adjustment movement process of the robotic arm and the supporting device is displayed.10.一种手术机器人系统,其特征在于,包括机器人和控制器,所述机器人包括至少一条机械臂,所述控制器与所述机器人通信连接,所述控制器包括处理器和权利要求1至9中任一项所述的可读存储介质。10. A surgical robot system, characterized in that it comprises a robot and a controller, wherein the robot comprises at least one robotic arm, the controller is communicatively connected to the robot, and the controller comprises a processor and a readable storage medium according to any one of claims 1 to 9.11.根据权利要求10所述的手术机器人系统,其特征在于,所述手术机器人系统包括与所述控制器通信连接的显示装置,所述显示装置用于对所述机械臂和所述支撑装置的实时调整运动过程进行显示。11. The surgical robot system according to claim 10 is characterized in that the surgical robot system includes a display device communicatively connected to the controller, and the display device is used to display the real-time adjustment movement process of the robotic arm and the supporting device.12.一种调整系统,其特征在于,包括权利要求10或11所述的手术机器人系统和定位装置,所述定位装置用于获取机器人坐标系与世界坐标系之间的映射关系以及支撑装置坐标系与所述世界坐标系之间的映射关系。12. An adjustment system, characterized in that it comprises the surgical robot system and positioning device according to claim 10 or 11, wherein the positioning device is used to obtain the mapping relationship between the robot coordinate system and the world coordinate system and the mapping relationship between the support device coordinate system and the world coordinate system.13.根据权利要求12所述的调整系统,其特征在于,所述调整系统包括支撑装置,所述支撑装置与所述控制器通信连接,所述控制器用于控制所述支撑装置进行调整运动。13 . The adjustment system according to claim 12 , wherein the adjustment system comprises a supporting device, the supporting device is in communication connection with the controller, and the controller is used to control the supporting device to perform adjustment movement.
CN202110614235.XA2021-06-022021-06-02 Readable storage medium, surgical robot system, and adjustment systemActiveCN115429432B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110614235.XACN115429432B (en)2021-06-022021-06-02 Readable storage medium, surgical robot system, and adjustment system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110614235.XACN115429432B (en)2021-06-022021-06-02 Readable storage medium, surgical robot system, and adjustment system

Publications (2)

Publication NumberPublication Date
CN115429432A CN115429432A (en)2022-12-06
CN115429432Btrue CN115429432B (en)2025-09-30

Family

ID=84272059

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110614235.XAActiveCN115429432B (en)2021-06-022021-06-02 Readable storage medium, surgical robot system, and adjustment system

Country Status (1)

CountryLink
CN (1)CN115429432B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115813563B (en)*2023-02-202023-07-14北京壹点灵动科技有限公司Surgical robot control device, storage medium, and processor
CN119074208A (en)*2024-08-282024-12-06北京纳通医用机器人科技有限公司 Punching control method, device, equipment, mechanical arm and medium
CN119745518A (en)*2024-12-302025-04-04武汉联影智融医疗科技有限公司 Surgical robot system, surgical robot control method and computer device

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107072725A (en)*2014-10-272017-08-18直观外科手术操作公司System and method for integrated surgical table

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR101598773B1 (en)*2010-10-212016-03-15(주)미래컴퍼니Method and device for controlling/compensating movement of surgical robot
KR20140110620A (en)*2013-03-082014-09-17삼성전자주식회사surgical robot system and operating method thereof
US10258414B2 (en)*2014-03-172019-04-16Intuitive Surgical Operations, Inc.Methods and devices for table pose tracking using fudicial markers
CN110547867A (en)*2018-05-312019-12-10上海联影医疗科技有限公司control method, device, equipment, storage medium and system of mechanical arm
CN111202583A (en)*2020-01-202020-05-29上海奥朋医疗科技有限公司Method, system and medium for tracking movement of surgical bed

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107072725A (en)*2014-10-272017-08-18直观外科手术操作公司System and method for integrated surgical table

Also Published As

Publication numberPublication date
CN115429432A (en)2022-12-06

Similar Documents

PublicationPublication DateTitle
US12193765B2 (en)Guidance for placement of surgical ports
JP7297841B2 (en) System and method for maintaining tool attitude
JP7128224B2 (en) Systems and methods for integrated operating table motion
US11272985B2 (en)Patient-specific preoperative planning simulation techniques
CN115429432B (en) Readable storage medium, surgical robot system, and adjustment system
CN113476141B (en)Pose control method, optical navigation system applicable to pose control method and surgical robot system
CN111839731B (en)System and method for monitoring control points during reactive movement
Azizian et al.Visual servoing in medical robotics: a survey. Part I: endoscopic and direct vision imaging–techniques and applications
JP6662785B2 (en) System and method for re-centering an imaging device and input controls
CN104758066B (en)Equipment for surgical navigation and surgical robot
CN105050527B (en) Intelligent positioning system and method therefor
US20210137616A1 (en)Positioning arm for a surgical navigation system
CN115317130B (en)Surgical robot system, adjustment system, and storage medium
KR20150120944A (en)Collision avoidance during controlled movement of image capturing device and manipulatable device movable arms
US12106508B2 (en)Systems and methods for mitigating collision of a robotic system
JP2021511903A (en) Remote monitoring of the operating room
JP7532649B2 (en) Control of endoscopes by surgical robots
US20240335245A1 (en)Techniques for adjusting a field of view of an imaging device based on head motion of an operator
US11992273B2 (en)System and method of displaying images from imaging devices
US20240341568A1 (en)Systems and methods for depth-based measurement in a three-dimensional view
CN114848153A (en)Computer-readable storage medium, electronic device, and surgical robot system
CN120476366A (en)Techniques for displaying augmented reality content based on operator-related parameters

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp