Dual-mode preset performance visual servoing control method and system under visibility constraint

By constructing a dual-mode visual servo control method with initial and adaptive performance boundaries, the problem of targets exceeding the field of view in complex environments for flexible endoscope robots is solved, achieving hysteresis-free adaptive tracking and robust control.

CN123160465APending Publication Date: 2026-11-24FUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611277111.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing visual servo control methods for flexible endoscope robots struggle to ensure that the target remains within the camera's field of view in complex environments. Traditional methods also carry the risk of the target exceeding the field of view, and adaptive boundaries cannot effectively cope with external disturbances.

Method used

A dual-mode preset performance visual servo control method under visibility constraints is adopted. By constructing initial performance boundaries and adaptive performance boundaries, and combining them with a smooth transition function, the dynamic adjustment of performance boundaries and strict visibility constraints are achieved, generating joint space driving commands to ensure that the target is within the field of view.

Benefits of technology

It achieves hysteresis-free adaptive tracking of targets in complex environments, ensuring that the target is always within the field of view, improving the robustness and safety of control, and avoiding control law collapse and response lag problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160465A_ABST
    Figure CN123160465A_ABST
Patent Text Reader

Abstract

This invention provides a dual-mode preset performance visual servo control method and system under visibility constraints. The method includes: acquiring current image features collected by the end-effector of a flexible endoscope robot, calculating the visual feature tracking error, and mathematically quantifying the camera's field of view boundary to obtain visibility constraints; then sequentially constructing an initial performance boundary, an adaptive performance boundary, and a dual-mode adjustable performance function; based on the dual-mode adjustable performance function, performing error transformation on the tracking error to obtain an unconstrained transformation error; generating joint space driving commands based on the unconstrained transformation error and the kinematic model of the flexible endoscope robot; driving the flexible endoscope robot to move according to the joint space driving commands, updating the motion state and current image features, and repeating the process until the tracking error is less than a preset error threshold. This invention improves the autonomous tracking safety and control robustness of flexible endoscope robots in complex and constrained environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot control technology, and in particular to a dual-mode preset performance visual servo control method and system under visibility constraints. Background Technology

[0002] Flexible endoscopic robots, with their inherent continuous compliance, demonstrate excellent safe navigation and interaction capabilities in complex, unstructured environments such as minimally invasive surgery. To reduce the workload of clinicians and improve surgical precision, the use of visual control technology to automate endoscopic operations has become an important development trend. This automated intervention allows physicians to focus on higher-level medical decisions. However, ensuring the safe and continuous execution of automated tasks by the endoscope in complex and confined environments, maintaining the target strictly within the camera's field of view (FOV) is an indispensable physical prerequisite.

[0003] Currently, visual servoing control methods for flexible endoscope robots still have shortcomings. In image-based visual servoing (IBVS) control methods, while the traditional IBVS framework can overcome orientation misalignment effects and suppress bounded perturbations, it lacks an explicit image feature field-of-view constraint mechanism. When encountering unpredictable environmental disturbances, the target is prone to briefly exceeding the visual limit, ultimately leading to tracking failure. Although IBVS schemes incorporating visibility constraints can ensure target visibility during the servoing process, they still cannot provide theoretical guarantees for the transient and steady-state performance of the system in practical tasks.

[0004] To constrain tracking error, existing methods introduce Prescribed Performance Control (PPC). While the classic PPC scheme provides a theoretical guarantee of visibility through error transformation, it relies on a strict and invariant rigid performance boundary. When faced with external disturbances in real-world clinical settings, tracking error can easily exceed the rigid performance boundary, directly leading to numerical inflation or complete collapse of the control law, lacking adaptive flexibility to cope with complex and constrained environments.

[0005] To overcome the limitations of rigid boundaries, existing technologies attempt to employ PPC methods with adaptive performance boundaries. Mechanisms based on error adjustment loosen the boundary in real time by adjusting the error, but they lack the ability to strictly guarantee visibility constraints. The performance boundary when the initial error approaches the field of view limit, and the relaxed performance boundary under disturbances, risks exceeding the FOV boundary. On the other hand, state-triggered mechanisms determine whether to activate the boundary adjustment function based on whether the error exceeds a set threshold. However, these mechanisms risk response lag when dealing with high-frequency transient shocks and are difficult to integrate with visibility constraints.

[0006] Therefore, in the control of flexible endoscope robots, there is an urgent need for a precise visual servo control that can achieve hysteresis-free operation and robust disturbance rejection performance while strictly meeting the target visibility constraints. Summary of the Invention

[0007] To address the aforementioned problems in the prior art, this invention provides a dual-mode preset performance visual servo control method and system under visibility constraints, which achieves precise visual servo control with no hysteresis and robust disturbance rejection performance while satisfying the target visibility constraints.

[0008] To achieve the above objectives, the technical solution adopted by the present invention is as follows: In a first aspect, the present invention provides a dual-mode preset performance visual servo control method under visibility constraints, comprising: Step S1: Obtain the current image features collected by the end vision sensor of the flexible endoscope robot, calculate the tracking error between the current image features and the preset expected image features in terms of visual features, and perform mathematical quantification on the camera field of view boundary to obtain the visibility constraint conditions. Step S2: Based on the visibility constraint, construct an initial performance boundary with a preset time convergence characteristic. Based on the tracking error and the initial performance boundary, construct an adaptive performance boundary through algebraic mapping. Based on the adaptive performance boundary, construct a dual-mode adjustable performance function. When the adaptive performance boundary expands and approaches the field of view limit, the dual-mode adjustable performance function switches the performance boundary to a rigid boundary that strictly satisfies the visibility constraint through a smooth transition function. Step S3: Based on the dual-mode adjustable performance function, perform error transformation on the tracking error to obtain unconstrained transformation error, and generate joint space drive commands according to the unconstrained transformation error and the kinematic model of the flexible endoscope robot. Step S4: Drive the flexible endoscope robot to move according to the joint space driving command, update the motion state and current image features, and repeat the above steps until the tracking error is less than the preset error threshold.

[0009] The beneficial effects of this invention are as follows: By constructing an initial performance boundary with preset time convergence characteristics, and then constructing an adaptive performance boundary in real time based on the tracking error, the performance boundary can be dynamically adjusted without delay as the error fluctuates. This effectively avoids the numerical expansion and control law collapse problems caused by the error exceeding the boundary when encountering external disturbances, which are common with traditional rigid preset performance boundaries. Simultaneously, by smoothly transitioning the adaptive performance boundary to a rigid boundary that strictly satisfies visibility constraints through a smooth transition function when it approaches the field of view limit, the risk of the adaptive boundary relaxing and overflowing the camera's field of view under disturbances is prevented, and the response lag defect of threshold-triggered mechanisms under high-frequency transient impacts is avoided. Furthermore, the constrained tracking error is homeomorphically mapped to an unconstrained transformation error, and joint space drive commands are generated by combining the kinematic model of the flexible endoscope robot, achieving closed-loop control of the robot. Therefore, this invention can achieve rapid adaptive resistance to unknown external disturbances while strictly ensuring that the target remains within the field of view, improving the autonomous tracking safety and control robustness of the flexible endoscope robot in complex and constrained environments.

[0010] Optionally, the dual-mode adjustable performance function includes an error response adaptive mode and a visibility event-triggered modulation mode. In the error response adaptive mode, the performance boundary is adjusted in real time according to the adaptive performance boundary and the tracking error. In the visibility event-triggered modulation mode, when the adaptive performance boundary expands to approach the field of view limit, the performance boundary is transitioned from the adaptive performance boundary to a rigid boundary that strictly satisfies the visibility constraint condition. The rigid boundary is determined based on the adaptive performance boundary.

[0011] Optionally, the smooth transition function is a logarithmic transition function, and the expression for the dual-mode adjustable performance boundary in step S2 is: ; In the formula, Let be the dual-mode adjustable performance boundary of the i-th feature point at time t along the κ direction, where e is the natural base, k is the transition rate constant, and ω is the steady-state offset constant. Let be the adaptive performance boundary of the i-th feature point at time t in the κ direction.

[0012] Optionally, the expression for the adaptive performance boundary in step S2 is: ; ; In the formula, The tracking error of the i-th feature point in the κ direction at time t. Let be the tracking error boundary value of the i-th feature point in the κ direction. Let be the initial performance boundary of the i-th feature point at time t in the κ direction. Let be the adaptive adjustment term for the error response of the i-th feature point at time t in the κ direction.

[0013] Optionally, the expression for the initial performance boundary in step S2 is: ; In the formula, Let t be the steady-state error boundary value of the i-th feature point in the κ direction, l be the transient decay rate of the adjustment performance envelope, and t be the constant value of ... c This is the preset convergence time.

[0014] Optionally, in step S1, the camera's field of view boundary is mathematically quantified to obtain visibility constraints, including: Obtain the upper and lower boundaries of the camera's field of view on the image plane, calculate the difference between the upper boundary and the desired tracking position and the difference between the desired tracking position and the lower boundary, respectively, to obtain the maximum positive tracking error and the maximum negative tracking error, and use the minimum value of the maximum positive tracking error and the maximum negative tracking error as the visibility constraint condition.

[0015] Optionally, step S3 involves performing an error transformation on the tracking error to obtain an unconstrained transformation error, specifically including: Based on the performance envelope provided by the dual-mode adjustable performance function for the tracking error, the constrained tracking error homeomorphism is mapped to an unconstrained transformation error: ; In the formula, Let be the unconstrained transformation error of the i-th feature point at time t in the κ direction. For conversion functions, Let be the tracking error of the i-th feature point in the κ direction at time t. Let be the dual-mode adjustable performance boundary of the i-th feature point at time t in the κ direction. Let be the boundary value of the tracking error for the i-th feature point in the κ direction.

[0016] Optionally, generating joint space drive commands in step S3 includes: Based on the unconstrained transformation error, calculate the motion velocity vectors of each joint of the flexible endoscope robot: ; In the formula, Let be the velocity vector of each joint of the flexible endoscope robot at time t. Let λ be the Moore-Penrose right pseudoinverse of the Jacobian matrix of the flexible endoscopic robot system, λ be the positive definite diagonal gain matrix, and μ be the value of λ. 1 It is the inverse of the transformation gain matrix μ. Let η(t) be the unconstrained transformation error vector at time t, and let η(t) be the performance normalization vector at time t.

[0017] Optionally, the inverse matrix μ of the transformation gain matrix μ 1 The tracking error approaches zero as it nears the performance boundary. When image features approach the field of view limit, the diagonal elements of the transformation gain matrix As the corresponding components within its denominator asymptotically approach zero, the unconstrained transformation error and the isotropic expansion of the transformation gain matrix are triggered, causing the motion velocity vectors of each joint of the flexible endoscope robot to contain boundary repulsion velocity components that guide the target features back into the field of view.

[0018] In a second aspect, the present invention provides a dual-mode preset performance visual servo control system under visibility constraints, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the dual-mode preset performance visual servo control method under visibility constraints of the first aspect.

[0019] The technical effects of the dual-mode preset performance visual servo control system under visibility constraints provided in the second aspect are described in the relevant description of the dual-mode preset performance visual servo control method under visibility constraints provided in the first aspect. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the main process of the dual-mode preset performance visual servo control method under visibility constraints according to an embodiment of the present invention. Figure 2 This is a schematic diagram illustrating the relationship between the camera coordinate system and the image coordinate system set at the end of a flexible endoscope robot according to an embodiment of the present invention. Figure 3 This is a schematic diagram illustrating the smooth transition between the error response adaptive mode and the visibility event triggered modulation mode in an embodiment of the present invention. Figure 4 This is a schematic diagram illustrating the performance boundaries involved in an embodiment of the present invention; Figure 5 This is a control block diagram of a dual-mode preset performance visual servo control method under visibility constraints according to an embodiment of the present invention. Figure 6This is a schematic diagram of the structure of a dual-mode preset performance visual servo control system under visibility constraints according to an embodiment of the present invention.

[0021] Explanation of reference numerals in the attached figures: 1. A dual-mode preset performance visual servo control system under visibility constraints; 2. Processor; 3. Memory. Detailed Implementation

[0022] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and that the scope of the present invention can be fully conveyed to those skilled in the art.

[0023] Example 1 In existing technologies, traditional visual servoing lacks visibility constraints and performance boundary guarantees. Rigid boundaries are easily broken by disturbances, while adaptive boundaries risk overflowing the field of view or experiencing response lag. In this embodiment, a visibility constraint is constructed by quantifying the field of view boundary. Based on this, an initial performance boundary and an adaptive performance boundary are constructed sequentially. Then, a dual-mode adjustable performance function is constructed based on the adaptive performance boundary, achieving a smooth switch between flexible adjustment and rigid constraints. The tracking error is converted to generate driving commands, thereby achieving hysteresis-free and robust resistance to external disturbances while strictly ensuring target visibility. See the discussion below for details.

[0024] Please refer to Figures 1 to 2 A dual-mode preset performance visual servo control method under visibility constraints includes: Step S1: Obtain the current image features collected by the end vision sensor of the flexible endoscope robot, calculate the tracking error between the current image features and the preset expected image features in terms of visual features, and perform mathematical quantification on the camera field of view boundary to obtain the visibility constraint conditions.

[0025] Among them, users pre-input desired visual features Physical FOV boundary u max u min and v max v min , and the robot's initial state q.

[0026] In this embodiment, step S1 involves mathematically quantifying the camera's field of view boundary to obtain visibility constraints, including: Obtain the upper and lower boundaries of the camera's field of view on the image plane. Calculate the difference between the upper boundary and the desired tracking position, and the difference between the desired tracking position and the lower boundary, respectively, to obtain the maximum positive tracking error and the maximum negative tracking error. Use the minimum of the maximum positive tracking error and the maximum negative tracking error as the visibility constraint.

[0027] Specifically, refer to Figure 2 It can be seen that the time-varying coordinate vector of the i-th image feature point is defined as follows: And set its corresponding expected configuration as For the i-th feature point, its image feature tracking error is calculated. Defined as: ; To ensure that target features remain strictly within the camera's field of view, a visibility constraint needs to be implemented. This constraint is achieved by defining the maximum positive and maximum negative tracking errors relative to the image boundary, specifically expressed as follows: ; In the formula, , , , These represent the maximum positive tracking error and the maximum negative tracking error at the image boundaries, respectively. max u min and v max v min These represent the upper and lower bounds of the effective image plane region, respectively. To establish a symmetric reference for the visibility envelope, the local boundary limits are defined as: ; By incorporating the aforementioned visibility constraints into a predefined performance control framework, the evolution of the tracking error components is confined within a time-varying performance envelope. To concisely represent this formula, let... This represents the corresponding image coordinate axes. The evolution of this tracking error is expressed as: ; In the formula, This represents a smooth, strictly positive, decreasing performance function that determines the transient behavior and steady-state boundary of visual tracking error.

[0028] Step S2: Based on the visibility constraints, construct an initial performance boundary with preset time convergence characteristics. Based on the tracking error and the initial performance boundary, construct an adaptive performance boundary through algebraic mapping. Based on the adaptive performance boundary, construct a dual-mode adjustable performance function. When the adaptive performance boundary expands and approaches the field of view limit, the dual-mode adjustable performance function switches the performance boundary to a rigid boundary that strictly satisfies the visibility constraints through a smooth transition function.

[0029] In this embodiment, the dual-mode adjustable performance function includes an error response adaptive mode and a visibility event-triggered modulation mode. In the error response adaptive mode, the performance boundary is adjusted in real time according to the adaptive performance boundary and the tracking error. In the visibility event-triggered modulation mode, when the adaptive performance boundary expands and approaches the field of view limit, the performance boundary is transitioned from the adaptive performance boundary to a rigid boundary that strictly satisfies the visibility constraint condition. The rigid boundary is determined based on the adaptive performance boundary.

[0030] In this embodiment, within the specified performance control (PPC) framework, a performance function is used to impose strict transient and steady-state behavior specifications on the tracking error. The classic exponential performance function (EPF) imposes a strictly monotonically decaying boundary on the tracking error, thereby establishing an envelope that shrinks from a large initial value towards a preset steady-state boundary. Its specific expression is as follows: ; In the formula, This represents the initial transient error boundary in the κ direction. This represents the allowable steady-state error boundary value in the κ direction, and It is a design parameter that determines the exponential convergence rate.

[0031] The exponential performance function exhibits asymptotic convergence, meaning that the tracking error theoretically requires an infinitely long time to reach the steady-state boundary. To ensure convergence within a strictly bounded time interval, the existing exponential performance function is improved to obtain the predetermined time performance function PTPF. This function guarantees that the tracking performance envelope systematically reaches a stable state within the specified time frame. Therefore, the expression for the initial performance boundary in step S2 is: ; In the formula, Let be the initial performance boundary of the i-th feature point at time t in the κ direction. Let t be the steady-state error boundary value of the i-th feature point in the κ direction, l be the transient decay rate of the adjustment performance envelope, and t be the constant value of ... c This is the preset convergence time.

[0032] Given that flexible endoscopic robots are highly susceptible to external disturbances that cause error variations, the standard predetermined time performance function (PTPF) with a fixed performance boundary cannot adapt to such dynamic changes. To overcome this limitation, this embodiment designs and provides an adjustable performance function (APF) by integrating an adaptive error response adjustment term into the baseline predetermined time performance function (PTPF).

[0033] By employing algebraic mapping techniques, this adjustment term can directly incorporate real-time image tracking errors into the dynamic evolution of the performance envelope. Based on this mechanism, the performance boundary can respond to transient tracking errors in real time and be dynamically adjusted, thereby ensuring that the tracking error remains within a strictly bounded range and effectively preventing singularity failures of the control system under environmental disturbances. Specifically, for the u-axis and v-axis in the image plane, the expression for the adaptive performance boundary in step S2 is: ; ; In the formula, Let be the adaptive performance boundary of the i-th feature point at time t in the κ direction. Let be the tracking error of the i-th feature point in the κ direction at time t. Let be the tracking error boundary value of the i-th feature point in the κ direction. Let be the adaptive adjustment term for the error response of the i-th feature point at time t in the κ direction.

[0034] The aforementioned adaptive error response adjustment term is designed using a smooth and bounded hyperbolic tangent mapping to meet control requirements.

[0035] However, while the aforementioned APF can dynamically adjust its performance boundaries in response to real-time tracking errors, it inherently cannot guarantee strict compliance with hard visibility constraints. Severe external disturbances can still cause the tracked target to approach the camera's field of view limit. To enforce this requirement, this invention improves the APF by introducing an event-triggered modulation term, thereby obtaining a dual-mode adjustable performance function (DAPF). The proposed DAPF integrates two adjustment mechanisms and can adaptively switch between the following operating modes: (1) Error response adaptive mode. This is achieved through an adaptive mechanism. Dominantly, this mode dynamically scales the performance boundary based on real-time tracking error fluctuations to cope with external disturbances.

[0036] (2) Visibility event-triggered modulation mode. Managed by a barrier strategy, this mode imposes strict and deterministic performance boundaries on tracking errors to ensure that visual visibility constraints are never violated.

[0037] Through this dual-mode strategy, the dual-mode adjustable performance function (DAPF) enables the flexible endoscope robot to proactively address tracking errors caused by external interference while actively protecting visibility requirements. In this embodiment, the smooth transition function is a logarithmic transition function, and the expression for the dual-mode adjustable performance boundary in step S2 is: ; In the formula, e is the natural base, k is the transient rate constant, and ω is the steady-state offset constant. Let be the adaptive performance boundary of the i-th feature point at time t in the κ direction.

[0038] The operational mechanism for the smooth transition between the error response adaptive mode and the visibility event-triggered modulation mode is as follows: Figure 3 As shown. First, switch the activation point. The intersection point between the performance envelopes derived from DAPF and APF is dynamically adjusted. Before the system reaches this intersection point, it operates entirely within a flexible and adjustable boundary region. After operating for more than... Subsequently, the performance envelope deviates from the reconfigurable region, and the intersection point effectively transforms into a rigid boundary that strictly enforces visual visibility constraints. Secondly, unlike traditional hard switching or truncation methods that introduce non-differentiable points and non-smooth control actions, the framework proposed in this embodiment utilizes a logarithmic transition function to seamlessly connect the flexible and rigid boundaries. The form of this logarithmic formula guarantees that the DAPF is continuously differentiable, i.e. Smoothness is crucial for maintaining the stability of Lyapunov-based control. In this system architecture, a parameter k greater than 0 determines the system's transition rate, while a parameter ω greater than 0 is introduced to maintain adjustable boundary characteristics during the transition phase. In terms of control strategy, the steady-state offset ω ensures that the transition function always encloses the baseline APF boundary before mode switching, effectively preventing premature activation of constraints.

[0039] Therefore, tuning the parameters k and ω requires a rigorous dual-objective trade-off: 1. Transition rate constant k: A sufficiently large transition rate constant k must be selected to raise the actual effective upper limit so that it can closely approximate the preset restricted FOV boundary, thereby maximizing the operating workspace of APF mode. Its value range is 10 to 1000.

[0040] 2. Steady-state offset constant ω: Since the steady-state offset constant ω extends the preset steady-state boundary, it must be minimized as much as possible while satisfying the necessary boundary extension conditions. This balancing mechanism ensures that the desired steady-state control accuracy can be strictly guaranteed, and its value ranges from 0.0001 to 0.01.

[0041] In this embodiment, the intersection point of DAPF and APF is calculated by taking the APF function as the whole as the independent variable. The DAPF function is essentially a smooth transition function between the APF function and boundary 1. Therefore, the intersection point of DAPF and APF is determined by k and ω. The solution can be obtained using a mathematical curve plotting tool, such as GeoGebra. When the parameters k is set to 70 and ω is 0.011, the intersection point is 0.9911 when the display precision is set to retain four decimal places.

[0042] Reference Figure 4 It can be seen that when k is set to 70 and ω to 0.01, M u =M v When the performance boundary is set to 100, as the tracking error approaches the FOV boundary, the performance boundary automatically switches to a strict performance boundary to ensure that the tracking error is always confined within the performance boundary, thus achieving visibility constraint. Under transient, unperturbed conditions, the performance boundary converges to the steady-state boundary within a preset time. When external disturbances occur, the performance boundary adaptively adjusts itself without responding to the error, ensuring that the error is always kept within the performance boundary. Once the disturbance disappears, the performance boundary quickly recovers to the steady-state boundary.

[0043] Step S3: Based on the dual-mode adjustable performance function, the tracking error is transformed to obtain the unconstrained transformation error. Based on the unconstrained transformation error and the kinematic model of the flexible endoscope robot, joint space drive commands are generated.

[0044] Reference Figure 5 As can be seen, this embodiment provides a visual preset performance visual servo VPPVS controller for flexible endoscope robots. By directly mapping the performance specification of the dual-mode adjustable performance function DAPF to the image feature error, the controller allows the flexible endoscope robot to track the target while performing field-of-view visibility constraints.

[0045] At this point, in order to strictly ensure that the tracking error is always limited within the reconfigurable envelope indicated by the DAPF, the tracking performance criterion is restated as follows: ; To transform the aforementioned constrained control problem into an equivalent unconstrained framework applicable to Lyapunov designs, an error transformation method is employed. In this embodiment, for each axis κ∈{u,v}, step S3 performs error transformation on the tracking error to obtain the unconstrained transformation error, specifically including: Based on the performance envelope provided by the dual-mode adjustable performance function for the tracking error, the constrained tracking error homeomorphism is mapped to the unconstrained transformation error: ; In the formula, Let be the unconstrained transformation error of the i-th feature point at time t in the κ direction. For conversion functions, Let be the tracking error of the i-th feature point in the κ direction at time t. Let be the dual-mode adjustable performance boundary of the i-th feature point at time t in the κ direction. Let be the boundary value of the tracking error for the i-th feature point in the κ direction.

[0046] This transformation possesses two key properties that are crucial for robust control: 1) Boundedness: If ε i If e is kept bounded by the controller, then i Will be strictly limited to This ensures that the field of view visibility constraint is never violated.

[0047] 2) Singularity at the boundary: when e i (t) When approaching the performance boundary This naturally generates a high-intensity corrective control and a barrier effect to push the state back to the nominal region.

[0048] right Differentiating with respect to time yields the open-loop dynamic equation for the transformed error: ; Among them, intermediate conversion metric Defined as: ; The global transformation error vector is defined by summing the components of all n tracked image features. According to the defined system kinematics The time derivative of the tracking error Through the system Jacobian matrix J sys Configuration speed of the robot The relevant details are as follows: ; By Substitution In the transformed error expression, the vectorized global representation of the error system is: ; ; In the formula, μ is the transformation gain matrix, and For the performance normalization vector, its elements are defined by components as follows: .

[0049] To ensure the rapid exponential convergence of the transformed error, i.e. =-λε(t), in this embodiment, step S3 generates joint space driving instructions, including: Based on the unconstrained transformation error, calculate the motion velocity vectors of each joint of the flexible endoscope robot: ; In the formula, Let be the velocity vector of each joint of the flexible endoscope robot at time t. Let λ be the Moore-Penrose right pseudoinverse of the Jacobian matrix of the flexible endoscopic robot system, λ be the positive definite diagonal gain matrix, and μ be the value of λ. 1 It is the inverse of the transformation gain matrix μ. Let η(t) be the unconstrained transformation error vector at time t, and let η(t) be the performance normalization vector at time t.

[0050] Wherein, the inverse matrix μ of the transformation gain matrix μ is... 1 As the tracking error approaches the performance boundary, it nears zero. When image features approach the field of view limit, the diagonal elements of the transformation gain matrix asymptotically approach zero in their corresponding components within the denominator, triggering unconstrained transformation error and isotropic expansion of the transformation gain matrix. This causes the motion velocity vectors of each joint of the flexible endoscope robot to contain a boundary repulsion velocity component that guides the target features back into the field of view. Therefore, the controller generates a dominant boundary repulsion velocity that strongly guides the target features back into the absolutely safe interior region of the image workspace, thus mathematically eliminating the possibility of visibility violations.

[0051] Step S4: Drive the flexible endoscope robot to move according to the joint space driving command, update the motion state and current image features, and repeat the above steps until the tracking error is less than the preset error threshold.

[0052] In this embodiment, the joint space drive command generated in step S3 is sent to the underlying control system of the flexible endoscope robot. This underlying control system generates drive signals for each joint drive motor based on the joint space drive command, driving the motors to update the robot's joint angles and end-effector pose. Simultaneously, the end-effector vision sensor acquires the current image in the new pose, and re-obtains the current image features through a feature extraction algorithm, using this as input for the next control cycle. Steps S1 to S4 are executed in this loop until the tracking error based on visual features is less than a preset error threshold, thus completing the visual servo control task of the flexible endoscope robot.

[0053] In summary, the embodiments of the present invention have the following technical effects: 1. Balancing visibility constraints with transient / steady-state performance guarantees This invention constructs visibility constraints by quantifying the field-of-view boundary and establishes an initial performance boundary with preset time convergence characteristics. This provides the system with transient and steady-state error convergence domains to achieve the visibility constraints, ensuring visual feature convergence is completed within a preset time. Compared to existing IBVS schemes that combine visibility constraints, this invention not only strictly guarantees that the target remains within the field-of-view safety limits during servoing but also clearly defines the transient and steady-state tracking error boundaries of visual features, providing a theoretical guarantee for transient response and steady-state tracking accuracy in complex dynamic environments.

[0054] 2. Achieve hysteresis-free adaptive resistance to unknown external disturbances. This invention constructs an adaptive performance boundary based on the tracking error using an algebraic mapping, enabling the performance boundary to be dynamically adjusted without delay based on the real-time tracking error. Compared to threshold-triggered adaptive mechanisms, which are prone to response lag, this invention employs an error-driven mechanism using algebraic mapping, combining the tracking error with the initial performance boundary to provide the system with an adaptive performance boundary that responds without delay, ensuring the convergence speed and accuracy of visual features under ideal, undisturbed conditions.

[0055] 3. Overcoming rigid boundary defects while strictly ensuring visibility. This invention constructs a dual-mode adjustable performance function based on an adaptive performance boundary. When the adaptive boundary expands and approaches the field of view limit, it switches to a rigid boundary that strictly satisfies visibility constraints via a smooth transition function. When external disturbances cause a surge in tracking errors, the performance boundary expands adaptively to avoid numerical inflation and control collapse caused by the rigid boundary. When the expanded boundary approaches the physical limit of the field of view, the visibility constraints are strictly enforced to forcibly limit further widening of the boundary, ensuring that the relaxed dynamic boundary is always contained within the safe limit of the field of view.

[0056] 4. Construct a complete robust vision servo closed-loop control scheme This invention transforms the tracking error into an unconstrained transformation error, and combines this with a kinematic model to generate joint space drive commands. These commands drive the robot's movement and update its state and current image features, forming a complete closed-loop control. When image features drift and approach the field of view limit, the denominator component of the transformation gain matrix asymptotically approaches zero, triggering isotropic expansion. This causes the controller to generate a dominant boundary repulsion velocity, guiding the target features back to the safe interior region of the image workspace, mathematically eliminating the possibility of visibility violations.

[0057] In summary, this invention enables robust visual servo control that adapts to unknown external disturbances without hysteresis, while strictly ensuring that the target features are always kept within the camera's field of view.

[0058] Example 2 Please refer to Figure 3The dual-mode preset performance visual servo control system 1 under visibility constraints includes a memory 3, a processor 2, and a computer program stored on the memory 3 and run on the processor 2. When the processor 2 executes the computer program, it implements the steps in the above embodiment 1.

[0059] Since the systems / devices described in the above embodiments of the present invention are systems / devices used to implement the methods of the above embodiments of the present invention, those skilled in the art can understand the specific structure and modifications of the systems / devices based on the methods described in the above embodiments of the present invention, and therefore will not be repeated here. All systems / devices used in the methods of the above embodiments of the present invention fall within the scope of protection of the present invention.

[0060] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0061] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.

[0062] It should be noted that any reference numerals placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In claims that enumerate several means, several of these means may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience of expression and does not indicate any order. These terms can be understood as part of the component names.

[0063] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0064] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the claims should be interpreted to include both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0065] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, then this invention should also include these modifications and variations.

Claims

1. A dual-mode preset performance visual servoing control method under visibility constraints, characterized in that, include: Step S1: Obtain the current image features collected by the end vision sensor of the flexible endoscope robot, calculate the tracking error between the current image features and the preset expected image features in terms of visual features, and perform mathematical quantification on the camera field of view boundary to obtain the visibility constraint conditions. Step S2: Based on the visibility constraint, construct an initial performance boundary with a preset time convergence characteristic. Based on the tracking error and the initial performance boundary, construct an adaptive performance boundary through algebraic mapping. Based on the adaptive performance boundary, construct a dual-mode adjustable performance function. When the adaptive performance boundary expands and approaches the field of view limit, the dual-mode adjustable performance function switches the performance boundary to a rigid boundary that strictly satisfies the visibility constraint through a smooth transition function. Step S3: Based on the dual-mode adjustable performance function, perform error transformation on the tracking error to obtain unconstrained transformation error, and generate joint space drive commands according to the unconstrained transformation error and the kinematic model of the flexible endoscope robot. Step S4: Drive the flexible endoscope robot to move according to the joint space driving command, update the motion state and current image features, and repeat the above steps until the tracking error is less than the preset error threshold.

2. The dual-mode preset performance visual servoing control method under visibility constraints according to claim 1, wherein, The dual-mode adjustable performance function includes an error response adaptive mode and a visibility event-triggered modulation mode. In the error response adaptive mode, the performance boundary is adjusted in real time according to the adaptive performance boundary and the tracking error. In the visibility event-triggered modulation mode, when the adaptive performance boundary expands and approaches the field of view limit, the performance boundary is transitioned from the adaptive performance boundary to a rigid boundary that strictly satisfies the visibility constraint condition. The rigid boundary is determined based on the adaptive performance boundary.

3. The dual-mode preset performance visual servoing control method under visibility constraints of claim 1, wherein, The smooth transition function is a logarithmic transition function, and the expression for the dual-mode adjustable performance boundary in step S2 is: ; wherein is the dual-mode tunable performance boundary of the i-th feature point at time t in the κ direction, e is the natural base, k is the transition rate constant, and ω is the steady-state offset constant, is the adaptive performance boundary of the i-th feature point at time t in the κ direction.

4. The dual-mode preset performance visual servo control method under visibility constraints according to claim 3, characterized in that, The expression for the adaptive performance boundary in step S2 is: ; ; In the formula, Let be the tracking error of the i-th feature point in the κ direction at time t. Let be the tracking error boundary value of the i-th feature point in the κ direction. Let be the initial performance boundary of the i-th feature point at time t in the κ direction. Let be the adaptive adjustment term for the error response of the i-th feature point at time t in the κ direction.

5. The dual-mode preset performance visual servo control method under visibility constraints according to claim 4, characterized in that, The expression for the initial performance boundary in step S2 is: ; In the formula, Let t be the steady-state error boundary value of the i-th feature point in the κ direction, l be the transient decay rate of the adjustment performance envelope, and t be the constant value of ... c This is the preset convergence time.

6. The dual-mode preset performance visual servo control method under visibility constraints according to any one of claims 1 to 5, characterized in that, In step S1, the camera's field of view boundary is mathematically quantified to obtain visibility constraints, including: Obtain the upper and lower boundaries of the camera's field of view on the image plane, calculate the difference between the upper boundary and the desired tracking position and the difference between the desired tracking position and the lower boundary, respectively, to obtain the maximum positive tracking error and the maximum negative tracking error, and use the minimum value of the maximum positive tracking error and the maximum negative tracking error as the visibility constraint condition.

7. The dual-mode preset performance visual servo control method under visibility constraints according to any one of claims 1 to 5, characterized in that, In step S3, the tracking error is transformed to obtain an unconstrained transformation error, specifically including: Based on the performance envelope provided by the dual-mode adjustable performance function for the tracking error, the constrained tracking error homeomorphism is mapped to an unconstrained transformation error: ; In the formula, Let be the unconstrained transformation error of the i-th feature point at time t in the κ direction. For conversion functions, Let be the tracking error of the i-th feature point in the κ direction at time t. Let be the dual-mode adjustable performance boundary of the i-th feature point at time t in the κ direction. Let be the boundary value of the tracking error for the i-th feature point in the κ direction.

8. The dual-mode preset performance visual servo control method under visibility constraints according to claim 7, characterized in that, The step S3, which generates joint space drive commands, includes: Based on the unconstrained transformation error, calculate the motion velocity vectors of each joint of the flexible endoscope robot: ; In the formula, Let be the velocity vector of each joint of the flexible endoscope robot at time t. The value is the Moore-Penrose right pseudoinverse of the Jacobian matrix of the flexible endoscopic robot system, where λ is the positive definite diagonal gain matrix, and μ is the value of μ. 1 The inverse of the transformation gain matrix μ is... Let η(t) be the unconstrained transformation error vector at time t, and let η(t) be the performance normalization vector at time t.

9. The dual-mode preset performance visual servo control method under visibility constraints according to claim 8, characterized in that, The inverse matrix μ of the transformation gain matrix μ 1 The tracking error approaches zero as it nears the performance boundary. When image features approach the field of view limit, the diagonal elements of the transformation gain matrix As the corresponding components within its denominator asymptotically approach zero, the unconstrained transformation error and the isotropic expansion of the transformation gain matrix are triggered, causing the motion velocity vectors of each joint of the flexible endoscope robot to contain boundary repulsion velocity components that guide the target features back into the field of view.

10. A dual-mode preset performance visual servo control system under visibility constraints, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the dual-mode preset performance visual servo control method under visibility constraints as described in any one of claims 1 to 9.