Endoscope field-of-view adjustment method and control system

Through the combination of virtual control objects and preset modes, the endoscopic field of view adjustment method is added, which solves the problem of single and unintuitive field of view adjustment methods in the existing technology, and achieves more intuitive and convenient operation.

WO2024183600A1PCT designated stage expired Publication Date: 2024-09-12SHANGHAI MICROPORT MEDBOT (GRP) CO LTD

Patent Information

Application Number
PCT/CN2024/079223
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-02-29
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the existing technology, the endoscopic field of view adjustment method is single, unintuitive, has a long learning curve, and is difficult to adapt to the operating habits of different operators.

Method used

Provides a method for adjusting the field of view of an endoscope. It switches to the preset mode by obtaining the mode selection instruction, performs kinematics calculation based on the virtual control object, converts the displacement of the control main hand into the movement of the endoscope, and increases the number of field of view adjustment methods. quantity and improve intuitiveness.

Benefits of technology

It adapts to the operating habits of different operators, reduces the learning curve, and makes the control of the endoscopic field of view more intuitive and convenient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079223_12092024_PF_FP_ABST
    Figure CN2024079223_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present invention are an endoscope field-of-view adjustment method and a control system. The endoscope field-of-view adjustment method comprises the following steps: acquiring a mode selection instruction, wherein the mode selection instruction corresponds to at least two preset modes; switching to a corresponding preset mode; performing configuration and kinematics calculation of a virtual control object on the basis of the preset mode after switching is performed, and converting a displacement input of a main control hand into different endoscope motions. By means of such a configuration, the number of endoscope field-of-view adjustment modes is increased, such that operation habits of different operators can be adapted to; in addition, on the basis of a virtual control object, the control over the field-of-view of an endoscope is more visual, such that the endoscope can be conveniently used; and the problems of an endoscope field-of-view adjustment mode being single and not visual, and a learning curve being long in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Endoscope field of view adjustment method and control system Technical Field

[0001] The present invention relates to the field of medical devices, and in particular to an endoscope field of view adjustment method and control system. Background Art

[0002] Single-port laparoscopic surgery is a minimally invasive surgical technique that performs complex intracavitary procedures using a cannula or tiny incision. During single-port laparoscopic surgery, adjusting the endoscope's field of view is crucial to the success rate and efficiency of the entire procedure. Currently, the available methods for adjusting the endoscope's field of view are relatively simple and difficult to adapt to the varying operating habits of different surgeons. Field of view adjustment methods are also unintuitive and inconsistent with surgeon expectations, requiring considerable practice to adapt and resulting in a long learning curve. Therefore, improvements are needed to improve the methods for adjusting the endoscope's field of view to facilitate surgical procedures.

[0003] In summary, the existing technology has the problem that the endoscope field of view adjustment method is single and non-intuitive, and has a long learning curve.

[0004] Summary of the Invention

[0005] The present invention provides an endoscope field of view adjustment method and control system to solve the problems in the prior art of single and non-intuitive endoscope field of view adjustment method and long learning curve.

[0006] In order to solve the above technical problems, according to the first aspect of the present invention, a method for adjusting the field of view of an endoscope is provided, and the method for adjusting the field of view of an endoscope includes the following steps: obtaining a mode selection instruction, the mode selection instruction corresponding to at least two preset modes; switching to the corresponding preset mode; obtaining the displacement of a first joint, the first joint being subordinate to the control master hand; solving the expected posture of the virtual control object based on the displacement of the first joint; solving the target posture of the virtual endoscope based on the expected posture of the virtual control object; determining the target posture of the endoscope based on the target posture of the virtual endoscope; and calculating and controlling the displacement of a second joint based on the target posture of the endoscope, the second joint being subordinate to the endoscope; wherein the virtual control object, the algorithm for solving the expected posture of the virtual control object, and the algorithm for solving the target posture of the virtual endoscope are related to the selected preset mode.

[0007] The endoscope field of view adjustment method obtains a mode selection instruction and switches to the corresponding preset mode. Based on the switched preset mode, a virtual control object is set and kinematics are calculated to convert the displacement input of the control hand into different endoscope movements. This configuration increases the number of endoscope field of view adjustment methods, adapting to the operating habits of different operators. At the same time, based on the virtual control object, the control of the endoscope field of view is more intuitive and reduces the learning curve. This solves the problem of the existing technology of endoscope field of view adjustment with a single, non-intuitive method and a long learning curve.

[0008] According to a second aspect of the present invention, a control system is provided, comprising two control master hands, a processor and an endoscope, wherein the processor is used to execute the above-mentioned endoscope field of view adjustment method based on input instructions obtained by the control master hands to control the endoscope, and the degree of freedom of movement of the endoscope is adaptively set.

[0009] According to a third aspect of the present invention, a readable storage medium is provided, on which a program is stored. When the program is run, the above-mentioned endoscope field of view adjustment method is executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG1 is a schematic flow chart of a method for adjusting the field of view of an endoscope according to an embodiment of the present invention;

[0011] FIG2 is a schematic diagram of a control system according to an embodiment of the present invention;

[0012] FIG3 is a schematic structural diagram of a snake bone endoscope according to an embodiment of the present invention;

[0013] FIG4 is a schematic diagram illustrating the difference in position between a virtual endoscope and an endoscope according to an embodiment of the present invention;

[0014] FIG5 is a control flow chart of a control system according to an embodiment of the present invention;

[0015] FIG6 is a flowchart of a master hand motion control module according to an embodiment of the present invention;

[0016] FIG7 is a schematic diagram of a virtual control object in a two-hand drag control mode according to an embodiment of the present invention;

[0017] FIG8 is a schematic diagram of calculating the objective function of the optimization algorithm according to an embodiment of the present invention;

[0018] FIG9 is a schematic diagram of a portion of a first joint being locked according to an embodiment of the present invention;

[0019] 10 is a schematic diagram of a virtual control object in a virtual rigid body control mode according to an embodiment of the present invention;

[0020] FIG. 11 is a schematic diagram of various coordinate systems in a virtual rigid body control mode according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the objects, advantages and features of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] The core idea of ​​the present invention is to provide an endoscope field of view adjustment method, control system and readable storage medium to solve the problems in the prior art that the endoscope field of view adjustment method is single, non-intuitive and has a long learning curve.

[0023] The following description is given with reference to the accompanying drawings.

[0024] Referring to FIG1 , this embodiment provides a method for adjusting the field of view of an endoscope. The method for adjusting the field of view of an endoscope includes:

[0025] S10 obtains a mode selection instruction, where the mode selection instruction corresponds to at least two preset modes;

[0026] S20 switches to the corresponding preset mode;

[0027] S30 obtains the displacement of the first joint, where the first joint is subordinate to the control master hand;

[0028] S40 calculates an expected posture of the virtual controlled object based on the displacement of the first joint;

[0029] S50 solves the target posture of the virtual endoscope based on the expected posture of the virtual control object;

[0030] S60 determines a target posture of the endoscope based on the target posture of the virtual endoscope; and

[0031] S80 calculates and controls the displacement of the second joint based on the target posture of the endoscope, the second joint being subordinate to the endoscope;

[0032] The virtual control object, the algorithm for calculating the expected posture of the virtual control object, and the algorithm for calculating the target posture of the virtual endoscope are related to the selected preset mode.

[0033] By obtaining a mode selection instruction and switching to the corresponding preset mode, the system sets a virtual control object and performs kinematic calculations based on the switched preset mode, converting the displacement input of the control hand into different endoscope movements. This configuration not only increases the number of endoscope field of view adjustment methods, but also adapts to the operating habits of different operators. At the same time, based on the virtual control object, the control of the endoscope field of view is more intuitive and reduces the learning curve. This solves the problem of the existing technology of single and non-intuitive endoscope field of view adjustment methods and a long learning curve.

[0034] In step S10, the mode selection instruction may come from the user or from a higher-level control algorithm, for example, the user inputs the mode selection instruction through an operation interface, or the higher-level control algorithm inputs the mode selection instruction through a specific communication interface.

[0035] In step S30, "joint" and "displacement" should be understood in a broad sense. In some embodiments, "joint" refers to a mechanical structure that can only rotate. In other embodiments, "joint" can also refer to a mechanical structure that can perform translational or compound motion. "Displacement" should also correspond to the difference in specific mechanical structures and be understood as translational displacement, rotational displacement or compound displacement. Because the operator operates the end of the control hand, the movement of the end of the control hand drives the movement of the corresponding first joint, thereby causing at least a part of the first joint to be displaced. The above displacement is read by the sensor and transmitted to the corresponding processor. In step S30, "obtaining the displacement of the first joint" can also be understood as obtaining "obtaining the measured value of the displacement of the first joint."

[0036] In step S40, by setting a virtual control object, the control target of this embodiment is changed from the displacement of several independent actuators to a virtual control object. It will be described later that the virtual control object corresponds to a specific actual object. Such a configuration makes the operator's operation more targeted and also makes it easier for novices to understand and predict the actual effect of their current operation, thereby solving the problem of non-intuitive field of view control operation. The virtual control object should be understood in this way. There is a simple mapping relationship between the movement of the virtual control object and the movement of the control master hand. Based on this, the present invention has the advantage of intuitive and easy operation. Specifically, the whole or a part of it has only a linear relationship with the movement of the control master hand.

[0037] Steps S50 and S60 serve two purposes. First, they use a specific algorithm to reverse-engineer the operator's intuitive, easy-to-understand operations into the desired endoscope position, making it easier for developers to understand and modify them. Second, they use the virtual endoscope as a bridge to disconnect the input operation commands from the endoscope, paving the way for safety mechanisms to intervene. Step S60 is described in detail later.

[0038] Step S80 finally converts the expected posture of the endoscope into the displacement of each actuator, thereby achieving the control target.

[0039] For ease of understanding, the control system implementing this method is shown in Figure 2. The single-arm, single-port surgical system consists of three subsystems: the surgeon's console 1, the patient trolley 2, and the imaging trolley 3. During clinical surgery, the surgeon inserts multiple instruments into the abdominal cavity through a single incision. The surgeon controls the position and posture of the patient-side endoscope using their primary hand on the surgeon's console 1 to achieve the optimal surgical field of view.

[0040] The endoscope is set on the patient trolley 2. Please refer to Figure 3. The endoscope is a snake-bone endoscope 4. The bending joint of the snake-bone endoscope 4 includes two snake-bone units, and the connection structure includes a parallel joint 41 and a pitch and yaw joint 42; this allows the snake-bone endoscope to have more degrees of freedom and is more flexible than traditional surgical endoscopes, providing the surgeon with more viewing angles. However, it is obvious that this embodiment can also be used in conjunction with endoscopes of other structures. For ease of understanding, the snake-bone endoscope 4 is used as an example in the subsequent content, but this embodiment is not limited to application to the snake-bone endoscope 4.

[0041] Furthermore, step S60 of determining the target posture of the endoscope based on the target posture of the virtual endoscope specifically includes:

[0042] S601 constructs the kinematic geometric relationship of the endoscope and determines the motion boundary of the endoscope.

[0043] S602: If the target posture of the virtual endoscope is within the motion boundary, the target posture of the virtual endoscope is set as the target posture of the endoscope; otherwise, the posture closest to the target posture of the virtual endoscope within the motion boundary is set as the target posture of the endoscope.

[0044] “Closest” can be set according to actual needs. For example, the closest can be judged by taking the translation distance between two postures, the composite displacement of translation and rotation of two postures, the displacement projection of two postures along the set measurement direction, etc. as indicators.

[0045] It is understandable that in step S601, other conditions may be added to determine the motion boundary, such as certain organs that the endoscope needs to avoid in the patient's body cavity.

[0046] Please refer to FIG. 4 , which shows the difference in position between the virtual endoscope 51 and the endoscope 52 when the virtual endoscope 51 goes beyond the motion boundary 53 .

[0047] The corresponding virtual solid geometry is constructed based on the length and angle limits of each joint of the snake-bone endoscope, defining the movement boundary of the snake-bone endoscope. In each control cycle, the movement boundary of the endoscope's current position is detected. When the endoscope detects that it has reached the boundary, it is restricted from moving further out of the boundary and is forced to stay at the boundary.

[0048] If the controlling hand still has a tendency to move outside the boundary at this time, the endoscope will select the point on the boundary closest to the desired position as the target position, allowing it to slide on the boundary and present boundary force on the controlling hand to guide the operator to move into the working area.

[0049] The specific implementation process is as follows: assuming a virtual endoscope, the configuration of the virtual endoscope is consistent with that of the snake bone endoscope. When the motion command issued by the master hand exceeds the motion boundary of the slave end, the slave end automatically generates a virtual endoscope corresponding to the over-limit command, calculates the torque of each joint according to the current posture of the virtual endoscope, and obtains the torque exerted on the end of the virtual endoscope.

[0050] Please continue to refer to Figure 1. The endoscope field of view adjustment method also includes: S70 If the target posture of the virtual endoscope is not within the motion boundary, force feedback is performed based on at least a part of the first joint or the freedom of movement of at least a part of the first joint is limited. "The freedom of movement of at least a part of the first joint" should be understood as the freedom of movement in each joint can be fully restricted or partially restricted, and the movement in one direction can be restricted but the movement in the opposite direction is not restricted. Force feedback should be understood as when the control hand moves beyond the boundary, the control hand will be subjected to a restoring force pointing to the boundary at the same time. If the control hand is no longer subjected to other forces at this time (for example, the operator lets go), the control hand can slowly return to the boundary.

[0051] Assuming that the control input of the master hand is ψ, the expected motion speed of the virtual endoscope satisfies the following motion equation:

[0052] Where J is the Jacobian matrix, q virtual is the desired joint angle of the virtual endoscope. Of course, it is not excluded that in a specific embodiment, the endoscope has a translation capability, so q virtual It can also be broadly understood as the generalized composite displacement of the actuator of the virtual endoscope. For the sake of ease of understanding, the calculation below is based on the expected joint angle.

[0053] By solving the above formula, we can get the expected speed of the virtual endoscope moving to the desired position: The desired joint angle q can be obtained by integration virtual . From the equation: τ virtual =-K(q endo -q virtual )

[0054] The torque τ of the virtual endoscope can be obtained virtual Among them, K is the relevant control parameter set in the endoscope-based driving algorithm, q endo is the joint angle within the motion boundary, that is, the angle closest to the expected angle mentioned above.

[0055] The force F on the control input ψ The moment of force on the virtual endoscope satisfies the equation: ψ =J T τ virtual

[0056] Simply put, the feedback force applied to the control hand is proportional to the distance the virtual endoscope deviates from the motion boundary.

[0057] The feedback force from the slave boundary on the control master hand is related to the way the control master hand is used as the control input. In different control modes, the form of the force on the control master hand will be different.

[0058] The above content describes one way to implement force feedback. Depending on the actual situation, other force feedback methods can also be used, such as using a constant force for feedback; or it can be the method mentioned above of locking the degree of freedom, that is, when moving to the critical position, under the action of the force and torque that the human arm can output, the relevant joints of the controlling hand no longer displace.

[0059] In one embodiment, the preset modes include a two-hand drag control mode, a one-hand matching control mode, and a virtual rigid body control mode. That is to say, the control process of this embodiment can also be understood according to Figure 5, specifically including: the selection of the control mode, and then the feedback of the endoscope image through the image trolley, the doctor performs the master hand motion control based on his or her desired field of view, and adjusts the slave endoscope through the input signal of the master hand motion control module, and the doctor confirms whether the current field of view meets his or her expectations based on the feedback of the endoscope image, and continues to adjust if it does not meet the requirements. At the same time, the slave endoscope also gives feedback through the master hand motion control module when it moves, reminding the doctor whether the current endoscope movement is at the critical position of the movement boundary.

[0060] It is understandable that in other embodiments, two of the above modes may be included, or one of the above modes may be included in combination with other control modes, such as a control mode that directly controls joint displacement.

[0061] In FIG5 , the master hand motion control module 6 operates as shown in FIG6 . It first acquires master hand motion data 64 , then calculates corresponding constraints based on the boundary protection module 63 and the constraint feedback module 62 , specifically including the boundary protection constraint force Fb, the boundary protection constraint torque Mb, the constraint feedback force Fc, and the constraint feedback torque Mc. These constraints are then transmitted to the relevant master hand joint 65 via the force guidance module 61 to implement feedback or constraints. The master hand joint 65 is also known as the first joint. After the master hand motion data 64 is converted to the slave end coordinate system through calculation, it is first low-pass filtered to remove high-frequency components and eliminate glitches, making the motion instructions sent to the slave end smoother and avoiding sudden jumps. It then detects whether the desired motion instruction exceeds the motion boundary of the endoscope. If so, the endoscope will remain at the boundary and will not continue to move outside of it.

[0062] Furthermore, when switching to the two-hand drag control mode, the virtual control object is the midpoint between the ends of the two control hands. Please refer to Figure 7, which shows two control hands 7 and a virtual control object 71. The virtual control object 71 corresponds to the endoscope lens.

[0063] When switching to the two-hand drag control mode, the step of solving the target posture of the virtual endoscope based on the expected posture of the virtual control object is: the displacement of the virtual endoscope in the three translation directions is consistent with or proportional to the displacement of the virtual control object in the three translation directions.

[0064] In other words, in the two-hand drag control mode, the operator's experience is like directly pulling the lens movement.

[0065] When the endoscope is a snake-bone endoscope, the endoscope has more than three degrees of freedom of movement. When switching to the two-hand drag control mode, the steps of calculating and controlling the displacement of the second joint based on the target posture of the endoscope include:

[0066] Based on the optimization algorithm, the displacement of the endoscope in each degree of freedom of motion is determined; among them, the objective function is the sum of the terminal evaluation index and the dynamic evaluation index; the terminal evaluation index is an indicator of the degree of overlap between the target posture of the endoscope and the actual posture of the endoscope, and the higher the degree of overlap, the lower the index value; the dynamic evaluation index is the total momentum during the motion process; the optimization direction of the optimization algorithm is that the smaller the objective function, the better.

[0067] In one specific embodiment, the surgeon manipulates the master hand toward the desired surgical field of view based on the current endoscope's field of view image feedback. The master hand's motion data parameters are processed to generate an optimization problem consisting of an objective function and constraints. By solving this optimization problem, the output joints are determined, the corresponding motor data is calculated, and motion commands are issued to the slave end. The endoscope then adjusts its position and performs boundary detection accordingly.

[0068] When the center point of the line connecting the two hands of the console master is used as the control input for adjusting the field of view of the endoscope, three degrees of freedom control five degrees of freedom. The control input is greater than the control output, so different control outputs can be selected and coupled to achieve the desired control effect.

[0069] To this end, a controller is designed based on the actual motion structure of the controlled object, the serpentine endoscope. First, an objective function is defined to quantitatively describe the performance of the controller:

[0070] The first term is the terminal evaluation index, which ensures that the system terminal state is as close as possible to the given terminal state, reflecting the smoothness and accuracy of the adjustment process. The second term is the dynamic evaluation index, which ensures the overall performance of the system and reflects the magnitude of the momentum during the process. q is the joint angle of the endoscope, u is the expected angular velocity of the endoscope joint, Φ and L are related calculation functions, whose specific forms are determined by the specific structure of the endoscope. Φ is used to describe the system terminal state, L is used to describe the instantaneous value of momentum, and tf represents the end time of the movement.

[0071] When the objective function reaches its minimum, the performance index is optimal. The controller design can be transformed into an optimization problem with free terminal moments but fixed terminal states.

[0072] By solving the optimal problem, a controller is designed to perform the joint optimization selection function. In this mode, different control outputs (endoscope joint angles) are coupled to adjust the endoscope field of view to the desired position, and the performance indicators are optimized, while the endoscope joint angle is changed as little as possible so that the lens reaches the doctor's desired position.

[0073] The objective function calculation process of the above optimization algorithm can be understood by referring to FIG8 .

[0074] When switching to the two-hand drag control mode, the endoscope field of view adjustment method further includes the following steps: after a first preset time point, locking the motion freedom of at least a portion of the first joint so that the change value of the relative distance between the ends of the two control hands is within a first preset range. For example, please continue to refer to Figure 7. When the operator switches from instrument control to endoscope control, the initial position relationship of the two control hands in Cartesian space is recorded: Δx0 = x 0,right -x 0,left

[0075] In the subsequent control process, the right dominant hand is used as the reference point, and the desired position of the left dominant hand is calculated based on the initial position relationship and adjusted so that the position relationship of the two dominant hands always meets the initial position relationship during the control process. That is, based on f(x 0,left ,x 0,right )=0Determine the expression of function f, for example: f(xleft , x right )=|x right -x left -Δx0|In subsequent runs, f(x left ,x right )=0. It is understandable that in practical applications, strictly equal to 0 is a difficult condition to achieve. Generally, f(x left ,x right )≤ΔE1 as a constraint condition, where ΔE1 is a first preset range and is determined by the actual situation. The x in this section is a displacement vector, representing displacement in three directions. Its specific data content is determined by the choice of coordinate system and the logic of the program implementation.

[0076] Among them, the first preset time point is when switching to the two-hand drag control mode, that is, when switching to the two-hand drag control mode, the left and right main hands are already relatively locked. Alternatively, the first preset time point is when a control instruction representing the locking intention is received, that is, in an exemplary embodiment, there is a lock / unlock button on the user operation interface, through which the user can switch the current constraint state. Alternatively, the first preset time point is when a control instruction that can reflect that the user has started to adjust the field of view is received, for example, when a field of view adjustment displacement is input. The above-mentioned different schemes can correspond to different actual situations. If for safety considerations, the first scheme can be selected. If for operational freedom considerations, the following two schemes can be selected.

[0077] Furthermore, the preset mode includes a one-hand matching control mode; when switching to the one-hand matching control mode, the virtual control object coincides with the end of one of the control main hands.

[0078] In other words, the virtual control object is controlled by controlling the end of one of the control hands. The end of the control hand has three degrees of freedom of translation and three degrees of freedom of rotation. Here, the end of the control hand should be understood as a 3D structure, such as a joystick. The control hand here can be the left or right hand.

[0079] The endoscope field of view adjustment method also includes: when switching to the single-hand matching control mode, adjusting the posture of the end of the control main hand so that the posture of the end of the control main hand is consistent with the current posture of the endoscope. Such a configuration is more conducive to the operator's intuitive feeling and prediction of the results of the next operation. The control main hand here refers to the control main hand used to control the virtual control object. In different embodiments, the above-mentioned link may not exist. The coordinate system describing the posture of the end of the control main hand and the coordinate system describing the posture of the endoscope can be consistent, for example, both are base coordinate systems, or they can be inconsistent, for example, the x-direction of the former is the same as the direction facing the operator, and the x-direction of the latter is from the patient trolley toward the patient.

[0080] The five degrees of freedom of the snake bone endoscope do not include rotation. In order for the main hand to match the posture of the endoscope, the seven joints of the main hand will be subject to corresponding motion constraints in this control mode. The positions of the seven joints of the main hand should be determined by the movable degrees of freedom of the endoscope. Considering that the endoscope starts from its base coordinate system, it can only perform Rot x (Θ x )Rot y (θ y ) is used to obtain the position of the end lens. Correspondingly, for the master hand, only Rot is performed from the field of view coordinate system. x (Θ x )Rot y (θ y ) should result in a seven-joint coordinate system that is consistent with the current direction (z-axis direction), from which the positions of the seven joints of the master hand can be obtained by inverse solution. x Represents the angle of rotation of the endoscope around the x-axis, θ y Represents the angle of rotation of the endoscope around the y-axis, Rot x Represents the rotation matrix determined by the rotation angle in the x direction, Rot y Represents the rotation matrix determined by the rotation angle in the y direction.

[0081] In one embodiment, when switching to the one-hand matching control mode, the steps for solving the target posture of the virtual endoscope based on the expected posture of the virtual control object are as follows: the displacement of the virtual endoscope in the three translation directions is consistent with or proportional to the displacement of the virtual control object in the three translation directions; the virtual endoscope does not respond to the displacement of the virtual control object in the corresponding rotation direction in the non-freedom rotation direction; the displacement of the virtual endoscope in the freedom rotation direction is consistent with the displacement of the virtual control object in the corresponding rotation direction.

[0082] The non-freedom and freedom rotation directions of the virtual endoscope are determined by the mechanical structure of the endoscope. For example, the non-freedom rotation direction of the snake bone endoscope is the direction of rotation around its own axis, and the freedom rotation direction of the snake bone endoscope is the remaining two directions.

[0083] In one embodiment, after the master-slave posture is matched, the doctor can manipulate the master hand to move toward the desired field of view. The control cart records the master hand's motion data and maps it to the slave endoscope. The endoscope's joint motor torque output is then calculated based on the desired endoscope posture to adjust the endoscope.

[0084] Specifically, in the single-hand matching module, the master hand's position change in the monitor's field of view coordinate system is mapped to the slave endoscope's position change in the base coordinate system. The master-slave position change mapping ratio is 1:1, and this position change mapping ratio can be adjusted appropriately based on the surgeon's surgical practice. The slave endoscope's movement and rotation directions in space are consistent with those of the master hand. The mapping ratio coefficients can be adjusted within a certain range based on the surgeon's practice.

[0085] When switching to the single-hand matching control mode, the step of calculating and controlling the displacement of the second joint based on the target posture of the endoscope includes: calculating the displacement of the second joint from the target posture of the endoscope based on the inverse kinematic matrix.

[0086] Similarly, when switching to the one-hand matching control mode, the endoscope field of view adjustment method also includes the following steps: after the second preset time point, lock the other first joints other than the first joint of the end of the control main hand, so that the relative position of the end of the control main hand and the console base is locked.

[0087] The control input in the single-hand matching module is a single master hand with seven degrees of freedom, and the control output is a snake-bone endoscope with five degrees of freedom. To avoid sudden changes in the endoscope's posture after switching instruments during surgery and reduce surgical risk, when the master hand switches from instrument control to endoscope control, it first adjusts its posture. After the adjustment is complete, the non-terminal first joint is locked, thereby reducing surgical risk. Figure 9 shows a schematic diagram of a partially locked first joint in one embodiment.

[0088] Among them, the second preset time point is when switching to the one-hand matching control mode, when receiving a control instruction for representing the locking intention, or when receiving a control instruction that can reflect that the user has started to adjust the field of view.

[0089] The second preset time point can be understood with reference to the first preset time point.

[0090] Furthermore, when switching to virtual rigid body control mode, the virtual control object is a virtual rigid body with two rod-shaped bodies, which overlap with the grip of the control hand. In the initial state, the rod-shaped bodies always overlap with the grip of the control hand, so the shape of the virtual rigid body itself is not fixed.

[0091] The virtual rigid body also has a field of view observation point overlap portion, and the center of the field of view observation point overlap portion coincides with the center of the ends of the two control main hands. When switching to the virtual rigid body control mode, the step of solving the target posture of the virtual endoscope based on the expected posture of the virtual control object is: solving the target posture of the virtual endoscope so that the difference between the posture movement trajectory of the observation object of the virtual endoscope relative to the virtual endoscope and the posture movement trajectory of the field of view observation point overlap portion relative to the console base is within a second preset range.

[0092] In other words, the operator's operating experience in the virtual rigid body control mode is that he is operating the observed object.

[0093] It is understood that the rod-shaped body 86 and the overlapped portion 85 of the field of view observation point described above are merely concepts provided for describing the motion rules of the virtual rigid body. The virtual rigid body itself may not actually have a fixed shape. The rod-shaped body 86 and the overlapped portion 85 of the field of view observation point can be understood with reference to FIG10 .

[0094] In reality, the object being observed does not move unless the patient lies on a freely movable operating table, but this specification does not discuss this special case; therefore, the fundamental reason for achieving the above effect is actually the movement of the endoscope. The specific implementation method is as follows.

[0095] The step of calculating the target posture of the virtual endoscope so that the difference between the posture movement trajectory of the observation object of the virtual endoscope and the posture movement trajectory of the overlapping portion of the field of view observation point is within a second preset range includes:

[0096] When switching to the virtual rigid body control mode: a virtual rigid body coordinate system is generated, and the virtual rigid body coordinate system is fixed to the virtual rigid body; a monitor coordinate system is generated, and the monitor coordinate system is fixed to the lens of the virtual endoscope; the first pose of the grip of the controlling hand in the virtual rigid body coordinate system is recorded; and the second pose of the monitor coordinate system in the virtual rigid body coordinate system is recorded.

[0097] After switching to the virtual rigid body control mode: the motion trajectory of the control hand's grip relative to the console base is calculated based on the displacement of the first joint of the control hand; the position of the control hand's grip in the monitor coordinate system is calculated based on the motion trajectory; the position of an alternative virtual rigid body coordinate system in the monitor coordinate system is generated, and the alternative virtual rigid body coordinate system is optimized so that the position of the control hand's grip described in the alternative virtual rigid body coordinate system has the highest degree of overlap with the first position; the optimized alternative virtual rigid body coordinate system is set as the virtual rigid body coordinate system, and the third position of the monitor coordinate system in the virtual rigid body coordinate system is recorded; the target position of the virtual endoscope is calculated based on the difference between the third position and the second position.

[0098] In other words, the monitor coordinate system is used as a reference, and the virtual rigid body coordinate system is moved along with the control hand, maintaining a relative position relationship. Then, the movement path of the monitor coordinate system is calculated based on the virtual rigid body coordinate system, providing a basis for calculating the final target pose of the virtual endoscope.

[0099] The above content can also be understood with reference to FIG11 , in which a monitor coordinate system 81 , a virtual rigid body coordinate system 82 , a control left hand 83 , a control right hand 84 and a field of view observation point overlap portion 85 are shown.

[0100] Similarly, when switching to the virtual rigid body control mode, the step of calculating and controlling the displacement of the second joint based on the target posture of the endoscope includes: calculating the displacement of the second joint from the target posture of the endoscope based on the inverse kinematic matrix.

[0101] When switching to the virtual rigid body control mode, the endoscope field of view adjustment method also includes the following steps: after a third preset time point, locking the movement freedom of at least part of the first joint so that the degree of deviation between the grips of the two control main hands and the rod-shaped body is within a third preset range.

[0102] Among them, the third preset time point is when switching to the virtual rigid body control mode, when receiving a control instruction for representing the locking intention, or when receiving a control instruction that can reflect that the user has started to adjust the field of view.

[0103] The third preset time point can also be understood according to the first preset time point.

[0104] This embodiment also provides a control system, including two control master hands, a processor and an endoscope, the processor is used to execute the above-mentioned endoscope field of view adjustment method based on the input instructions obtained by the control master hands to control the endoscope, and the movement freedom of the endoscope is adaptively set.

[0105] Specifically, the processor includes a master hand motion control module, a joint optimization selection module, a posture matching module, and a virtual view positioning module. Among them, the master hand motion control module is used to output a control signal to the first joint based on the two strategies of boundary protection and constraint feedback to perform force feedback or limit the freedom of at least part of the first joint. The joint optimization selection module is used to implement the selection and displacement control of the second joint in the two-hand drag control mode. The specific implementation method can be understood by referring to the above description; the posture matching module is used to implement the selection and displacement control of the second joint in the single-hand matching control mode. The specific implementation method can be understood by referring to the above description; the virtual view positioning module is used to implement the selection and displacement control of the second joint in the virtual rigid body control mode. The specific implementation method can be understood by referring to the above description.

[0106] This embodiment further provides a readable storage medium, on which a program is stored. When the program is run, the above-mentioned endoscope field of view adjustment method is executed.

[0107] The above-mentioned control system and readable storage medium can also solve the problems existing in the prior art because they can execute the endoscope field of view adjustment method or provide a program for executing the endoscope field of view adjustment method.

[0108] In summary, this embodiment provides an endoscope field of view adjustment method, control system, and readable storage medium. The endoscope field of view adjustment method includes the following steps: obtaining a mode selection instruction corresponding to at least two preset modes; switching to the corresponding preset mode; and setting a virtual control object and performing kinematic calculations based on the switched preset mode, thereby converting the displacement input of the control hand into different endoscope movements. This configuration increases the number of endoscope field of view adjustment methods, adapting to the operating habits of different operators. Furthermore, based on the virtual control object, it makes control of the endoscope field of view more intuitive and easier to use. This solves the problem of the existing art of endoscope field of view adjustment, which is single, unintuitive, and has a long learning curve.

[0109] The above description is only a description of the preferred embodiment of the present invention and does not limit the scope of the present invention. Any changes and modifications made by ordinary technicians in the field of the present invention based on the above disclosure are within the scope of protection of the technical solution of the present invention.

[0110] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.

[0111] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0112] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for adjusting the field of view of an endoscope, It is characterized in that The endoscope field of view adjustment method comprises: Acquire a mode selection instruction, wherein the mode selection instruction corresponds to at least two preset modes; Switching to the corresponding preset mode and staying in the corresponding preset mode; Obtaining a displacement of a first joint, where the first joint is subordinate to a control master hand; Calculating an expected position and posture of the virtual controlled object based on the displacement of the first joint; Calculating a target posture of the virtual endoscope based on the expected posture of the virtual control object; Determining a target position of the endoscope based on the target position of the virtual endoscope; and The displacement of a second joint is calculated and controlled based on the target posture of the endoscope, and the second joint is subordinate to the endoscope.

2. The method for adjusting the endoscope field of view according to claim 1, It is characterized in that The step of determining the target posture of the endoscope based on the target posture of the virtual endoscope comprises: constructing the kinematic geometric relationship of the endoscope and determining the motion boundary of the endoscope; and, If the target posture of the virtual endoscope is within the motion boundary, the target posture of the virtual endoscope is set as the target posture of the endoscope; if not, the posture within the motion boundary that is closest to the target posture of the virtual endoscope is set as the target posture of the endoscope.

3. The method for adjusting the endoscope field of view according to claim 2, It is characterized in that Also includes: If the target posture of the virtual endoscope is not within the motion boundary, force feedback is performed based on at least a portion of the first joint or the degree of freedom of motion of at least a portion of the first joint is limited.

4. The method for adjusting the endoscope field of view according to any one of claims 1 to 3, It is characterized in that The preset mode includes a two-hand drag control mode; When switching to the two-hand drag control mode, the virtual control object is the midpoint of the ends of the two control main hands; the displacement of the virtual endoscope in the three translation directions is consistent with or proportional to the displacement of the virtual control object in the three translation directions.

5. The method for adjusting the endoscope field of view according to claim 4, It is characterized in that The endoscope has more than three degrees of freedom of movement. When the two-hand drag control mode is switched, the step of calculating and controlling the displacement of the second joint based on the target posture of the endoscope includes: Based on an optimization algorithm, determining the displacement of the endoscope in each degree of freedom of motion; evaluating the degree of overlap between the target posture of the endoscope and the actual posture of the endoscope as a terminal indicator; and Evaluating the total momentum of the endoscope during the movement is a dynamic evaluation; Among them, the objective function is the sum of the terminal evaluation index and the dynamic evaluation index; the optimization direction of the optimization algorithm optimizes the objective function to be as small as possible.

6. The method for adjusting the endoscope field of view according to claim 4, It is characterized in that When switching to the two-hand drag control mode, the endoscope field of view adjustment method further includes the following steps: After a first preset time point, the degrees of freedom of movement of at least a portion of the first joint are locked so that the two The change value of the relative distance of the end of the controlling main hand is within a first preset range; The first preset time point is when the two-hand drag control mode is switched to, when a control instruction representing a locking intention is received, or when a control instruction reflecting that the user has started adjusting the field of view is received.

7. The method for adjusting the endoscope field of view according to any one of claims 1 to 3, It is characterized in that The preset mode includes a one-hand matching control mode; When switching to the one-hand matching control mode, the virtual control object coincides with the end of one of the control main hands; The posture of the end of the control main hand is adjusted so that the posture of the end of the control main hand is consistent with the current posture of the endoscope.

8. The method for adjusting the endoscope field of view according to claim 7, It is characterized in that When switching to the one-hand matching control mode, the step of solving the target posture of the virtual endoscope based on the expected posture of the virtual control object includes: The displacement of the virtual endoscope in the three translation directions is consistent with or proportional to the displacement of the virtual control object in the three translation directions; the virtual endoscope does not respond to the displacement of the virtual control object in the corresponding rotation direction in the non-freedom rotation direction; the displacement of the virtual endoscope in the freedom rotation direction is consistent with the displacement of the virtual control object in the corresponding rotation direction.

9. The method for adjusting the endoscope field of view according to claim 7, It is characterized in that When switching to the one-hand matching control mode, the step of calculating and controlling the displacement of the second joint based on the target posture of the endoscope includes: Based on the inverse kinematic matrix, the displacement of the second joint is calculated from the target posture of the endoscope.

10. The method for adjusting the endoscope field of view according to claim 7, It is characterized in that When switching to the one-hand matching control mode, the endoscope field of view adjustment method further includes: After a second preset time point, the first joints other than the first joint of the end of the control master hand are locked, so that the relative position of the end of the control master hand and the console base is locked; Among them, the second preset time point is when switching to the one-hand matching control mode, when receiving a control instruction for representing the locking intention, or when receiving a control instruction that can reflect that the user has started to adjust the field of view.

11. The method for adjusting the endoscope field of view according to any one of claims 1 to 3, It is characterized in that The preset mode includes a virtual rigid body control mode; When switching to the virtual rigid body control mode, the virtual control object is a virtual rigid body, and the virtual rigid body has two rod-shaped bodies, and the rod-shaped bodies overlap with the grip of the control master hand respectively; The virtual rigid body also has a field of view observation point overlap portion, the center of the field of view observation point overlap portion and the center of the ends of the two control main hands overlap, and the step of solving the target posture of the virtual endoscope based on the expected posture of the virtual control object includes: The target posture of the virtual endoscope is solved so that the difference between the posture movement trajectory of the observation object of the virtual endoscope relative to the virtual endoscope and the posture movement trajectory of the overlapped portion of the field of view observation point relative to the console base is within a second preset range.

12. The method for adjusting the endoscope field of view according to claim 11, It is characterized in that The step of solving the target posture of the virtual endoscope so that the difference between the posture movement trajectory of the observation object of the virtual endoscope and the posture movement trajectory of the overlapped portion of the field of view observation point is within a second preset range includes: When switching to the virtual rigid body control mode: generating a virtual rigid body coordinate system, the virtual rigid body coordinate system is fixed to the virtual rigid body; generating a monitor coordinate system, the monitor coordinate system is fixed to the lens of the virtual endoscope; recording the first position of the grip of the control master hand in the virtual rigid body coordinate system; recording the second position of the monitor coordinate system in the virtual rigid body coordinate system; After switching to the virtual rigid body control mode: based on the displacement of the first joint of the control hand, the motion trajectory of the grip of the control hand relative to the console base is calculated; based on the motion trajectory, the position and posture of the grip of the control hand in the monitor coordinate system is calculated; an alternative position and posture of the virtual rigid body coordinate system in the monitor coordinate system is generated, and the alternative virtual rigid body coordinate system is optimized so that the position and posture of the grip of the control hand described in the alternative virtual rigid body coordinate system have the highest degree of overlap with the first position and posture; the optimized alternative virtual rigid body coordinate system is set as the virtual rigid body coordinate system, and the third position and posture of the monitor coordinate system in the virtual rigid body coordinate system are recorded; based on the difference between the third position and the second position, the target position and posture of the virtual endoscope are calculated.

13. The method for adjusting the endoscope field of view according to claim 11, It is characterized in that When switching to the virtual rigid body control mode, the step of calculating and controlling the displacement of the second joint based on the target posture of the endoscope includes: Based on the inverse kinematic matrix, the displacement of the second joint is calculated from the target posture of the endoscope.

14. The method for adjusting the endoscope field of view according to claim 11, It is characterized in that When switching to the virtual rigid body control mode, the endoscope field of view adjustment method further includes the following steps: After a third preset time point, the locking of the movement freedom of at least a portion of the first joint makes the deviation between the grips of the two control master hands and the rod-shaped body fall within a third preset range; Among them, the third preset time point is when switching to the virtual rigid body control mode, when receiving a control instruction for representing the locking intention, or when receiving a control instruction that can reflect that the user has started to adjust the field of view.

15. A control system for a laparoscopic surgical robot. It is characterized in that The laparoscopic surgical robot comprises two control main hands, a processor and an endoscope, wherein the processor is configured as follows: executing the endoscope field adjustment method according to any one of claims 1 to 14 to control the endoscope based on the input command acquired by the control master hand, wherein the degree of freedom of movement of the endoscope is adaptively set; The input instruction includes a mode selection instruction, and the mode selection instruction corresponds to at least two preset modes.

Citation Information

Patent Citations

  • Intelligent positioning system and methods therefore

    CA2948719A1

  • Surgical robot system using augmented reality, and method for controlling same

    CN102341046A

  • Self-adaptive adjusting method for surgical field of view

    CN113855257A

  • Industrial robot teaching programming system and method based on 3D joystick

    CN115056214A

  • Method for displaying virtual surgical instrument on doctor console and doctor console

    CN115068114A

Cited By

  • Single-joint flexible bipolar grasping forceps and system, control method of single-joint flexible bipolar grasping forceps and electronic equipment

    CN119970211A

  • Manipulation device

    WO2026216087A1