Bionic robot cluster formation control method and system under communication denial condition

Through the dynamic layout of the bionic manta ray robot and the fisheye camera model, the intelligent decision-making strategy of the bionic robot cluster is designed to solve the problem of communication denial in the underwater environment, achieve effective formation control of multi-agent, and improve the system robustness and expansion. ability.

CN118550316APending Publication Date: 2024-08-27BEIHANG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410653486.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the underwater environment, electromagnetic signals decay rapidly, and high-response communication links between individual robots cannot be constructed correctly. Traditional underwater acoustic communication requires more load and cost, and cannot meet the needs of formation communication.

Method used

Use the preset dynamic layout of the underwater bionic manta ray robot to design a single actuator drive algorithm, combine it with the fisheye camera model to design a machine vision-based spatial perception and positioning algorithm for adjacent robots, and establish an intelligent decision-making strategy for the bionic robot cluster to achieve communication rejection. Cluster control under conditions.

Benefits of technology

Realizing effective formation of multiple underwater robots under adverse communication conditions improves the robustness and scalability of the system, reduces the requirements for communication bandwidth and computing resources, and is suitable for multi-agent formation control in underwater environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550316A
    Figure CN118550316A
Patent Text Reader

Abstract

The invention discloses a bionic robot cluster formation control method and system under a communication denial condition, and the method is characterized in that an underwater bionic robot single-agent kinematics and environment perception model is established; high-response wireless data interaction and communication between bionic robots are difficult, cluster formation of underwater robots under a denial condition is very challenging, motion and sensing characteristics of the bionic robots under the communication denial condition are analyzed, a bionic cluster formation experiment environment is established, and the underwater robot cluster formation simulation method has the advantages of being high in reliability and high in reliability. And carrying out physical debugging verification according to the designed small bionic underwater robot monomer. A reliable underwater multi-agent formation method and implementation steps based on pure visual perception and light-emitting signal identification are provided, basic requirements of different cluster modes for movement and perception of a single robot are analyzed, and bionic robot underwater formation control similar to biological self-organizing cluster behaviors is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the intersecting field of bionic underwater robots and multi-agent cluster formation control, and specifically relates to a bionic robot cluster formation control method and system under communication denial conditions. Background Art

[0002] Swarming behavior is widely present in the biological world. Fish schools avoid predators by changing their shapes rapidly and constantly. Ants release pheromones to form ant colonies to forage for food over long distances. Migrating birds usually form formations of specific shapes to improve flight efficiency. These are all manifestations of swarm intelligence. This large-scale and efficient collaborative behavior of biological groups has inspired researchers to think about the application of bionic swarms in unmanned systems. Bionic robot swarms refer to the technology of multiple bionic robots completing one or more tasks together through certain communication and coordination mechanisms. Bionic swarm collaboration can improve the control effect of artificial multi-agent swarms and achieve higher adaptability, accuracy, efficiency and robustness. Compared with a single robot, a robot swarm has the advantages of high redundancy, high reliability and high flexibility. Multi-agents can complete more complex tasks that a single agent cannot complete through parallel processing and optimized resource allocation.

[0003] In recent years, with the development of the marine economy and the increasing importance of protecting marine rights and interests, the market size of underwater robots has continued to grow, and more requirements have been put forward for underwater monitoring and search and rescue equipment. It has become a trend for multiple underwater robots to work together to complete complex underwater operations. In the underwater environment, electromagnetic signals decay rapidly, and high-response speed communication links between individual robots cannot be correctly constructed. Traditional underwater acoustic communication requires more load and cost, and underwater acoustic communication cannot meet the needs of formation communication. How to achieve multi-agent formation control in an unknown environment with weak or even no communication conditions is a very challenging research direction. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a bionic robot cluster formation control method and system under communication denial conditions, so as to solve the problems in the prior art that in underwater environments, electromagnetic signals attenuate rapidly, high-response speed communication links between single robots cannot be correctly constructed, traditional underwater acoustic communication requires more load and cost, and underwater acoustic communication cannot meet the needs of formation communication.

[0005] According to a first aspect of an embodiment of the present invention, a bionic robot cluster formation control method under communication denial conditions is provided, comprising:

[0006] S1. Design a single actuator driving algorithm using the preset underwater bionic manta ray robot power layout;

[0007] S2. Using the preset fisheye camera model, design a spatial perception and positioning algorithm for neighboring robots based on machine vision;

[0008] S3. Design the behavior state of a single robot using the single actuator driving algorithm;

[0009] S4. Utilize the single actuator driving algorithm, a spatial perception and positioning algorithm of neighboring robots based on machine vision, and the behavior state of a single robot to establish an intelligent decision-making strategy for a bionic robot swarm.

[0010] Furthermore, the single actuator driving algorithm is designed by using the preset underwater bionic manta ray robot power layout, including:

[0011] S11. Using the preset underwater bionic manta ray robot power layout, establish a three-degree-of-freedom dynamic model and power layout;

[0012] S12. Using the three-degree-of-freedom dynamic model and the power layout, a single-fin time-domain sinusoidal function position control model is established, and the single-fin time-domain sinusoidal function position control model is discretized and signal processed to obtain a first processing model;

[0013] S13. The first processing model is verified in a python simulation environment to obtain a second processing model;

[0014] S14. Deploy the second processing model on the waterproof servo motor for physical verification.

[0015] Furthermore, the preset fisheye camera model is used to design a machine vision-based neighboring robot spatial perception and positioning algorithm, including:

[0016] S21. Establish a simplified fisheye camera imaging model;

[0017] S22. Collect fisheye images, perform fisheye distortion correction in MATLAB ocamcalib toolbox, and obtain a correction third-order polynomial;

[0018] S23. Using the corrected third-order polynomial, collect the blue LAB color space threshold of the underwater environment, detect the blue color block in the preset camera field of view, and return the coordinates and color block area of ​​the blue color block on the pixel plane;

[0019] S24. Using the simplified fisheye camera imaging model established, the geometric distance and direction corresponding to each color block in the blue color block are solved to obtain distance parameters and direction parameters;

[0020] S25. Using the distance parameter and direction parameter, perform multi-joint recognition, calculate the spatial coordinates of the neighboring robots in the world coordinate system, and add them to the list;

[0021] The same operation as in the above step S25 is performed for each neighboring robot.

[0022] Furthermore, the use of the single actuator driving algorithm to design the behavior state of a single robot includes:

[0023] S31 uses the single actuator driving algorithm to read the roll and pitch attitude data of the preset inertial navigation unit, designs a closed-loop control algorithm, coordinates the actuators, and controls the robot to move straight;

[0024] S32 uses the single actuator driving algorithm to control the robot to turn left or right on the yaw axis by controlling the frequencies and amplitudes of the left and right actuators preset in the three-degree-of-freedom dynamics model and the power layout;

[0025] S33 utilizes the single actuator driving algorithm to control the robot to move on the pitch axis by controlling the position and timing of the tail actuator in the three-degree-of-freedom dynamic model and the power layout, combines forward movement to achieve snorkeling movement, and designs the behavior state of the single robot.

[0026] Furthermore, the single actuator driving algorithm, a machine vision-based neighboring robot spatial perception and positioning algorithm, and the behavior state of a single robot are used to establish a bionic robot swarm intelligent decision-making strategy, including:

[0027] S41. Establish a distance model so that a single robot can make a plan with the goal of distributing all neighboring robots it identifies as evenly as possible in the world coordinate system;

[0028] S42. Using the machine vision-based spatial perception and positioning algorithm of the neighboring robot, the target position of the mobile machine is determined according to the distance model in step S41;

[0029] S43. Using the data of the preset inertial navigation unit and the preset pressure sensor in the single actuator driving algorithm, as well as the behavior state of the single robot, the target position is closed-loop controlled to reach the target position;

[0030] S44. Execute the above steps S41-S43 for all robots participating in the cluster, establish an intelligent decision-making strategy for the bionic robot cluster, and enable the entire robot cluster to reach the desired position state.

[0031] Furthermore, the simplified fisheye camera imaging model established is used to solve the geometric distance and direction corresponding to each color block in the blue color block to obtain the distance parameter and the direction parameter, including:

[0032] Perform tangential distortion correction on the center coordinates of any color block under the blue color block in the original pixel coordinate system to obtain the center positions m' and n' of the color block in the corrected pixel plane coordinate system;

[0033] Using the corrected center position of the color block in the pixel plane coordinate system, the distance r between the center position of the color block in the corrected pixel plane coordinate system and the center of the pixel plane is obtained by the first formula;

[0034] Among them, the first formula is shown in Formula 1:

[0035]

[0036] Wherein, r represents the distance between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system, m' and n' represent the coordinates of the center of the color block in the corrected pixel plane coordinate system;

[0037] Using the preset width of the color block object, the preset height of the color block object, and the preset distance ratio coefficient K d , through the second formula, the physical distance d of the object under the pinhole camera is obtained;

[0038] Among them, the second formula is shown in Formula 2:

[0039]

[0040] Among them, w is the width of the color block object, h is the height of the color block object, and K d represents the preset distance scale factor, d represents the physical distance of the object under the pinhole camera;

[0041] Using the preset isometric projection model, the radial microelement of the imaging sphere is expanded to the tangent surface with the tangent point as the center. The maximum radius of the circular field of view is R, and the actual distance between the object and the optical center of the camera in the pixel coordinate system is r';

[0042] Using the distance r between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system and the actual distance r' between the object and the optical center of the camera in the pixel coordinate system, the expansion ratio is established on a radius The first mapping function with respect to r;

[0043] The physical distance d of the object under the pinhole camera is multiplied by the ordinate value of the first mapping function to obtain the actual distance parameter d' of the object under the pinhole camera.

[0044] Using the actual distance parameter d', by defining the spherical coordinate system Determine the real coordinates of the object to be measured in the camera coordinate system, that is, the spherical coordinate system;

[0045] Solve the spherical coordinate system using the third formula Wherein, the third formula is as shown below:

[0046]

[0047] Among them, R represents the maximum radius of the circular field of view (unit: pixel), r' represents the actual distance between the object and the optical center of the camera in the pixel coordinate system, r represents the distance between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system, d represents the physical distance of the object under the pinhole camera, d' represents the actual distance parameter of the object under the pinhole camera, θ, Both represent direction parameters.

[0048] Furthermore, the use of the distance parameter and the direction parameter to perform multi-joint recognition, calculate the spatial coordinates of the neighboring robots in the world coordinate system, and add them to the list includes:

[0049] Using the distance parameter and direction parameter, the spherical coordinate system Convert to rectangular coordinate system;

[0050] The rectangular coordinate system is used to perform coordinate rotation and translation transformation, and the spatial coordinates (x, y, z) of the neighboring robots in the world coordinate system are calculated and added to the list.

[0051] Furthermore, the distance model is established so that the single robot makes a plan with the goal of distributing all neighboring robots identified by it as evenly as possible in the world coordinate system, including:

[0052] A nonlinear mapping function is established using the preset intermolecular interaction potential to simulate the nonlinear interaction between robots;

[0053] Derivative the nonlinear mapping function and multiply it by a proportional factor to obtain a virtual force;

[0054] The virtual force caused by each individual robot is normalized and weighted by the distance in different directions of space using the preset formula (4), so that the single robot makes a plan with the goal of being evenly distributed in the world coordinate system relative to all the neighboring robots it has identified;

[0055] Wherein, Formula 4 is as follows:

[0056]

[0057] Where N is the number of neighboring robots read by a single body at a certain moment, d' is the robot distance described in step 2.4, and K fis the virtual force-physical force proportional coefficient, which can be linearly determined by experiment. x, y, and z represent the coordinates of the obtained robot individual in the world coordinate system.

[0058] Further, the use of the data of the inertial navigation unit and the preset pressure sensor as described in S11 and the behavior state of the single robot preset in the single actuator driving algorithm to perform closed-loop control on the target orientation so that it reaches the target orientation includes:

[0059] Using the data of the inertial navigation unit and pressure sensor preset in the single actuator driving algorithm, as well as the behavior state of the single robot, the target position is closed-loop controlled through Formula 5 to achieve the target position;

[0060] Wherein, formula 5 is as follows:

[0061]

[0062] Where S is the decoupling function, f(L), f(R), and f(T) represent the input angles of the left fin, right fin, and tail fin of the actuator, respectively. The data type is int8 and the range is 0-180. represents the virtual force described in formula (4), It represents the sequential linear mapping relationship of the virtual force onto the three actuators, where Lx, Ly, Rx, and Ry are all linear mapping coefficients and are constant parameters.

[0063] According to a second aspect of an embodiment of the present invention, there is provided an underwater bionic robot cluster control system under communication denial conditions, comprising:

[0064] Actuator drive module, used to design a single actuator drive algorithm using a preset underwater bionic manta ray robot power layout;

[0065] The neighboring robot space perception and positioning module is used to design a neighboring robot space perception and positioning algorithm based on machine vision using a preset fisheye camera model;

[0066] A single robot behavior state module, used to design the behavior state of the single robot using the single actuator driving algorithm;

[0067] The bionic robot swarm intelligent decision-making strategy module is used to establish a bionic robot swarm intelligent decision-making strategy by utilizing the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot.

[0068] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:

[0069] It is understandable that the technical solution provided by the present invention designs a single actuator driving algorithm by using a preset underwater bionic manta ray robot power layout; then, using a preset fisheye camera model, designs a machine vision-based neighboring robot space perception and positioning algorithm; using the single actuator driving algorithm, designs the behavior state of a single robot; finally, using the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot, establishes a bionic robot cluster intelligent decision-making strategy. It is understandable that the technical solution provided by the present invention can achieve cluster control of underwater robots under communication denial conditions by establishing a bionic robot cluster intelligent decision-making strategy, which is used to meet the effective formation of multiple underwater robots under unfavorable communication conditions.

[0070] Furthermore, since the traditional whole-frame image distortion correction method will lose the peripheral vision and consume more computing power, the visual solution provided by the present invention innovatively applies the image processing algorithm only to a limited number of feature points of interest, effectively retaining the peripheral vision, saving computing power, and improving the frame rate; secondly, the robot cluster implicit communication method provided by this application can achieve decentralized, self-organized behavior pattern coordination of the entire cluster system only by identifying the position and movement of adjacent robots, thereby greatly enhancing the robustness of the system; further, for traditional display communication cluster control, as the number of individual robots increases, the bandwidth required for communication and the amount of data processed will increase significantly, consuming more communication and computing resources, especially underwater where the communication bandwidth is severely limited. The cluster control and perception method provided by the present invention adopts implicit communication based on passive vision, and has no requirements on the number of clusters, thereby enabling the cluster scale to be expanded.

[0071] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0073] Figure 1 is a schematic diagram of steps of a bionic robot cluster formation control method under communication denial conditions according to an exemplary embodiment;

[0074] Figure 2 This is the operation logic flow chart of the robot cluster control method, which explains the logic algorithm and execution strategy required for each individual robot;

[0075] Figure 3This is a flow chart of the design method of the robot cluster control method, which explains the design ideas of the present invention: the design follows the design from structure to perception and control algorithm;

[0076] Figure 4 Designed the power layout for the bionic manta ray robot prototype;

[0077] Figure 5 It is a discretized model of sinusoidal position control of a single actuator servo motor, where the horizontal axis unit is milliseconds and the vertical axis unit is angle (deg);

[0078] Figure 6 It is the isometric projection model of the fisheye camera;

[0079] Figure 7 Corner identification and correction for the MATLAB ocamcalib toolbox;

[0080] Figure 8 Perform polynomial fitting of imaging system for MATLAB ocamcalib toolbox;

[0081] Fig. 9 Perform color threshold sampling for the Machine Vision-Threshold Editor in Openmv IDE;

[0082] Fig.10 Define the coordinate systems for the robot;

[0083] Fig.11 Comparison of projections before and after the radial microelement expansion;

[0084] Fig.12 is the nonlinear mapping function of the expansion factor;

[0085] Fig.13 The robot potential function is established based on the Lennard-Jones intermolecular interaction potential function;

[0086] Fig.14 It is a virtual force model for the robot;

[0087] Fig.15 The present invention is a schematic diagram showing the composition of an underwater bionic robot cluster control system under communication denial conditions according to an exemplary embodiment. DETAILED DESCRIPTION

[0088] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0089] Embodiment 1

[0090] See also Figure 1-3 , Figure 1 The present invention is a schematic diagram of steps of a bionic robot cluster formation control method under communication denial conditions according to an exemplary embodiment, the method comprising:

[0091] S1. Design a single actuator driving algorithm using the preset underwater bionic manta ray robot power layout;

[0092] S2. Using the preset fisheye camera model, design a spatial perception and positioning algorithm for neighboring robots based on machine vision;

[0093] S3. Design the behavior state of a single robot using the single actuator driving algorithm;

[0094] S4. Utilize the single actuator driving algorithm, a spatial perception and positioning algorithm of neighboring robots based on machine vision, and the behavior state of a single robot to establish an intelligent decision-making strategy for a bionic robot swarm.

[0095] It is understandable that the technical solution provided by the present invention designs a single actuator driving algorithm by using a preset underwater bionic manta ray robot power layout; then, using a preset fisheye camera model, designs a machine vision-based neighboring robot space perception and positioning algorithm; using the single actuator driving algorithm, designs the behavior state of a single robot; finally, using the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot, establishes a bionic robot cluster intelligent decision-making strategy. It is understandable that the technical solution provided by the present invention can achieve cluster control of underwater robots under communication denial conditions by establishing a bionic robot cluster intelligent decision-making strategy, which is used to meet the effective formation of multiple underwater robots under unfavorable communication conditions.

[0096] In one embodiment, the method of designing a single actuator driving algorithm using a preset underwater bionic manta ray robot power layout includes:

[0097] S11. Using the preset underwater bionic manta ray robot power layout, establish a three-degree-of-freedom dynamic model and power layout;

[0098] S12. Using the three-degree-of-freedom dynamic model and the power layout, a single-fin time-domain sinusoidal function position control model is established, and the single-fin time-domain sinusoidal function position control model is discretized and signal processed to obtain a first processing model;

[0099] S13. The first processing model is verified in a python simulation environment to obtain a second processing model;

[0100] S14. Deploy the second processing model on the waterproof servo motor for physical verification.

[0101] During the specific implementation, an underwater bionic robot motion and perception model is established, the robot motion and perception characteristics are analyzed, a bionic manta ray underwater robot is built for physical debugging and verification, and the impact of different clustering modes on the motion and perception of a single robot is analyzed.

[0102] The composition of the bionic manta ray robot is as follows:

[0103] Composition 1: 2 openmv4R7 machine vision processors;

[0104] Component 2: 3 waterproof servo motors;

[0105] Component 3: microcontroller based on RP2040 chip;

[0106] Component 4: blue mist LED light;

[0107] Component 5: laser distance sensor;

[0108] Component 6: six-axis attitude acceleration sensor;

[0109] Component 7: underwater pressure sensor;

[0110] Component 8: Bionic shell based on 3D printing of waterproof materials.

[0111] Specifically, as described in step S11, using the preset underwater bionic manta ray robot power layout to establish a three-degree-of-freedom dynamic model and power layout, it includes:

[0112] S11. Inspired by the movement of manta rays in nature, a three-degree-of-freedom dynamic model and power layout are established. The robot movement layout is shown in Figure 4, the robot is subject to two spatial forces and one rudder torque, and the rudder can also provide power for forward movement; the three degrees of freedom are: forward movement, yaw movement, and pitch movement. The necessary sensors required for this step are the water depth sensor, which can output water depth data through the UART communication protocol, which is of float32 type and in centimeters; the inertial navigation unit sensor, after filtering by the Kalman algorithm, can output the angles of the two directions of pitch and roll through the I2C communication protocol, and the data type is float32, in degrees. The three bionic actuators are the left fin, the right fin, and the tail fin. When the robot body moves forward, the left and right fins swing with equal amplitude and frequency, and the tail fin swings synchronously with a phase difference of 90°, and the robot body moves forward in an up and down wave manner; when the robot body moves in yaw, the left and right fins swing with different amplitudes, so that the left and right forces of the robot are unequal, and this difference can be used as the power of the robot's yaw motion; when the robot body moves in pitch, the tail fin swings to a specified angle and cooperates with the forward motion. The different shapes of the two sides of the tail fin rudder cause different water flow speeds and further form a pressure difference. The combined force of this difference and the forward motion of the robot causes the robot to pitch.

[0113] Further, as described in steps S12-S14, during the specific implementation, it includes:

[0114] S12. Inspired by the tail-wagging behavior of fish in nature, a single-fin time-domain sinusoidal function position control model is established, and discretized signal processing is performed, verified in a python simulation environment, and deployed on a waterproof servo motor for verification. First, a servo motor sinusoidal position control mathematical model is established, as shown in Formula 1:

[0115] deg=[Asin(2πf+90)] (1)

[0116] Where A is the angular amplitude of the servo motor, and f is the frequency of the servo motor's sinusoidal motion.

[0117] The Matplotlib library is used in the Python environment for simulation verification. The cycle is selected as 1000ms and the amplitude is 90 degrees. The results are as follows Figure 5 .

[0118] S13. Deploy the method of step S12 on a single waterproof servo motor for physical verification.

[0119] In one embodiment, as described in step S2, a preset fisheye camera model is used to design a neighboring robot spatial perception and positioning algorithm based on machine vision, including:

[0120] S21. Establish a simplified fisheye camera imaging model;

[0121] S22. Collect fisheye images, perform fisheye distortion correction in MATLAB ocamcalib toolbox, and obtain a correction third-order polynomial;

[0122] S23. Using the corrected third-order polynomial, collect the blue LAB color space threshold of the underwater environment, detect the blue color block in the preset camera field of view, and return the coordinates and color block area of ​​the blue color block on the pixel plane;

[0123] S24. Using the simplified fisheye camera imaging model established, the geometric distance and direction corresponding to each color block in the blue color block are solved to obtain distance parameters and direction parameters;

[0124] S25. Using the distance parameter and direction parameter, perform multi-joint recognition, calculate the spatial coordinates of the neighboring robots in the world coordinate system, and add them to the list;

[0125] The same operation as in the above step S25 is performed for each neighboring robot.

[0126] In one embodiment, establishing a simplified fisheye camera imaging model as described in S21 includes:

[0127] A simplified fisheye camera imaging isometric projection model is established, such as Figure 6 . Where f is the focal length of the lens, r d is the actual length of the projection in the world coordinate system, and θ is the angle between the object and the optical center of the camera. The above parameters satisfy the following relationship, as shown in Formula 2:

[0128] r d =fθ (2)

[0129] In one embodiment, a fisheye image is collected as described in S22, and fisheye distortion correction is performed in the MATLAB ocamcalib toolbox to obtain a correction third-order polynomial, including:

[0130] Collect the chessboard calibration plate image taken by the fisheye camera, perform the fisheye distortion correction operation in the MATLAB ocamcalib toolbox, and perform corner point annotation in sequence (such as Figure 7 ), fourth-order polynomial expansion correction, obtain distortion correction polynomial coefficient ss (not used), polynomial expansion diagram (such as Figure 8 ), distortion parameters cx, cy, c, d, e.

[0131] In one embodiment, as described in step S23, using the corrected third-order polynomial, collecting the blue LAB color space threshold of the underwater environment, detecting the blue color block in the preset camera field of view, and returning the coordinates and color block area of ​​the blue color block on the pixel plane, including:

[0132] In the openmv integrated development environment, use machine vision tools to collect the blue LAB color space threshold of the underwater environment (the onshore test is as follows Fig. 9 ), filter out pixels with a small color block area, program to detect the blue color block in the camera's field of view, and return its coordinates and color block area on the pixel plane.

[0133] In one embodiment, as described in step S24, the simplified fisheye camera imaging model established is used to solve the geometric distance and direction corresponding to each color block in the blue color block to obtain the distance parameter and the direction parameter, including:

[0134] According to the simplified imaging isometric projection model of the fisheye camera established in step S.21, the geometric distance and direction corresponding to each color block are solved, and the coordinate system is established as follows: Fig.10 , the algorithm is as follows:

[0135] 1. Perform tangential distortion correction on the center coordinates m and n of the color block in the original pixel coordinate system, where m' and n' are the center positions of the color block in the corrected pixel plane coordinate system and the distance r (unit: pixel) from the center of the pixel plane is obtained, as shown in the following formula:

[0136]

[0137]

[0138] Among them, cx, cy, c, d, and e represent distortion parameters.

[0139] 2. Measure the distance ratio coefficient K d , according to the width w and height h parameters of the color block object, calculate the uncorrected distance of the object in the pixel coordinate system, that is, the uncorrected distance d (unit: mm) of the object under the pinhole camera, which can be obtained by the following formula:

[0140]

[0141] Where w is the width of the color block object, and h is the height of the color block object. d It can be measured by the following method: Place a block of the same color 100 mm vertically away from the optical center of the camera, and use the blob object of the openmv library to obtain its parameter a, which can be defined by the following formula:

[0142]

[0143] Then the distance parameter K d It can be expressed as:

[0144] K d =100a (7)

[0145] To reduce errors, multiple measurements can be made at different vertical distances and the average value can be taken.

[0146] (3) Use d' to correct the physical distance d obtained above, that is, d is the uncorrected distance, and d' is the actual distance after correction, both in mm. Based on the equidistant projection model, the radial microelement of the imaging sphere (such as Fig.12 ), and expand to the tangent surface with the tangent point as the center, such as Fig.11 ; Let the maximum radius of the circular field of view be R (unit: pixel), and the actual distance between the object and the optical center of the camera in the pixel coordinate system be r', then the expansion ratio is established on a radius Regarding the mapping function of r, its curve is as follows Fig.12 ; Multiply the distance d obtained in (2) by the ordinate value corresponding to the mapping function in Figure x to obtain the actual distance d'. The calculation method of d' is as follows:

[0147] Figure 6 is any radial section through the optical center on the fisheye lens imaging spherical model. The surface can be approximately considered as a true sphere. R and r both meet the above definition. According to the isometric projection model, after the radial microelement plane is expanded, the actual position of r is r', then r' meets the following formula:

[0148] r′=Rθ (8)

[0149] Where θ can be determined as:

[0150]

[0151] That is, the expanded r' can be determined as:

[0152]

[0153] So we can define the expansion factor

[0154]

[0155] Then the actual distance d' can be determined as

[0156] d'=K unfold d (13)

[0157] (4) Determine the real coordinates of the object to be measured in the camera coordinate system (spherical coordinates). Define the spherical coordinate system where d' is obtained in (2).

[0158] (5) Find θ: According to the isometric projection model, Corresponding to r∈[0,R], the linearity is good after experiments. So we have

[0159]

[0160] (6) Seek Without considering the tangential distortion, we have:

[0161]

[0162] So far, it has been found

[0163]

[0164] In specific implementation, step S25 includes the following contents:

[0165] According to the distance parameter and direction parameter obtained in step 2.4, the spherical coordinates Converted into rectangular coordinates C'(u, v, w):

[0166]

[0167] Then perform coordinate rotation and translation transformation:

[0168]

[0169] Where dx is the spatial distance from the camera coordinate system to the robot coordinate system, and a is the inclination angle on the z-axis.

[0170] That is, identify the neighboring robots, calculate the spatial coordinates of the neighboring robots in the robot body coordinate system, and add them to the list; perform the same operation on each neighboring robot.

[0171] In one embodiment, as described in step S3, using the single actuator driving algorithm to design the behavior state of a single robot includes:

[0172] S31 uses the single actuator driving algorithm to design a closed-loop control algorithm by reading the data of the inertial navigation unit and the preset pressure sensor after Kalman filtering, coordinates the actuators, and controls the robot to move straight;

[0173] S32 uses the single actuator driving algorithm to control the robot to turn left or right on the yaw axis by controlling the frequencies and amplitudes of the left and right actuators preset in the three-degree-of-freedom dynamics model and the power layout;

[0174] S33 utilizes the single actuator driving algorithm to control the robot to move on the pitch axis by controlling the position and timing of the tail actuator in the three-degree-of-freedom dynamic model and the power layout, combines forward movement to achieve snorkeling movement, and designs the behavior state of the single robot.

[0175] In one embodiment, step S31 is specifically implemented as follows:

[0176] According to the method in step S.12, by reading the data of the inertial navigation unit and the pressure sensor after Kalman filtering as described in S11, a closed-loop control algorithm is designed to coordinate the actuators and control the robot to go straight. The filtered attitude data of the inertial measurement unit is used to correct the attitude of the robot in motion in real time. Since there is significant high-frequency noise in the inertial navigation unit data, the Kalman filter algorithm is used to obtain smoother data suitable for processing. Since the underwater robot of this configuration has the yaw-roll coupling characteristics of a fixed-wing aircraft, the yaw of the robot can be controlled by measuring the roll angle as an input quantity and inputting the PID control algorithm.

[0177] In one embodiment, step S32 is specifically implemented as follows:

[0178] According to the method in step S.12, the robot is controlled to turn left or right on the yaw axis by controlling the frequency and amplitude of the left and right actuators. The control method is the same as step S.31.

[0179] In one embodiment, step S33 is specifically implemented as follows:

[0180] According to the method in step 1.2, by controlling the position and timing of the tail actuator, the robot is controlled to move on the pitch axis, and the snorkeling movement is achieved by combining forward movement. The control method is similar to step 3.1, using the pitch axis angle after Kalman filtering as the input. The motion function of each actuator is as follows.

[0181]

[0182] Where deg(L) is the motion law model of the left pectoral fin, deg(R) is the motion law model of the right pectoral fin, deg(L) is the motion law model of the tail fin, and A i is the swing amplitude, f i is the swing frequency.

[0183] In one embodiment, as described in step S4, the use of the single actuator driving algorithm, a machine vision-based neighboring robot spatial perception and positioning algorithm, and the behavior state of a single robot to establish a bionic robot swarm intelligent decision-making strategy includes:

[0184] S41. Establish a distance model so that a single robot can make a plan with the goal of distributing all neighboring robots it identifies as evenly as possible in the world coordinate system;

[0185] S42. Using the machine vision-based spatial perception and positioning algorithm of the neighboring robot, the target position of the mobile machine is determined according to the distance model in step S41;

[0186] S43. Using the data of the inertial navigation unit and the pressure sensor preset in the single actuator driving algorithm, as described in S11, and the behavior state of the single robot, the target position is closed-loop controlled to reach the target position;

[0187] S44. Execute the above steps S41-S43 for all robots participating in the cluster, establish an intelligent decision-making strategy for the bionic robot cluster, and enable the entire robot cluster to reach the desired position state.

[0188] In specific implementation, based on steps S1-S3, a bionic robot swarm intelligent decision-making strategy is established.

[0189] In one embodiment, the specific implementation process of step S41 includes:

[0190] A virtual force distance model is established to enable a single robot to make plans with the goal of evenly distributing all neighboring robots it identifies in the world coordinate system as much as possible. The details are as follows:

[0191] 1. Let dt be the standard distance between two adjacent robots, so that robots with a distance greater than this are subject to gravity, and robots with a distance less than this are subject to repulsion. In an ideal state, the average position of the robot's neighboring units is always located on a sphere with dt as the radius.

[0192] 2. Let dt be the zero potential energy position. Referring to the Lennard-Jones intermolecular interaction potential, a nonlinear mapping function can be established to simulate the nonlinear interaction between robots. The fitted function is as follows.

[0193] A=0.5(r+1) -12 -(r+1) -6 +0.5,r∈(-0.3,1] (20)

[0194] The function graph is Fig.13 As shown in FIG. A(0) = 0, representing the zero potential energy position.

[0195] 3. Take the derivative of the potential function and multiply it by the proportional factor k. When , we can get the virtual force:

[0196] F = -0.5 (r + 1) -13 +0.5(r+1) -7 (twenty one)

[0197] The function graph is Fig.14 As shown. Then the virtual force after introducing dt is:

[0198] F = -0.5 (r + 1 - dt) -13 +0.5(r+1-dt) -7 (twenty two)

[0199] 5. The virtual force caused by each object is normalized and weighted by the distance in different directions of space:

[0200]

[0201] Where N is the number of neighboring robots read by a single body at a certain moment, d' is the aforementioned robot distance, K f is the virtual force-physical force proportionality coefficient, which can be determined linearly through experiments.

[0202] In one embodiment, the specific implementation process of step S42 includes:

[0203] The list in step S.25 is read in real time, and the vector direction and modulus value of the local machine's movement are determined according to the model in step S.41.

[0204] In one embodiment, the specific implementation process of step S43 includes:

[0205] According to the data from the inertial navigation unit and the pressure sensor, the target direction is closed-loop controlled, and the potential function calculated by the visual sensor is detected to make it reach the target direction, that is, the potential function value is zero. The components of each direction can be decoupled to each actuator:

[0206]

[0207] Where S is the decoupling function, and f(L) etc. are the motion models in step 3.4.

[0208] In one embodiment, the specific implementation process of step S44 includes:

[0209] The above method is applied to all robots participating in the cluster so that the entire robot cluster can reach the adaptive desired position state.

[0210] It is understandable that the technical solution provided by the present invention designs a single actuator driving algorithm by using a preset underwater bionic manta ray robot power layout; then, using a preset fisheye camera model, designs a machine vision-based neighboring robot space perception and positioning algorithm; using the single actuator driving algorithm, designs the behavior state of a single robot; finally, using the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot, establishes a bionic robot cluster intelligent decision-making strategy. It is understandable that the technical solution provided by the present invention can achieve cluster control of underwater robots under communication denial conditions by establishing a bionic robot cluster intelligent decision-making strategy, which is used to meet the effective formation of multiple underwater robots under unfavorable communication conditions.

[0211] Furthermore, since the traditional whole-frame image distortion correction method will lose the peripheral vision and consume more computing power, the visual solution provided by the present invention innovatively applies the image processing algorithm only to a limited number of feature points of interest, effectively retaining the peripheral vision, saving computing power, and improving the frame rate; secondly, the robot cluster implicit communication method provided by this application can achieve decentralized, self-organized behavior pattern coordination of the entire cluster system only by identifying the position and movement of adjacent robots, thereby greatly enhancing the robustness of the system; further, for traditional display communication cluster control, as the number of individual robots increases, the bandwidth required for communication and the amount of data processed will increase significantly, consuming more communication and computing resources, especially underwater where the communication bandwidth is severely limited. The cluster control and perception method provided by the present invention adopts implicit communication based on passive vision, and has no requirements on the number of clusters, thereby enabling the cluster scale to be expanded.

[0212] See also Fig.15 , Fig.15 The present invention is a schematic diagram of a control system for an underwater bionic robot cluster under communication denial conditions according to an exemplary embodiment, which is applied to a bionic robot cluster formation control method under communication denial conditions described in any one of the above items, and the system includes:

[0213] An actuator driving module 10 is used to design a single actuator driving algorithm using a preset underwater bionic manta ray robot power layout;

[0214] The neighboring robot space perception and positioning module 20 is used to design a neighboring robot space perception and positioning algorithm based on machine vision by using a preset fisheye camera model;

[0215] A single robot behavior state module 30, used to design the behavior state of the single robot using the single actuator driving algorithm;

[0216] The bionic robot swarm intelligent decision-making strategy module 40 is used to establish a bionic robot swarm intelligent decision-making strategy by utilizing the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot.

[0217] It can be understood that the technical solution provided by the present invention, by constructing an actuator drive module 10, a neighboring robot spatial perception and positioning module 20, a single robot behavior state module 30, and a bionic robot cluster intelligent decision-making strategy module 40, establishes a bionic robot cluster intelligent decision-making strategy, which can realize cluster control of underwater robots under communication denial conditions, and is used to meet the needs of realizing effective formation of multiple underwater robots under unfavorable communication conditions.

[0218] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0219] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0220] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0221] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0222] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0223] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0224] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0225] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0226] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A bionic robot cluster formation control method under communication denial conditions, characterized in that: The method comprises: S1. Design a single actuator driving algorithm using the preset underwater bionic manta ray robot power layout; S2. Using the preset fisheye camera model, design a spatial perception and positioning algorithm for neighboring robots based on machine vision; S3. Design the behavior state of a single robot using the single actuator driving algorithm; S4. Establish a bionic robot swarm intelligent decision-making strategy by utilizing the single actuator driving algorithm, a machine vision-based neighboring robot spatial perception and positioning algorithm, and the behavior state of a single robot.

2. The method according to claim 1, characterized in that The single actuator driving algorithm is designed by using the preset underwater bionic manta ray robot power layout, including: S11. Using the preset underwater bionic manta ray robot power layout, establish a three-degree-of-freedom dynamic model and power layout; S12. Using the three-degree-of-freedom dynamic model and the power layout, a single-fin time-domain sinusoidal function position control model is established, and the single-fin time-domain sinusoidal function position control model is discretized and signal processed to obtain a first processing model; S13. The first processing model is verified in a python simulation environment to obtain a second processing model; S14. Deploy the second processing model on the waterproof servo motor for physical verification.

3. The method according to claim 1, characterized in that: The preset fisheye camera model is used to design a machine vision-based neighboring robot spatial perception and positioning algorithm, including: S21. Establish a simplified fisheye camera imaging model; S22. Collect fisheye images, perform fisheye distortion correction in MATLAB ocamcalib toolbox, and obtain a correction third-order polynomial; S23. Using the corrected third-order polynomial, collect the blue LAB color space threshold of the underwater environment, detect the blue color block in the preset camera field of view, and return the coordinates and color block area of ​​the blue color block on the pixel plane; S24. Using the simplified fisheye camera imaging model established, the geometric distance and direction corresponding to each color block in the blue color block are solved to obtain distance parameters and direction parameters; S25. Using the distance parameter and direction parameter, perform multi-joint recognition, calculate the spatial coordinates of the neighboring robots in the world coordinate system, and add them to the list; The same operation as in the above step S25 is performed for each neighboring robot.

4. The method according to claim 1, characterized in that: The single actuator driving algorithm is used to design the behavior state of a single robot, including: S31 uses the single actuator driving algorithm to read the roll and pitch attitude data of the preset inertial navigation unit, designs a closed-loop control algorithm, coordinates the actuators, and controls the robot to move straight; S32 uses the single actuator driving algorithm to control the robot to turn left or right on the yaw axis by controlling the frequencies and amplitudes of the left and right actuators preset in the three-degree-of-freedom dynamics model and the power layout; S33 utilizes the single actuator driving algorithm to control the robot to move on the pitch axis by controlling the position and timing of the tail actuator in the three-degree-of-freedom dynamic model and the power layout, combines forward movement to achieve snorkeling movement, and designs the behavior state of the single robot.

5. The method according to claim 1, characterized in that The method uses the single actuator driving algorithm, a machine vision-based neighboring robot spatial perception and positioning algorithm, and the behavior state of a single robot to establish a bionic robot swarm intelligent decision-making strategy, including: S41. Establish a distance model so that a single robot can make a plan with the goal of distributing all neighboring robots it identifies as evenly as possible in the world coordinate system; S42. Using the machine vision-based spatial perception and positioning algorithm of the neighboring robot, the target position of the mobile machine is determined according to the distance model in step S41; S43. Using the data of the pressure sensor preset in the single actuator driving algorithm and the behavior state of the single robot, the target position is closed-loop controlled to reach the target position; S44. Execute the above steps S41-S43 for all robots participating in the cluster, establish an intelligent decision-making strategy for the bionic robot cluster, and enable the entire robot cluster to reach the desired position state.

6. The method according to claim 3, characterized in that The simplified fisheye camera imaging model established is used to solve the geometric distance and direction corresponding to each color block in the blue color block to obtain the distance parameter and the direction parameter, including: Perform tangential distortion correction on the center coordinates of any color block under the blue color block in the original pixel coordinate system to obtain the center positions m' and n' of the color block in the corrected pixel plane coordinate system; Using the corrected center position of the color block in the pixel plane coordinate system, the distance r between the center position of the color block in the corrected pixel plane coordinate system and the center of the pixel plane is obtained by the first formula; Among them, the first formula is shown in Formula 1: Wherein, r represents the distance between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system, m' and n' represent the coordinates of the center of the color block in the corrected pixel plane coordinate system; Using the preset width of the color block object, the preset height of the color block object, and the preset distance ratio coefficient K d , through the second formula, the physical distance d of the object under the pinhole camera is obtained; Among them, the second formula is shown in Formula 2: Among them, w is the width of the color block object, h is the height of the color block object, and K d represents the preset distance scale factor, d represents the physical distance of the object under the pinhole camera; Using the preset isometric projection model, the radial microelement of the imaging sphere is expanded to the tangent surface with the tangent point as the center. The maximum radius of the circular field of view is R, and the actual distance between the object and the optical center of the camera in the pixel coordinate system is r'; Using the distance r between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system and the actual distance r' between the object and the optical center of the camera in the pixel coordinate system, the expansion ratio is established on a radius The first mapping function with respect to r; Multiplying the physical distance d of the object under the pinhole camera by the ordinate value of the first mapping function to obtain an actual distance parameter d' of the object under the pinhole camera; Using the actual distance parameter d', by defining the spherical coordinate system Determine the real coordinates of the object to be measured in the camera coordinate system, that is, the spherical coordinate system; Solve the spherical coordinate system using the third formula Wherein, the third formula is as shown below: Among them, R represents the maximum radius of the circular field of view (unit: pixel), r' represents the actual distance between the object and the optical center of the camera in the pixel coordinate system, r represents the distance between the center of the color block and the center of the pixel plane in the corrected pixel plane coordinate system, d represents the physical distance of the object under the pinhole camera, d' represents the actual distance parameter of the object under the pinhole camera, θ, Both represent direction parameters.

7. The method according to claim 3, characterized in that The distance parameter and the direction parameter are used to perform multi-joint recognition, calculate the spatial coordinates of the neighboring robots in the world coordinate system, and add them to the list, including: Using the distance parameter and direction parameter, the spherical coordinate system Convert to rectangular coordinate system; The rectangular coordinate system is used to perform coordinate rotation and translation transformation, and the spatial coordinates (x, y, z) of the neighboring robots in the world coordinate system are calculated and added to the list.

8. The method according to claim 5, characterized in that The distance model is established so that the single robot makes a plan with the goal of distributing all neighboring robots identified by the single robot as evenly as possible in the world coordinate system, including: A nonlinear mapping function is established using the preset intermolecular interaction potential to simulate the nonlinear interaction between robots; Derivative the nonlinear mapping function and multiply it by a proportional factor to obtain a virtual force; The virtual force caused by each individual robot is normalized and weighted by the distance in different directions of space using the preset formula (4), so that the single robot makes a plan with the goal of being evenly distributed in the world coordinate system relative to all the neighboring robots it has identified; Wherein, Formula 4 is as follows: Where N is the number of neighboring robots read by a single body at a certain moment, d' is the robot distance described in step 2.4, and K f is the virtual force-physical force proportional coefficient, which can be linearly determined by experiment. x, y, and z represent the coordinates of the obtained robot individual in the world coordinate system.

9. The method according to claim 1, characterized in that: The method of using the data of the inertial navigation unit and the preset pressure sensor as described in S11 and the behavior state of the single robot preset in the single actuator driving algorithm to perform closed-loop control on the target orientation so that the target orientation is reached includes: Using the data of the inertial navigation unit and pressure sensor preset in the single actuator driving algorithm, as well as the behavior state of the single robot, the target position is closed-loop controlled through Formula 5 to achieve the target position; Wherein, formula 5 is as follows: Where S is the decoupling function, f(L), f(R), and f(T) represent the input angles of the left fin, right fin, and tail fin of the actuator, respectively. The data type is int8 and the range is 0-180. represents the virtual force described in formula (4), It represents the sequential linear mapping relationship of the virtual force onto the three actuators, where Lx, Ly, Rx, and Ry are all linear mapping coefficients and are constant parameters.

10. An underwater bionic robot swarm control system under communication denial conditions, applied to a bionic robot swarm formation control method under communication denial conditions as claimed in any one of claims 1 to 9, characterized in that: The system comprises: Actuator drive module, used to design a single actuator drive algorithm using a preset underwater bionic manta ray robot power layout; The neighboring robot space perception and positioning module is used to design a neighboring robot space perception and positioning algorithm based on machine vision using a preset fisheye camera model; A single robot behavior state module, used to design the behavior state of the single robot using the single actuator driving algorithm; The bionic robot swarm intelligent decision-making strategy module is used to establish a bionic robot swarm intelligent decision-making strategy by utilizing the single actuator driving algorithm, a machine vision-based neighboring robot space perception and positioning algorithm, and the behavior state of a single robot.

Citation Information

Cited By

  • Cluster robot self-organizing control method based on environment gradient and local interaction

    CN121232689A

  • A self-organizing control method for swarm robots based on environmental gradient and local interaction

    CN121232689B