A large mixed flow runner blade narrow flow channel ultrasonic flaw detection task redundant mechanical arm whole body safety control method and system
By using a capsule-shaped robotic arm to enclose obstacles and constructing a quadratic programming optimizer, the coupling interference problem between end-effector trajectory tracking accuracy and whole-body safety constraints in the flaw detection of large turbine blade robots was solved, realizing high-precision flaw detection and safety control of the robotic arm under complex working conditions.
Patent Information
- Application Number
- CN202611335871.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies for robotic flaw detection of large turbine blades, there is a coupling interference between the end-effector scanning trajectory tracking accuracy and the overall safety constraints. The continuous-time CBF method is not rigorous under discrete sampling, the simplified dynamic model leads to an underestimation of safety constraints, and the traditional hierarchical control architecture does not consider the nonlinear dynamic characteristics of the robotic arm, resulting in a decrease in control performance.
An obstacle is enclosed by a capsule-shaped robotic arm, and a motion trajectory is set. By minimizing the difference between the actual output torque of the robotic arm and the reference control torque, a quadratic programming optimizer is constructed. Combining nonlinear dynamic compensation terms and zero-space optimization torque, discrete safety constraints are mapped to the joint torque space, and linear torque obstacle avoidance constraints are established. The optimizer then solves for the safe driving torque.
This approach achieves the goal of reducing the impact of safety constraints on the end-effector scanning trajectory tracking accuracy while satisfying overall safety constraints, thereby improving the control performance and safety of the robotic arm under complex working conditions and ensuring the overall safety and end-effector trajectory accuracy of the robotic arm during flaw detection.
Smart Images

Figure CN123169063A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of robot control technology, and more specifically, relates to a method and system for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection in a narrow flow channel of a large mixed-flow turbine blade. Background Technology
[0002] Maintenance of large hydro-turbine blades is a crucial aspect of ensuring the safe operation of hydro-generator units. During long-term service, blades may develop surface and near-surface microcracks, requiring regular ultrasonic or laser ultrasonic testing. However, the narrow flow channels inside the turbine runner and the dramatic changes in blade curvature make manual inspection not only inefficient but also difficult to guarantee in terms of coverage and consistency.
[0003] Automated flaw detection using robots equipped with ultrasonic probes has become a development trend. However, in the aforementioned scenarios, the robotic arm needs to carry the detection probe within a confined space, moving close to complex curved surfaces while avoiding collisions with obstacles such as blade surfaces, weld protrusions, and adjacent blades. This ensures the safety of both the ultrasonic probe and the robotic arm itself, preventing secondary damage to the blade surface. In recent years, safety control methods based on obstacle functions combined with quadratic programming have attracted considerable attention due to their ability to provide rigorous mathematical forward safety guarantees. Compared to methods such as artificial potential fields, CBF can theoretically guarantee that the system state is always within a safe set, making it a better choice for imposing strict safety constraints. However, existing CBF methods have the following shortcomings in the complex working conditions of robotic flaw detection of large blades: (1) Most CBF methods are designed based on continuous-time theory, but in practical digital controllers, they can only be executed in discrete sampling mode. Within the sampling interval, the system may deviate from the theoretical safe trajectory due to the characteristics of the zero-order hold, and the forward invariance of the continuous CBF condition in discrete time no longer holds strictly. For flaw detection and scanning operations close to the blade surface, the control cycle is usually on the order of 10 ms, and the sampling effect cannot be ignored.
[0004] (2) Although the existing Discrete-Time CBF method takes into account the sampling effect, it is usually based on a simplified dynamic model. When the control cycle is long or the robot arm moves at a high speed, the model error may lead to the underestimation of safety constraints.
[0005] (3) Traditional hierarchical control architectures are mostly based on pure kinematic projection, which do not take into account the complex mass distribution and nonlinear dynamic characteristics of the robotic arm, resulting in coupling interference between the end-effector trajectory tracking accuracy and the whole-body safety constraints. In flaw detection applications, the end-effector trajectory tracking accuracy directly affects the coupling quality between the ultrasonic probe and the blade surface, and the intervention of safety constraints should not come at the expense of detection accuracy.
[0006] To overcome the above shortcomings, this invention addresses the application requirements of ultrasonic flaw detection for large turbine blade robots and proposes a method and system for the whole-body safety control of a redundant robotic arm for ultrasonic flaw detection in narrow flow channels of large mixed-flow turbine blades, thereby ensuring the safety of the robotic arm itself during the flaw detection process. Summary of the Invention
[0007] To address the aforementioned deficiencies or improvement needs of existing technologies, this invention provides a method and system for the whole-body safety control of a redundant robotic arm for ultrasonic flaw detection in narrow flow channels of large mixed-flow turbine blades, resolving the problem of coupling interference between end-effector scanning trajectory tracking accuracy and whole-body safety constraints.
[0008] To achieve the above objectives, according to one aspect of the present invention, a method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades is provided. This control method includes the following steps: The various links of the robotic arm to be controlled are enclosed in a capsule to form a capsule robotic arm; Obstacles are set at the end and non-end of the capsule robotic arm, a motion trajectory passing through the obstacles is set, and the reference control torque of the capsule robotic arm moving according to the set trajectory is calculated. The objective function is to minimize the difference between the actual output torque of the robotic arm and the reference control torque. The linear torque obstacle avoidance constraint of each obstacle is used as the constraint condition. A quadratic programming optimizer is established based on this. The optimizer is solved to obtain the safe driving torque required to control the robotic arm to move according to the set motion trajectory and safely avoid obstacles. The robotic arm is controlled according to the safe driving torque to achieve safe control of the robotic arm.
[0009] More preferably, the calculation process of the reference control torque is as follows: The nonlinear dynamic compensation term is calculated using the kinematic model of the capsule robot, and the main task torque required for each link of the capsule robot to move according to the set motion trajectory is calculated. Calculate the torque of each link of the capsule robot away from the singular position, and project the torque away from the singular position into the main task null space that does not affect the end pose, thereby obtaining the null space optimized torque; The reference control torque is calculated using the nonlinear dynamic compensation term, the main task torque, and the zero-space optimization torque.
[0010] More preferably, the calculation formula for the nonlinear dynamic compensation term is as follows:
[0011] in, This is a nonlinear dynamic compensation term. As a compensation item for Coriolis force, For gravity compensation, For the joint angle of the robotic arm, This refers to the angular velocity of the robotic arm joints.
[0012] More preferably, the calculation formula for the main task is as follows:
[0013]
[0014]
[0015] in, The torque required to perform the main task, Let be the Jacobian matrix of the end effector of the robotic arm. For the desired operating space force, For the operation space inertia matrix, The desired spatial acceleration vector is calculated based on the end-target pose. Here is the system inertia matrix. To prevent the damping coefficient from being used in the inversion of singularities, It is a 6-dimensional identity matrix.
[0016] More preferably, the calculation formula for the zero-space optimized torque is as follows:
[0017]
[0018] in, It is zero-space optimized torque. It is the complete operability gradient. Optimize gain for operability. For the optimized torque along the operable gradient, Here is the system inertia matrix. It is the dynamic consistency null projection matrix.
[0019] More preferably, the formula for calculating the reference control torque is as follows:
[0020] in, It is the reference control torque. Main task torque, Optimize torque for zero space This is a nonlinear compensation term for dynamics.
[0021] More preferably, the method for constructing the linear moment obstacle avoidance constraint for each obstacle is as follows: Discrete constraint safety constraint conditions are established based on the Euclidean distance between the nearest point on the protected link to the obstacle and the obstacle satisfying the safety constraint. Discrete safety constraints are mapped to joint torque space to obtain linear torque obstacle avoidance constraints.
[0022] More preferably, the discrete safety constraints and the linear torque obstacle avoidance constraints are as follows:
[0023]
[0024]
[0025]
[0026] in, For discrete control periods, It is a difference approximation of the second derivative of the barrier function. for The first derivative of the barrier function at time step, for Time barrier function, , The gain is adjusted to a preset discrete higher-order control barrier function. The coefficient matrix of the obstacle avoidance constraint. This is the upper bound vector for the obstacle avoidance constraint. For the safety torque to be determined, Let Jacobian matrix be the barrier function. Here is the system inertia matrix. This is a nonlinear dynamic compensation term. To compensate for the gain of the residual, It is a reference torque.
[0027] More preferably, the quadratic programming optimizer is as follows:
[0028]
[0029]
[0030]
[0031] in, It is a positive definite weight matrix. This is the torque deviation weight matrix. This is the spatial perturbation weight matrix for the final task. Here is the system inertia matrix. The global nominal control torque, For the terminal Jacobian matrix, The coefficient matrix of the obstacle avoidance constraint. This is the upper bound vector for the obstacle avoidance constraint. For the safety torque to be determined, , These are the upper and lower bounds of the torque at each joint.
[0032] According to another aspect of the present invention, a system is provided for safety control using the above-described method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of a large mixed-flow impeller blade in a narrow channel. This system includes a capsule robotic arm module, a trajectory planning model, and an optimizer module, wherein: The capsule robotic arm module is used to form a capsule robotic arm by enveloping the links of the robotic arm to be controlled in a capsule. The trajectory planning module is used to set obstacles, set the motion trajectory, and calculate the reference control torque; The optimizer module is used to construct and compute a quadratic programming optimizer.
[0033] In summary, the technical solutions conceived by this invention have the following beneficial effects compared with the prior art: 1. This invention sets a motion trajectory that passes through obstacles. Using the minimum difference between the actual output torque of the robotic arm and the reference control torque as the objective function, a quadratic programming optimizer is established with linear torque obstacle avoidance constraints constructed for each protected link and obstacle, as well as the upper and lower bounds of joint torques as hard constraints. The optimizer solves for the safe driving torque. When the safety constraints are activated, the optimizer only makes the minimum correction necessary to meet the whole-body obstacle avoidance requirements for the reference control torque. Since the weight matrix of the objective function simultaneously includes torque deviation weights and end-effector spatial disturbance weights, the optimizer can guide the safety correction to be allocated preferentially along directions with less impact on the end-effector task, and utilize redundant degrees of freedom to complete obstacle avoidance as much as possible. This transforms the control quantity competition between end-effector trajectory tracking and whole-body obstacle avoidance into a unified optimization problem of "safety constraints first, end-effector task disturbance minimum." This satisfies the whole-body safety constraints of the robotic arm while reducing the impact of safety constraint intervention on the end-effector scanning trajectory tracking accuracy, thus solving the problem of coupling interference between end-effector scanning trajectory tracking accuracy and whole-body safety constraints.
[0034] 2. This invention utilizes a nonlinear dynamics compensation term, a primary task torque, and a zero-space optimization torque to construct a reference control torque. The nonlinear dynamics compensation term reduces the impact of the robotic arm's own nonlinear dynamics on control performance. The primary task torque enables the end effector to dynamically decouple and track a preset scanning trajectory. The zero-space optimization torque uses redundant degrees of freedom to adjust the robotic arm configuration and move it away from singular positions. Since the zero-space optimization torque is projected into the primary task zero space, it reduces the interference of configuration optimization on end effector pose control. This allows the global nominal control torque to balance end effector trajectory tracking and robotic arm configuration optimization, providing a nominal control benchmark with good trajectory tracking performance and attitude adjustment capabilities for subsequent safety filtering.
[0035] 3. This invention maps the safety constraints of discrete-time high-order control obstacle functions to the joint torque space, forming linear inequality constraints with respect to joint torques. Since the underlying drive input of the robotic arm and the decision variables of the quadratic programming optimizer are both joint torques, this mapping can directly transform the collision avoidance requirements in the geometric state space into executable torque constraints. Furthermore, it allows the safety constraints to incorporate the current safety distance and approach trend, correcting the drive torque before the robotic arm reaches the safety boundary. Simultaneously, the resulting constraints maintain a linear form with respect to joint torques, facilitating the unified inclusion of obstacle avoidance constraints and upper and lower bounds of joint torques into the quadratic programming solution. This improves the consistency between safety constraints and the actual dynamic response of the robotic arm, and meets the real-time solution requirements for multi-obstacle whole-body safety control.
[0036] 4. The discrete safety constraints and linear torque obstacle avoidance constraints constructed in this invention can apply constraints in advance to the motion state that has not yet crossed the safety boundary but is rapidly approaching the obstacle. This reduces the sampling truncation error generated when the continuous-time safety conditions are implemented in the discrete controller, as well as the underestimation of safety constraints caused by model deviation. This improves the feasibility and robustness of safety constraints in the digital control environment and reduces the risk of each protected link of the robotic arm crossing the preset safety boundary.
[0037] 5. The quadratic programming optimizer constructed in this invention integrates the linear torque obstacle avoidance constraints of multiple link-obstacle pairs into the same optimization problem, avoiding conflicts arising from generating control variables separately for different obstacles. It employs a positive definite weight matrix to simultaneously measure the deviation of the desired safe driving torque from the global nominal control torque, as well as the disturbance of this torque correction to the end-effector task space. This allows the optimizer to coordinate the handling of whole-body obstacle avoidance, driving capability limitations, and end-effector task maintenance requirements within the feasible torque range. This improves the consistency, real-time performance, and stability of control variable solutions when multiple links and multiple obstacle constraints are simultaneously activated, ensuring that the obtained safe driving torque, while satisfying the current active safety constraints and joint torque limitations, minimizes disturbances to the end-effector scanning task.
[0038] 6. This invention uses a multi-segment capsule to fully envelop each link of the robotic arm, which can simultaneously handle various obstacles such as blade surfaces, weld protrusions, and adjacent blades, achieving 360° all-around safety protection for the robotic arm within the flaw detection work space. Attached Figure Description
[0039] Figure 1 This is a flowchart of a method and system for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection in a narrow channel of a large mixed-flow turbine blade, constructed according to a preferred embodiment of the present invention.
[0040] Figure 2 This is a schematic diagram of the approximate envelope of the whole-body capsule of the robotic arm constructed according to a preferred embodiment of the present invention.
[0041] Figure 3 This is a diagram of a redundant robotic arm whole-body safety control framework constructed according to a preferred embodiment of the present invention, based on discrete-time high-order control obstacle function and hierarchical consistency target optimization.
[0042] Figure 4 This is a diagram illustrating the full-body obstacle avoidance effect in an elbow obstacle scenario constructed according to a preferred embodiment of the present invention.
[0043] Figure 5 This is a verification diagram of end-task continuity and hierarchical priority constructed according to a preferred embodiment of the present invention.
[0044] Figure 6 The graph is a safety distance time history and end-point tracking accuracy curve constructed according to a preferred embodiment of the present invention, wherein (a) is a graph showing the changes of global nearest distance, nearest distance to obstacle 1, nearest distance to obstacle 2, and safety boundary over time; and (b) is a graph showing the comparison of the actual and expected positions of the end effector's X, Y, and Z axes over time. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0046] like Figure 1 As shown, a method and system for the whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades includes the following steps: S1 Constructing the Capsule Model A capsule is used to enclose each link of the robotic arm, forming a capsule model of the robotic arm. The movement process of the robotic arm is simulated to test whether the capsule model can avoid obstacles. Capsule body envelopment modeling and controller parameter configuration are performed. Obstacles are placed at the end point and non-end point of the robotic arm, respectively. The non-end point can be the elbow joint. A trajectory is set to pass through the obstacles so that the robotic arm moves along the set trajectory.
[0047] S2 Calculate the reference control torque (1) Obtain the joint position vector of the redundant robotic arm at the current moment. With joint velocity vector Establish a rigid body dynamics model of the robotic arm and obtain the system inertia matrix. And nonlinear dynamic compensation terms including Coriolis force, centrifugal force and gravity. ; (2) Based on the pose control target of the robotic arm end effector, combined with the inertia matrix of the operating space Calculate the main task torque for achieving dynamic decoupling tracking at the end point. ; (3) Obtain the operability index to characterize the flexibility of the current posture of the robotic arm. Calculate the gradient vector of the operability index with respect to the joint position. And combined with the dynamic consistency null space projection matrix Calculate the null space optimization torque without changing the end effector pose. ; (4) The main task torque Zero-space optimization torque and the nonlinear dynamic compensation term Superimposed and merged to generate a global nominal control torque .
[0048] The specific steps (1) to (4) above are as follows: Real-time acquisition of joint position vectors of redundant robotic arms With joint velocity vector Establish a rigid body dynamics model for the robotic arm:
[0049] in Here is the system inertia matrix. This is a nonlinear dynamic compensation term that includes Coriolis force, centrifugal force, and gravity. This represents the driving torque of the joint. The joint acceleration can be expressed as:
[0050] The desired spatial acceleration is calculated based on the pose control target of the robotic arm's end effector. Combining the robotic arm's operational space inertia matrix and the end effector's Jacobian matrix, the primary torque for achieving end effector pose tracking is calculated, ensuring that the end effector's motion is unaffected by its own nonlinear dynamic characteristics.
[0051] The operating space inertia matrix employs a damped pseudo-inverse to prevent singularities.
[0052] The expected operating space force is:
[0053] Calculate the torque required for each joint to move along the preset trajectory:
[0054] in For the terminal Jacobian matrix, is the damping coefficient.
[0055] Step 3: Calculate the torque of the robotic arm moving away from the singular position. Zero-space operability optimization Calculate the manipulability metric of the robotic arm's current posture:
[0056] Taking the logarithm of the operability formula yields... ,in By differentiating both sides of the equation, we can obtain the result.
[0057]
[0058] The complete operability gradient can be obtained through stacking.
[0059] The generalized inverse of dynamic uniformity is defined as:
[0060] The null projection matrix of the moment layer is:
[0061] Torque of the robotic arm moving away from the singular position
[0062] The torque far from the singular position is projected into the main task null space that does not affect the end pose, thus avoiding the torque far from the singular position from affecting the motion along the preset trajectory.
[0063] in Optimize gain for operability.
[0064] A further optimized approach involves superimposing the main task torque, the zero-space optimization torque, and the nonlinear dynamic compensation term to generate a reference control torque for performing normal operational tasks.
[0065] S3 Constructs a Quadratic Programming Optimizer (1) For the robotic arm and obstacles in the workspace, a high-order control obstacle function based on linear distance is constructed, and its second derivative is mapped to the joint torque space to generate a linear torque obstacle avoidance constraint matrix representing the physical collision avoidance boundary; as follows: To address the collision avoidance requirements between the links of the robotic arm and obstacles in the workspace, a high-order obstacle control function based on linear distance is constructed.
[0066] Define a barrier function in the form of linear distance:
[0067] in The Euclidean distance between the nearest point on the protected link to the obstacle and the obstacle itself. The nearest point position, Location of the obstacle. This is the preset safe distance threshold. This indicates that the safety constraints are met.
[0068] According to the theory of discrete-time higher-order control barrier functions, for a barrier function h(q) of relative order 2, the discrete barrier function sequence is defined as follows:
[0069]
[0070]
[0071] in This represents a first-order forward difference operator. The gain is adjusted to satisfy the preset discrete higher-order control barrier function. .
[0072] like For all If the condition is always true, then the barrier function can be guaranteed. The discrete-time forward invariance means that the system state is always within the safe set.
[0073] Using the difference approximation of the first derivative of the barrier function We can obtain:
[0074] Further calculations :
[0075]
[0076]
[0077] Therefore, the discrete security constraint is:
[0078] To compensate for the impact of simulation dynamics model errors, numerical integration errors, and unmodeled terms on constraint feasibility in discrete-time implementation, this invention introduces an online acceleration residual compensation mechanism.
[0079] First, the actual joint acceleration at the current moment is estimated using a low-pass filter:
[0080] in (typical value) ) represents the filter coefficients. To control the cycle.
[0081] Define reference torque (Prioritize using the feasible torque obtained from the safety filter solution of the previous control cycle) If not, use the current nominal torque. The residual between the model-predicted acceleration and the measured acceleration at point () is:
[0082] The residual This reflects a systematic deviation between model dynamics and actual execution dynamics.
[0083] The compensated joint velocity difference prediction is as follows:
[0084] in (typical value) ) represents the residual compensation gain. When It degenerates into an uncompensated simplified discrete HOCBF; when At that time, the residual was fully injected.
[0085] Using the barrier function velocity difference approximation Substituting discrete security constraints:
[0086] Expand and organize to obtain information about joint torques. Linear inequality constraints:
[0087] That is, standard form ,in:
[0088]
[0089] For the multiple anti-collision links of the robotic arm and multiple obstacles in the workspace, each linear torque obstacle avoidance constraint is independently constructed. All coefficient vectors and boundary values are then concatenated in a row direction to form a multi-safety constraint matrix, which is then uniformly input into a quadratic programming optimizer for solution.
[0090] (2) Construct a dynamic consistent quadratic programming (QP) optimizer with the objective function of minimizing the difference between the actual output torque and the global nominal control torque. Input the linear torque obstacle avoidance constraint matrix as a hard constraint condition into the optimizer, solve for the final absolute safety driving torque and send it down to the bottom-level driver of the robotic arm.
[0091] To improve real-time performance, a hazardous capsule screening strategy can be adopted: only capsules with a barrier distance less than the entry threshold are screened. Link-obstacle pairs are included in the active constraint set, and the barrier distance is greater than the exit threshold. ( When the time is right, remove it from the list and use hysteresis switching to avoid frequent constraint oscillations. To further reduce the QP size, only the nearest one can be retained. A dangerous constraint.
[0092] A quadratic programming (QP) optimizer is constructed with the objective function of minimizing the difference between the actual output torque and the global nominal control torque. The linear torque obstacle avoidance constraint matrix is input into the optimizer as an absolute hard constraint to perform safety filtering on the nominal torque.
[0093] The objective function of QP is:
[0094] in The weight matrix is positive definite and is designed as follows:
[0095] Penalty weight for torque space deviation (default) ), Penalty weights for space perturbation in the final task (default) The design meaning of this weight matrix is to find the torque correction amount that minimizes the acceleration disturbance of the end task while satisfying safety constraints.
[0096] The constraints of QP include: Obstacle avoidance hard constraints: (All active hazard links - obstacle pairs) Torque upper and lower bound constraints:
[0097] When QP solution fails (e.g., numerical infeasibility), a safe rollback strategy is adopted: the feasible torque from the previous control cycle is used first. If no historical feasible torque exists, then revert to the nominal torque after trimming. .
[0098] The final absolute safety driving torque is obtained by solving the problem. The command is then sent to the underlying driver of the robotic arm for execution.
[0099] The present invention will be further described below with reference to specific embodiments.
[0100] A method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of large mixed-flow turbine blades in narrow flow channels, specifically including the following steps: (a) Setting the control cycle s (100 Hz control frequency). The inertia matrix is calculated in real time using the Pinocchio rigid body dynamics library. Nonlinear terms .like Figure 2 For each of the seven links of the robotic arm, a multi-capsule envelope is constructed, with each capsule segment parameterized by the coordinates of its two endpoints and its radius. Obstacles are modeled as spheres (center position). ,radius Main task PD gain: , (Location); , (Attitude). Operability optimization gain: (Disabled by default, can be enabled when needed). HOCBF parameters: Safe distance: m. Acceleration estimation filter coefficients: Residual compensation gain: Dangerous capsule entry threshold: m, Exit threshold: m, at most retain One constraint.
[0101] (b) Perform real-time control loops, and use redundant robotic arm whole-body safety control methods and systems to ensure the overall safety of the robotic arm at every moment. Execute within each control cycle: Through the current , calculate , , and Final synthesis .
[0102] Refresh the capsule envelope geometry, calculate the shortest distance from each link to the obstacle, and filter dangerous capsules. ), keep the most recent A dangerous capsule. Estimated acceleration. Calculate the residual And construct discrete HOCBF linear constraints. By solving QP, we obtain Send to the simulator for execution (c) Conduct multi-obstacle avoidance simulation experiments to verify In one embodiment of the present invention, in a static obstacle scenario simulating the flaw detection and scanning of a turbine blade surface, the acceleration residual compensation discrete HOCBF method of the present invention is adopted. While the end of the robotic arm tracks the predetermined scanning trajectory, the minimum distance between each link and obstacles such as the blade surface and weld protrusions is always greater than the safe distance, which can achieve strict non-overstepping and the maximum position tracking error of the end flaw detection and scanning trajectory does not show significant degradation.
[0103] To verify the comprehensive performance of the method of this invention when both the end effector and non-end effector links face collision risks simultaneously, the following dual-obstacle whole-body obstacle avoidance scenario was designed: The end effector of the robotic arm performs a uniform linear scanning task along the X direction, with an initial position p0 = [0.35, 0.25, 0.55]T m and an ending position pf = [0.75, 0.25, 0.55]T m, a scanning speed of approximately 0.013 m / s, and a static holding period of 3.75 s before and after, for a total motion duration of 30 s. The posture is fixed at the initial posture. Figure 4 As shown, two static spherical obstacles are placed in the scene simultaneously: (1) End obstacle (red sphere), located at ,radius It is located exactly in the middle of the expected scanning path at the end, and is used to test the impact of safety constraints on the main task when the end link directly collides with an obstacle. (2) Elbow obstacle (orange sphere), located at ,radius Located near the middle link (Link 3-4) of the robotic arm, it is used to test the hierarchical coordination between obstacle avoidance of non-end-effector links and end-effector task execution.
[0104] As attached Figure 4 As shown, in the elbow obstacle scenario, the elbow obstacle (orange solid sphere) is marked with [marking information]. The safety margin range (semi-transparent beige spherical shell) and the cyan trajectory line represent the spatial trajectory of the nearest obstacle avoidance point at the robotic arm's elbow throughout the entire movement. As shown in the figure, the robotic arm configuration undergoes significant active reconstruction during the obstacle approach phase: the trajectory of the nearest point of the capsule corresponding to Links 3-4 forms an arc-shaped bypass path along the outer edge of the obstacle, and the minimum distance between the robotic arm and the obstacle is always greater than zero at any given time. This result demonstrates that the method of this invention, through the synergistic effect of the whole-body capsule envelope and HOCBF constraints, achieves collision-free passage of the elbow by utilizing the robotic arm's redundant degrees of freedom, provided the end-effector trajectory remains undisturbed, thus verifying the effectiveness of the whole-body envelope obstacle avoidance strategy.
[0105] As attached Figure 5 As shown, the complete scanning process is displayed from a frontal view in an end-effector obstacle scenario. Green dots represent the actual positions of the end effector at each moment, and green straight lines represent the desired scanning trajectory. Red solid spheres represent end-effector obstacles, yellow triangles mark the capsule surface points closest to the obstacle at each moment, yellow broken lines represent the spatial trajectory of these nearest obstacle-avoidance points, and blue dashed lines connect the end-effector position at each moment to the corresponding nearest obstacle-avoidance point. The following key phenomena can be observed from the figure: the end effector scans at a constant speed along the predetermined straight path, and the trajectory does not deviate or detour near the obstacle, indicating that the primary priority end-effector tracking task is not interfered with by safety corrections; while the overall configuration of the robotic arm undergoes a significant implicit reconstruction near the obstacle—the trajectory of the yellow nearest obstacle-avoidance point... The formation of a significant V-shaped bypass path indicates that the safety correction torque is preferentially projected onto the primary task null space. By adjusting the configuration of non-end-effector joints to satisfy safety constraints, safety correction overflow is only allowed to affect the end-effector task when the null space degrees of freedom are insufficient. This result verifies the core design idea of the hierarchical consistent QP objective function of this invention: safety constraints have the highest priority in the operational space hierarchy, but through a dynamically consistent null space structure, the safety correction torque preferentially consumes the null space degrees of freedom, achieving minimal interference to the primary task.
[0106] As attached Figure 6 As shown, the top figure presents the safe distance time history during the complete 30-second simulation, and the bottom figure shows the three-axis position tracking curve of the end effector. The red dashed line represents the global nearest distance among all active collision pairs, the green solid line and the blue solid line represent the independent nearest distances between the end effector obstacle (obstacle 1) and the elbow obstacle (obstacle 2), respectively, and the orange horizontal dashed line represents the safety boundary. .
[0107] The entire movement process exhibits two distinct constraint activation phases: In the first phase, around t≈10-20 s, the elbow obstacle distance (blue curve) rapidly decreases from approximately 0.15 m and approaches the safety boundary, indicating the robotic arm enters elbow obstacle avoidance mode. In the second phase, around t≈15-25 s, the end-effector obstacle distance (green curve) continuously decreases from approximately 0.20 m to near the safety boundary, activating both obstacle constraints simultaneously, and the system enters a dual-obstacle parallel solution phase. Around t≈17 s, the elbow distance briefly rebounds to approximately 0.12 m before converging again to near the safety boundary, reflecting the dynamic process of the robotic arm adjusting its configuration to avoid the danger zone and then approaching the safety boundary again. Throughout the entire process, all link distances remain strictly greater than zero, with no safety violations occurring, verifying the constraint feasibility of the proposed discrete HOCBF method for acceleration residual compensation in discrete-time implementation.
[0108] The figure below compares the actual (solid lines) and desired (dashed lines) positions of the end effector in the three axes. The Z-axis (orange) remains constant at approximately 0.55 m, perfectly coinciding with the desired curve. The Y-axis (green) linearly decreases from 0.25 m to -0.25 m, with the actual trajectory closely matching the desired scanning path, showing no visible offset. The X-axis (blue) maintains a value of approximately 0.40 m. During the high-load phase with simultaneous activation of dual obstacle constraints at t≈15-25 s, a small fluctuation of approximately ±2 mm occurs, followed by rapid recovery. For the remaining time periods, the actual curve completely overlaps with the desired curve. This result indicates that during periods of high activation of safety constraints, the hierarchical consistency QP primarily projects the safety correction torque to the null space, effectively suppressing the end-effector tracking error. Only when the null space degrees of freedom are insufficient to fully absorb the correction amount does a weak transient disturbance occur in the X-direction (amplitude only 20% of the safety distance), reflecting the hierarchical priority design philosophy of the frame to ensure safety at minimal cost.
[0109] The above simulation results show that the redundant robotic arm whole-body safety control method based on discrete-time high-order control obstacle function and hierarchical consistent target optimization of the present invention has achieved the following key performance indicators in the narrow space scenario of double obstacles in the simulation of water turbine blade surface flaw detection and scanning: (1) Full safety: the shortest distance from all connecting capsules to the two obstacles is strictly greater than zero throughout the 30 s process, and no collision occurs; (2) Hierarchical protection: the end trajectory tracking maintains millimeter-level accuracy during the safety constraint activation period, with a maximum position tracking error of about ±2 mm, which is only 20% of the safety distance (10 mm); (3) Active reconstruction: when the elbow avoids obstacles, the robotic arm configuration actively moves around the outer edge of the obstacle, and the obstacle avoidance action has no visible impact on the end task trajectory; (4) Constraint parallel processing: during the stage of simultaneous activation of the two obstacles, the QP solver successfully processes multiple safety constraints in parallel, and the end tracking performance does not degrade. The above results verify the engineering applicability of the method of the present invention in narrow space operation scenarios such as flaw detection and scanning. The proposed online compensation mechanism for acceleration residuals effectively eliminates the cumulative effect of truncation error in discrete-time implementation. The proposed hierarchical consistent QP optimizer achieves minimal interference to the main task while ensuring absolute safety.
[0110] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades, characterized in that, The control method includes the following steps: The various links of the robotic arm to be controlled are enclosed in a capsule to form a capsule robotic arm; Obstacles are set at the end and non-end of the capsule robotic arm, a motion trajectory passing through the obstacles is set, and the reference control torque of the capsule robotic arm moving according to the set trajectory is calculated. The objective function is to minimize the difference between the actual output torque of the robotic arm and the reference control torque. The linear torque obstacle avoidance constraint of each obstacle is used as the constraint condition. A quadratic programming optimizer is established based on this. The optimizer is used to solve for the safe driving torque required to control the robotic arm to move according to the set motion trajectory and safely avoid obstacles. The robotic arm is controlled according to the safe driving torque to achieve safe control of the robotic arm.
2. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 1, characterized in that, The calculation process for the reference control torque is as follows: The nonlinear dynamic compensation term is calculated using the kinematic model of the capsule robot, and the main task torque required for each link of the capsule robot to move according to the set motion trajectory is calculated. Calculate the torque of each link of the capsule robot away from the singular position, and project the torque away from the singular position into the main task null space that does not affect the end pose, thereby obtaining the null space optimized torque; The reference control torque is calculated using the nonlinear dynamic compensation term, the main task torque, and the zero-space optimization torque.
3. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 2, characterized in that... The calculation formula for the nonlinear dynamic compensation term is as follows: in, This is a nonlinear dynamic compensation term. As a compensation item for Coriolis force, For gravity compensation, For the joint angle of the robotic arm, This refers to the angular velocity of the robotic arm joints.
4. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 2, characterized in that, The calculation formula for the main task is as follows: in, The torque required to perform the main task, Let be the Jacobian matrix of the end effector of the robotic arm. For the desired operating space force, For the operation space inertia matrix, The desired spatial acceleration vector is calculated based on the end-target pose. Here is the system inertia matrix. To prevent the damping coefficient from being used in the inversion of singularities, It is a 6-dimensional identity matrix.
5. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 2, characterized in that, The formula for calculating the zero-space optimized torque is as follows: in, It is zero-space optimized torque. It is the complete operability gradient. Optimize gain for operability. For the optimized torque along the operable gradient, Here is the system inertia matrix. It is the dynamic consistency null projection matrix.
6. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 2, characterized in that, The formula for calculating the reference control torque is as follows: in, It is the reference control torque. Main task torque, Optimize torque for zero space This is a nonlinear compensation term for dynamics.
7. A method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 1 or 6, characterized in that, The method for constructing the linear moment obstacle avoidance constraint for each obstacle is as follows: Discrete constraint safety constraint conditions are established based on the Euclidean distance between the nearest point on the protected link to the obstacle and the obstacle satisfying the safety constraint. Discrete safety constraints are mapped to joint torque space to obtain linear torque obstacle avoidance constraints.
8. The method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades as described in claim 7, characterized in that, The discrete safety constraints and linear torque obstacle avoidance constraints are as follows: in, For discrete control periods, It is a difference approximation of the second derivative of the barrier function. for The first derivative of the barrier function at time step, for Time barrier function, , The gain is adjusted to a preset discrete higher-order control barrier function. The coefficient matrix of the obstacle avoidance constraint. This is the upper bound vector for the obstacle avoidance constraint. For the safety torque to be determined, Let Jacobian matrix be the barrier function. Here is the system inertia matrix. This is a nonlinear dynamic compensation term. To compensate for the gain of the residual, It is the reference torque of the previous control cycle. The residual between the model acceleration and the measured acceleration at the point, yes Low-pass filtering estimation of joint acceleration at time step. These are the filter coefficients. and They are respectively Time and The joint velocity at any given moment.
9. A method for whole-body safety control of a redundant robotic arm for ultrasonic flaw detection of narrow flow channels in large mixed-flow turbine blades, as described in claim 1 or 8, characterized in that... The quadratic programming optimizer is as follows: in, It is a positive definite weight matrix. This is the torque deviation weight matrix. This is the spatial perturbation weight matrix for the final task. Here is the system inertia matrix. The global nominal control torque, For the terminal Jacobian matrix, The coefficient matrix of the obstacle avoidance constraint. This is the upper bound vector for the obstacle avoidance constraint. For the safety torque to be determined, and These are the upper and lower bounds of the torque at each joint.
10. A system for safety control using the redundant robotic arm whole-body safety control method for ultrasonic flaw detection of a large mixed-flow turbine blade in a narrow flow channel as described in any one of claims 1-9, characterized in that, The system includes a capsule robotic arm module, a trajectory planning model, and an optimizer module, wherein: The capsule robotic arm module is used to form a capsule robotic arm by enveloping the links of the robotic arm to be controlled in a capsule. The trajectory planning module is used to set obstacles, set the motion trajectory, and calculate the reference control torque; The optimizer module is used to construct and compute a quadratic programming optimizer.
