Dual-machine following system and method based on the combination of optical recognition and electromagnetic induction

By combining optical recognition and electromagnetic induction modules, the net clothing cleaning robot can follow autonomously, solving the problem of following failure caused by turbid water, and improving cleaning efficiency and environmental adaptability.

CN118404587BActive Publication Date: 2024-09-03OCEAN UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410790664.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-03
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

During the cage cleaning process, the water became turbid and the optical recognition Apriltag code failed, causing the net cleaning robot to be unable to effectively follow, affecting cleaning efficiency and environmental adaptability.

Method used

A dual-machine following system based on a combination of optical recognition and electromagnetic induction is adopted. Through the cooperation of the camera recognition Apriltag code and the electromagnetic induction module, the active and passive net clothing cleaning robots can follow independently, and the following mode can be switched to adapt to changes in the underwater environment.

Benefits of technology

It improves the cage cleaning efficiency, reduces misalignment, enhances environmental adaptability, and ensures that it can still effectively follow and clean when the water body is turbid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118404587B
    Figure CN118404587B
Patent Text Reader

Abstract

The present invention discloses a dual-machine following system and method based on the combination of optical recognition and electromagnetic induction, which belongs to the technical field of relative distance testing of net cleaning robots. An optical recognition module and an electromagnetic induction module are arranged between the opposite end faces of an active net cleaning robot and a passive net cleaning robot; the optical recognition module includes a camera and an Apriltag code; the camera is connected to a first control module; the electromagnetic induction module includes an inductor and an energized coil; the inductor and the energized coil are both connected to a second control module; the first control module and the second control module are both connected to a controller, and when the first control module can obtain the vertical distance between the center of the camera lens and the central axis of the Apriltag code, the controller puts the energized coil in a power-off state through the second control module. The present invention combines optical recognition with the electromagnetic induction of the electromagnetic induction module, so that the robot can autonomously switch the following mode according to the underwater environment to reduce dislocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of relative distance testing of net clothing cleaning robots, and in particular relates to a dual-machine following system and method based on the combination of optical recognition and electromagnetic induction. Background Art

[0002] Cage aquaculture is one of the important forms of fishery aquaculture. Cage aquaculture is mainly used for marine aquaculture, such as the aquaculture of marine fish. With the expansion of cage aquaculture, some problems are also accompanied, such as the rapid reproduction of algae, shellfish and other attachments on the surface of the net, which will cause the mesh to be blocked, affecting the exchange of water inside and outside the cage, reducing the dissolved oxygen and food supply, and affecting the growth rate and survival rate of fish. Therefore, net cleaning robots are needed to complete the regular cleaning of the cage. When cleaning the cage, a pair of net cleaning robots are required to clamp the net together for synchronous action, that is, the two net cleaning robots need to maintain a dual-machine follow-up state.

[0003] At present, when cleaning net cages, two net cleaning robots rely on optical recognition of Apriltag codes to follow each other underwater. However, when the net cleaning robots perform cleaning operations underwater, the water becomes turbid, resulting in poor camera vision. At this time, it is difficult to maintain the dual-machine following state by relying solely on optical recognition of Apriltag codes, thereby reducing the machine cleaning efficiency; and in areas with serious water pollution, optical recognition of Apriltag codes fails seriously, and the dual-machine cannot follow each other through machine vision, and thus cannot achieve net cage cleaning. Summary of the invention

[0004] The purpose of the present invention is to overcome the above-mentioned deficiencies of the prior art and to provide a dual-machine following system and method based on the combination of optical recognition and electromagnetic induction.

[0005] To achieve the above object, the present invention adopts the following technical solution:

[0006] A dual-machine following system based on the combination of optical recognition and electromagnetic induction, including an active net cleaning robot and a passive net cleaning robot;

[0007] An optical recognition module and an electromagnetic induction module are arranged between the opposite end surfaces of the active net cleaning robot and the passive net cleaning robot;

[0008] The optical recognition module includes a camera arranged on the active net cleaning robot and an Apriltag code arranged on the passive net cleaning robot corresponding to the camera; the camera is connected to a first control module, and the first control module obtains a vertical distance between a camera lens center and a central axis of the Apriltag code according to a real-time image of the camera;

[0009] The electromagnetic induction module includes a plurality of inductors arranged on the active net clothing cleaning robot and a power-on coil arranged on the passive net clothing cleaning robot; the inductors and the power-on coils are both connected to a second control module, the second control module controls the power on and off of the power-on coils, and the second control module obtains the induced electromotive force generated by each inductor;

[0010] The first control module and the second control module are both connected to a controller, and the controller is connected to a walking drive system of an active net cleaning robot and a passive net cleaning robot;

[0011] When the first control module is able to obtain the vertical distance between the center of the camera lens and the central axis of the Apriltag code, the controller puts the energized coil into a power-off state through the second control module.

[0012] Preferably, when the active net cleaning robot and the passive net cleaning robot are aligned, the lens center of the camera is located on the central axis of the Apriltag code.

[0013] Preferably, a calibration optical recognition module is further provided between the active net cleaning robot and the passive net cleaning robot;

[0014] The calibration optical recognition module includes a calibration camera arranged on the passive net cleaning robot and a calibration Apriltag code arranged on the active net cleaning robot corresponding to the calibration camera; the calibration camera is connected to a third control module, and the third control module determines the vertical distance between the center of the calibration camera lens and the central axis of the calibration Apriltag code according to the real-time image of the calibration camera;

[0015] The third control module is connected to the controller;

[0016] When the first control module is capable of acquiring the vertical distance D1 between the center of the camera lens and the central axis of the Apriltag code and the third control module is capable of acquiring the vertical distance D2 between the center of the calibration camera lens and the central axis of the calibration Apriltag code, the controller turns the energized coil off through the second control module.

[0017] Preferably, when the active net cleaning robot and the passive net cleaning robot are aligned, the lens center of the calibration camera is located on the central axis of the calibration Apriltag code.

[0018] Preferably, a total of four inductors are arranged on the active net clothing cleaning robot, wherein two inductors are arranged vertically aligned, and the other two inductors are arranged horizontally aligned, and the center points of the four inductors are respectively located at the four vertices of a rhombus.

[0019] Preferably, the energized coil has a rectangular structure.

[0020] Preferably, when the active net clothing cleaning robot and the passive net clothing cleaning robot are aligned, four inductors surround the outside of the powered coil, the two inductors aligned vertically are symmetrically arranged with respect to the powered coil, and the two inductors aligned horizontally are symmetrically arranged with respect to the powered coil.

[0021] Preferably, the controller receives the induced electromotive force generated by the four inductors, and calculates the vertical displacement of the active net cleaning robot and the passive net cleaning robot measured by the electromagnetic induction module. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ;

[0022] (1)

[0023] (2)

[0024] In the formula,

[0025] The induced electromotive force generated by the inductor located at the upper part;

[0026] is the induced electromotive force generated by the inductor located at the bottom;

[0027] is the induced electromotive force generated by the inductor on the left;

[0028] is the induced electromotive force generated by the inductor on the right.

[0029] The invention also discloses a dual-machine following method based on the combination of optical recognition and electromagnetic induction.

[0030] The dual-machine following method based on the combination of optical recognition and electromagnetic induction is implemented by using a dual-machine following system based on the combination of optical recognition and electromagnetic induction, and includes the following steps:

[0031] Step 1: Make the active net cleaning robot and the passive net cleaning robot grab the net box and align them;

[0032] Step 2: The controller controls the walking drive systems of the active net cleaning robot and the passive net cleaning robot to start synchronously at the same initial speed;

[0033] Step 3: The camera recognizes the Apriltag code in real time and calibrates the camera to recognize and calibrate the Apriltag code in real time;

[0034] When the first control module is able to obtain the vertical distance D1 between the center of the camera lens and the central axis of the Apriltag code and the third control module is able to obtain the vertical distance D2 between the center of the calibration camera lens and the central axis of the calibration Apriltag code, proceed to step 4;

[0035] Otherwise go to step 5;

[0036] Step 4: The controller puts the energized coil into a power-off state through the second control module;

[0037] The controller uses the average value of the vertical distance D1 and the vertical distance D2 as the offset distance between the active net cleaning robot and the passive net cleaning robot;

[0038] When the offset distance exceeds the offset setting range, the controller controls the walking drive system of the passive net clothing cleaning robot to walk in a form of reducing the offset distance; otherwise, proceed to step 3;

[0039] Step 5: The controller puts the energized coil into an energized state through the second control module;

[0040] The controller calculates the vertical displacement degree of the active net cleaning robot and the passive net cleaning robot. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ;

[0041] when Does not exceed the vertical offset setting range and When the horizontal deviation degree does not exceed the setting range, the process goes to step 3; otherwise, the controller controls the walking drive system of the passive net clothing cleaning robot to walk in a manner of reducing the deviation degree.

[0042] The beneficial effects of the present invention are:

[0043] The dual-machine following system of the present invention no longer relies solely on the optical recognition of the optical recognition module and the calibrated optical recognition module, but combines the optical recognition with the electromagnetic induction of the electromagnetic induction module, so that the active net cleaning robot and the passive net cleaning robot can autonomously switch the following mode according to the underwater environment, and the dual machines can follow better, reduce misalignment, and improve the cleaning efficiency of the robot for the net cage; if the underwater environment is good, the present invention preferentially relies on the optical recognition module and the calibrated optical recognition module for optical recognition and following. When the water body is turbid and the light transmittance deteriorates, the optical recognition fails and switches to the electromagnetic induction following relying on the electromagnetic induction module, thereby realizing autonomous switching of the following mode and improving the environmental adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.

[0045] Figure 1 It is a structural schematic diagram of a dual-machine following system based on the combination of optical recognition and electromagnetic induction of the present invention;

[0046] Figure 2 It is a schematic diagram of the structure in which the passive net cleaning robot in the present invention drives the energized coil to shift to the right;

[0047] Figure 3 It is a schematic diagram of analyzing the induced electromotive force generated by the inductors on the left and right sides of the present invention;

[0048] Figure 4 It is a schematic diagram of analyzing the induced electromotive force generated by the inductors on the left and right sides when the passive net cleaning robot in the present invention drives the energized coil to deviate to the right;

[0049] Figure 5 The present invention Curved edge variation diagram;

[0050] in:

[0051] 1- Camera, 2- Apriltag code, 3- Inductor, 4- Powered coil, 5- Calibration camera, 6- Calibration Apriltag code. DETAILED DESCRIPTION

[0052] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0053] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0054] In the present invention, the directions or positional relationships indicated by terms such as "upper", "lower", "bottom", "top", etc. are based on the directions or positional relationships shown in the accompanying drawings. They are relational words determined only for the convenience of describing the structural relationships of the various parts or elements of the present invention. They do not specifically refer to any part or element in the present invention and cannot be understood as limitations on the present invention.

[0055] In the present invention, terms such as "connected" and "connection" should be understood in a broad sense, indicating that the connection can be fixed, integral or detachable; it can be directly connected or indirectly connected through an intermediate medium. Relevant scientific research or technical personnel in this field can determine the specific meaning of the above terms in the present invention according to specific circumstances, and they should not be understood as limiting the present invention.

[0056] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0057] Embodiment 1:

[0058] like Figure 1 As shown, a dual-machine following system based on the combination of optical recognition and electromagnetic induction includes an active net cleaning robot and a passive net cleaning robot;

[0059] An optical recognition module and an electromagnetic induction module are arranged between the opposite end surfaces of the active net cleaning robot and the passive net cleaning robot;

[0060] The optical recognition module includes a camera 1 arranged on the active net clothing cleaning robot and an Apriltag code 2 arranged on the passive net clothing cleaning robot corresponding to the camera 1; the camera 1 is connected to a first control module, and the first control module obtains the vertical distance between the center of the camera 1 lens and the central axis of the Apriltag code 2 according to the real-time image of the camera 1; specifically, the technology of the first control module obtaining the vertical distance between the center of the camera 1 lens and the central axis of the Apriltag code 2 according to the real-time image of the camera 1 is a prior art, and its specific implementation method will not be repeated here;

[0061] The electromagnetic induction module includes a plurality of inductors 3 arranged on the active net clothing cleaning robot and a power-on coil 4 arranged on the passive net clothing cleaning robot; the inductors 3 and the power-on coil 4 are both connected to a second control module, the second control module controls the on and off of the power-on coil 4, and the second control module obtains the induced electromotive force generated by each inductor 3;

[0062] The first control module and the second control module are both connected to a controller, and the controller is connected to a walking drive system of an active net cleaning robot and a passive net cleaning robot;

[0063] When the first control module is able to obtain the vertical distance between the center of the camera lens 1 and the central axis of the Apriltag code 2, the controller puts the energized coil 4 into a power-off state through the second control module.

[0064] When only the optical recognition module is provided in the dual-machine following system and the optical recognition module is working, the controller uses the vertical distance between the center of the camera 1 lens and the central axis of the Apriltag code 2 as the offset distance between the active net cleaning robot and the passive net cleaning robot.

[0065] Preferably, when the active net cleaning robot and the passive net cleaning robot are aligned, the lens center of the camera 1 is located on the central axis of the Apriltag code 2 .

[0066] Preferably, a calibration optical recognition module is further provided between the active net cleaning robot and the passive net cleaning robot;

[0067] The calibration optical recognition module includes a calibration camera 5 arranged on a passive net cleaning robot and a calibration Apriltag code 6 arranged on an active net cleaning robot corresponding to the calibration camera 5; the calibration camera 5 is connected to a third control module, and the third control module determines the vertical distance between the center of the lens of the calibration camera 5 and the central axis of the calibration Apriltag code 6 according to the real-time image of the calibration camera 5; specifically, the technology of the third control module determining the vertical distance between the center of the lens of the calibration camera 5 and the central axis of the calibration Apriltag code 6 according to the real-time image of the calibration camera 5 is a prior art, and its specific implementation method will not be repeated here;

[0068] The third control module is connected to the controller;

[0069] When the first control module is able to obtain the vertical distance D1 between the lens center of camera 1 and the central axis of Apriltag code 2 and the third control module is able to obtain the vertical distance D2 between the lens center of calibration camera 5 and the central axis of calibration Apriltag code 6, the controller puts the energized coil 4 into a power-off state through the second control module.

[0070] When an optical recognition module and a calibration optical recognition module are set in the dual-machine following system and the optical recognition module and the calibration optical recognition module are working, the controller uses the average value of the vertical distance D1 and the vertical distance D2 as the offset distance between the active net cleaning robot and the passive net cleaning robot.

[0071] Preferably, when the active net cleaning robot and the passive net cleaning robot are aligned, the lens center of the calibration camera 5 is located on the central axis of the calibration Apriltag code 6 .

[0072] Preferably, a total of four inductors 3 are arranged on the active net clothing cleaning robot, wherein two inductors 3 are arranged vertically aligned, and the other two inductors 3 are arranged horizontally aligned, and the center points of the four inductors 3 are respectively located at the four vertices of a rhombus.

[0073] Preferably, the energized coil 4 is in a rectangular structure.

[0074] Preferably, when the active net cleaning robot and the passive net cleaning robot are aligned, four inductors 3 surround the outside of the power-carrying coil 4, the two inductors 3 aligned vertically are symmetrically arranged with respect to the power-carrying coil 4, and the two inductors 3 aligned horizontally are symmetrically arranged with respect to the power-carrying coil 4.

[0075] This ensures that when the active net clothes cleaning robot and the passive net clothes cleaning robot are aligned, the magnitude of the induced electromotive force induced by the two inductors 3 aligned vertically is consistent, and the magnitude of the induced electromotive force induced by the two electric motors 3 aligned horizontally is consistent.

[0076] Preferably, the controller receives the induced electromotive force generated by the four inductors 3, and calculates the vertical displacement of the active net cleaning robot and the passive net cleaning robot. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ;

[0077] (1)

[0078] (2)

[0079] In the formula,

[0080] is the induced electromotive force generated by the inductor 3 located at the upper part;

[0081] is the induced electromotive force generated by the inductor 3 located at the bottom;

[0082] is the induced electromotive force generated by the inductor 3 located on the left;

[0083] is the induced electromotive force generated by the inductor 3 located on the right.

[0084] When the active net cleaning robot and the passive net cleaning robot are aligned, the four inductors 3 are arranged to surround the outside of the energized coil 4, and the Indicates the vertical displacement of the active net cleaning robot and the passive net cleaning robot. Indicates the horizontal deviation of the active net cleaning robot and the passive net cleaning robot, specifically:

[0085] The energized coil 4 is located inside the four inductors 3. When the distance between the active net clothes cleaning robot and the passive net clothes cleaning robot is large, when the active net clothes cleaning robot and the passive net clothes cleaning robot are misaligned left and right, such as Figure 2 As shown in the figure, when the energized coil 4 on the passive net cleaning robot is shifted to the right, the energized coil 5 gradually approaches the inductor 3 on the right side, so that the induced electromotive force generated by the inductor 3 on the right side The current of the energized coil 4 gradually increases, and the energized coil 4 gradually moves away from the inductor 3 on the left side, so that the induced electromotive force generated by the inductor 3 on the left side Gradually decreases, so that the difference gradually increases, and during the process of the energized coil 4 on the passive net cleaning robot shifting to the right, the sum value The induced electromotive force generated by the inductor 3 on the left side is basically unchanged, and as the energized coil 5 moves away from the inductor 3 on the left side, the induced electromotive force generated by the inductor 3 on the left side is The value of will tend to zero, so that when the passive net cleaning robot deviates to the right from the initial alignment position, It gradually increases, so it can represent the degree of rightward deviation of the active net cleaning robot and the passive net cleaning robot in the horizontal direction, and in the process of the passive net cleaning robot deviating to the right from the initial alignment position, The range of variation is .

[0086] In this application, during the rightward shift of the energized coil 4 on the passive net cleaning robot, the sum value Basically unchanged, the principle is as follows.

[0087] (1) When the passive net cleaning robot moves to the right from the initial alignment position, the induced electromotive force generated by the inductor 3 on the left side is , the induced electromotive force generated by the inductor 3 on the right The formula for obtaining is:

[0088] In the present application, an alternating current is passed through the energized coil 4, and the fixed frequency is 20KHz. According to Faraday's law of electromagnetic induction, Figure 3 As shown, the inductor 3 on the left generates an induced electromotive force , whose size is:

[0089] (3)

[0090] In the formula, is the rate of change of the magnetic flux of the inductor 3 on the left side with time;

[0091] (4)

[0092] in is the magnetic induction intensity, is the cross-sectional area of ​​inductor 3, is the angle between the horizontal direction and the line connecting the inductor 3 on the left side and the nearest wire segment of the energized coil 4 during the process of the energized coil 4 moving to the right;

[0093] From equation (3) and equation (4), we can get:

[0094] (5)

[0095] in, It is related to the frequency of the alternating current in the energized coil 4. If the frequency of the alternating current is fixed, the ratio is fixed. The cross-sectional area of ​​the inductor 3 is is a constant, so the induced electromotive force of inductor 3 is proportional to the angle The sine value of .

[0096] Similarly,

[0097] (6)

[0098] in, is the angle between the line connecting the inductor 3 on the right side and the nearest wire segment of the energized coil 4 and the horizontal direction when the energized coil 4 moves to the right;

[0099] Therefore, from equations (5) and (6), we can get:

[0100] (7)

[0101] (2) Within the rightward deviation range of the passive net cleaning robot of the present application, during the rightward deviation process, the sum value Basically unchanged:

[0102] like Figure 4 As shown, the realization represents the starting position of the energized coil 4, and the dotted line represents the position of the energized coil 4 after the passive net cleaning robot shifts to the right; when the energized coil 4 is at the starting position, the angle The size is , angle The size is ; After the energized coil 4 shifts to the right, the angle The size is , angle The size is ; is the vertical distance between the inductor and the energized coil 4, is the horizontal distance between the inductor 3 on the left side and the nearest wire segment of the energized coil 4 when the energized coil 4 is in the initial position, is the horizontal distance that the energized coil 4 is offset to the right, is the straight-line distance between the inductor 3 on the left and the nearest wire segment of the energized coil 4 when the energized coil 4 is at the starting position, wherein when the energized coil 4 is at the starting position, the straight-line distance between the inductor 3 on the left and the nearest wire segment of the energized coil 4 and the straight-line distance between the inductor 3 on the right and the nearest wire segment of the energized coil 4 are both ;

[0103] Then, when the passive net cleaning robot shifts to the right hour,

[0104] At the starting position, and the value The value of ,but

[0105] (8)

[0106] From the trigonometric relationship we can get:

[0107] (9)

[0108] (10)

[0109] set up :

[0110] (11)

[0111] Draw using the Desmos drawing tool in the Google Function Drawing App on Android , When it changes within a certain range, The curve changes into a horizontal straight line, that is When it changes within a certain range, The value of remains unchanged; that is When the sum value changes within a certain range, Value The value remains unchanged. When used, the value Value The corresponding The range of change is determined as the control range of the horizontal offset of the passive net cleaning robot.

[0112] Specifically, when , , using the Desmos drawing tool in the Google Function Drawing App on Android ,like Figure 5 As shown, when exist [ − 10 , 10 ] Range (unit: cm), and value The value of remains unchanged.

[0113] Similarly, when the passive net cleaning robot is shifting to the left from the initial alignment position, The range of variation is , and the passive net cleaning robot is shifting to the left from the initial alignment position, The absolute value of gradually increases, so it can represent the degree of leftward deviation of the active net cleaning robot and the passive net cleaning robot in the horizontal direction.

[0114] Similarly, when the passive net cleaning robot moves downward from the initial alignment position, The range of variation is , and the passive net cleaning robot gradually becomes larger during the downward displacement from the initial alignment position, so it can represent the downward displacement degree of the active net cleaning robot and the passive net cleaning robot in the vertical direction.

[0115] Similarly, when the passive net cleaning robot moves upward from the initial alignment position, The range of variation is , and the passive net cleaning robot is moving upward from the initial alignment position, The absolute value of gradually increases, so it can represent the degree of upward deviation of the active net cleaning robot and the passive net cleaning robot in the vertical direction.

[0116] Embodiment 2:

[0117] The dual-machine following method based on the combination of optical recognition and electromagnetic induction is implemented by using the dual-machine following system based on the combination of optical recognition and electromagnetic induction in Example 1, and includes the following steps:

[0118] Step 1: Make the active net cleaning robot and the passive net cleaning robot grab the net box and align them;

[0119] Step 2: The controller controls the walking drive systems of the active net cleaning robot and the passive net cleaning robot to start synchronously at the same initial speed;

[0120] Step 3: Camera 1 recognizes Apriltag code 2 in real time, and calibration camera 5 recognizes and calibrates Apriltag code 6 in real time;

[0121] When the first control module is able to obtain the vertical distance D1 between the center of the camera 1 lens and the central axis of the Apriltag code 2 and the third control module is able to obtain the vertical distance D2 between the center of the calibration camera 5 lens and the central axis of the calibration Apriltag code 6, proceed to step 4;

[0122] Otherwise go to step 5;

[0123] Step 4: The controller puts the energized coil 4 into a power-off state through the second control module;

[0124] The controller uses the average value of the vertical distance D1 and the vertical distance D2 as the offset distance between the active net cleaning robot and the passive net cleaning robot;

[0125] When the offset distance exceeds the offset setting range, the controller controls the walking drive system of the passive net clothing cleaning robot to walk in a form of reducing the offset distance; otherwise, proceed to step 3;

[0126] Step 5: The controller puts the energized coil 4 into an energized state through the second control module;

[0127] The controller calculates the vertical displacement degree of the active net cleaning robot and the passive net cleaning robot. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ;

[0128] when Does not exceed the vertical offset setting range and When the horizontal deviation degree does not exceed the setting range, the process goes to step 3; otherwise, the controller controls the walking drive system of the passive net clothing cleaning robot to walk in a manner of reducing the deviation degree.

[0129] The dual-machine following system of the present application no longer relies solely on the optical recognition of the optical recognition module and the calibrated optical recognition module, but combines optical recognition with the electromagnetic induction of the electromagnetic induction module, so that the active net cleaning robot and the passive net cleaning robot can autonomously switch the following mode according to the underwater environment. The dual machines can follow better, reduce misalignment, and improve the robot's cleaning efficiency of the net cage; if the underwater environment is good, the present application gives priority to relying on the optical recognition module and the calibrated optical recognition module for optical recognition and following. When the water is turbid and the light transmittance deteriorates, the optical recognition fails and switches to the electromagnetic induction following relying on the electromagnetic induction module, thereby realizing autonomous switching of the following mode and improving the ability to adapt to the environment.

[0130] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not a limitation of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the protection scope of the present invention.

Claims

1. A dual-machine following system based on the combination of optical recognition and electromagnetic induction, including an active net cleaning robot and a passive net cleaning robot; characterized in that: An optical recognition module and an electromagnetic induction module are arranged between the opposite end surfaces of the active net cleaning robot and the passive net cleaning robot; The optical recognition module includes a camera arranged on the active net cleaning robot and an Apriltag code arranged on the passive net cleaning robot corresponding to the camera; the camera is connected to a first control module, and the first control module obtains a vertical distance between a camera lens center and a central axis of the Apriltag code according to a real-time image of the camera; The electromagnetic induction module includes a plurality of inductors arranged on the active net clothing cleaning robot and a power-on coil arranged on the passive net clothing cleaning robot; the inductors and the power-on coils are both connected to a second control module, the second control module controls the power on and off of the power-on coils, and the second control module obtains the induced electromotive force generated by each inductor; The first control module and the second control module are both connected to a controller, and the controller is connected to a walking drive system of an active net cleaning robot and a passive net cleaning robot; When the first control module is able to obtain the vertical distance between the center of the camera lens and the central axis of the Apriltag code, the controller puts the energized coil into a power-off state through the second control module; A calibration optical recognition module is also provided between the active net cleaning robot and the passive net cleaning robot; The calibration optical recognition module includes a calibration camera disposed on the passive net cleaning robot and a calibration Apriltag code disposed on the active net cleaning robot corresponding to the calibration camera; The calibration camera is connected to a third control module, and the third control module determines the vertical distance between the center of the calibration camera lens and the central axis of the calibration Apriltag code according to the real-time image of the calibration camera; The third control module is connected to the controller; When the first control module is capable of acquiring the vertical distance D1 between the center of the camera lens and the central axis of the Apriltag code and the third control module is capable of acquiring the vertical distance D2 between the center of the calibration camera lens and the central axis of the calibration Apriltag code, the controller puts the energized coil in a power-off state through the second control module; The active net clothes cleaning robot is provided with a total of four inductors, two of which are arranged vertically and aligned, and the other two are arranged horizontally and aligned, and the center points of the four inductors are respectively located at the four vertices of a rhombus; The energized coil is in a rectangular structure; When the active net clothing cleaning robot and the passive net clothing cleaning robot are aligned, four inductors surround the outside of the powered coil, the two inductors aligned vertically are symmetrically arranged with respect to the powered coil, and the two inductors aligned horizontally are symmetrically arranged with respect to the powered coil; The controller receives the induced electromotive force generated by the four inductors and calculates the vertical displacement of the active net cleaning robot and the passive net cleaning robot measured by the electromagnetic induction module. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ; (1) (2) In the formula, The induced electromotive force generated by the inductor located at the upper part; is the induced electromotive force generated by the inductor located at the bottom; is the induced electromotive force generated by the inductor on the left; is the induced electromotive force generated by the inductor on the right.

2. The dual-machine following system based on the combination of optical recognition and electromagnetic induction as claimed in claim 1, characterized in that: When the active net clothing cleaning robot and the passive net clothing cleaning robot are aligned, the lens center of the camera is located on the central axis of the Apriltag code.

3. The dual-machine following system based on the combination of optical recognition and electromagnetic induction as claimed in claim 1, characterized in that: When the active net clothing cleaning robot and the passive net clothing cleaning robot are aligned, the lens center of the calibration camera is located on the central axis of the calibration Apriltag code.

4. A dual-machine following method based on the combination of optical recognition and electromagnetic induction is implemented by using the dual-machine following system based on the combination of optical recognition and electromagnetic induction as claimed in claim 1, characterized in that: The following steps are involved: Step 1: Make the active net cleaning robot and the passive net cleaning robot grab the net box and align them; Step 2: The controller controls the walking drive systems of the active net cleaning robot and the passive net cleaning robot to start synchronously at the same initial speed; Step 3: The camera recognizes the Apriltag code in real time and calibrates the camera to recognize and calibrate the Apriltag code in real time; When the first control module is able to obtain the vertical distance D1 between the center of the camera lens and the central axis of the Apriltag code and the third control module is able to obtain the vertical distance D2 between the center of the calibration camera lens and the central axis of the calibration Apriltag code, proceed to step 4; Otherwise go to step 5; Step 4: The controller puts the energized coil into a power-off state through the second control module; The controller uses the average value of the vertical distance D1 and the vertical distance D2 as the offset distance between the active net cleaning robot and the passive net cleaning robot; When the offset distance exceeds the offset setting range, the controller controls the walking drive system of the passive net clothing cleaning robot to walk in a form of reducing the offset distance; otherwise, proceed to step 3; Step 5: The controller puts the energized coil into an energized state through the second control module; The controller calculates the vertical displacement degree of the active net cleaning robot and the passive net cleaning robot. and the horizontal displacement degree of the active net cleaning robot and the passive net cleaning robot ; when Does not exceed the vertical offset setting range and If the horizontal deviation does not exceed the setting range, go to step 3; Otherwise, the controller controls the walking driving system of the passive net clothes cleaning robot to walk in a form of reducing the degree of deviation.