A control method and device for a complex curved surface climbing inspection robot
By acquiring global scan data and local surface geometry data, and dynamically selecting gait and adsorption pressure values, the problem of unstable adsorption on complex curved surfaces in existing technologies is solved, achieving stable adsorption and efficient movement on complex curved surfaces.
Patent Information
- Application Number
- CN202610617630.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-05-07
AI Technical Summary
Existing wall-climbing inspection robots, due to their use of a single and fixed motion adsorption mode, lack the ability to perceive and adaptively adjust the geometric features of local curved surfaces in real time, making it difficult to maintain a stable adsorption posture on complex curved surfaces.
By acquiring global scan data of the working surface, an initial path is planned, and local surface geometry data is acquired after the inspection robot arrives at the starting position. The target gait is dynamically selected, and confidence scores are calculated based on real-time posture data and local surface features. Candidate landing points are verified one by one, the target landing point is determined, and the target adsorption pressure value is calculated to ensure stable adsorption on complex surfaces.
It improves safety in high-risk areas and mobility in flat areas, reduces the risk of adsorption failure, achieves stable and reliable adsorption on complex curved surfaces, and solves the problem of unstable adsorption in existing technologies.
Smart Images

Figure CN122194968B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of climbing and inspection technology, specifically to a control method and device for a robot that climbs and inspects complex curved surfaces. Background Technology
[0002] In the energy, power, and petrochemical industries, critical infrastructure such as wind turbine blades, large oil storage tanks, and spherical storage tanks typically possess large-scale, towering, and complex curved surface characteristics. To ensure the safe operation and structural integrity of these devices, regular non-destructive surface inspections and maintenance checks are essential. With the development of robotics technology, utilizing specialized wall-climbing robots to replace manual labor in automated climbing and operations in high-altitude, high-risk, and complex environments has become an important trend in reducing operational risks.
[0003] Existing wall-climbing inspection robots primarily employ a single motion adsorption mechanism to move across walls. One type is the vacuum adsorption robot, which uses an onboard vacuum pump to generate negative pressure and utilizes an array of suction cups to alternately adsorb and release for movement. The other type is the magnetic adsorption tracked robot, which relies on the adsorption force generated by magnetic components combined with the friction between the track and the contact surface for propulsion and climbing. These robots are typically designed to perform adsorption, walking, and inspection tasks on vertical planes, regular cylindrical surfaces, or simple surfaces with minimal curvature changes.
[0004] However, the aforementioned existing technologies, due to their use of a single and fixed motion adsorption mode, lack the ability to perceive and adaptively adjust the geometric features of local curved surfaces in real time, making it difficult to maintain a stable adsorption posture on complex curved surfaces. Summary of the Invention
[0005] This application provides a control method and device for a robot that climbs and inspects complex curved surfaces. This method effectively overcomes the problem of unstable adsorption caused by a single fixed motion mode in the prior art.
[0006] Firstly, this application provides a control method for a complex curved surface climbing and inspection robot. The robot includes a body, multiple degrees-of-freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each mechanical leg. The adsorption and release of each vacuum suction cup assembly can be independently controlled. The method includes: acquiring global scan data of the working curved surface; planning an initial path based on the global scan data; after controlling the inspection robot to reach the starting position in the initial path, acquiring local curved surface geometry data of the target area in front of the starting position; acquiring real-time posture data of the inspection robot at the starting position; determining the target gait for reaching the target area based on the local curved surface geometry data; determining the mechanical leg to be moved based on the target gait; and, based on the real-time posture data and the target gait, moving the mechanical leg in the target area. The robot identifies multiple candidate landing points for its leg. Surface data for each candidate landing point is acquired, and local surface features are calculated based on this data to obtain multiple confidence scores, with each candidate landing point corresponding to one confidence score. Based on the priority determined by the confidence scores, each candidate landing point undergoes contact-based physical verification, and the first candidate landing point to pass the physical verification is designated as the target landing point. Based on the location of the target landing point, the robot plans its target pose after moving from its starting position to the target landing point and adsorbing onto it. The target adsorption pressure value of the robot leg to be moved is calculated based on the target pose, the surface data of the target landing point, and preset robot dynamic parameters. The vacuum suction cup assembly at the end of the robot leg to be moved is controlled to move to the target landing point, and adsorption is performed using the target adsorption pressure value as the target.
[0007] By adopting the above technical solution, global scanning data of the working surface is acquired and an initial path is planned. After the inspection robot arrives at the starting position, local surface geometry data of the target area ahead is acquired. By acquiring real-time posture data and determining the target gait based on the local surface geometry data, the robot can dynamically select different gaits according to the complexity of the surface. Compared with the fixed gait of the existing technology, this improves safety in high-risk areas and movement efficiency in flat areas. After determining the mechanical leg to be moved, multiple candidate landing points are determined in the target area based on real-time posture data and target gait. The surface data of each candidate landing point is acquired, and local surface feature calculations are performed to obtain a confidence score. Based on the priority order determined by the confidence score, contact-based physical verification is performed one by one. The first candidate landing point that passes the verification is determined as the target landing point, reducing the risk of adsorption failure. The target pose is planned according to the position of the target landing point, and the target adsorption pressure value is calculated by combining the target pose, surface data, and preset robot dynamic parameters. The vacuum suction cup assembly is controlled to adsorb at the target adsorption pressure value, ensuring that a stable and reliable adsorption state can be maintained in various areas of the complex surface, thus solving the problem of unstable adsorption on complex surfaces in the existing technology.
[0008] Optionally, the target gait for reaching the target area is determined based on local surface geometry data. Specifically, this includes: calculating the average curvature and surface normal vector dispersion of the target area based on local surface geometry data; calculating the gravity component factor currently experienced by the inspection robot based on real-time attitude data and local surface geometry data; weighted summing of the average curvature, surface normal vector dispersion, and gravity component factor to obtain a comprehensive terrain complexity coefficient; if the comprehensive terrain complexity coefficient is greater than a first risk threshold, the current working condition is determined to be a high-risk working condition, and a stable gait is selected as the target gait; if the comprehensive terrain complexity coefficient is less than or equal to the first risk threshold and greater than a second risk threshold, the current working condition is determined to be a medium-risk working condition, and a three-point gait is selected as the target gait, where the first risk threshold is greater than the second risk threshold; if the comprehensive terrain complexity coefficient is less than or equal to the second risk threshold, the current working condition is determined to be a low-risk working condition, and a two-point alternating gait is selected as the target gait.
[0009] By adopting the above technical solution, a quantitative assessment of local terrain risks is achieved. By comprehensively considering the geometric features of the curved surface and the robot's own force state, the robot can dynamically select the optimal gait that matches the actual complexity of the work area ahead. This overcomes the limitations of the fixed gait pattern in existing technologies, thereby ensuring the safety of high-risk areas while taking into account the passage efficiency of low-risk areas, and achieving an adaptive balance between safety and efficiency.
[0010] Optionally, based on real-time attitude data and the target gait, multiple candidate landing points are determined for the robotic leg to be moved in the target area. Specifically, this includes: acquiring a gait parameter set corresponding to the target gait, including minimum stride, maximum stride, and angle range; defining a circular search area between the minimum and maximum stride on the local surface geometry data, with the current attachment point of the robotic leg as the origin, based on the real-time attitude data; sampling the local surface geometry data within the circular search area to generate a set of initial sampling points, and performing kinematic reachability verification on each initial sampling point to obtain a set of reachable points; calculating the stability gain score and kinematic cost score for each reachable point in the set; weighted summing the stability gain score and kinematic cost score to obtain multiple comprehensive fitness scores, with each comprehensive fitness score corresponding to one reachable point; and selecting reachable points with comprehensive fitness scores greater than a preset fitness threshold as candidate landing points from the multiple comprehensive fitness scores.
[0011] By adopting the above technical solution, the gait parameter set corresponding to the target gait is obtained, ensuring that the landing point search is always carried out within the effective workspace of the robotic leg, avoiding invalid movements caused by exceeding joint limits or having too small a stride. Based on real-time posture data, a circular search area is defined on the local surface geometry data with the current attachment point of the robotic leg to be moved as the origin. After sampling the local surface geometry data within the circular search area to generate initial sampling points, the process of obtaining reachable points through kinematic reachability verification is performed. The method of calculating the stability gain score and kinematic cost score of the reachable points and then performing a weighted summation to obtain the comprehensive fitness score avoids local optima caused by a single optimization objective. Finally, reachable points with a comprehensive fitness score greater than a preset fitness threshold are selected as candidate landing points, improving the success rate of the final landing point selection and the robot's continuous operation capability on complex surfaces.
[0012] Optionally, the stability gain score and kinematic cost score are calculated for each reachable point in a set of reachable points. Specifically, this includes: determining the supporting legs based on the moving leg; obtaining the three-dimensional coordinates of the attachment points of each supporting leg to form the current support point set; the supporting legs being the other legs in a multi-degree-of-freedom leg that remain in an adsorbed state (excluding the moving leg); obtaining the target reachable point from the set of reachable points; summarizing the three-dimensional coordinates of the target reachable point into the current support point set to obtain the expected support point set; calculating the projection point of the inspection robot's center of gravity on the local surface based on real-time attitude data; constructing a virtual support topology based on the spatial distribution relationship of each coordinate point in the expected support point set; calculating the geometric breadth eigenvalue of the virtual support topology as a geometric stability index; calculating the degree of offset of the projection point relative to the stability center of the virtual support topology; and determining the static stability based on the degree of offset. The stability margin is determined by normalizing the geometric stability index and the static stability margin, then weighting and summing them to obtain the stability gain score corresponding to the target reachable point. Based on real-time attitude data and preset robot structural parameters, the leg base coordinate system at the connection between the moving mechanical leg and the body is determined. The three-dimensional coordinates of the target reachable point are transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point. The Euclidean distance between the relative coordinate point and the origin of the leg base coordinate system is calculated to obtain the ideal extension length of the moving mechanical leg. The extension cost component is obtained by calculating the Euclidean distance and the ideal extension length. The pitch angle of the relative coordinate point is calculated in the leg base coordinate system with the direction perpendicular to the body as the reference. The deviation of the pitch angle from the comfortable pitch angle range of the moving mechanical leg is calculated, and the angle cost component is calculated. The kinematic cost score of the target reachable point is obtained by weighting and summing the extension cost component and the angle cost component.
[0013] By adopting the above technical solution, the supporting mechanical leg is determined based on the mechanical leg to be moved, and the three-dimensional coordinates of the attachment point are obtained to form the current support point set. The coordinates of the target reachable point are summarized into it to obtain the expected support point set. Based on the expected support point set, a virtual support topology is constructed and the geometric breadth feature value is calculated as a geometric stability index. The static stability margin is determined by calculating the offset of the projection point of the inspection robot's center of gravity on the local curved surface relative to the stability center of the virtual support topology. The stability gain score is obtained by normalizing the geometric stability index and the static stability margin and then weighted summing them. The target reachable point is transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point. The deviation between the Euclidean distance of the target reachable point and the origin of the leg base coordinate system and the ideal extension length is calculated as the extension cost component to quantify the stretching or compression degree of the mechanical leg. The deviation between the pitch angle of the relative coordinate point and the comfortable pitch angle range is calculated to determine the angle cost component. The comprehensive fitness score is obtained by weighted summing of the stability gain score and the kinematic cost score. This improves the continuous operation stability of the robot on complex curved surfaces and the service life of the mechanical system.
[0014] Optionally, based on surface data, local surface features of each candidate landing point are calculated to obtain multiple confidence scores. Specifically, this includes: extracting point cloud data within a preset radius from the surface data, centered on each candidate landing point, to construct a local sampling neighborhood; performing least-squares plane fitting on the point cloud data within the local sampling neighborhood to obtain a reference fitting plane; calculating the vertical distance from each data point within the local sampling neighborhood to the reference fitting plane, and calculating the root mean square error of all vertical distances, using the root mean square error as a flatness factor; calculating the vertical distance from each data point within the local sampling neighborhood to the reference fitting plane. The surface is sampled and its normal vectors are calculated. The angular deviations of all normal vectors relative to the normal vectors of the reference fitting plane are calculated, and the variance of the angular deviations is used as the surface consistency factor. The maximum height difference of data points in the local sampling neighborhood along the normal direction of the reference fitting plane is calculated, and the maximum height difference is used as the discontinuity factor. The surface smoothness factor, surface consistency factor, and discontinuity factor are weighted and summed to obtain the surface defect comprehensive index. The reciprocal of the surface defect comprehensive index is calculated based on the preset transformation function to obtain the confidence score, where the lower the surface defect comprehensive index, the higher the confidence score.
[0015] By adopting the above technical solution, a local sampling neighborhood is constructed by extracting point cloud data within a preset radius from the surface data with the candidate landing point as the center. The reference fitting plane is obtained by performing least squares plane fitting on the point cloud data within the local sampling neighborhood. The vertical distance from each data point to the reference fitting plane is calculated and the root mean square error is calculated as a flatness factor. The angular deviation of the normal vector of each data point relative to the normal vector of the reference fitting plane is calculated and the variance value is statistically analyzed as a surface consistency factor. The maximum height difference of the data points in the local sampling neighborhood along the normal direction of the reference fitting plane is calculated as a discontinuity factor. The flatness factor, surface consistency factor, and discontinuity factor are weighted and summed to obtain the surface defect comprehensive index. The reciprocal of the surface defect comprehensive index is calculated based on a preset transformation function to obtain the confidence score. This allows candidate landing points with lower surface defect comprehensive indices to obtain higher confidence scores, thereby improving the first adsorption success rate and reducing the time loss caused by repeated attempts.
[0016] Optionally, based on the target pose, surface data of the target landing point, and preset robot dynamic parameters, the target adsorption pressure value of the mechanical leg to be moved is calculated. Specifically, this includes: constructing a gravity vector based on the target pose; determining the surface normal vector of the target position based on the surface data of the target landing point; calculating the projection component of the gravity vector in the opposite direction of the surface normal vector to obtain the theoretical detachment force; obtaining the effective adsorption area of the vacuum suction cup assembly based on the preset robot dynamic parameters; calculating the ratio of the theoretical detachment force to the effective adsorption area to obtain the basic holding pressure value; calculating the local average curvature based on the surface data of the target landing point; determining the curvature dynamic compensation coefficient based on the local average curvature; multiplying the basic holding pressure value by the curvature dynamic compensation coefficient to obtain the initial adsorption pressure value; if the initial adsorption pressure value is greater than or equal to the minimum sealing pressure threshold, the initial adsorption pressure value is determined as the target adsorption pressure value; if the initial adsorption pressure value is less than the minimum sealing pressure threshold, the minimum sealing pressure threshold is determined as the target adsorption pressure value.
[0017] By employing the above technical solution, a gravity vector is constructed based on the target pose, and a surface normal vector is determined based on the surface data of the target landing point. The theoretical detachment force is obtained by calculating the projection component of the gravity vector in the opposite direction of the surface normal vector. The effective adsorption area of the vacuum suction cup assembly is obtained based on preset robot dynamic parameters, and the ratio of the theoretical detachment force to the effective adsorption area is calculated to obtain the basic holding pressure value. The local average curvature is calculated based on the surface data of the target landing point, and a curvature dynamic compensation coefficient is determined based on the curvature. The initial adsorption pressure value is obtained by multiplying the basic holding pressure value by the curvature dynamic compensation coefficient, thus achieving a fusion calculation of mechanical requirements and geometric features. By judging the relationship between the initial adsorption pressure value and the minimum sealing pressure threshold, and determining the target adsorption pressure value accordingly, the dynamic pressure adjustment strategy enables the robot to optimize adsorption parameters in real time according to the specific force state and surface characteristics of each landing point, minimizing energy consumption while ensuring safe adsorption.
[0018] Optionally, after controlling the vacuum suction cup assembly at the end of the mechanical leg to be moved to the target landing point and adsorbing it with the target adsorption pressure value, the method further includes: acquiring the current actual posture data of the inspection robot, including the inertial posture angle and the visual positioning posture; fusing the inertial posture angle and the visual positioning posture to obtain a high-precision fused posture, and calculating the posture deviation between the high-precision fused posture and the target posture; if the posture deviation is greater than a preset calibration threshold, generating joint adjustment commands based on the posture deviation, and driving all the supporting mechanical legs in the adsorption state to execute the joint adjustment commands until the posture deviation is less than or equal to the preset calibration threshold; calculating the lateral deviation distance of the inspection robot relative to the initial path based on the calibrated current position; if the lateral deviation distance is greater than a preset path error threshold, regenerating a corrected path based on the calibrated current position, and adjusting the initial path based on the corrected path to obtain the target path.
[0019] By adopting the above technical solution, the current actual posture data of the inspection robot, including inertial attitude angle and visual positioning posture, is obtained. The two are then fused to obtain a high-precision fused posture. The posture deviation between the high-precision fused posture and the target posture is calculated. When the posture deviation exceeds a preset calibration threshold, joint adjustment commands are generated based on the posture deviation to drive all supporting mechanical legs to perform adjustments. This avoids the amplification of subsequent landing point position errors and field-of-view offset of the detection equipment caused by the accumulation of posture deviation, ensuring the accuracy of the spatial correspondence of the detection data. Based on the posture calibration, the lateral deviation distance of the inspection robot relative to the initial path is calculated based on the calibrated current position. When the lateral deviation distance exceeds a preset path error threshold, a corrected path is generated based on the calibrated current position, and the corrected path replaces the corresponding road segment of the initial path to obtain the target path. This achieves an organic combination of global planning and local dynamic adjustment, ensuring that the robot always moves along the predetermined trajectory during long-distance inspection of complex curved surfaces, improving the detection coverage and overcoming the missed detection problem caused by open-loop execution in existing technologies.
[0020] The second aspect of this application provides a control device for a complex curved surface climbing and inspection robot. The device is located within the inspection robot, which includes a body, multiple degrees of freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each mechanical leg. The adsorption and release of each vacuum suction cup assembly can be independently controlled. The device also includes an acquisition unit, a first processing unit, a second processing unit, and a movement unit. The acquisition unit acquires global scan data of the working curved surface and plans an initial path based on the global scan data. After controlling the inspection robot to reach the starting position in the initial path, it acquires local curved surface geometric data of the target area in front of the starting position. The first processing unit acquires real-time posture data of the inspection robot at the starting position, determines the target gait for reaching the target area based on the local curved surface geometric data, and determines the mechanical leg to be moved based on the target gait. Based on the real-time posture data and the target gait, it moves the robot. The first processing unit identifies multiple candidate landing points for the robotic leg to be moved within the target area. The second processing unit acquires surface data for each candidate landing point, calculates local surface features based on the surface data, and obtains multiple confidence scores, with one confidence score corresponding to each candidate landing point. Based on the priority order determined by the confidence scores, the multiple candidate landing points are physically verified one by one through contact, and the first candidate landing point that passes the physical verification is determined as the target landing point. Based on the position of the target landing point, the robot plans the target pose after moving from the starting position to the target landing point and adsorbs it. Based on the target pose, the surface data of the target landing point, and the preset robot dynamic parameters, the target adsorption pressure value of the robotic leg to be moved is calculated. The third processing unit controls the vacuum suction cup assembly at the end of the robotic leg to be moved to the target landing point and adsorbs it with the target adsorption pressure value as the target.
[0021] In a third aspect, this application provides an electronic device including a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, causing the electronic device to perform any of the methods described above in this application.
[0022] In a fourth aspect, this application provides a computer-readable storage medium storing instructions that, when executed, perform any of the methods described above in this application.
[0023] In summary, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. The robot acquires global scan data of the working surface and plans the initial path. After the inspection robot arrives at the starting position, it acquires local surface geometry data of the target area ahead. By acquiring real-time attitude data and determining the target gait based on the local surface geometry data, the robot can dynamically select different gaits according to the complexity of the surface. Compared with the fixed gait of existing technologies, this improves safety in high-risk areas and movement efficiency in flat areas. After determining the mechanical leg to be moved, multiple candidate landing points are identified in the target area based on real-time attitude data and the target gait. Surface data of each candidate landing point is acquired, and local surface feature calculations are performed to obtain a confidence score. Based on the priority determined by the confidence score, contact-based physical verification is performed one by one. The first candidate landing point that passes verification is determined as the target landing point, reducing the risk of adsorption failure. The target pose is planned according to the position of the target landing point, and the target adsorption pressure value is calculated by combining the target pose, surface data, and preset robot dynamic parameters. The vacuum suction cup assembly is controlled to adsorb at the target adsorption pressure value, ensuring a stable and reliable adsorption state in various areas of complex surfaces, thus solving the problem of unstable adsorption on complex surfaces in existing technologies. Attached Figure Description
[0024] Figure 1 This is a flowchart illustrating a control method for a complex curved surface climbing and inspection robot provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a control device for a complex curved surface climbing and inspection robot provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.
[0025] Explanation of reference numerals in the attached drawings: 201, acquisition unit; 202, first processing unit; 203, second processing unit; 204, moving unit; 300, electronic device; 301, processor; 302, memory; 303, user interface; 304, network interface; 305, communication bus. Detailed Implementation
[0026] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0027] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0028] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0029] Therefore, overcoming the adsorption instability caused by the single fixed motion mode in existing technologies is a problem that urgently needs to be solved. This application provides a control method for a climbing and inspection robot on complex curved surfaces. The robot includes a body, multiple degrees of freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each mechanical leg. The adsorption and release of each vacuum suction cup assembly can be independently controlled. This inspection robot is designed for inspecting tall, complex curved surface equipment such as wind turbine blades and oil storage tanks. Figure 1 This is a flowchart illustrating a control method for a complex curved surface climbing and inspection robot provided in an embodiment of this application. (Refer to...) Figure 1 The method includes the following steps S101-S108.
[0030] S101: Obtain global scan data of the working surface and plan the initial path based on the global scan data.
[0031] In step S101 above, before the inspection operation begins, in order to achieve accurate navigation and full-coverage inspection of the robot on complex curved surfaces, it is necessary to perform a global scan of the entire working surface and plan the initial path. By establishing a complete three-dimensional geometric model and path planning foundation, the inspection robot equipped with a quadrupedal gait and vacuum suction cup fusion structure can complete efficient and thorough inspection tasks according to the predetermined trajectory, avoiding path redundancy and blind spot problems caused by blind movement.
[0032] The inspection robot features a quadrupedal mechanical structure. The main body and robotic legs can be constructed from lightweight, high-strength materials, such as, but not limited to, 6061-T6 aluminum alloy, to reduce weight while maintaining structural rigidity. The robot's dimensions can be designed according to the application scenario, for example, approximately 300mm × 400mm × 150mm. Each robotic leg is equipped with multiple degrees of freedom (e.g., hip, knee, and ankle degrees of freedom) and is driven by high-performance servo motors, such as the Panasonic MSMD042G1U servo motor, and features a high-precision encoder for position feedback. Vacuum suction cup assemblies are connected to the ends of the robotic legs via universal joints to adaptively conform to surfaces with varying curvatures. Each suction cup assembly has a built-in pressure sensor and is independently controlled by a solenoid valve. A small oil-free vacuum pump can be mounted in the center of the robot to provide negative pressure for all suction cups.
[0033] Before the inspection operation begins, ground-based fixed 3D laser scanners and other equipment can be used to perform a comprehensive scan of the target working surface (such as wind turbine blades and storage tanks). To ensure data integrity, scanning may need to be performed at multiple observation stations, and data registration and fusion techniques should be used to eliminate obstructions. For highly reflective surfaces, scanning parameters need to be adjusted appropriately to ensure signal quality.
[0034] The acquired raw point cloud data needs to be preprocessed, including but not limited to: removing noise points using algorithms such as statistical filtering; simplifying the data using methods such as voxel mesh downsampling; smoothing the point cloud surface using algorithms such as moving least squares; and converting the discrete point cloud into a continuous triangular mesh model using algorithms such as Poisson surface reconstruction, so as to provide a basis for subsequent path planning.
[0035] Based on the reconstructed 3D surface model, a coverage path planning algorithm (such as a grid-based snake traversal algorithm) is used to generate an initial inspection path. During the planning process, the inspection coverage, robot kinematic constraints (such as maximum stride and joint range of motion), and surface geometric features (such as increasing the density of path nodes in high-curvature regions) must be comprehensively considered. The final generated initial path file contains a series of path points, each defining the robot's 3D spatial position, recommended pose, and local surface normal vectors.
[0036] S102: After the inspection robot arrives at the starting position in the initial path, it acquires the local surface geometry data of the target area in front of the starting position.
[0037] In step S102 above, after the robot reaches the starting position of the initial path and completes the stable adsorption of the four vacuum suction cup components, it needs to immediately acquire the local surface geometry data of the target area ahead. This provides real-time geometric basis for the next step of foot placement and gait adjustment. Although the global scan data provides an overall surface model, the actual surface may have local deviations due to wind, surface contamination, or model accuracy limitations. Close-range local scanning can obtain real surface information with centimeter-level accuracy, ensuring the accuracy of the robotic leg's foot placement and the adhesion of the suction cups.
[0038] A laser contour sensor mounted at the center of the robot's body begins operation. The sensor emits a fan-shaped laser beam with a scanning angle of 60 degrees, covering a fan-shaped area in front of the robot. This area is approximately 1.1 meters wide at a distance of 1 meter from the robot body, sufficient to cover all possible landing positions for the four robotic legs. The sensor continuously acquires the surface contour lines within the target area at a frequency of 50 Hz, obtaining approximately 1500 3D coordinate data points per scan. To improve data quality, the sensor uses multiple measurements and averages the acquired data points, removing outliers that deviate from the mean by more than three standard deviations, ultimately generating local point cloud data of valid measurement points. The acquired local surface geometry data is preprocessed using an embedded STM32H743 controller. The controller employs a Kalman filter algorithm to reduce noise in the point cloud data, setting the process noise variance Q to 0.01 and the observation noise variance R to 0.04, effectively filtering out sensor measurement noise and ambient light interference. The processed point cloud data is converted into a three-dimensional coordinate format based on the aircraft's coordinate system. By calculating the normal vectors of adjacent points for each measurement point, the curvature distribution information of the local surface is obtained. The controller uniformly formats the processed local surface geometric data into a JSON data packet. The data packet contains the coordinates of the measurement points, normal vectors, local curvature values, and scan timestamps, and is transmitted to the gait planning module via the CAN bus at a rate of 500 kilobits per second.
[0039] Taking the high-curvature region of a wind turbine blade's leading edge as an example, the robot starts at a height of 30 meters above the ground at the blade root, with four vacuum suction cup components already attached and the robot's pitch angle at 35 degrees. A laser contour sensor scans the blade surface within a 1.2-meter radius in front, and the acquired local point cloud data shows that the radius of curvature in this area is 3.8 meters, the angle between the surface normal and the horizontal plane is 42 degrees, and there are slight pits on the surface with a depth of 0.5 mm to 1.2 mm. These pits are not visible in the 5 mm resolution model of the global scan. Based on this high-precision local geometric data, the gait planning module can accurately calculate the landing point to avoid the pitted areas.
[0040] S103: Acquire real-time posture data of the inspection robot at the starting position, determine the target gait for reaching the target area based on local surface geometry data, and determine the mechanical leg to be moved based on the target gait.
[0041] In step S103 above, the IMU (Inertial Measurement Unit) installed on the robot's torso continuously collects attitude data at a sampling frequency of 100 Hz, acquiring information on the robot's pitch, roll, and yaw angles relative to the direction of gravity. The attitude measurement accuracy of this IMU is ±0.05 degrees. Simultaneously, encoders at each joint of the four robotic legs provide feedback on the real-time angle values of the hip, knee, and ankle joints; the electric actuators of the robotic legs provide feedback on the current extension length; and the pressure sensors of the four vacuum suction cup assemblies provide feedback on the current suction negative pressure value. The control system aggregates this dispersed sensor data to calculate the robot's complete real-time attitude data at the initial position, including the robot's three-axis attitude angles, the configuration parameters of the four robotic legs, and the suction status of each suction cup.
[0042] Furthermore, the target gait for reaching the target area is determined based on local surface geometry data. Specifically, this includes: calculating the average curvature and surface normal vector dispersion of the target area based on local surface geometry data; calculating the gravity component factor currently experienced by the inspection robot based on real-time attitude data and local surface geometry data; weighted summing of the average curvature, surface normal vector dispersion, and gravity component factor to obtain a comprehensive terrain complexity coefficient; if the comprehensive terrain complexity coefficient is greater than a first risk threshold, the current working condition is determined to be a high-risk working condition, and a stable gait is selected as the target gait; if the comprehensive terrain complexity coefficient is less than or equal to the first risk threshold and greater than a second risk threshold, the current working condition is determined to be a medium-risk working condition, and a three-point gait is selected as the target gait, where the first risk threshold is greater than the second risk threshold; if the comprehensive terrain complexity coefficient is less than or equal to the second risk threshold, the current working condition is determined to be a low-risk working condition, and a two-point alternating gait is selected as the target gait.
[0043] Specifically, the acquired local surface geometric data is numerically analyzed. This data includes multiple valid measurement points, each carrying three-dimensional coordinate information. All measurement points are traversed, and for each point, neighboring points within a 50mm radius are selected. The local quadratic surface is fitted using the least squares method, and the principal curvatures K1 and K2 at that point are calculated using the second-order partial derivative matrix of the surface. The principal curvatures represent the degree of curvature of the surface at that point along two orthogonal principal directions. For any point on the surface, its average curvature is defined as the arithmetic mean of the two principal curvatures, Km = (K1 + K2) / 2. This parameter comprehensively reflects the overall curvature characteristics of the surface. The average curvature values of all measurement points are statistically analyzed, and the average curvature K of the target area is obtained by calculating the statistical average. This value has the dimension of meters to the negative first power. Simultaneously, the calculation module performs normal vector calculation for each measurement point. The plane normal vector formed by three non-collinear points in the neighborhood of that point is used as the surface normal vector ni for that point, and the normal vector is a unit vector. Calculate the cosine of the angle between each pair of normal vectors of all measurement points, compare these cosine values with the cosine of the angle between the normal vectors of the ideal smooth surface, and use the standard deviation of the statistical deviation as the surface normal vector dispersion D. The dimension of this parameter is radians. The larger the value, the rougher the surface or the more local bumps and depressions there are.
[0044] The calculation of the gravity component factor requires combining the robot's real-time attitude data and the surface normal vector information of the target area. Pitch and roll angle data provided by the inertial measurement unit are used to construct the gravity vector. The average normal vector of the target area is calculated based on the local surface geometry data. This average normal vector is obtained by normalizing the vector summation of the normal vectors at all measurement points. A local tangent plane is constructed at the location of the target area; the normal vector of this tangent plane is the average normal vector. Two orthogonal tangent vector sums are established within the tangent plane. The projection component of the gravity vector g onto the tangent plane is calculated using the vector projection formula. The gravity component factor G is defined as the ratio of the projection component magnitude to the gravitational acceleration. A larger value indicates a larger component of gravity on the tangent plane of the target area, resulting in a stronger tangential sliding force on the robot during movement and higher stability requirements.
[0045] After obtaining the average curvature K, surface normal vector dispersion D, and gravity component factor G, normalization is performed to eliminate scale differences caused by different physical dimensions. The average curvature K is normalized using a maximum-minimum normalization method. Based on the typical curvature range of wind turbine blades, a reference minimum curvature Kmin = 0.05 m (negative first power) corresponds to a smooth region, and a reference maximum curvature Kmax = 0.35 m (negative first power) corresponds to a high curvature region at the leading edge. The normalized average curvature Kn = (K - Kmin) / (Kmax - Kmin). The surface normal vector dispersion D is also normalized using a maximum-minimum method. A reference minimum dispersion Dmin = 0.01 radians corresponds to a smooth surface, and a reference maximum dispersion Dmax = 0.15 radians corresponds to a rough or damaged surface. The normalized surface normal vector dispersion Dn = (D - Dmin) / (Dmax - Dmin). The gravity component factor G is a dimensionless ratio ranging from 0 to 1, and is directly used as the normalized gravity component factor Gn=G in subsequent calculations. After normalization, the three normalized parameters are weighted and summed to calculate the comprehensive terrain complexity coefficient C. The weighting coefficients are set based on statistical analysis of a large amount of field test data: the influence of average curvature on stability is set to 0.4, the influence of surface roughness is set to 0.3, and the influence of gravity component is set to 0.3. The formula for calculating the comprehensive terrain complexity coefficient is C=0.4×Kn+0.3×Dn+0.3×Gn. The comprehensive terrain complexity coefficient ranges from 0 to 1; a larger value indicates more complex terrain and a higher risk for robot movement.
[0046] The calculated comprehensive terrain complexity coefficient C is compared with two preset risk thresholds. If the first risk threshold is greater than the second risk threshold, the current working condition is determined to be high-risk. In this case, the target area has a large curvature, a rough surface, or a significant tangential component of gravity, and a stable gait is selected as the target gait. The stable gait is a four-point gait mode. This mode strictly limits the movement of only one mechanical leg at a time, in a cyclical sequence of right front leg, left hind leg, left front leg, and right hind leg. The vacuum suction cup components of the three unmoved mechanical legs always remain in an adsorbed state, ensuring that the robot has three stable support points at all times. The area of the support triangle formed by the three support points is large enough, and the robot's center of gravity is always located inside the triangle, avoiding the risk of tipping over or falling off due to insufficient support. For example, if the first risk threshold is set to 0.65, and the comprehensive risk complexity coefficient is greater than the first risk threshold, it is determined to be a high-risk working condition, and a stable gait is selected.
[0047] Furthermore, when the comprehensive risk complexity coefficient is less than or equal to the second risk threshold, the current working condition is determined to be a low-risk condition. The target area has low curvature, a smooth surface, and a weak tangential component of gravity, so a two-point alternating gait is selected as the target gait. The two-point alternating gait divides the four robotic legs into two groups: the right front leg and the left hind leg form the first group, and the left front leg and the right hind leg form the second group. The two groups of robotic legs move alternately and synchronously. When executing this gait, the two diagonal robotic legs of the first group simultaneously release the suction of the vacuum suction cup assembly, step forward, and complete the suction at the new position. Subsequently, the two diagonal robotic legs of the second group perform the same action. Since each movement involves the synchronous movement of two legs, the displacement distance completed by a single step is increased compared to a single leg movement, significantly improving the movement efficiency under low-risk conditions. At the same time, although the support of two suction points is less than that of three points, it can still provide sufficient stability under the conditions of gentle curved surfaces and small gravity components. For example, if the second risk threshold is set to 0.35, and the overall risk complexity coefficient is less than the second risk threshold, it is determined to be a low-risk condition, and then the two-point alternating gait is selected.
[0048] Furthermore, when the overall risk complexity coefficient is less than or equal to the first risk threshold and greater than the second risk threshold, the current working condition is determined to be a medium-risk condition. In this case, the terrain complexity is moderate, and the three-point gait is selected as the target gait. The three-point gait allows for a more flexible movement strategy. In this gait mode, the four robotic legs move alternately, always maintaining three support points at any given time, but without a fixed movement sequence. The selection of the next moving leg can be dynamically adjusted based on the optimization results of the actual landing points. Compared to the fixed sequence of a stable gait, the three-point gait, while ensuring the basic safety requirements of three-point support, shortens the total path length for the robot to reach the target position by optimizing the movement sequence, thus improving movement efficiency.
[0049] Taking the movement of a blade from the leading edge to the mid-section transition region as an example, local surface geometry data shows that this region contains 14,000 measurement points. The principal curvature of each point is calculated through surface fitting, and the average curvature K is obtained as 0.18 m to the power of -1. Normal vector calculation shows that the standard deviation of the cosine of the angle between the normal vectors of each measurement point is 0.06 radians, and the surface normal vector dispersion D is 0.06 radians. Inertial measurement unit data shows that the fuselage pitch angle is 28 degrees, the roll angle is 1 degree, the average normal vector of the target area is n=[0.47, 0.02, 0.88], the gravity vector g=[0, 0, -9.8] m / s² is calculated to be 4.51 m / s² on the tangent plane, and the gravity component factor G=4.51 / 9.8=0.46. The average curvature is normalized to Kn=0.43, the surface normal vector dispersion is normalized to Dn=0.36, and the gravity component factor is normalized to Gn=0.46. The comprehensive terrain complexity coefficient is calculated as C=0.4×0.43+0.3×0.36+0.3×0.46=0.39. The comprehensive risk complexity coefficient value of 0.39 is between the second risk threshold of 0.35 and the first risk threshold of 0.65, and the current working condition is determined to be a medium-risk working condition. The three-point gait is selected as the target gait. The robot maintains the adhesion of the three vacuum suction cup components during the movement, and the balance between stability and efficiency is achieved by dynamically optimizing the movement sequence.
[0050] After determining the target gait, the robotic legs to be moved are determined based on the target gait. Specifically, this includes: assigning each degree of freedom robotic leg a corresponding identity, and pre-setting a gait sequence containing a predetermined movement order for stable gait, tri-point gait, and alternating two-point gait respectively, and updating the execution progress of the current gait sequence in the status record in real time; simultaneously maintaining a status record to indicate the execution progress of the current gait sequence; when the target gait is a stable gait or tri-point gait, the next single robotic leg to be moved is determined from the gait sequence corresponding to the target gait based on the status record, and is used as the robotic leg to be moved; when the target gait is an alternating two-point gait, the next combination of robotic legs to be moved synchronously is determined from the gait sequence corresponding to the alternating two-point gait based on the status record, and all robotic legs in the combination are used as the robotic legs to be moved; after determining the robotic legs to be moved, the status record is updated so that the status record points to the next position to be executed in the corresponding gait sequence.
[0051] Specifically, because the robot's four degrees of freedom mechanical legs are structurally identical, they must be distinguished by a unique identifier. At the same time, different gait modes correspond to different movement rules and sequence requirements. By presetting the gait sequence and tracking the execution progress in real time, it can be ensured that the robot always follows the correct movement logic throughout the entire movement process, avoiding stability problems or efficiency losses caused by chaotic movement order.
[0052] During the initialization phase, each of the four robotic legs is assigned a unique identifier using integer numbers: 1 for the right front leg, 2 for the left front leg, 3 for the right hind leg, and 4 for the left hind leg. These identifiers are stored in the non-volatile FLASH memory of the control system and mapped to the CAN communication address of each robotic leg to ensure that control commands are accurately sent to the target robotic leg. Simultaneously, a dedicated gait sequence storage space is allocated in the RAM area, pre-setting gait sequence data structures containing predetermined movement sequences for each of the three target gaits.
[0053] The gait sequence corresponding to the stable gait is defined as an integer array [1, 4, 2, 3]. This array represents the movement sequence of the robotic legs as a cycle of right front leg, left hind leg, left front leg, and right hind leg. Each array element corresponds to the identifier of a robotic leg. The design of this movement sequence follows the diagonal stability principle, with each moving robotic leg and the previously moved robotic legs arranged diagonally in space, ensuring that the support triangle formed by the remaining three supporting legs can encompass the robot's center of gravity projection point. The gait sequence corresponding to the three-point gait is also defined as an integer array [1, 4, 2, 3]. Although this gait allows for more flexible movement sequence selection, the current implementation uses the same basic sequence as the stable gait to simplify the control logic, demonstrating efficiency advantages through increased execution frequency. The gait sequence corresponding to the two-point alternating gait is defined as a two-dimensional integer array [[1, 4], [2, 3]]. The first subarray [1, 4] represents the first movement group consisting of the right foreleg and the left hind leg, and the second subarray [2, 3] represents the second movement group consisting of the left foreleg and the right hind leg. The two groups are executed alternately to achieve synchronous movement of the diagonal legs. At the same time, a state record containing two fields is maintained and stored in the gait management area. The first field is the current gait type identifier: S1 represents stable gait, S2 represents three-point gait, and S3 represents two-point alternating gait. The second field is the gait sequence execution index, which points to the next position to be executed in the current gait sequence. When the robot completes the initial adsorption and is ready to start moving, the state record is initialized to the corresponding determined target gait type, initialized to 0, indicating that execution starts from the beginning position of the gait sequence.
[0054] The logical decision to determine the robotic leg to be moved is executed based on the target gait type. When the target gait is a stable gait or a three-point gait, the control system reads the current gait type identifier and gait sequence execution index from the status record. It then locates the corresponding gait sequence array based on the gait type index and extracts a single integer value using the gait sequence execution index as the array subscript. This integer value is the identifier of the next robotic leg to be moved. The corresponding robotic leg instance is found using this identifier and marked as the robotic leg to be moved. Simultaneously, the other three robotic legs are marked as support legs. The marking information for the robotic leg to be moved includes the CAN communication address of the leg controller, the current joint angle state, and the current vacuum suction cup adsorption state. This information is packaged into a movement task data packet and passed to the subsequent footing planning module. When the target gait is a two-point alternating gait, the status record is also read, and the two-dimensional array of two-point alternating gait is accessed using the gait sequence execution index as the subscript. A subarray containing two integers is extracted, and this subarray defines a robotic leg combination. Iterate through all integer elements in the subarray, find the corresponding mechanical leg instance based on each integer identifier, and mark these mechanical legs together as the mechanical legs to be moved, forming a set of mechanical legs to be moved. Since the two-point alternating gait involves the synchronous movement of both legs, the subsequent foot placement planning, trajectory generation, and motion control need to be executed in parallel for all mechanical legs in this set to ensure that the two legs can synchronously complete the complete sequence of release, movement, and adhesion.
[0055] Once the robotic leg to be moved is determined, the status record is immediately updated to track the gait execution progress. The update operation increments the index of the gait sequence by 1, pointing to the next position in the gait sequence. Simultaneously, it checks whether the incremented index exceeds the array length of the current gait sequence. For stable gait and three-point gait, the sequence length is 4; for two-point alternating gait, the sequence length is 2. When the index reaches the sequence length, it is reset to 0, enabling cyclic execution of the gait sequence. The updated status record is written back to storage, providing correct execution position information for the next determination of the robotic leg to be moved.
[0056] S104: Based on real-time attitude data and target gait, determine multiple candidate landing points for the robotic leg to be moved in the target area.
[0057] In S104 above, based on real-time attitude data and target gait, multiple candidate landing points are determined for the robotic leg to be moved in the target area. Specifically, this includes: obtaining a gait parameter set corresponding to the target gait, which includes minimum stride, maximum stride, and angle range; defining a circular search area between the minimum and maximum stride on the local surface geometry data based on the real-time attitude data, with the current attachment point of the robotic leg to be moved as the origin; sampling the local surface geometry data within the circular search area to generate a set of initial sampling points, and performing kinematic reachability verification on each initial sampling point to obtain a set of reachable points; calculating the stability gain score and kinematic cost score for each reachable point in the set; weighted summing the stability gain score and kinematic cost score to obtain multiple comprehensive fitness scores, with each comprehensive fitness score corresponding to one reachable point; and selecting reachable points with comprehensive fitness scores greater than a preset fitness threshold as candidate landing points from the multiple comprehensive fitness scores.
[0058] Specifically, the process of determining candidate landing points requires finding all feasible and high-quality landing locations within the target area for the robotic leg to be moved, while ensuring the kinematic constraints and adsorption stability of the robotic leg. Because the complexity of the curved surface inspection environment determines that not every point in the target area is suitable as a landing point, multiple dimensions such as stride limitation, joint range of motion, curved surface stability, and energy consumption must be comprehensively considered. A systematic screening and scoring mechanism is used to identify a set of truly usable candidate landing points from a large number of potential locations.
[0059] Based on the determined target gait type, the corresponding gait parameter set is extracted from the gait parameter database. This database is stored in the FLASH area as an array of structures, with each gait corresponding to a parameter structure containing three key parameters: minimum stride length, maximum stride length, and angle range. The gait parameter set for the stable gait is set to a minimum stride length of 200 mm, a maximum stride length of 450 mm, and an angle range of -30 degrees to +30 degrees. This parameter configuration ensures that the single-step movement distance of the robotic leg is moderate and the directional change is gradual under high-risk conditions. The gait parameter set for the three-point gait is set to a minimum stride length of 250 mm, a maximum stride length of 550 mm, and an angle range of -45 degrees to +45 degrees. Compared to the stable gait, this allows for a larger stride length and a wider range of directional adjustments to improve movement efficiency. The gait parameter set for the two-point alternating gait is set to a minimum stride length of 300 mm, a maximum stride length of 600 mm, and an angle range of -60 degrees to +60 degrees. This gait allows for rapid advancement using the most aggressive movement strategy under low-risk conditions.
[0060] The annular search region is defined based on the current attachment point position of the robotic leg to be moved and the extracted gait parameters. The angle feedback from the encoders of each joint of the robotic leg is read via the CAN bus, and the three-dimensional coordinates of the center point of the vacuum suction cup assembly at the leg end in the global coordinate system are calculated using the kinematic model of the robotic leg. These coordinates are the current attachment point coordinates Pcurrent=[xc, yc, zc]. A local polar coordinate system is established with this point as the origin. All measurement points whose distance from the current attachment point is between the minimum and maximum stride length are searched in the local surface geometry data. The distance is calculated using the Euclidean distance formula. Measurement points whose calculated distance is greater than or equal to the minimum stride length and less than or equal to the maximum stride length are marked as points within the annular search region. This region appears as a ring shape centered on the current attachment point on the three-dimensional surface. Simultaneously, the azimuth angle of each measurement point relative to the current attachment point is calculated, and measurement points with azimuth angles exceeding the angle range are discarded. Finally, an annular search region that simultaneously satisfies both distance and angle constraints is obtained.
[0061] Within the defined annular search area, spatial sampling is performed to generate an initial set of sampling points. The sampling strategy employs a polar coordinate grid partitioning method, dividing the radial direction into layers at 50mm intervals from minimum to maximum stride, and angularly into sectors at 15-degree intervals within the angular range. The product of the radial layer number and the angular sector number determines the sampling density. For each polar coordinate grid cell, a measurement point of local surface geometry is randomly selected within the range as the initial sampling point. This random selection mechanism avoids uneven spatial distribution caused by excessive concentration of sampling points on regular grid nodes. The generated initial sampling point set contains multiple points, each carrying three-dimensional coordinate information and the surface normal vector information at that location. Inverse kinematics calculations are performed on each initial sampling point to determine whether the robotic leg to be moved can reach the sampling point through joint movement. The verification process uses the sampling point coordinates as the target position of the leg end, establishes kinematic equations based on the DH parameters of the six-degree-of-freedom cascaded structure of the robotic leg, and solves for the joint variables of the three rotational degrees of freedom of the hip joint, the extension and retraction degrees of freedom of the thigh electric actuator, the rotational degrees of freedom of the knee joint, and the extension and retraction degrees of freedom of the lower leg electric actuator. The inverse kinematics solution employs an analytical method combined with numerical iteration. When a solution exists that satisfies the physical constraints of each joint, the sampling point is determined to be kinematically reachable and retained as a reachable point. Sampling points that do not satisfy any joint constraint are marked as unreachable and removed from the set. After verification, a set of reachable points is obtained.
[0062] Furthermore, the stability gain score and kinematic cost score are calculated for each reachable point in a set of reachable points. Specifically, this includes: determining the supporting mechanical legs based on the mechanical leg to be moved, obtaining the three-dimensional coordinates of the attachment points of each supporting mechanical leg to form the current support point set, where the supporting mechanical legs are the other mechanical legs in the multi-degree-of-freedom mechanical leg that maintain an adsorption state, excluding the mechanical leg to be moved; obtaining the target reachable point from the set of reachable points, summarizing the three-dimensional coordinates of the target reachable point into the current support point set to obtain the expected support point set; calculating the projection point of the inspection robot's center of gravity on the local curved surface based on real-time attitude data; constructing a virtual support topology based on the spatial distribution relationship of each coordinate point in the expected support point set; calculating the geometric breadth eigenvalue of the virtual support topology as a geometric stability index, calculating the degree of offset of the projection point relative to the stability center of the virtual support topology, and determining the static stability based on the degree of offset. The stability margin is determined by normalizing the geometric stability index and the static stability margin, then weighting and summing them to obtain the stability gain score corresponding to the target reachable point. Based on real-time attitude data and preset robot structural parameters, the leg base coordinate system at the connection between the moving mechanical leg and the body is determined. The three-dimensional coordinates of the target reachable point are transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point. The Euclidean distance between the relative coordinate point and the origin of the leg base coordinate system is calculated to obtain the ideal extension length of the moving mechanical leg. The extension cost component is obtained by calculating the Euclidean distance and the ideal extension length. The pitch angle of the relative coordinate point is calculated in the leg base coordinate system with the direction perpendicular to the body as the reference. The deviation of the pitch angle from the comfortable pitch angle range of the moving mechanical leg is calculated, and the angle cost component is calculated. The kinematic cost score of the target reachable point is obtained by weighting and summing the extension cost component and the angle cost component.
[0063] Specifically, the supporting mechanical leg is identified from the four mechanical legs based on the identifier of the mechanical leg to be moved. The supporting mechanical leg is any other mechanical leg that remains in an adsorbed state, excluding the mechanical leg to be moved. When the mechanical leg to be moved is a single leg, the supporting mechanical leg consists of three legs; when the mechanical leg to be moved is a combination of legs in a two-point alternating gait, the supporting mechanical leg consists of two additional legs. The joint encoder data of each supporting mechanical leg is read via the CAN bus, and the three-dimensional coordinates of the center point of the vacuum suction cup assembly at the end of each supporting leg in the global coordinate system are calculated based on the forward kinematics model. These coordinates constitute the current support point set Sc. For a single-leg movement scenario with a stable gait or a three-point gait, the current support point set contains three three-dimensional coordinate points Sc={P1=[x1, y1, z1], P2=[x2, y2, z2], P3=[x3, y3, z3]}. For a two-leg synchronous movement scenario with a two-point alternating gait, the current support point set contains two three-dimensional coordinate points Sc={P1=[x1, y1, z1], P2=[x2, y2, z2]}.
[0064] The target reachable point is obtained from a set of reachable points. The target reachable point is any one of the reachable points in the set. The following example illustrates the calculation of the target reachable point. The three-dimensional coordinates Pt=[xt, yt, zt] of the target reachable point are added to the current support point set to generate the expected support point set Sv. This expected support point set simulates the support configuration state of the robot after the mechanical leg to be moved moves to the target reachable point and completes adsorption, and can pre-evaluate the stability performance under this configuration. For single-leg movement scenarios, the expected support point set contains four coordinate points. For dual-leg synchronous movement scenarios, the expected support point set contains four coordinate points, but two of them are the target positions of the two synchronously moving legs. The current pitch angle, roll angle, and yaw angle of the fuselage are read from the inertial measurement unit, combined with the preset fuselage mass distribution parameters, including the main body mass of 12 kg located at the geometric center of the fuselage, and the mass of each of the four mechanical legs of 3 kg evenly distributed in the leg structure. The three-dimensional coordinates of the machine's center of gravity in the global coordinate system are calculated based on the mass and spatial position of each component: G = [xg, yg, zg]. These coordinates dynamically change with the body posture and leg configuration. The projection of the center of gravity coordinates onto a local curved surface is extracted. By finding the surface point in the local curved surface geometry data that is closest to the horizontal position of the center of gravity, the three-dimensional coordinates of this surface point are determined as the projection point Pp = [xp, yp, zp]. This projection point reflects the intersection of the line of action of gravity and the curved surface.
[0065] The construction of the virtual support topology employs different geometric modeling strategies based on the number of coordinate points in the set of anticipated support points. If the number of anticipated support points is greater than or equal to 3, a anticipated support polygon is constructed based on the set of anticipated support points. The area of the anticipated support polygon is calculated as a geometric stability index, and the shortest distance from the projection point to each edge of the anticipated support polygon is calculated. The minimum value of multiple shortest distances is determined as the static stability margin. The convex hull algorithm is used to calculate the smallest convex polygon in three-dimensional space for these points; this convex polygon is the anticipated support polygon. The convex hull algorithm uses the Graham scan method, sorting all coordinate points according to their x-coordinates and connecting them sequentially to form a closed polygon without concavity. The area of the anticipated support polygon is calculated as the geometric stability index A. The area calculation uses the vector cross product method, decomposing the polygon into multiple triangles and then summing the areas of each triangle. The larger the value of the geometric stability index A, the wider the spatial distribution of the support points, the broader the resulting support foundation, and the stronger the overturning resistance. Each edge of the anticipated support polygon is traversed, and the perpendicular distance from the projection point Pp to the line containing each edge is calculated using the point-to-line distance formula. Record the perpendicular distances corresponding to all edges, and select the minimum value as the static stability margin. This margin represents the shortest distance from the projection point to the boundary of the supporting polygon. The larger the value, the closer the center of gravity is to the center of the supporting region, and the higher the stability. When the static stability margin is negative, it means that the projection point is located outside the supporting polygon, and the robot is in an unstable state.
[0066] Furthermore, if the number of expected support points in the set is equal to 2, then an expected support line segment is constructed based on the expected support point set. The length of the expected support line segment is calculated as a geometric stability index, and the vertical distance from the projection point to the expected support line segment or the distance from the projection position of the projection point on the line segment to the midpoint of the line segment is calculated. The static stability margin is determined based on the distance. When the expected support point set contains only two coordinate points, the virtual support topology degenerates into an expected support line segment. This scenario corresponds to the instantaneous two-leg support state under two-point alternating gait. Connect the two coordinate points to form a line segment L, and calculate the Euclidean length of this line segment as a geometric stability index Ll. The geometric stability index Ll reflects the distance between the two support points; the larger the distance, the greater the anti-rollover moment provided. Calculate the vertical distance from the projection point Pp to the line segment L. Obtain the vertical component using the shortest distance formula from a point to a line segment. Simultaneously, calculate the offset distance of the projection position of the projection point on the line segment relative to the midpoint of the line segment. Combine the vertical distance and the offset distance for evaluation. When the projected position of the projection point is within the range of the line segment, the static stability margin takes the negative value of the vertical distance to indicate the risk of lateral instability. When the projected position of the projection point exceeds the endpoint of the line segment, the static stability margin takes the negative value of the distance from the projection point to the nearest endpoint to indicate the risk of longitudinal instability.
[0067] The geometric stability index and static stability margin are normalized to eliminate dimensional differences. The corresponding normalization parameters are selected based on the type of the anticipated support point set. For polygonal support scenarios, the geometric stability index A is divided by the reference area of 1.2 square meters to obtain the normalized geometric index Gn, and the static stability margin is divided by the reference distance of 0.5 meters to obtain the normalized margin Mn. For line segment support scenarios, the geometric stability index Ll is divided by the reference length of 1.5 meters to obtain Gn, and the normalization method for the static stability margin is the same. The geometric stability weight wg = 0.4 and the static stability margin weight wm = 0.6 are set. The stability gain score corresponding to the reachable point is calculated using the weighted summation formula Ss = wg × Gn + wm × Mn. This score reflects the comprehensive contribution of the reachable point to the overall stability of the robot.
[0068] For example, taking the target reachable point [1380, 290, 3100] mm of the right foreleg under a stable gait as an example, the left foreleg, right hind leg, and left hind leg are identified as supporting mechanical legs. The attachment point coordinates of the three supporting legs are read to form the current support point set Sc = {[950, 450, 2750], [1550, -320, 2880], [880, -280, 2820]} mm. The target reachable point is added to the current support point set to obtain the expected support point set Sv = {[950, 450, 2750], [1550, -320, 2880], [880, -280, 2820], [1380, 290, 3100]} mm, which contains four coordinate points. Based on the fuselage pitch angle of 5 degrees, roll angle of -2 degrees, and yaw angle of 0 degrees, combined with the mass distribution of the fuselage (12 kg) and each of the four legs (3 kg), the coordinates of the aircraft's center of gravity are calculated as G = [1180, 15, 2900] mm, and the coordinates of the projection point of the center of gravity on the curved surface are calculated as Pp = [1180, 15, 2890] mm. The convex hull algorithm constructs a pre-defined support polygon based on the set of pre-defined support points, and the area of the polygon is calculated to be 0.68 square meters as a geometric stability index. Traversing the four sides of the polygon, the perpendicular distances from the projection point to each side are calculated to be 320 mm, 285 mm, 410 mm, and 375 mm, respectively. The minimum value of 285 mm is taken as the static stability margin. The normalized geometric stability index Gn = 0.567, the normalized static stability margin Mn = 0.570, and the stability gain fraction Ss = 0.4 × 0.567 + 0.6 × 0.570 = 0.569.
[0069] The joint configuration cost of the target reachable point is evaluated starting from the leg-based coordinate system of the robotic leg to be moved. Based on the fuselage pitch, roll, and yaw angles from real-time attitude data, and combined with the positional offset of the hip joint at the connection point between the robotic leg and the fuselage from preset robot structural parameters, a leg-based coordinate system is established. The origin of this coordinate system is located at the center of the hip joint, the x-axis points forward of the fuselage, the y-axis points to the side of the fuselage, and the z-axis is perpendicular to the fuselage and pointing downwards. The system transforms the global coordinates Pt=[xt, yt, zt] of the target reachable point to the leg-based coordinate system using a rotation matrix R based on Euler angles, and the translation vector T represents the position of the hip joint in the global coordinate system. The transformation formula is Prel=R. (-1) ×(Pt-T) yields the relative coordinate point Prel=[xr, yr, zr].
[0070] Calculate the Euclidean distance *d* between the relative coordinate point *Prel* and the origin of the leg base coordinate system. This distance represents the actual spatial distance from the leg end to the hip joint. Extract the ideal extension length *Lideal* = 0.85 meters from the mechanical leg's structural parameters. This length represents the typical extension distance of the mechanical leg when the joint angle is moderate and the electric actuator stroke is centered, at which point the joints operate within their comfort range with the highest energy efficiency. Simultaneously, extract the maximum effective extension length *Lmax* = 1.3 meters and the minimum effective extension length *Lmin* = 0.5 meters. These two parameters define the effective working range of the mechanical leg. Calculate the first difference between the Euclidean distance and the ideal extension length. Calculate half of the difference between the maximum and minimum effective extension lengths as a normalization benchmark. Squaring the quotient of the first difference divided by the normalization benchmark yields the extension cost component. This component, in a squared form, ensures that the penalty for deviations from the ideal length increases non-linearly, prompting the selection of reachable points closer to the ideal extension state.
[0071] In the leg-based coordinate system, the pitch angle θpitch relative to the coordinate point Prel is calculated. This angle represents the tilt angle of the leg extension direction relative to the horizontal plane of the fuselage. The comfortable pitch angle range θmin = -25 degrees to θmax = 25 degrees is extracted from the comfortable posture parameters of the robotic leg. Within this range, the load torque on the hip and knee joints is moderate, preventing excessive motor current caused by joint angle limits. When the pitch angle θpitch is within the comfortable range, the angle cost component is C = 0, indicating no additional cost. When the pitch angle exceeds the comfortable range, the deviation Δθ = min(|θpitch - θmax|, |θpitch - θmin|) is calculated. The angle cost component is calculated using the linear mapping formula C = k × Δθ, with a proportionality coefficient k = 0.02, ensuring that each degree of deviation corresponds to a cost increment of 0.02. This linear relationship makes the angle cost proportional to the degree of deviation, avoiding the selection of reachable points requiring extreme joint postures. The kinematic cost score is obtained by integrating the extension cost component and the angle cost component through a weighted summation method. The weight coefficients for the extension cost component and the angle cost component are 0.6 and 0.4, respectively, reflecting the dominant influence of the extension state on energy consumption. The kinematic cost score ranges from 0 to 1. The closer the value is to 1, the closer the kinematic configuration of the target reachable point is to the ideal state, and the lower the joint torque and energy consumption required to reach that point.
[0072] In the example above, the position of the right foreleg hip joint in the global coordinate system is [1100, 450, 2650] mm. A leg-based coordinate system is established based on the fuselage attitude, and a coordinate transformation is performed to obtain the relative coordinate point Prel = [285, -155, 445] mm. The Euclidean distance d = 0.565 m, the ideal extension length Lideal = 0.85 m, the difference Δd = 0.285 m, the normalized baseline Δdref = 0.4 m, and the extension cost component C = 0.507. The pitch angle θpitch = 53.8 degrees, exceeding the upper limit of the comfort range by 25 degrees, with a deviation Δθ = 28.8 degrees, and an angle cost component C = 0.02 × 28.8 = 0.576. The kinematic cost fraction is 0.465.
[0073] After obtaining the stability gain score and kinematic cost score, they are combined using a weighted summation method to obtain the overall fitness score. The weighting coefficient for the stability gain score is set to 0.7, and the weighting coefficient for the kinematic cost score is set to 0.3. This weighting reflects the design principle of prioritizing stability over energy consumption. Referring to the calculation process for the target reachable point described above, the overall fitness score is calculated for other reachable points in the set, generating a score array and sorting it in descending order of score. A preset fitness threshold of 0.55 is set, and all reachable points with an overall fitness score greater than the preset fitness threshold are selected from the sorted score array. These reachable points are the candidate landing points.
[0074] S105: Obtain the surface data of each candidate landing point, calculate the local surface features of each candidate landing point based on the surface data, and obtain multiple confidence scores. Each candidate landing point corresponds to one confidence score.
[0075] In step S105 above, surface data of the local area surrounding each candidate landing point is extracted from the point cloud database of the 3D laser scanner. Based on the surface data, the local surface features of each candidate landing point are calculated to obtain multiple confidence scores. Specifically, this includes: extracting point cloud data within a preset radius from the surface data, centered on each candidate landing point, to construct a local sampling neighborhood; performing least squares plane fitting on the point cloud data within the local sampling neighborhood to obtain a reference fitting plane; calculating the vertical distance from each data point within the local sampling neighborhood to the reference fitting plane, and calculating the root mean square error of all vertical distances, using the root mean square error as a flatness factor; calculating the normal distribution of each data point within the local sampling neighborhood... The surface is sampled and its angular deviations relative to the reference fitting plane are calculated. The variance of these angular deviations is used as the surface consistency factor. The maximum height difference between data points in the local sampling neighborhood along the normal direction of the reference fitting plane is calculated and used as the discontinuity factor. The surface smoothness factor, surface consistency factor, and discontinuity factor are weighted and summed to obtain the surface defect comprehensive index. The reciprocal of the surface defect comprehensive index is calculated based on a preset transformation function to obtain the confidence score, where a lower surface defect comprehensive index results in a higher confidence score.
[0076] Specifically, a local sampling operation is performed on each candidate landing point in the point cloud data acquired by the 3D laser scanner. For a candidate landing point Pc, its 3D coordinates [xc, yc, zc] in the global coordinate system are extracted, and a preset radius range r is determined based on the structural parameters of the vacuum suction cup assembly. This preset radius is set to 80 mm, corresponding to the outer diameter of the vacuum suction cup sealing ring, because only the surface quality within the sealing ring's coverage area directly affects the adsorption performance. All data points in the point cloud database are traversed, and the spatial distance di between each data point Pi = [xi, yi, zi] and the candidate landing point is calculated. All data points satisfying the condition di ≤ r are selected, and the set of coordinates of these data points is recorded as a local sampling neighborhood. A local sampling neighborhood typically contains hundreds to thousands of data points; the specific number depends on the sampling density of the point cloud and the geometric complexity of the surface. High-density point clouds can provide a more detailed description of the surface morphology.
[0077] The reference fitting plane is constructed using the least squares method to fit the point cloud data within the local sampling neighborhood to a plane, aiming to find the ideal plane that best represents the overall trend of the region. The plane equation is set as Ax + By + Cz + D = 0, where the normal vector [A, B, C] and the intercept D are the parameters to be determined. The least squares method determines the optimal parameters by minimizing the sum of squared distances from all data points to the plane, constructing an error function E. Taking the partial derivative of this function and setting the derivative to zero yields a system of linear equations. Solving this system of equations yields the plane parameters. To ensure the normalization of the normal vector, [A, B, C] is normalized so that A² + B² + C² = 1. The resulting reference fitting plane reflects the dominant plane direction of the local sampling neighborhood.
[0078] The smoothness factor is calculated to quantify the microscopic unevenness of the surface within the local sampling neighborhood. For each data point in the neighborhood, the perpendicular distance from that point to the reference fitted plane is calculated; the absolute value of this distance represents the degree to which the data point deviates from the ideal plane. The perpendicular distances of all data points are collected to form a distance sequence, and the root mean square error (RMSE) of this sequence is calculated as the smoothness factor. The surface consistency factor is calculated to evaluate the spatial distribution consistency of the surface normal vectors within the local sampling neighborhood, used to identify sharp edges or excessively curved regions. For each data point in the neighborhood, a local normal vector is calculated. Principal component analysis is used to select k=20 nearest neighbors around each data point, constructing the covariance matrix of these neighbors. Eigenvalue decomposition is performed on the covariance matrix; the eigenvector corresponding to the smallest eigenvalue is the local normal vector of that data point. All local normal vectors are compared with the normal vector n of the reference fitted plane, and the included angle is calculated. The absolute value operation ensures that the included angle is within the range of 0 to 90 degrees, as the positive or negative direction of the normal vector does not affect the assessment of the surface curvature. Collect all included angles to form an angle sequence, and calculate the variance of this sequence as the surface consistency factor. The discontinuity factor is calculated to identify steps, cracks, or fault structures within the local sampling neighborhood. Project all data points along the normal direction of the reference fitted plane, and calculate the height component of each data point in the normal direction. Calculate the maximum and minimum values of all height components, and calculate the maximum height difference as the discontinuity factor. The surface defect comprehensive index Su is obtained by weighted summation of three local feature factors. The weight coefficients are set based on the degree of influence of each factor on adsorption failure. The flatness factor has a weight of 0.5 because microscopic unevenness directly determines the contact continuity of the sealing ring; the surface consistency factor has a weight of 0.3 because excessive bending can cause stress concentration, but the effect is relatively gradual; and the discontinuity factor has a weight of 0.2 because although step cracks have serious consequences, they are relatively easy to identify and avoid in point cloud data. The dimension of the surface defect comprehensive index is millimeters. The larger the value, the more serious the surface quality defects and the higher the risk of adsorption failure. The surface defect comprehensive index is mapped to a standardized reliability evaluation index through a preset conversion function. The negative exponential conversion function Conf=exp(-k×Su) with a conversion coefficient k=0.3 is used to ensure that the conversion function has good discrimination in the defect index range of 0 to 10 millimeters. The mathematical properties of this conversion function ensure that when the surface defect comprehensive index is 0, the confidence score is 1, corresponding to a perfect surface. As the defect index increases, the confidence score decreases exponentially, reflecting the nonlinear decreasing trend of adsorption reliability. The nonlinear characteristics of the conversion function conform to the physical laws of vacuum adsorption, because tiny surface defects may not affect adsorption, but the reliability will collapse sharply after the defects accumulate to a certain extent. The confidence score ranges from 0 to 1. The closer the value is to 1, the better the surface quality of the candidate landing point, and the higher the probability that the vacuum chuck will form a stable negative pressure at that location and maintain long-term adsorption.
[0079] Taking the candidate landing point Pc = [1380, 290, 3100] mm as an example, 672 data points within a radius of 80 mm were selected from the point cloud database to form a local sampling neighborhood. Least squares plane fitting yielded the reference fitted plane equation 0.15x - 0.08y + 0.986z - 3052.4 = 0, with the normal vector normalized to [0.15, -0.08, 0.986]. The perpendicular distance from each of the 672 data points to the plane was calculated, and the root mean square error of the distance sequence, 2.8 mm, was used as a flatness factor of 2.8. The local normal vector for each data point was calculated and compared with the normal vector of the reference plane, yielding the variance of the included angle sequence, 78.5 square degrees, which was used as a surface consistency factor of 78.5. The height components along the normal direction of all data points were calculated, with the maximum value of 3.6 mm and the minimum value of -2.1 mm. The maximum height difference of 5.7 mm was used as a discontinuity factor of 5.7. The comprehensive surface defect index Su = 0.5 × 2.8 + 0.3 × 78.5 + 0.2 × 5.7 = 26.09. The confidence score Conf = exp(-0.3 × 26.09) = 0.000489. This low confidence score reflects that the candidate landing point has serious surface consistency problems and discontinuous structure, and is not suitable as the final landing point.
[0080] S106: Based on the priority order determined by the confidence score, conduct contact-based physical verification on multiple candidate landing points one by one, and determine the first candidate landing point that passes the physical verification as the target landing point.
[0081] In step S106 above, all candidate landing points are sorted in descending order of confidence score, constructing a priority queue Q={P1, P2, ..., Pm}, where P1 corresponds to the candidate landing point with the highest confidence score. The wall-climbing robot is controlled to move sequentially to the candidate positions in the queue to perform contact physical verification. For the current verification position Pk, the motion controller drives the leg joints to bring the vacuum suction cup assembly close to the wall along the surface normal vector direction at that position, with the contact speed controlled at 10 mm / s to avoid impact damage. When the leg force sensor detects a contact force of 5 Newtons, the vacuum pump is started to evacuate the suction cup cavity, with the target negative pressure set to -60 kPa. The reading of the vacuum pressure sensor is monitored in real time. If the negative pressure can be maintained above -55 kPa and the pressure fluctuation is less than 2 kPa within a 3-second stabilization period, the candidate landing point is determined to have passed physical verification. The candidate landing point that has passed physical verification is determined as the target landing point, and the verification process is terminated. If the negative pressure fails to reach the target value or continuous leakage causes the pressure to rise rapidly, the vacuum is released and the candidate point is marked as a verification failure. The robot is then controlled to move to the next candidate position in the queue to continue verification.
[0082] The physical verification criteria comprehensively consider the negative pressure build-up speed and stability. Rapid negative pressure build-up indicates a good seal and fewer leakage paths, while pressure stability reflects the reliability of long-term adsorption. Through a step-by-step verification mechanism, the theoretical analysis results are validated in a real-world operating environment to ensure that the selected target landing point not only meets geometric requirements but also withstands robot gravity and maintains a stable connection during actual adsorption.
[0083] Taking a priority queue with 5 candidate landing points as an example, the confidence scores are 0.823, 0.756, 0.691, 0.634, and 0.589, respectively. When the robot moves to the first candidate point to perform physical verification, the negative pressure only reaches -42 kPa within 3 seconds after the vacuum pump starts and continues to fluctuate, indicating verification failure. Moving to the second candidate point, the negative pressure reaches -58 kPa within 2 seconds and remains stable, indicating the second candidate point passes verification and is determined as the target landing point.
[0084] S107: Based on the location of the target landing point, plan the target pose of the inspection robot after it moves from the starting position to the target landing point and is attracted. Based on the target pose, the surface data of the target landing point and the preset robot dynamic parameters, calculate the target adsorption pressure value of the mechanical leg to be moved.
[0085] In the above S107, planning the target pose based on the target landing point and calculating the target adsorption pressure value is to ensure that the inspection robot can achieve a stable posture after completing the landing action and achieve reliable adsorption through precise negative pressure control. This is because the overall posture of the robot after moving to the new position directly affects the force distribution of each supporting leg. Different postures will cause the mechanical leg to be moved to bear different normal pressure and tangential shear force. If the adsorption pressure is insufficient, it will cause support failure, resulting in slippage or even detachment. On the other hand, excessive adsorption pressure will cause energy waste and accelerate the wear of the sealing ring.
[0086] The robot's target pose is planned based on the spatial location of the target landing point and the surface normal vector. The origin of the robot's body coordinate system is set at the geometric center of the robot body. The target angle configuration of each joint when the moving mechanical leg reaches the target landing point is determined through inverse kinematics calculations. At the same time, the joint angles of the other three supporting legs are adjusted to keep the robot body parallel to the local wall surface where the target landing point is located. The rotation matrix of the robot body attitude is determined by aligning the robot body's z-axis with the surface normal vector of the target landing point. A complete target pose description is constructed, which ensures that the moving mechanical leg can make perpendicular contact with the wall surface along the surface normal direction, so that the sealing ring of the vacuum suction cup is evenly stressed, while ensuring that the center of gravity of the robot body is inside the support polygon formed by the four supporting legs.
[0087] Furthermore, based on the target pose, surface data of the target landing point, and preset robot dynamic parameters, the target adsorption pressure value of the mechanical leg to be moved is calculated. Specifically, this includes: constructing a gravity vector based on the target pose; determining the surface normal vector of the target position based on the surface data of the target landing point; calculating the projection component of the gravity vector in the opposite direction of the surface normal vector to obtain the theoretical detachment force; obtaining the effective adsorption area of the vacuum suction cup assembly based on the preset robot dynamic parameters; calculating the ratio of the theoretical detachment force to the effective adsorption area to obtain the basic holding pressure value; calculating the local average curvature based on the surface data of the target landing point; determining the curvature dynamic compensation coefficient based on the local average curvature; multiplying the basic holding pressure value by the curvature dynamic compensation coefficient to obtain the initial adsorption pressure value; if the initial adsorption pressure value is greater than or equal to the minimum sealing pressure threshold, the initial adsorption pressure value is determined as the target adsorption pressure value; if the initial adsorption pressure value is less than the minimum sealing pressure threshold, the minimum sealing pressure threshold is determined as the target adsorption pressure value.
[0088] Specifically, the rotation matrix Rb and position vector Pb of the robot body in the global coordinate system are extracted from the target pose Po. The rotation matrix describes the attitude relationship between the robot body coordinate system and the global coordinate system. In the global coordinate system, the gravity vector Gg = [0, 0, -mtotal × g] is defined, where mtotal is the robot's total mass (45 kg), g is the gravitational acceleration (9.8 m / s²), and the gravity vector points vertically downwards. The gravity vector is transformed from the global coordinate system to the robot body coordinate system through coordinate transformation, calculated using the formula Gb = Rb. T The transformation ×Gg yields a gravity vector Gb=[Gx, Gy, Gz] that reflects the components of gravity relative to each axis of the fuselage under its attitude. This transformation is necessary because gravity needs to be decomposed into the support directions of each robotic leg, and the kinematic description of the robotic leg is based on the fuselage coordinate system.
[0089] The surface normal vector is extracted directly from the surface data of the target landing point. The reference fitting plane has already been calculated for the target landing point through point cloud data processing. The normalized normal vector ntarget = [nx, ny, nz] of this plane represents the vertical direction of the local surface. The direction of this normal vector is verified to ensure that it points outwards away from the wall, i.e., towards the space where the robot is located. This is verified by checking if the dot product of the normal vector and the vector from the robot body to the landing point is positive. The opposite direction of the surface normal vector, -n_target, represents the direction of the suction cup's adsorption force, which is also the direction of the effective supporting force generated by the vacuum negative pressure.
[0090] The theoretical detachment force is calculated to quantify the minimum support force required by the robotic leg to resist the gravitational component. The gravity vector Gb in the body coordinate system is converted to its representation in the local coordinate system of the robotic leg's end-effector. The pose transformation matrix Tleg of the robotic leg's end-effector relative to the body is calculated using forward kinematics, and the gravity vector is transformed accordingly. The projection component of the gravity vector in the opposite direction to the surface normal is calculated, with the formula Fd = |Gleg·(-ntarget)|. This projection component represents the effective force of gravity along the detachment direction. The physical meaning of this component is the magnitude of the detachment force experienced by the robot in this direction if the suction cup does not provide any adhesion. Dynamic effects during robot movement are also considered. Based on the maximum acceleration amax = 0.5 m / s² in the motion planning, the inertial force component Fi = mtotal × amax is calculated. This inertial force is also projected in the opposite direction to the normal vector to obtain the dynamic detachment force increment. The theoretical detachment force is the sum of the static and dynamic components, Fdt = Fd + Fi, ensuring that the calculation results cover transient loads during movement.
[0091] The baseline holding pressure is calculated as the ratio of the theoretical detachment force to the effective adsorption area of the suction cup. Geometric parameters of the vacuum suction cup assembly are extracted from preset robot dynamics parameters, obtaining the suction cup diameter, outer diameter of the sealing ring, and inner diameter of the sealing ring. The effective adsorption area is determined based on the outer and inner diameters of the sealing ring. This area represents the effective region where the vacuum negative pressure actually acts, as only the sealed cavity inside the sealing ring can maintain the negative pressure. The baseline holding pressure is obtained by dividing the theoretical detachment force by the effective adsorption area. This pressure represents the minimum absolute value of negative pressure required to resist the theoretical detachment force under ideal planar contact conditions. The unit of the baseline holding pressure is Pascal, which is converted to kilopascals for subsequent processing.
[0092] The calculation of local mean curvature quantifies the degree of curvature of the surface surrounding the target landing point. Local sampling neighbors of the target landing point are extracted from the surface data. The curvature is calculated using differential geometry. For each data point in the neighborhood, two principal curvatures, k1 and k2, are calculated. The principal curvatures are obtained by analyzing the second-order partial derivatives of the local surface. The average curvature of each data point is calculated as Kmean = (k1 + k2) / 2. The average curvature Kavg of the entire neighborhood is then used as the local mean curvature. The unit of this curvature value is per meter; a larger value indicates more severe surface curvature. The mean curvature comprehensively reflects the degree of surface curvature in all directions and is more suitable for describing complex surface features than a single radius of curvature. The curvature dynamic compensation coefficient is obtained by mapping the local mean curvature through an exponential function. The compensation coefficient calculation formula is constructed as λcurve = 1 + α × (1 - exp(-β × Kavg)), where α = 0.3 is the maximum compensation amplitude coefficient, and β = 0.2 is the curvature sensitivity coefficient. The formula is designed so that the compensation coefficient increases with the increase of the local average curvature. When the curvature is zero, the compensation coefficient is 1, corresponding to no additional compensation. When the curvature approaches infinity, the compensation coefficient approaches 1.3, corresponding to a 30% pressure increase. The nonlinear characteristics of the exponential function reflect the actual law of the influence of curvature on sealing performance. At small curvatures, the sealing ring can fit well and the compensation requirement is small. At large curvatures, the sealing gap increases significantly, requiring a substantial increase in negative pressure. The curvature dynamic compensation coefficient λ_curve calculated by the system is ensured to be greater than or equal to 1, reflecting the compensation principle of only increasing and not decreasing, because curvature will only worsen the sealing conditions and not improve them.
[0093] The initial adsorption pressure is obtained by multiplying the base holding pressure by the curvature dynamic compensation coefficient. The physical meaning of this multiplication is to proportionally amplify the base pressure according to the degree of curvature influence, compensating for the decrease in sealing performance caused by surface curvature. The final determination of the target adsorption pressure needs to be compared with the minimum sealing pressure threshold. The minimum sealing pressure threshold is extracted from the preset robot dynamics parameters. The minimum sealing pressure threshold is a hardware characteristic parameter of the vacuum suction cup assembly, representing the minimum absolute value of negative pressure required for the sealing ring to form an effective gas seal. When the negative pressure is lower than the minimum sealing pressure threshold, the compression of the sealing lip is insufficient, and a continuous sealing line cannot be formed between the lip and the wall, resulting in microscopic gas leakage channels that prevent the negative pressure from being maintained. The relationship between the initial adsorption pressure and the minimum sealing pressure threshold is determined. If the initial adsorption pressure is greater than or equal to the minimum sealing pressure threshold, it indicates that the initial pressure meets the sealing requirements, and the initial adsorption pressure is determined as the target adsorption pressure. If the initial adsorption pressure is less than the minimum sealing pressure threshold, it indicates that the pressure calculated according to force balance and curvature compensation is insufficient to form an effective seal, and the minimum sealing pressure threshold is determined as the target adsorption pressure. Ensure the suction cup functions properly. The minimum sealing pressure threshold protection mechanism prevents adsorption from failing completely due to excessively low calculated pressure, reflecting the design principle of prioritizing hardware constraints.
[0094] Furthermore, an upper limit protection is implemented for the target adsorption pressure value. The maximum permissible negative pressure is extracted from preset robot dynamic parameters, and this upper limit is determined by the vacuum pump capacity and the strength of the sealing ring material. If the target adsorption pressure value is less than the maximum permissible negative pressure, the maximum permissible negative pressure is set as the target adsorption pressure value to avoid excessive deformation or tearing of the sealing ring due to excessive negative pressure. Through the dual constraints of the lower and upper limits, the target adsorption pressure value is limited to a safe operating range of [maximum permissible negative pressure, minimum sealing pressure threshold].
[0095] Taking the target landing point [1450, 315, 3085] mm and the target pose as an example, the fuselage rotation matrix is extracted to align the fuselage z-axis with the surface normal vector [0.12, -0.08, 0.99]. The gravity vector in the global coordinate system is Gg = [0, 0, -441] N, which is transformed to obtain the gravity vector in the fuselage coordinate system as Gb = [-52.9, 35.3, -436.6] N. The surface normal vector ntarget = [0.12, -0.08, 0.99] has been obtained from the surface data, and its reverse direction is [-0.12, 0.08, -0.99]. The gravity vector of the mechanical leg to be moved in its local coordinate system is calculated, and through kinematic transformation, Gleg = [-48.2, 28.7, -445.3] N is obtained. The projection of gravity in the reverse direction of the normal is calculated as 448.9 N. Considering dynamic inertial forces, a maximum acceleration of 0.5 m / s² generates an inertial force of 22.5 N, projected onto the normal direction to obtain 22.3 N. The theoretical total release force is 471.2 N. The effective adsorption area is 0.003298 square meters. The basic maintaining pressure is 142.9 kPa. The local average curvature Kavg is calculated to be 0.15 per meter from surface data. The curvature dynamic compensation coefficient λcurve is 1.009. The initial adsorption pressure is 144.2 kPa, which is converted to negative pressure as -144.2 kPa. This initial pressure is significantly greater than the minimum sealing pressure threshold of 60 kPa, meeting the sealing requirements, but exceeding the maximum allowable negative pressure of 90 kPa. The upper limit protection is implemented, setting the target adsorption pressure to -90 kPa. This pressure value will be used as the setting parameter for the vacuum pump controller to ensure that the moving mechanical leg provides sufficient support during adsorption without damaging the sealing components.
[0096] S108: Controls the vacuum suction cup assembly at the end of the mechanical leg to be moved to the target landing point, and performs adsorption with the target adsorption pressure value as the target.
[0097] In step S108 above, based on the spatial coordinates of the target landing point and the current end position of the mechanical leg to be moved, the target joint angle configuration J=[θhip, θknee, θankle] is calculated using inverse kinematics. A smooth trajectory in joint space is generated using a fifth-order polynomial trajectory planning algorithm, with the movement time Tmove set to 2 seconds to ensure that the velocity and acceleration of the trajectory are zero at the start and end times, avoiding impact loads. The trajectory is discretized into 200 control points, and position commands are sent to the servo motor driver at a frequency of 100 Hz. The driver's built-in PID controller achieves precise tracking of the joint angle, with the position error controlled within ±0.2 degrees. During the movement of the mechanical leg, the adsorption pressure sensor data of the other three supporting legs are monitored in real time to ensure that the negative pressure of the supporting legs is maintained within the set range. If the pressure drop of any supporting leg exceeds 5 kPa, the movement of the leg to be moved is immediately paused and support leg pressure compensation is triggered to ensure the overall adsorption stability of the mechanism.
[0098] When the end of the robotic leg reaches the vicinity of the target landing point, the system switches to contact control mode. Compliant ankle joint control allows the vacuum suction cup assembly to approach the wall at a low speed of 0.05 meters per second. The initial contact force is detected by a contact pressure sensor on the suction cup assembly. When the detected contact force exceeds 5 Newtons, it is determined that the suction cup has adhered to the wall, the robotic leg movement is immediately stopped, and the joint position is locked. The vacuum pump is then activated, and the corresponding solenoid control valve is opened to begin evacuating the suction cup. A closed-loop pressure control strategy is employed, using the target adsorption pressure value as the setpoint. The negative pressure is rapidly established by adjusting the vacuum pump power and the solenoid valve opening. Pressure sensor data within the suction cup is acquired at a frequency of 50 Hz, the pressure error is calculated, and a control output is generated through a PID control algorithm. This control output adjusts the PWM duty cycle of the vacuum pump. Monitor the negative pressure rise curve. Typically, the negative pressure reaches 95% of the target value within 0.8 seconds. When the absolute value of the pressure error is less than 2 kPa and the duration exceeds 0.3 seconds, the adsorption is determined to be complete and an adsorption success signal is issued. Subsequently, the status marker of the mechanical leg is switched from "moving" to "supporting", completing a single foothold switching action.
[0099] Controlling the vacuum suction cup assembly at the end of the robotic leg to be moved to the target landing point and adsorbing it at the target adsorption pressure value is to translate the planning results into actual position switching actions. Precise trajectory tracking and pressure closed-loop control ensure safe and reliable landing point transfer. Because the robotic leg needs to avoid collisions with walls or interference with other supporting legs during spatial movement, the suction cup must establish negative pressure according to the target pressure value after contacting the wall to form effective adsorption. Inaccurate pressure control can lead to insufficient adsorption force causing slippage or excessive negative pressure damaging the sealing ring. Through staged motion control and real-time pressure adjustment, the robotic leg to be moved can smoothly transition from its current position to a new support state, completing the position update of a single leg while maintaining the stability of the overall mechanism. Referring to the control method for the robotic leg to be moved, similar calculations are performed on other robotic legs based on the gait of the inspection robot to determine the target landing point and target adsorption pressure value for each moving robotic leg. Furthermore, during adsorption, the adsorption pressure value of each vacuum suction cup assembly is monitored in real time. Once the adsorption pressure value falls below the safe adsorption pressure value of each robotic leg, an alarm is triggered. The safe adsorption pressure value is three-quarters of the target adsorption pressure value of each mobile mechanical leg. For example, if the target adsorption pressure value is -90 kPa, the safe adsorption pressure value is -67.5 kPa.
[0100] In one possible implementation, after controlling the vacuum suction cup assembly at the end of the mechanical leg to be moved to the target landing point and adsorbing it with the target adsorption pressure value, the method further includes: acquiring the current actual posture data of the inspection robot, the actual posture data including the inertial posture angle and the visual positioning posture; fusing the inertial posture angle and the visual positioning posture to obtain a high-precision fused posture, and calculating the posture deviation between the high-precision fused posture and the target posture; if the posture deviation is greater than a preset calibration threshold, generating joint adjustment commands based on the posture deviation, and driving all the supporting mechanical legs in the adsorption state to execute the joint adjustment commands until the posture deviation is less than or equal to the preset calibration threshold; calculating the lateral deviation distance of the inspection robot relative to the initial path based on the calibrated current position; if the lateral deviation distance is greater than a preset path error threshold, regenerating a corrected path based on the calibrated current position, and adjusting the initial path based on the corrected path to obtain the target path.
[0101] Specifically, after determining that the inspection robot moves to the target area according to the target gait, posture calibration and path correction are performed after the mechanical leg to be moved is completed. This is to eliminate accumulated errors and ensure that the inspection robot moves accurately along the planned path. Because after the robot performs multiple gait switching on complex curved surfaces, factors such as joint control errors, wall contact deviations, and suction cup slippage can cause the actual posture and position to deviate from the planned state. If not corrected in time, it will cause cascading deviations in subsequent paths or even prevent the robot from reaching the predetermined detection area. By fusing multi-sensor data to obtain high-precision posture information and dynamically adjusting joint angles, posture deviations can be controlled within the allowable range. At the same time, based on the calibrated real position, the local path is replanned to achieve adaptive correction of the initial path, ensuring the integrity of the inspection coverage and the detection accuracy.
[0102] The current inertial attitude angle is obtained from the IMU (Inertial Measurement Unit), which is obtained by quaternion integration of the angular velocity and acceleration data output by the IMU. Simultaneously, the visual positioning attitude is acquired from the binocular vision camera. This attitude is achieved through a feature point matching algorithm. SIFT feature points are extracted from the images acquired by the camera and matched with pre-stored projection features of the device's 3D model. For successfully matched feature point pairs, the PnP algorithm is used to solve the camera pose relative to the device model. The camera pose is then transformed to the body coordinate system to obtain the visual positioning attitude. The advantages of inertial attitude angles are high-frequency response and short-term accuracy, but they suffer from zero-point drift and integral accumulation errors. The advantages of visual positioning attitude are global consistency and long-term stability, but it is susceptible to jumps due to changes in illumination and feature occlusion.
[0103] A high-precision fused attitude is obtained by fusing inertial attitude angles and visually positioned attitude data using an extended Kalman filter algorithm. A state vector containing attitude angles and angular velocities is constructed. The state transition equation is established based on IMU gyroscope data, and the observation equation incorporates IMU accelerometer data and visual positioning results. The attitude deviation is calculated by comparing the high-precision fused attitude with the planned attitude angles in the target pose. A rotation matrix is extracted from the target pose and converted to Euler angles. The attitude deviation along each axis is calculated, and the yaw angle deviation is periodically normalized to calculate the overall attitude deviation, which reflects the overall degree of attitude deviation from the target state.
[0104] The attitude calibration is triggered when the overall attitude deviation exceeds a preset calibration threshold. When the attitude deviation exceeds the preset threshold, the attitude calibration process is initiated to generate joint adjustment commands. The required joint angle adjustment is calculated using a robot inverse kinematics algorithm, converting the attitude deviation into a rotational correction in the body coordinate system. This rotational correction is then mapped to the joint space of each robotic leg using a Jacobian matrix. The currently attached supporting robotic legs are identified; typically, three to four legs are in a supported state in a quadrupedal gait. The joint angle increment for each supporting robotic leg is calculated using the least squares method, ensuring that the body attitude moves towards the target attitude while maintaining the end-effector positions of each supporting leg. The generated joint adjustment commands include the target joint angle and adjustment time, using a trapezoidal velocity curve to ensure a smooth transition. Joint adjustment is executed by sending position commands to the servo motor drivers. The joint adjustment commands are discretized into 75 control points at a frequency of 50 Hz, driving the joints of all supporting robotic legs to move synchronously. During the adjustment process, the pressure sensor data of each suction cup is continuously monitored to ensure that the negative pressure is maintained within a safe range. If the pressure drop of any suction cup exceeds 5 kPa, the adjustment is immediately paused and pressure compensation for that suction cup is triggered. After the joint adjustment is completed, IMU and visual data are reacquired to calculate the new high-precision fused posture and the updated posture deviation is calculated. If the posture deviation is still greater than the calibration threshold, the joint adjustment process is iteratively executed. Usually, after 2 to 3 iterations, the posture deviation can be converged to within 0.3 degrees to meet the calibration requirements. The maximum number of iterations is set to 5. If the convergence is not achieved after exceeding the limit, an abnormal alarm is triggered and the inspection task is paused until manual intervention is required.
[0105] The lateral deviation distance is calculated based on the geometric relationship between the calibrated robot's current position and the initial path. The current position of the robot's center in the global coordinate system is obtained through forward kinematics calculations, which integrates the spatial coordinates of the end-capsule attachment points of the four robotic legs and the robot's dimensions. The path segment closest to the current position is extracted from the initial path; this segment is defined by two adjacent key nodes, and the vertical distance from the current position to this path segment is calculated as the lateral deviation distance. When the lateral deviation distance exceeds a preset path error threshold, a path correction process is initiated to generate a corrected path. The calibrated current position is used as the new planning starting point, and the sequence of subsequent key nodes that have not yet been reached is extracted from the initial path. A fast expanding random tree (RRT*) algorithm is used for local path planning, generating a new path segment between the current position and the corrected position. This algorithm randomly samples feasible poses in the configuration space and constructs a tree structure, optimizing the path quality through a cost function. The corrected position is the first key node after the current position. The sampling range is set to a 500 mm radius around the current position, with a maximum of 1000 iterations. The path cost function integrates path length and pose change. The planned corrected path connects the current position and the corrected position. This corrected path replaces the segment from the current position to the corrected position in the initial path, while subsequent path segments remain unchanged. This process is then combined to obtain the target path. The generation of the target path ensures that the robot can smoothly transition from its actual position to the original planned path, avoiding the inability to reach subsequent nodes due to accumulated deviations.
[0106] The generated target path is updated to the motion control module as the basis for subsequent gait planning and foot placement selection. Key nodes in the target path are renumbered and timestamped, and the inspection task continues according to the updated path sequence. The path correction process typically takes 3 to 5 seconds, including the computation time for local planning and the processing time for path splicing. During this period, the robot maintains its current posture and position, and all support legs remain in an adhesive state to ensure stability.
[0107] This application also provides a control device for a robot that climbs and inspects complex curved surfaces. Figure 2 This is a schematic diagram of the structure of a control device for a complex curved surface climbing and inspection robot provided in an embodiment of this application. (Refer to...) Figure 2 The device is located within an inspection robot, which includes a body, multiple degrees of freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each mechanical leg. The adsorption and release of each vacuum suction cup assembly can be independently controlled. The device also includes an acquisition unit 201, a first processing unit 202, a second processing unit 203, and a movement unit 204. The acquisition unit 201 acquires global scan data of the working surface and plans an initial path based on the global scan data; after controlling the inspection robot to reach the starting position in the initial path, it acquires local surface geometry data of the target area in front of the starting position. The first processing unit 202 acquires the real-time posture data of the inspection robot at the starting position, determines the target gait for reaching the target area based on the local surface geometry data, and determines the mechanical leg to be moved based on the target gait; based on the real-time posture data and the target gait, it determines multiple candidate landing points for the mechanical leg to be moved in the target area. The second processing unit 203 acquires surface data of each candidate landing point, calculates the local surface features of each candidate landing point based on the surface data, and obtains multiple confidence scores, with one confidence score corresponding to each candidate landing point; based on the priority order determined by the confidence scores, it performs contact-based physical verification on each of the multiple candidate landing points, and determines the first candidate landing point that passes the physical verification as the target landing point; based on the position of the target landing point, it plans the target pose of the inspection robot after moving from the starting position to the target landing point and adsorbing it, and calculates the target adsorption pressure value of the mechanical leg to be moved based on the target pose, the surface data of the target landing point, and the preset robot dynamic parameters; The moving unit 204 controls the vacuum suction cup assembly at the end of the mechanical leg to be moved to the target landing point and performs adsorption with the target adsorption pressure value as the target.
[0108] In one possible implementation, the first processing unit 202 is used to calculate the average curvature and surface normal vector dispersion of the target area based on local surface geometric data; calculate the gravity component factor currently experienced by the inspection robot based on real-time attitude data and local surface geometric data; perform a weighted summation of the average curvature, surface normal vector dispersion, and gravity component factor to obtain a comprehensive terrain complexity coefficient; if the comprehensive terrain complexity coefficient is greater than a first risk threshold, the current working condition is determined to be a high-risk working condition, and a stable gait is selected as the target gait; if the comprehensive terrain complexity coefficient is less than or equal to the first risk threshold and greater than a second risk threshold, the current working condition is determined to be a medium-risk working condition, and a three-point gait is selected as the target gait, where the first risk threshold is greater than the second risk threshold; if the comprehensive terrain complexity coefficient is less than or equal to the second risk threshold, the current working condition is determined to be a low-risk working condition, and a two-point alternating gait is selected as the target gait.
[0109] In one possible implementation, the acquisition unit 201 is used to acquire the gait parameter set corresponding to the target gait, the gait parameter set including minimum stride, maximum stride, and angle range; the first processing unit 202 is used to define a circular search area between the minimum stride and the maximum stride on the local surface geometry data based on the real-time posture data, with the current attachment point of the mechanical leg to be moved as the origin; sample the local surface geometry data within the circular search area to generate a set of initial sampling points, perform kinematic reachability verification on each initial sampling point to obtain a set of reachable points; calculate the stability gain score and kinematic cost score for each reachable point in the set of reachable points; perform a weighted summation of the stability gain score and kinematic cost score to obtain multiple comprehensive fitness scores, one comprehensive fitness score corresponding to one reachable point; select reachable points with a comprehensive fitness score greater than a preset fitness threshold from the multiple comprehensive fitness scores as candidate landing points.
[0110] In one possible implementation, the acquisition unit 201 is used to determine the supporting mechanical legs based on the mechanical leg to be moved, acquire the three-dimensional coordinates of the attachment points of each supporting mechanical leg to form a current support point set, wherein the supporting mechanical legs are the other mechanical legs in the multi-degree-of-freedom mechanical legs that maintain an adsorption state, excluding the mechanical leg to be moved; acquire the target reachable point from a set of reachable points, and summarize the three-dimensional coordinates of the target reachable point into the current support point set to obtain the expected support point set; the first processing unit 202 is used to calculate the projection point of the inspection robot's center of gravity on the local curved surface based on real-time attitude data; construct a virtual support topology based on the spatial distribution relationship of each coordinate point in the expected support point set; calculate the geometric breadth characteristic value of the virtual support topology as a geometric stability index, calculate the degree of offset of the projection point relative to the stability center of the virtual support topology, and determine the static stability margin based on the degree of offset; and process several... After normalizing the stability index and static stability margin, a weighted sum is obtained to get the stability gain score corresponding to the target reachable point. Based on real-time attitude data and preset robot structural parameters, the leg base coordinate system at the connection between the moving mechanical leg and the body is determined. The three-dimensional coordinates of the target reachable point are transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point. The Euclidean distance between the relative coordinate point and the origin of the leg base coordinate system is calculated to obtain the ideal extension length of the moving mechanical leg. The extension cost component is obtained by calculating the Euclidean distance and the ideal extension length. The pitch angle of the relative coordinate point is calculated in the leg base coordinate system with the direction perpendicular to the body as the reference. The deviation of the pitch angle from the comfortable pitch angle range of the moving mechanical leg is calculated to calculate the angle cost component. The kinematic cost score of the target reachable point is obtained by weighted summing of the extension cost component and the angle cost component.
[0111] In one possible implementation, the second processing unit 203 is used to extract point cloud data within a preset radius from the surface data, centered on each candidate landing point, to construct a local sampling neighborhood; perform least squares plane fitting on the point cloud data within the local sampling neighborhood to obtain a reference fitting plane; calculate the vertical distance from each data point within the local sampling neighborhood to the reference fitting plane, and calculate the root mean square error of all vertical distances, using the root mean square error as a flatness factor; calculate the normal vector of each data point within the local sampling neighborhood, and calculate the angular deviation of all normal vectors relative to the normal vector of the reference fitting plane, statistically analyze the variance of the angular deviation, and use the variance as a surface consistency factor; calculate the maximum height difference of the data points within the local sampling neighborhood along the normal direction of the reference fitting plane, and use the maximum height difference as a discontinuity factor; perform a weighted summation of the flatness factor, the surface consistency factor, and the discontinuity factor to obtain a comprehensive surface defect index; and calculate the reciprocal of the comprehensive surface defect index based on a preset transformation function to obtain a confidence score, wherein the lower the comprehensive surface defect index, the higher the confidence score.
[0112] In one possible implementation, the second processing unit 203 is used to construct a gravity vector based on the target pose, determine the surface normal vector of the target position based on the surface data of the target landing point; calculate the projection component of the gravity vector in the opposite direction of the surface normal vector to obtain the theoretical detachment force; obtain the effective adsorption area of the vacuum suction cup assembly based on preset robot dynamic parameters, calculate the ratio of the theoretical detachment force to the effective adsorption area to obtain the basic holding pressure value; calculate the local average curvature based on the surface data of the target landing point, determine the curvature dynamic compensation coefficient based on the local average curvature; multiply the basic holding pressure value by the curvature dynamic compensation coefficient to obtain the initial adsorption pressure value; if the initial adsorption pressure value is greater than or equal to the minimum sealing pressure threshold, then the initial adsorption pressure value is determined as the target adsorption pressure value; if the initial adsorption pressure value is less than the minimum sealing pressure threshold, then the minimum sealing pressure threshold is determined as the target adsorption pressure value.
[0113] In one possible implementation, the acquisition unit 201 is used to acquire the current actual posture data of the inspection robot, including the inertial attitude angle and the visual positioning posture; the first processing unit 202 is used to fuse the inertial attitude angle and the visual positioning posture to obtain a high-precision fused posture, and calculate the posture deviation between the high-precision fused posture and the target posture; if the posture deviation is greater than a preset calibration threshold, a joint adjustment command is generated based on the posture deviation, and all the support mechanical legs in the adsorption state are driven to execute the joint adjustment command until the posture deviation is less than or equal to the preset calibration threshold; based on the calibrated current position, the lateral deviation distance of the inspection robot relative to the initial path is calculated; if the lateral deviation distance is greater than a preset path error threshold, a corrected path is regenerated with the calibrated current position, and the initial path is adjusted based on the corrected path to obtain the target path.
[0114] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0115] This application also discloses an electronic device. (See reference...) Figure 3 , Figure 3 This application provides a schematic diagram of the structure of an electronic device. The electronic device 300 may include: at least one processor 301, at least one network interface 304, a user interface 303, a memory 302, and at least one communication bus 305.
[0116] The communication bus 305 is used to enable communication between these components.
[0117] The user interface 303 may include a display screen and a camera. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
[0118] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0119] The processor 301 may include one or more processing cores. The processor 301 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 302, and by calling data stored in memory 302. Optionally, the processor 301 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 301 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and application requests; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 301 and may be implemented as a separate chip.
[0120] The memory 302 may include random access memory (RAM) or read-only memory. Optionally, the memory 302 may include a non-transitory computer-readable storage medium. The memory 302 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 302 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described above, etc. The data storage area may store data involved in the various method embodiments described above. Optionally, the memory 302 may also be at least one storage device located remotely from the aforementioned processor 301.
[0121] like Figure 3 As shown, the memory 302, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for controlling a complex curved surface climbing and inspection robot.
[0122] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 301 can be used to call the application program stored in the memory 302 for the control of the complex curved surface climbing inspection robot. When executed by one or more processors, the electronic device performs one or more of the methods described in the above embodiments.
[0123] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0124] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0125] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some service interfaces; indirect couplings or communication connections between devices or units may be electrical or other forms.
[0126] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0127] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0128] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0129] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and the disclosure of practical truths. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure.
Claims
1. A control method for a robot that climbs and inspects complex curved surfaces, characterized in that, An inspection robot is applied to the inspection robot, which includes a body, multiple degrees of freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each of the mechanical legs. The adsorption and release of each vacuum suction cup assembly can be independently controlled. The method includes: Obtain global scan data of the working surface, and plan an initial path based on the global scan data; After the inspection robot reaches the starting position in the initial path, the local surface geometry data of the target area in front of the starting position is obtained. The real-time posture data of the inspection robot at the starting position is acquired, the target gait for reaching the target area is determined based on the local surface geometry data, and the mechanical leg to be moved is determined based on the target gait. Based on the real-time posture data and the target gait, multiple candidate footing points are determined for the mechanical leg to be moved in the target area; Surface data of each candidate landing point is obtained, and local surface features of each candidate landing point are calculated based on the surface data to obtain multiple confidence scores, with one candidate landing point corresponding to one confidence score; Based on the priority order determined by the confidence scores, contact-based physical verification is performed on each of the multiple candidate landing points, and the first candidate landing point that passes the physical verification is determined as the target landing point. Based on the location of the target landing point, the target pose of the inspection robot after moving from the starting position to the target landing point is planned, and the target adsorption pressure value of the mechanical leg to be moved is calculated according to the target pose, the surface data of the target landing point and the preset robot dynamic parameters. Control the vacuum suction cup assembly at the end of the mechanical leg to be moved to the target landing point, and perform adsorption with the target adsorption pressure value as the target; Based on the real-time posture data and the target gait, determining multiple candidate landing points for the robotic leg to be moved within the target area specifically includes: Obtain the gait parameter set corresponding to the target gait, the gait parameter set including minimum stride length, maximum stride length, and angle range; Based on the real-time attitude data, an annular search area is defined on the local curved surface geometry data, with the current attachment point of the mechanical leg to be moved as the origin; Within the annular search area, the local surface geometry data is sampled to generate a set of initial sampling points. The kinematic reachability of each initial sampling point is then verified to obtain a set of reachable points. For each of the reachable points in the set of reachable points, the stability gain score and kinematic cost score are calculated. The stability gain score and the kinematic cost score are weighted and summed to obtain multiple comprehensive fitness scores, and each comprehensive fitness score corresponds to one reachable point. From the multiple comprehensive fitness scores, reachable points with scores greater than a preset fitness threshold are selected as candidate landing points; The step of calculating the stability gain score and kinematic cost score for each of the set of reachable points specifically includes: Based on the mechanical leg to be moved, the supporting mechanical leg is determined, and the three-dimensional coordinates of the attachment points of each supporting mechanical leg are obtained to form the current support point set. The supporting mechanical leg is the other mechanical leg in the multiple degrees of freedom mechanical leg that maintains an adsorption state, excluding the mechanical leg to be moved. Obtain the target reachable point from the set of reachable points, and summarize the three-dimensional coordinates of the target reachable point into the current support point set to obtain the expected support point set; The projection point of the inspection robot's center of gravity on the local curved surface is calculated based on the real-time posture data; Based on the spatial distribution relationship of each coordinate point in the expected support point set, a virtual support topology is constructed. The geometric breadth characteristic value of the virtual support topology is calculated as a geometric stability index. The degree of offset of the projection point relative to the stability center of the virtual support topology is calculated, and the static stability margin is determined based on the degree of offset. After normalizing the geometric stability index and the static stability margin, a weighted sum is taken to obtain the stability gain score corresponding to the target reachable point; Based on the real-time posture data and preset robot structure parameters, the leg base coordinate system at the connection between the mechanical leg to be moved and the body is determined, and the three-dimensional coordinates of the target reachable point are transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point; Calculate the Euclidean distance between the relative coordinate point and the origin of the leg base coordinate system to obtain the ideal extension length of the mechanical leg to be moved. Calculate the extension cost component by combining the Euclidean distance and the ideal extension length. In the leg-base coordinate system, with the direction perpendicular to the fuselage as the reference, calculate the pitch angle of the relative coordinate point; Calculate the deviation of the pitch angle from the comfortable pitch angle range of the mechanical leg to be moved, and calculate the angle cost component; The kinematic cost fraction of the target reachable point is obtained by weighted summation of the extension cost component and the angle cost component.
2. The method according to claim 1, characterized in that, The step of determining the target gait for reaching the target region based on the local surface geometry data specifically includes: Based on the local surface geometry data, the average curvature and surface normal vector dispersion of the target region are calculated; Based on the real-time attitude data and the local surface geometry data, the gravity component factor currently experienced by the inspection robot is calculated. The average curvature, the surface normal vector dispersion, and the gravity component factor are weighted and summed to obtain the comprehensive terrain complexity coefficient. If the comprehensive terrain complexity coefficient is greater than the first risk threshold, the current working condition is determined to be a high-risk working condition, and a stable gait is selected as the target gait. If the comprehensive terrain complexity coefficient is less than or equal to the first risk threshold and greater than the second risk threshold, the current working condition is determined to be a medium-risk working condition, and a three-point gait is selected as the target gait, where the first risk threshold is greater than the second risk threshold. If the comprehensive terrain complexity coefficient is less than or equal to the second risk threshold, the current working condition is determined to be a low-risk working condition, and the two-point alternating gait is selected as the target gait.
3. The method according to claim 1, characterized in that, The step of calculating local surface features of each candidate landing point based on the surface data to obtain multiple confidence scores specifically includes: Centered on each of the candidate landing points, point cloud data within a preset radius is extracted from the surface data to construct a local sampling neighborhood; The point cloud data within the local sampling neighborhood is fitted using the least squares plane method to obtain a reference fitting plane. Calculate the vertical distance from each data point in the local sampling neighborhood to the reference fitting plane, and calculate the root mean square error of all vertical distances, using the root mean square error as the flatness factor. Calculate the normal vector of each data point in the local sampling neighborhood, and calculate the angular deviation of all the normal vectors relative to the normal vector of the reference fitting plane. Calculate the variance of the angular deviation and use the variance as the surface consistency factor. Calculate the maximum height difference of data points within the local sampling neighborhood along the normal direction of the reference fitting plane, and use the maximum height difference as a discontinuity factor; The surface defect comprehensive index is obtained by weighted summation of the smoothness factor, the surface consistency factor, and the discontinuity factor. The confidence score is obtained by calculating the reciprocal of the surface defect comprehensive index based on a preset conversion function, wherein the lower the surface defect comprehensive index, the higher the confidence score.
4. The method according to claim 1, characterized in that, The step of calculating the target adsorption pressure value of the mechanical leg to be moved based on the target pose, the surface data of the target landing point, and preset robot dynamic parameters specifically includes: A gravity vector is constructed based on the target pose, and a surface normal vector of the target position is determined based on the surface data of the target landing point. Calculate the projection component of the gravity vector in the opposite direction to the surface normal vector to obtain the theoretical separation force; The effective adsorption area of the vacuum suction cup assembly is obtained based on the preset robot dynamics parameters. The ratio of the theoretical detachment force to the effective adsorption area is calculated to obtain the basic holding pressure value. Calculate the local average curvature based on the surface data of the target landing point, and determine the curvature dynamic compensation coefficient based on the local average curvature; The initial adsorption pressure value is obtained by multiplying the basic maintaining pressure value by the curvature dynamic compensation coefficient. If the initial adsorption pressure value is greater than or equal to the minimum sealing pressure threshold, then the initial adsorption pressure value is determined as the target adsorption pressure value; If the initial adsorption pressure value is less than the minimum sealing pressure threshold, then the minimum sealing pressure threshold is determined as the target adsorption pressure value.
5. The method according to claim 1, characterized in that, After controlling the vacuum suction cup assembly at the end of the movable mechanical leg to move to the target landing point and adsorbing it with the target adsorption pressure value, the method further includes: The current actual posture data of the inspection robot is obtained, including the inertial posture angle and the visual positioning posture. The inertial attitude angle and the visual positioning attitude are fused together to obtain a high-precision fused attitude, and the attitude deviation between the high-precision fused attitude and the target pose is calculated. If the attitude deviation is greater than the preset calibration threshold, a joint adjustment command is generated based on the attitude deviation, and all the support mechanical legs in the adsorption state are driven to execute the joint adjustment command until the attitude deviation is less than or equal to the preset calibration threshold. Based on the calibrated current position, calculate the lateral deviation distance of the inspection robot relative to the initial path; If the lateral deviation distance is greater than the preset path error threshold, a corrected path is regenerated based on the calibrated current position, and the initial path is adjusted based on the corrected path to obtain the target path.
6. A control device for a robot that climbs and inspects complex curved surfaces, characterized in that, The device is located within an inspection robot, which includes a body, multiple degrees of freedom mechanical legs connected to the body, and vacuum suction cup assemblies respectively disposed at the ends of each mechanical leg. The adsorption and release of each vacuum suction cup assembly can be independently controlled. The device also includes an acquisition unit, a first processing unit, a second processing unit, and a movement unit. The acquisition unit acquires global scan data of the working surface, plans an initial path based on the global scan data, and after controlling the inspection robot to reach the starting position in the initial path, acquires local surface geometry data of the target area in front of the starting position. The first processing unit acquires the real-time posture data of the inspection robot at the starting position, determines the target gait for reaching the target area based on the local surface geometry data, and determines the mechanical leg to be moved based on the target gait; Based on the real-time posture data and the target gait, multiple candidate footing points are determined for the mechanical leg to be moved in the target area; The second processing unit acquires surface data of each of the candidate landing points, calculates local surface features of each candidate landing point based on the surface data, and obtains multiple confidence scores, with one candidate landing point corresponding to one confidence score; Based on the priority order determined by the confidence scores, contact-based physical verification is performed on each of the multiple candidate landing points, and the first candidate landing point that passes the physical verification is determined as the target landing point. Based on the location of the target landing point, the target pose of the inspection robot after moving from the starting position to the target landing point is planned, and the target adsorption pressure value of the mechanical leg to be moved is calculated according to the target pose, the surface data of the target landing point and the preset robot dynamic parameters. The moving unit controls the vacuum suction cup assembly at the end of the mechanical leg to be moved to move to the target landing point, and performs adsorption with the target adsorption pressure value as the target. Based on the real-time posture data and the target gait, determining multiple candidate landing points for the robotic leg to be moved within the target area specifically includes: Obtain the gait parameter set corresponding to the target gait, the gait parameter set including minimum stride length, maximum stride length, and angle range; Based on the real-time attitude data, an annular search area is defined on the local curved surface geometry data, with the current attachment point of the mechanical leg to be moved as the origin; Within the annular search area, the local surface geometry data is sampled to generate a set of initial sampling points. The kinematic reachability of each initial sampling point is then verified to obtain a set of reachable points. For each of the reachable points in the set of reachable points, the stability gain score and kinematic cost score are calculated. The stability gain score and the kinematic cost score are weighted and summed to obtain multiple comprehensive fitness scores, and each comprehensive fitness score corresponds to one reachable point. From the multiple comprehensive fitness scores, reachable points with scores greater than a preset fitness threshold are selected as candidate landing points; The step of calculating the stability gain score and kinematic cost score for each of the set of reachable points specifically includes: Based on the mechanical leg to be moved, the supporting mechanical leg is determined, and the three-dimensional coordinates of the attachment points of each supporting mechanical leg are obtained to form the current support point set. The supporting mechanical leg is the other mechanical leg in the multiple degrees of freedom mechanical leg that maintains an adsorption state, excluding the mechanical leg to be moved. Obtain the target reachable point from the set of reachable points, and summarize the three-dimensional coordinates of the target reachable point into the current support point set to obtain the expected support point set; The projection point of the inspection robot's center of gravity on the local curved surface is calculated based on the real-time posture data; Based on the spatial distribution relationship of each coordinate point in the expected support point set, a virtual support topology is constructed. The geometric breadth characteristic value of the virtual support topology is calculated as a geometric stability index. The degree of offset of the projection point relative to the stability center of the virtual support topology is calculated, and the static stability margin is determined based on the degree of offset. After normalizing the geometric stability index and the static stability margin, a weighted sum is taken to obtain the stability gain score corresponding to the target reachable point; Based on the real-time posture data and preset robot structure parameters, the leg base coordinate system at the connection between the mechanical leg to be moved and the body is determined, and the three-dimensional coordinates of the target reachable point are transformed from the global coordinate system to the leg base coordinate system to obtain the relative coordinate point; Calculate the Euclidean distance between the relative coordinate point and the origin of the leg base coordinate system to obtain the ideal extension length of the mechanical leg to be moved. Calculate the extension cost component by combining the Euclidean distance and the ideal extension length. In the leg-base coordinate system, with the direction perpendicular to the fuselage as the reference, calculate the pitch angle of the relative coordinate point; Calculate the deviation of the pitch angle from the comfortable pitch angle range of the mechanical leg to be moved, and calculate the angle cost component; The kinematic cost fraction of the target reachable point is obtained by weighted summation of the extension cost component and the angle cost component.
7. An electronic device, characterized in that, The device includes a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Wind driven generator blade detection climbing robot and motion control method thereof
CN118545181A
Bionic adsorption device suitable for uneven surface and control method thereof
CN120308232A
