Robot control method and robot

By collecting and correcting photovoltaic panel images in real time, identifying the target reference line to determine the offset angle, the problems of low efficiency and low accuracy of robot path correction in the prior art are solved, and the efficiency and accuracy of photovoltaic panel cleaning and fault detection are improved.

CN119045490APending Publication Date: 2024-11-29BINZHOU WEIQIAO NATIONAL SCIENCE & TECHNOLOGY ADVANCED TECHNOLOGY RESEARCH INSTITUTE +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411157877.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the cleaning and fault detection of photovoltaic panels, the robot path deviation correction efficiency is low and the accuracy is not high. Multiple movements are required to calculate the angle offset, which affects the travel efficiency and accuracy.

Method used

By collecting photovoltaic panel images in real time, correcting and identifying target reference lines, determining the robot's offset angle, correcting the direction of travel, avoiding multiple movements of the sensor probe and the robot's fuselage, and improving efficiency and accuracy.

Benefits of technology

It improves the robot's travel efficiency and path correction accuracy, reduces interference from environmental factors, and achieves better autonomous cruise and cleaning effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045490A_ABST
    Figure CN119045490A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robots, and discloses a robot control method and a robot. The robot is used for a photovoltaic panel. The control method comprises the following steps: correcting an obtained photovoltaic panel image to obtain a target image; the photovoltaic panel image is an image of a photovoltaic panel in the current advancing direction of the robot; identifying the target image to obtain a target reference line; according to the target reference line, the deviation angle of the robot is determined; the robot is controlled to rotate by the deviation angle, and the robot returns to the preset advancing direction. According to the method, the path advancing correction precision can be improved while the advancing efficiency of the robot can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, for example, to a robot control method and a robot. Background Art

[0002] Photovoltaic panels, also known as solar panels, are devices that use the photoelectric effect to convert solar energy into electrical energy. However, long-term outdoor exposure makes photovoltaic panels vulnerable to environmental, weather and other factors, resulting in various faults or dust and dirt accumulation on the surface of photovoltaic panels. Dust, dirt accumulation or failure on the surface of photovoltaic panels will reduce the power generation efficiency of photovoltaic systems. Therefore, regular cleaning and monitoring of photovoltaic panels is essential to maintain their efficient operation. For some photovoltaic panel installation areas that are difficult for technicians to reach, robotic methods are often used for photovoltaic panel cleaning and fault detection to ensure the efficient operation of photovoltaic panels and reduce personnel input.

[0003] In order to improve the autonomy of the robot's operation, it is necessary to plan the robot's operation trajectory, such as walking along a preset "J"-shaped route to ensure that the robot can fully detect or clean the photovoltaic panel. In related technologies, an ultrasonic sensor is installed at the end of the robot. When the robot moves to a turning point, the sensor probe is controlled to extend and rotate left and right to detect the environment, so as to identify the positional relationship between the robot and the photovoltaic panel with the help of features such as the grooves of the photovoltaic panel. Then the robot is controlled to rotate, the angular offset of the robot is calculated, and the travel angle is corrected to ensure that the robot can move along the preset path.

[0004] In the process of implementing the above embodiments, it is found that although the related technology can realize the robot's motion path correction through ultrasonic sensors, the entire path correction process requires multiple movements of the sensor probe and the robot body to calculate the robot's angular offset, which reduces the robot's travel efficiency and has low path correction accuracy. Summary of the invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] The embodiments of the present disclosure provide a robot control method and a robot, which can ensure the robot's travel efficiency while improving the path correction accuracy.

[0007] In some embodiments, a control method for a robot is provided, wherein the robot is used for photovoltaic panels, and the control method includes: correcting an acquired photovoltaic panel image to obtain a target image; the photovoltaic panel image is an image of the photovoltaic panel in the current direction of travel of the robot; identifying the target image to obtain a target reference line; determining an offset angle of the robot based on the target reference line; and controlling the robot to rotate the offset angle to return the robot to a preset direction of travel.

[0008] Optionally, the obtained photovoltaic panel image is corrected to obtain a target image, including: slicing the photovoltaic panel image to obtain an effective area image; and performing perspective transformation on the effective area image to obtain the target image.

[0009] Optionally, the robot includes a camera for capturing images of photovoltaic panels; slicing the images of photovoltaic panels to obtain images of effective areas, including: obtaining an optimal viewing distance from the camera to the photovoltaic panel; determining an effective area of ​​the photovoltaic panel image based on the optimal viewing distance; slicing the images of photovoltaic panels, extracting the effective area, and obtaining an image of the effective area.

[0010] Optionally, the effective area of ​​the photovoltaic panel image is determined according to the optimal viewing distance, including: determining the starting position of the effective area along the length direction of the photovoltaic panel image according to the optimal viewing distance; determining the ending position of the effective area along the length direction of the photovoltaic panel image according to the optimal viewing distance; and taking the area between the starting position and the ending position as the effective area.

[0011] Optionally, identifying the target image to obtain the target reference line includes: identifying the target image to obtain multiple detection points; screening the multiple detection points to obtain target detection points; and performing straight line fitting on the target detection points to obtain the target reference line.

[0012] Optionally, the target image is identified to obtain multiple detection points, including: calculating the similarity between a preset template and each area in the target image; taking an area with a similarity greater than a similarity threshold as a target area; and outputting a pixel position of the target area to obtain multiple detection points.

[0013] Optionally, multiple detection points are screened to obtain a target detection point, including: determining a first detection point from the multiple detection points; calculating a distance from a non-first detection point to the first detection point; the non-first detection point is a detection point other than the first detection point among the multiple detection points; and taking the two non-first detection points closest to the first detection point and the first detection point as target detection points.

[0014] Optionally, determining the offset angle of the robot according to the target reference line includes: determining a travel reference line according to the target reference line; and calculating an angle between the target reference line and the travel reference line to obtain the offset angle of the robot.

[0015] Optionally, the robot includes a mounting bracket, an adsorption device and a rotating device, the adsorption device and the rotating device are spaced apart on a side of the mounting bracket close to the photovoltaic panel, and the adsorption device and the rotating device at one end away from the mounting bracket can switch between a fixed state fixed to the surface of the photovoltaic panel and a detached state detached from the surface of the photovoltaic panel; controlling the robot's rotation offset angle includes: controlling the rotating device to be in a fixed state; controlling the adsorption device to be in a detached state; controlling the rotating device to rotate an offset angle, so as to drive the adsorption device and the mounting bracket to rotate an offset angle relative to the photovoltaic panel.

[0016] In some embodiments, a robot is provided, comprising: a robot body; a controller installed on the robot body and configured as the robot control method described in the above embodiments.

[0017] The robot control method and robot provided by the embodiments of the present disclosure can achieve the following technical effects:

[0018] The control method of the robot provided by the embodiment of the present disclosure can obtain the target reference line by collecting the image of the photovoltaic panel in the current direction of travel of the robot (i.e., the photovoltaic panel image) in real time, and then identifying the corrected photovoltaic panel image (i.e., the target image), and determine the offset angle of the current direction of travel of the robot relative to the preset direction of travel, and then control the robot to rotate the offset angle to correct the direction of travel. Compared with the related art, since the process of controlling the sensor probe and the robot body to perform multiple movements for environmental detection is avoided, the travel efficiency of the robot is improved, the interference of other environmental factors is reduced, and the correction accuracy of the direction of travel is improved. In addition, the present disclosure can perform real-time direction of travel correction through real-time photovoltaic panel images, and the correction effect is better than the fixed-point direction of travel correction in the related art.

[0019] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0021] Figure 1 is a schematic diagram of a structure in which a robot provided by an embodiment of the present disclosure is arranged on a photovoltaic panel;

[0022] Figure 2 is a side view of a robot provided by an embodiment of the present disclosure disposed on a photovoltaic panel;

[0023] Figure 3 yes Figure 2 A schematic diagram of the enlarged structure at X in the embodiment shown in FIG.

[0024] Figure 4 is a schematic diagram of the structure of a robot provided by an embodiment of the present disclosure;

[0025] Figure 5 is a schematic structural diagram of a robot provided by another embodiment of the present disclosure;

[0026] Figure 6 is a schematic diagram of the internal structure of a robot provided by an embodiment of the present disclosure;

[0027] Figure 7 yes Figure 6 The enlarged structural schematic diagram of the M in the embodiment shown in FIG.

[0028] Figure 8 yes Figure 6 A schematic diagram of the internal structure of the robot from another perspective in the embodiment shown in FIG.

[0029] Fig. 9 yes Figure 8 The enlarged structural diagram of the P in the embodiment shown in FIG.

[0030] Fig.10 yes Figure 8 A schematic diagram of the enlarged structure at Q in the embodiment shown in FIG.

[0031] Fig.11 yes Figure 8 A schematic diagram of the enlarged structure at Y in the embodiment shown in FIG.

[0032] Fig.12 is a schematic diagram of a controller provided by an embodiment of the present disclosure;

[0033] Fig.13 is a schematic diagram of a robot control method provided by an embodiment of the present disclosure;

[0034] Fig.14 is a schematic diagram of another robot control method provided by an embodiment of the present disclosure;

[0035] Fig.15 This is a schematic diagram of the principle of determining the effective area of ​​a photovoltaic panel image according to the optimal viewing distance of a camera provided by an embodiment of the present disclosure;

[0036] Fig.16 is a schematic diagram of another robot control method provided by an embodiment of the present disclosure;

[0037] Fig.17It is a schematic diagram of another robot control method provided by an embodiment of the present disclosure.

[0038] Reference numerals:

[0039] 1 robot; 2 robot body;

[0040] 10 mounting bracket; 100 mounting surface; 102 first end; 104 second end;

[0041] 20 sports organizations;

[0042] 200 adsorption device; 210 adsorption structure; 212 second adsorption assembly; 214 second suction cup; 216 second air pump; 218 lifting assembly; 220 moving assembly;

[0043] 300 rotating device; 310 rotating structure; 312 first adsorption assembly; 314 first suction cup; 316 first air pump; 318 first rotating motor; 320 lifting structure; 322 lifting bracket; 324 mounting sleeve; 326 mounting groove; 328 mounting member; 330 second rotating motor; 332 first transmission assembly; 334 first support rod; 336 first rack; 338 first gear; 340 moving structure; 342 moving bracket; 344 third rotating motor; 346 second transmission assembly; 348 second gear; 350 third gear; 352 connecting rod; 356 fourth gear; 358 second rack; 360 housing; 362 roller brush;

[0044] 40 cameras;

[0045] 50 controller; 500 processor; 501 memory; 502 communication interface; 503 bus;

[0046] 6 photovoltaic panels. DETAILED DESCRIPTION

[0047] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0048] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0049] In the embodiments of the present disclosure, the terms "upper", "lower", "inside", "middle", "outside", "front", "back" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. These terms are mainly intended to better describe the embodiments of the present disclosure and their embodiments, and are not intended to limit the indicated devices, elements or components to have a specific direction, or to be constructed and operated in a specific direction. Moreover, in addition to being used to indicate directions or positional relationships, some of the above terms may also be used to indicate other meanings. For example, the term "upper" may also be used to indicate a certain dependency or connection relationship in certain circumstances. For those of ordinary skill in the art, the specific meanings of these terms in the embodiments of the present disclosure can be understood according to specific circumstances.

[0050] In addition, the terms "disposed", "connected", and "fixed" should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present disclosure can be understood according to specific circumstances.

[0051] Unless otherwise stated, the term "plurality" means two or more.

[0052] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0053] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A, B, A and B.

[0054] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0055] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.

[0056] Combination Figure 1 and Figure 5As shown, the embodiment of the present disclosure provides a robot 1, comprising a robot body 2 and a controller 50. The controller 50 is installed on the robot body 2 and is configured to execute the robot control method as described in the following embodiment.

[0057] In the disclosed embodiment, the robot 1 is used for the photovoltaic panel 6. In this embodiment, the controller 50 is installed on the robot body 2. The installation relationship described here is not limited to being placed inside the robot body 2, but also includes the installation connection with other components of the robot 1, including but not limited to physical connection, electrical connection or signal transmission connection, etc. It can be understood by those skilled in the art that the controller 50 can be adapted to a feasible robot 1, thereby realizing other feasible embodiments.

[0058] Optionally, combined Figures 1 to 5 As shown, the robot body includes a mounting bracket 10, a motion mechanism 20 and a camera 40. The motion mechanism 20 is arranged on the mounting bracket 10, and is used to drive the mounting bracket 10 to move relative to the photovoltaic panel 6, so that the robot 1 moves relative to the photovoltaic panel 6. The cameras 40 are respectively arranged at opposite ends of the mounting bracket 10 along the moving direction of the robot 1, and the main optical axis of the camera 40 is toward the outside of the mounting bracket 10 and points to the photovoltaic panel 6. The camera 40 is used to collect image information of the photovoltaic panel 6 in the current moving direction of the robot 1, and communicate with the outside to transmit the image information. Among them, the motion mechanism 20 is capable of receiving a control signal generated by the outside according to the image information, adjusting the moving direction of the mounting bracket 10 relative to the photovoltaic panel 6, and making the robot 1 move along a preset path.

[0059] In the robot 1 for photovoltaic panels provided by the embodiment of the present disclosure, the motion mechanism 20 can drive the mounting bracket 10 to move relative to the photovoltaic panel 6, thereby driving the robot 1 to move relative to the photovoltaic panel 6. Among them, along the moving direction of the robot 1, cameras 40 are arranged at opposite ends of the mounting bracket 10, and the main optical axis of the camera 40 is directed toward the outside of the mounting bracket 10 and toward the photovoltaic panel 6, so that an angle is formed between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located, so as to reduce the interference of reflected light, so that the camera 40 can more directly and accurately collect the image information of the photovoltaic panel 6 in the current moving direction of the robot 1, and reduce the image distortion or blind area caused by the improper position or angle of the camera 40. Then, the motion mechanism 20 is controlled according to the control signal generated by the image information to adjust the moving direction of the mounting bracket 10 relative to the photovoltaic panel 6, so as to realize the control of the moving direction of the robot 1.

[0060] The disclosed embodiment reduces the probability of image distortion or blind spots, especially the image blind spots in the moving direction of the robot 1 , by adjusting the setting position and angle of the camera 40 , thereby improving the control accuracy of the moving direction of the robot 1 .

[0061] It should be noted that the moving direction of the robot 1 in the disclosed embodiment refers to the direction in which the robot 1 moves forward or backward relative to a reference object (such as the photovoltaic panel 6). In actual applications, the moving direction of the robot 1 will be consistent with a certain structural feature of the robot 1 itself. For example, when the mounting bracket 10 is in the shape of a rectangular parallelepiped, the moving direction of the robot 1 is the same as the length direction or width direction of the mounting bracket 10. The disclosed embodiment takes the example that the moving direction of the robot 1 is the same as the length direction of the mounting bracket 10. When understanding the structural features of the robot 1 described in some embodiments of the present application, the moving direction of the robot 1 can be regarded as the length direction of the mounting bracket 10.

[0062] Optionally, combined Figure 2 and Figure 3 As shown, the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located is an acute angle. In this embodiment, by limiting the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located to be an acute angle, it is ensured that the setting angle of the camera 40 can reduce the interference of reflected light, so that the camera 40 can collect the image information of the photovoltaic panel 6 more directly and accurately, thereby reducing image distortion or blind spots.

[0063] Optionally, combined Figure 2 and Figure 3 As shown, the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located ranges from 30° to 60°.

[0064] For the convenience of introducing the embodiments of the present disclosure, the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located is called the preset angle β, then 30°≤β≤60°. In this embodiment, by making the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located at a preset angle β after installation, the image quality problems caused by light reflection, shadow obstruction or viewing angle deviation are reduced, and the clarity and accuracy of image information acquisition are improved. By limiting the value range of the preset angle β to 30° to 60°, the robot 1 can more comprehensively capture the image information of the photovoltaic panel 6 in the current moving direction of the robot 1, reduce the blind spot of the viewing angle, and improve the accuracy of the control of the moving direction of the robot 1. Exemplarily, the specific value of the preset angle β is 30°, 45° or 60°.

[0065] Optionally, combined Figure 2 and Figure 3As shown, along the moving direction of the robot 1, mounting surfaces 100 are respectively provided at opposite ends of the mounting bracket 10, and a first angle is formed between the plane where the mounting surface 100 is located and the axis along the height direction of the mounting bracket 10. Two cameras 40 are respectively provided on the two mounting surfaces 100, and a second angle is formed between the main optical axis of the camera 40 and the plane where the mounting surface 100 is located. The first angle and the second angle meet the preset conditions, so that the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located is an acute angle.

[0066] In this embodiment, a first angle (eg, Figure 3 The two cameras 40 are respectively mounted on two mounting surfaces 100 with an inclined angle (first angle). A second angle (as shown in FIG. 1 ) is formed between the main optical axis of the camera 40 and the plane where the mounting surface 100 is located. Figure 3 The angle α shown in the figure is adapted to the inclination angle of the mounting surface 100, so that the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located is an acute angle, so that when the camera 40 collects image information, its viewing angle will naturally tilt toward the photovoltaic panel 6.

[0067] Optionally, the preset condition includes that the second angle is greater than the first angle, and the difference between the second angle and the first angle is in the range of 30° to 60°. In this embodiment, since α-θ=90°-β, the difference between the second angle and the first angle is limited to a range of 30° to 60° to ensure that the preset angle β is between 30° and 60°, and ensure that the angle between the main optical axis of the camera 40 and the plane where the photovoltaic panel 6 is located is an acute angle. Exemplarily, the value of the second angle α is 80°, and the value of the first angle θ is 30°, then the difference between the second angle and the first angle is 50°, and since α-θ=90°-β, the value of β is 40°.

[0068] In some embodiments, the first angle formed between the plane where the mounting surface 100 is located and the axis along the height direction of the mounting bracket 10 is an acute angle, and the angle range of the first angle is 30° to 60°. The two cameras 40 are respectively arranged on the two mounting surfaces 100, and the main optical axis of the camera 40 is perpendicular to the plane where the mounting surface 100 is located.

[0069] Optionally, combined Figures 1 to 5As shown, the motion mechanism 20 includes an adsorption device 200 and a rotating device 300. One end of the adsorption device 200 is connected to the mounting bracket 10, and the other end can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. One end of the rotating device 300 is movably connected to the mounting bracket 10, and the other end can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. When the rotating device 300 is in a fixed state, the adsorption device 200 and the mounting bracket 10 in a detached state can move relative to the photovoltaic panel 6. When the adsorption device 200 is in a fixed state, the rotating device 300 in a detached state can move relative to the photovoltaic panel 6.

[0070] In the disclosed embodiment, the adsorption device 200 and the rotating device 300 are spaced apart on one side of the mounting bracket 10 close to the photovoltaic panel 6, and the adsorption device 200 and the rotating device 300 at one end away from the mounting bracket 10 can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. And the adsorption device 200 and the rotating device 300 are not in the detached state at the same time. By ensuring that the adsorption device 200 and the rotating device 300 are not in the detached state at the same time, it is ensured that the robot 1 can be stably attached to the photovoltaic panel 6 during operation, and sliding or falling off caused by factors such as wind and vibration is prevented, thereby improving the safety and stability of the operation. By cooperating with each other, the motion mechanism 20 can drive the movement of the mounting bracket 10 relative to the photovoltaic panel 6, thereby realizing the position and posture adjustment of the robot 1 relative to the photovoltaic panel 6.

[0071] For the convenience of introducing the present application, along the moving direction of the robot 1, the two opposite ends of the mounting bracket 10 are named as the first end 102 and the second end 104. The specific steps of realizing the movement mechanism 20 driving the mounting bracket 10 to move relative to the photovoltaic panel 6 by cooperating with the adsorption device 200 and the rotation device 300 are as follows:

[0072] Exemplary, combined Figure 1 and Figure 2 As shown, let the robot 1 follow the Figure 1The robot 1 moves along the path shown by the dotted line. At the initial moment, the robot 1 moves relative to the photovoltaic panel 6 along the direction from A to B. At this time, the direction from A to B is the same as the direction from the first end 102 to the second end 104. Then, when the rotating device 300 is in the disengaged state and the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to move relative to the photovoltaic panel 6 along the direction from the first end 102 to the second end 104 (because the mounting bracket 10 is stationary relative to the photovoltaic panel 6 at this time, the rotating device 300 also moves relative to the mounting bracket 10 during the movement relative to the photovoltaic panel 6). After the rotating device 300 moves to the desired position (such as when the mounting bracket 10 is close to the second end 104), the rotating device 300 is controlled to switch to the fixed state. After the rotating device 300 is in the fixed state, the adsorption device 200 is controlled to switch to the disengaged state. The rotating device 300 is controlled to drive the adsorption device 200 and the mounting bracket 10 in the disengaged state to move relative to the photovoltaic panel 6 along the direction from A to B (at this time, with the mounting bracket 10 as a reference, the rotating device 300 moves in the direction from the second end 104 to the first end 102). After moving to the desired position (such as the rotating device 300 is located at the mounting bracket 10 near the first end 102), the adsorption device 200 is controlled to switch to a fixed state. After the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to switch to a disengaged state. The rotating device 300 is controlled again to move relative to the photovoltaic panel 6 along the direction from the first end 102 to the second end 104. After moving to the desired position, the rotating device 300 is controlled to switch to a fixed state... and so on, the robot 1 is realized to perform linear motion relative to the photovoltaic panel 6 along the direction from A to B.

[0073] For example, Figure 1 and Figure 2 As shown, let the robot 1 follow the Figure 1The robot 1 moves along the path shown by the dotted line. At the initial moment, the robot 1 moves relative to the photovoltaic panel 6 along the direction from A to B, and at this time, the direction from A to B is the same as the direction from the first end 102 to the second end 104. Then, when the rotating device 300 is in the disengaged state and the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to move relative to the photovoltaic panel 6 along the direction from the first end 102 to the second end 104. After the rotating device 300 moves to the desired position (such as the mounting bracket 10 is close to the second end 104), the rotating device 300 is controlled to switch to the fixed state. After the rotating device 300 is in the fixed state, the adsorption device 200 is controlled to switch to the disengaged state. The rotating device 300 is controlled to drive the adsorption device 200 and the mounting bracket 10 in the disengaged state to rotate 180° relative to the photovoltaic panel 6. After the adsorption device 200 and the mounting bracket 10 rotate 180° relative to the photovoltaic panel 6, the adsorption device 200 is controlled to switch to the fixed state. After the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to switch to the disengaged state. After the rotating device 300 is in the disengaged state, the rotating device 300 is controlled to move relative to the photovoltaic panel 6 along the direction from the second end 104 to the first end 102. After moving to the desired position (such as the mounting bracket 10 is close to the first end 102), the rotating device 300 is controlled to switch to the fixed state. After the rotating device 300 is in the fixed state, the adsorption device 200 is controlled to switch to the disengaged state. The rotating device 300 is controlled to drive the adsorption device 200 and the mounting bracket 10 in the disengaged state to rotate 180° relative to the photovoltaic panel 6. After the adsorption device 200 and the mounting bracket 10 rotate 180° relative to the photovoltaic panel 6, the adsorption device 200 is controlled to switch to the fixed state. After the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to switch to the disengaged state again. After the rotating device 300 is in the disengaged state, the rotating device 300 is controlled again to move relative to the photovoltaic panel 6 along the direction from the first end 102 to the second end 104... and so on, the robot 1 is realized to perform linear motion relative to the photovoltaic panel 6 along the direction from A to B.

[0074] For example, Figure 1 and Figure 2As shown, when the robot 1 reaches point B, it needs to turn from the direction from A to B to the direction from B to C. Then the rotating device 300 is controlled to switch to a fixed state, and the adsorption device 200 is controlled to switch to a disengaged state. After the adsorption device 200 is in the disengaged state, the rotating device 300 is controlled to drive the adsorption device 200 to rotate 90° relative to the photovoltaic panel 6. After the adsorption device 200 rotates 90° relative to the photovoltaic panel 6, the adsorption device 200 is controlled to switch to a fixed state. After the adsorption device 200 is in the fixed state, the rotating device 300 is controlled to switch to a disengaged state. After the rotating device 300 is in the disengaged state, the rotating device 300 is controlled to move along the direction from B to C relative to the photovoltaic panel 6... Thereby realizing that after the robot 1 turns on the photovoltaic panel 6, it continues to move in a straight line relative to the photovoltaic panel 6.

[0075] In the disclosed embodiment, the position and posture adjustment of the robot 1 relative to the photovoltaic panel 6 is achieved by switching the adsorption device 200 and the rotating device 300 between the fixed state and the detached state, and driving the rotating device 300, thereby avoiding damages such as scratches and indentations on the surface of the photovoltaic panel 6 caused by traditional wheels or tracks.

[0076] Optionally, combined Figures 4 to 9 As shown, the rotating device 300 includes a rotating structure 310, a lifting structure 320 and a moving structure 340. One end of the rotating structure 310 can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6, and when the rotating structure 310 is in the fixed state, it can drive the adsorption device 200 and the mounting bracket 10 in the detached state to rotate relative to the photovoltaic panel 6. The lifting structure 320 is connected to the other end of the rotating structure 310. When the adsorption device 200 is in the fixed state, the lifting structure 320 can drive the rotating structure 310 to move toward or away from the photovoltaic panel 6 to achieve the switching of the rotating structure 310 between the fixed state and the detached state. One end of the moving structure 340 is movably connected to the mounting bracket 10, and the other end is connected to the lifting structure 320. The moving structure 340 can drive the rotating device 300 to move relative to the photovoltaic panel 6 when the rotating structure 310 is in the detached state.

[0077] In this embodiment, the rotating structure 310, the lifting structure 320 and the moving structure 340 are combined to realize the multi-dimensional movement of the robot 1 on the photovoltaic panel 6, including translation, rotation, lifting, etc. The multi-dimensional movement of the robot 1 on the photovoltaic panel 6 enables the robot 1 to cope with various complex working scenes and task requirements, thereby improving the reliability and practicality of the robot 1.

[0078] Specifically, in this embodiment, when the rotating structure 310 is in a fixed state, it can drive the adsorption device 200 and the mounting bracket 10 to rotate relative to the photovoltaic panel 6 to achieve rotational motion. When the adsorption device 200 is in a fixed state, the lifting structure 320 can drive the rotating structure 310 to move toward or away from the photovoltaic panel 6, that is, to achieve lifting motion, and realize the switching of the rotating structure 310 between the fixed state and the disengaged state. For example, when it is necessary to switch the rotating structure 310 from the disengaged state to the fixed state, the lifting structure 320 is controlled to drive the rotating structure 310 to move toward the photovoltaic panel 6 so that the rotating structure 310 can be fixed to the surface of the photovoltaic panel 6. When it is necessary to switch the rotating structure 310 from the fixed state to the disengaged state, the lifting structure 320 is controlled to drive the rotating structure 310 to move away from the photovoltaic panel 6 so that the rotating structure 310 can be disengaged from the surface of the photovoltaic panel 6. The moving structure 340 can drive the rotating device 300 to move relative to the photovoltaic panel 6 when the rotating structure 310 is in the disengaged state to achieve translational motion.

[0079] Optionally, combined Figure 7 and Fig. 9 As shown, the rotating structure 310 includes a first adsorption component 312 and a first rotating motor 318. One end of the first adsorption component 312 can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. The output end of the first rotating motor 318 is connected to one of the lifting structure 320 and the other end of the first adsorption component 312, and the fixed end of the first rotating motor 318 is connected to the other of the first lifting device and the other end of the first adsorption component 312. The first rotating motor 318 is used to drive the adsorption device 200 and the mounting bracket 10 in the detached state to rotate relative to the photovoltaic panel 6 when the first adsorption component 312 is in a fixed state.

[0080] In this embodiment, the first adsorption component 312 can switch between a fixed state and a detached state, and the first rotating motor 318 is used as a power source to drive the adsorption device 200 and the mounting bracket 10 to rotate relative to the photovoltaic panel 6. The combination of the first adsorption component 312 and the first rotating motor 318 realizes the switching between the fixed state and the detached state of the rotating device 300 itself and the turning movement of the robot 1 relative to the photovoltaic panel 6.

[0081] In some embodiments, the output end of the first rotating motor 318 is connected to the lifting structure 320, and the fixed end of the first rotating motor 318 is connected to the other end of the first adsorption assembly 312. In this embodiment, when the first adsorption assembly 312 is in a fixed state, the rotation direction and rotation speed of the output end of the first rotating motor 318 can be directly controlled to realize the rotation control of the adsorption device 200 and the mounting bracket 10 relative to the photovoltaic panel 6.

[0082] In some embodiments, the output end of the first rotating motor 318 is connected to the other end of the first adsorption assembly 312, and the fixed end of the first rotating motor 318 is connected to the lifting structure 320. In this embodiment, when the first adsorption assembly 312 is in a fixed state, by controlling the rotation direction and rotation speed of the output end of the first rotating motor 318, the reaction force generated at the fixed end of the first rotating motor 318 can be used to realize the rotation control of the adsorption device 200 and the mounting bracket 10 relative to the photovoltaic panel 6.

[0083] Optionally, combined Figure 7 and Fig. 9 As shown, the first adsorption assembly 312 includes a first suction cup 314 and a first air pump 316. The first air pump 316 is disposed on the first suction cup 314, and is used to drive the first suction cup 314 to switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. The side of the first suction cup 314 away from the photovoltaic panel 6 is connected to the output end or fixed end of the first rotating motor 318.

[0084] In this embodiment, the first air pump 316 is disposed on the first suction cup 314 to form the first adsorption assembly 312. When the first suction cup 314 contacts the photovoltaic panel 6, the first air pump 316 injects air into the first suction cup 314 or extracts air from the first suction cup 314 to change the air pressure between the first suction cup 314 and the photovoltaic panel 6, so that the first suction cup 314 can be switched between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6.

[0085] Specifically, when the first suction cup 314 needs to be switched from the detached state to the fixed state, after the first suction cup 314 contacts the photovoltaic panel 6, the first air pump 316 is controlled to extract air from the first suction cup 314 to reduce the air pressure between the first suction cup 314 and the photovoltaic panel 6, so that the first suction cup 314 is firmly adsorbed on the photovoltaic panel 6, and the first suction cup 314 is fixed to the surface of the photovoltaic panel 6. When the first suction cup 314 needs to be switched from the fixed state to the detached state, the first air pump 316 is controlled to inject air into the first suction cup 314 to increase the air pressure between the first suction cup 314 and the photovoltaic panel 6, so that the first suction cup 314 is separated from the photovoltaic panel 6, and the first suction cup 314 is detached from the photovoltaic panel 6 surface.

[0086] Optionally, combined Figure 7 and Fig. 9 As shown, the lifting structure 320 includes a lifting bracket 322, a second rotating motor 330 and a first transmission assembly 332. The lifting bracket 322 is connected to the moving structure 340. The second rotating motor 330 is disposed on the lifting bracket 322. The input end of the first transmission assembly 332 is connected to the output end of the second rotating motor 330, and the output end of the first transmission assembly 332 is connected to the rotating structure 310.

[0087] In this embodiment, the lifting bracket 322 serves as a supporting frame of the lifting structure 320, and is used to connect the mobile structure 340 and other structural components of the lifting structure 320, such as the second rotating motor 330, to ensure that the lifting structure 320 can remain stable during the lifting process, thereby improving the stability of the rotating device 300 and the robot 1. The second rotating motor 330 is the source of the driving force of the lifting structure 320, and provides power for the subsequent first transmission assembly 332, thereby realizing the lifting function. The input end of the first transmission assembly 332 is connected to the output end of the second rotating motor 330, and the output end of the first transmission assembly 332 is connected to the rotating structure 310, so as to convert the rotational motion of the second rotating motor 330 into the lifting motion of the rotating structure 310, thereby realizing the switching of the rotating structure 310 between the fixed state and the disengaged state.

[0088] Optionally, combined Figure 7 and Fig. 9 As shown, the first transmission assembly 332 includes a first support rod 334, a first rack 336 and a first gear 338. One end of the first support rod 334 is connected to the rotating structure 310. The first rack 336 is extended along the length direction of the support rod and is arranged on the support rod. The first gear 338 is arranged on the first rack 336 and is connected to the output end of the second rotating motor 330.

[0089] In this embodiment, a first support rod 334 is provided to connect the rotating structure 310 to ensure that the rotating structure 310 can be lifted and lowered accordingly with the movement of the first transmission assembly 332, thereby improving the carrying capacity of the first transmission assembly 332. The first rack 336 is extended along the length direction of the support rod. The teeth of the first rack 336 and the first gear 338 are meshed with each other, thereby realizing the transmission of power. The first gear 338 is provided on one side of the first rack 336 and is directly connected to the output end of the second rotating motor 330. When the second rotating motor 330 is started, its output shaft drives the first gear 338 to rotate, and the rotational motion of the first gear 338 is converted into the linear motion of the first rack 336 through the meshing with the first rack 336, so that the rotating structure 310 connected to the first support rod 334 can be lifted and lowered.

[0090] Optionally, combined Figure 7 and Fig. 9 As shown, the lifting bracket 322 includes a mounting sleeve 324 and a mounting member 328. The mounting sleeve 324 and the mounting member 328 are connected. The mounting member 328 is connected to the moving structure 340. The second rotating motor 330 is arranged on the mounting member 328. The mounting sleeve 324 and the first support rod 334 are nested, and the first support rod 334 can slide relative to the mounting sleeve 324. The mounting sleeve 324 includes a mounting groove 326 extending along the length direction of the first support rod 334. The teeth of the first rack 336 protrude from the mounting groove 326 and are meshed and connected with the first gear 338.

[0091] In this embodiment, the lifting bracket 322 includes a mounting sleeve 324 and a mounting member 328 connected to each other. The mounting sleeve 324 is nested with the first support rod 334, and the first support rod 334 is allowed to slide relative to the mounting sleeve 324 inside the mounting sleeve 324, which realizes the lifting function and provides a guide for the first support rod 334 to ensure the stability of lifting. The mounting member 328 connects the mobile structure 340 and the mounting sleeve 324 to achieve a stable connection between the lifting structure 320 and the mobile structure 340.

[0092] Optionally, combined Figure 7 and Fig. 9 As shown, the mobile structure 340 includes a mobile bracket 342, a third rotating motor 344 and a second transmission assembly 346. The mobile bracket 342 is connected to the lifting structure 320. The third rotating motor 344 is disposed on the mobile bracket 342. The second transmission assembly 346 is movably connected to the mounting bracket 10, and the input end of the second transmission assembly 346 is connected to the output end of the third rotating motor 344.

[0093] In this embodiment, the mobile bracket 342 is used to carry other components (such as the third rotating motor 344 and the second transmission assembly 346) and is connected to the lifting structure 320 to ensure that the lifting structure 320 can move with the movement of the mobile bracket 342. The third rotating motor 344 is used as a power source for the mobile structure 340 and is used to provide power input for the second transmission assembly 346. The second transmission assembly 346 is used to convert the rotational motion of the third rotating motor 344 into the translational motion of the mobile structure 340, thereby realizing the driving of the rotating device 300 to move relative to the photovoltaic panel 6.

[0094] Optionally, combined Figure 7 and Fig. 9 As shown, the second transmission assembly 346 includes a second gear 348, a third gear 350, a connecting rod 352, a fourth gear 356 and a second rack 358. The second gear 348 is connected to the output end of the third rotating motor 344. The third gear 350 is meshed with the second gear 348. The connecting rod 352 is inserted through the third gear 350 and is slidably connected to the moving bracket 342. The fourth gear 356 is connected to the end of the connecting rod 352. The second rack 358 is extended to the mounting bracket 10 in the moving direction of the robot 1 and is meshed with the fourth gear 356.

[0095] In this embodiment, the second transmission assembly 346 is formed by combining the second gear 348, the third gear 350, the connecting rod 352, the fourth gear 356 and the second rack 358 to convert the rotational motion of the third rotating motor 344 into the translational motion of the mobile structure 340, thereby ensuring stable transmission of power. In this embodiment, one end of the connecting rod 352 is fixedly connected to the fourth gear 356, and the other end is rollingly connected to the mounting bracket 10.

[0096] Specifically, the second gear 348 is directly connected to the output end of the third rotating motor 344 as the starting component of the second transmission assembly 346. When the third rotating motor 344 is started, its power is transmitted to the second gear 348 through the output end. The third gear 350 is meshed with the second gear 348 to form a pair of gears that mesh with each other. When the second gear 348 rotates, the third gear 350 is driven to rotate in the opposite direction. The connecting rod 352 is inserted into the center hole of the third gear 350 and is slidably connected to the mobile bracket 342, so that the connecting rod 352 can rotate relative to the mobile bracket 342 as the third gear 350 rotates. The fourth gear 356 is connected to the end of the connecting rod 352. When the connecting rod 352 rotates, the fourth gear 356 is driven to rotate. The second rack 358 is extended along the moving direction of the robot 1 and is meshed with the fourth gear 356. When the fourth gear 356 rotates, the fourth gear 356 will roll along the tooth surface of the second rack 358, thereby converting the rotational motion into linear motion, so that the moving structure 340 can translate on the mounting bracket 10, thereby driving the rotating device 300 to move relative to the mounting bracket 10, and then relative to the photovoltaic panel 6.

[0097] Optionally, combined Figure 7 and Fig. 9 As shown, there are two fourth gears 356, which are respectively connected to the opposite ends of the connecting rod 352. There are two second racks 358, which are respectively arranged on the opposite sides of the mounting bracket 10, and the two second racks 358 and the two fourth gears 356 are arranged one by one.

[0098] In this embodiment, by increasing the number of fourth gears 356 and second racks 358, and connecting the two fourth gears 356 to the opposite ends of the connecting rod 352, the two second racks 358 are respectively arranged on the opposite sides of the mounting bracket 10, and the two second racks 358 and the two fourth gears 356 are arranged in one-to-one correspondence, so that the power transmission of the second transmission assembly 346 is more stable, and the movement stability of the rotating device 300 is improved.

[0099] In some embodiments, in combination Figure 2 and Figure 3As shown, the rotating device 300 also includes a shell 360. Openings are provided at opposite ends of the shell 360, and the shell 360 includes an installation cavity, and the opening is connected to the installation cavity. The lifting structure 320 is located in the installation cavity. The movable structure 340 partially protrudes through the opening outside the installation cavity and is movably connected to the installation bracket 10. The end of the shell 360 close to the installation bracket 10 is fixedly connected to the movable bracket 342. The rotating structure 310 partially protrudes from the installation cavity through the opening away from the movable structure 340. The robot 1 also includes a roller brush 362. The opposite ends of the roller brush 362 are rotatably connected to the shell 360. The roller brush 362 is extended along the axial direction perpendicular to the moving direction of the robot 1. The roller brush 362 partially protrudes from the opening outside the installation cavity and is rollingly connected to the photovoltaic panel 6.

[0100] In this embodiment, a roller brush 362 is provided so that its two opposite ends are rotatably connected to the shell 360, and a portion protrudes from the opening and is rollingly connected to the photovoltaic panel 6, so that when the rotating device 300 moves relative to the photovoltaic panel 6, the roller brush 362 can roll relative to the photovoltaic panel 6 to clean the photovoltaic panel 6, thereby improving the functionality of the robot 1.

[0101] Optionally, combined Figure 4 and Figure 5 As shown, the adsorption device 200 further includes an adsorption structure 210. One end of the adsorption structure 210 is connected to the mounting bracket 10, and the other end can be switched between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6.

[0102] In this embodiment, the adsorption structure 210 and the rotating device 300 are located on the same side of the mounting bracket 10, and the adsorption structure 210 and the rotating device 300 are not in a disengaged state at the same time. The adsorption structure 210 and the rotating device 300 cooperate to achieve the movement of the robot 1 relative to the photovoltaic panel 6.

[0103] Optionally, combined Fig.10 and Fig.11 As shown, the adsorption structure 210 includes a second adsorption component 212 and a lifting component 218. One end of the second adsorption component 212 can switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. The output end of the lifting component 218 is connected to the other end of the second adsorption component 212, and the fixed end of the lifting component 218 is connected to the mounting bracket 10.

[0104] In this embodiment, the second adsorption component 212 cooperates with the lifting component 218 to realize the switching of the adsorption structure 210 between the fixed state and the detached state. The lifting component 218 can drive the second adsorption component 212 to move toward or away from the photovoltaic panel 6 when the rotating device 300 is in the fixed state, so as to realize the switching of the second adsorption component 212 between the fixed state and the detached state, thereby realizing the switching of the adsorption device 200 between the fixed state and the detached state.

[0105] Specifically, when the adsorption device 200 needs to be switched from the detached state to the fixed state, the lifting component 218 is controlled to drive the second adsorption component 212 to move closer to the photovoltaic panel 6, so that the second adsorption component 212 can be adsorbed on the surface of the photovoltaic panel 6, and the second adsorption component 212 is fixed on the surface of the photovoltaic panel 6. When the adsorption device 200 needs to be switched from the fixed state to the detached state, the lifting component 218 is controlled to drive the second adsorption component 212 to move away from the photovoltaic panel 6, so that the second adsorption component 212 can be detached from the surface of the photovoltaic panel 6.

[0106] Optionally, combined Fig.10 and Fig.11 As shown, the second adsorption assembly 212 includes a second suction cup 214 and a second air pump 216. The second air pump 216 is disposed on the second suction cup 214, and is used to drive the second suction cup 214 to switch between a fixed state fixed to the surface of the photovoltaic panel 6 and a detached state detached from the surface of the photovoltaic panel 6. The side of the second suction cup 214 away from the photovoltaic panel 6 is connected to the output end of the lifting assembly 218.

[0107] In this embodiment, the second air pump 216 is disposed on the second suction cup 214 to form the second adsorption assembly 212. When the second suction cup 214 is in contact with the photovoltaic panel 6, the second air pump 216 injects air into the second suction cup 214 or extracts air from the second suction cup 214, thereby changing the air pressure between the second suction cup 214 and the photovoltaic panel 6, and realizing the switching of the second suction cup 214 between the fixed state and the detached state.

[0108] Specifically, when the second suction cup 214 needs to be switched from the detached state to the fixed state, after the second suction cup 214 contacts the photovoltaic panel 6, the second air pump 216 is controlled to extract air from the second suction cup 214 to reduce the air pressure between the second suction cup 214 and the photovoltaic panel 6, so that the second suction cup 214 is firmly adsorbed on the photovoltaic panel 6, and the second suction cup 214 is fixed on the surface of the photovoltaic panel 6. When the second suction cup 214 needs to be switched from the fixed state to the detached state, the second air pump 216 is controlled to inject air into the second suction cup 214 to increase the air pressure between the second suction cup 214 and the photovoltaic panel 6, so that the second suction cup 214 is separated from the photovoltaic panel 6, and the second suction cup 214 is detached from the photovoltaic panel 6 surface.

[0109] In some embodiments, in combination Figure 4 As shown, the diameter of the second suction cup 214 is smaller than the diameter of the first suction cup 314. In this embodiment, by limiting the diameter of the second suction cup 214 to be smaller than the diameter of the first suction cup 314, the adsorption force generated when the second suction cup 214 is adsorbed on the photovoltaic panel 6 is smaller than the adsorption force generated when the first suction cup 314 is adsorbed on the photovoltaic panel 6, so as to maintain sufficient adsorption force while optimizing the adsorption force distribution and reducing the local pressure concentration on the surface of the photovoltaic panel 6.

[0110] In some embodiments, the structure and layout of the lifting assembly 218 are the same as those of the lifting structure 320 in the above embodiment, and will not be described in detail here. For the technical effects of the lifting assembly 218, refer to the above embodiment. In this embodiment, the lifting bracket 322 of the lifting assembly 218 is connected to the mounting bracket 10, and the output end of the first transmission assembly 332 of the lifting assembly 218 is connected to the second adsorption assembly 212.

[0111] Optionally, combined Fig.11 As shown, the adsorption structure 210 further includes a moving assembly 220. One end of the moving assembly 220 is movably connected to the mounting bracket 10, and the other end is connected to the lifting assembly 218. The moving assembly 220 can drive the adsorption structure 210 in the disengaged state to move relative to the mounting bracket 10 when the rotating structure 310 is in the fixed state.

[0112] In this embodiment, by adding a moving component 220, the adsorption structure 210 in the disengaged state is driven to move relative to the mounting bracket 10 along the moving direction of the robot 1, so as to flexibly adjust the position of the adsorption structure 210 on the mounting bracket 10 as needed, thereby improving work efficiency and work flexibility. In the process of the robot 1 moving relative to the photovoltaic panel 6 (the mounting bracket 10 moving relative to the photovoltaic panel 6), the adsorption structure 210 is stationary relative to the mounting bracket 10 to ensure the stability of the robot's movement. In the process of the adsorption structure 210 moving relative to the mounting bracket 10, the mounting bracket 10 is stationary relative to the photovoltaic panel 6 to ensure the stability of the position adjustment of the adsorption structure 210.

[0113] In some embodiments, the structural composition and layout of the mobile component 220 are the same as the structural composition and layout of the mobile structure 340 in the above embodiment, which will not be repeated here. For the technical effects of the mobile component 220, refer to the above embodiment.

[0114] Optionally, combined Figure 4 and Figure 5 As shown, there are two adsorption structures 210 . Along the moving direction of the robot 1 , the two adsorption structures 210 are respectively located on two opposite sides of the rotating device 300 and are spaced apart from the rotating device 300 .

[0115] In this embodiment, the two adsorption structures 210 are respectively located on opposite sides of the rotating device 300, and the two adsorption structures 210 act synchronously to provide stable support for the mounting bracket 10, thereby improving the stability and reliability of the movement and operation of the robot 1. In this embodiment, the specific structures of the two adsorption structures 210 can be the same or different.

[0116] In some embodiments, along the moving direction of the robot 1 , the two adsorption structures 210 are respectively located at opposite ends of the mounting bracket 10 .

[0117] Optionally, combined Fig.12 As shown, the controller 50 includes a processor 500 and a memory 501. Optionally, the controller 50 may also include a communication interface 502 and a bus 503. The processor 500, the communication interface 502, and the memory 501 may communicate with each other through the bus 503. The communication interface 502 may be used for information transmission. The processor 500 may call the logic instructions in the memory 501 to execute the control method of the robot described in the following embodiment.

[0118] In addition, the logic instructions in the memory 501 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0119] The memory 501 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 500 executes functional applications and data processing by running the program instructions / modules stored in the memory 501, that is, implementing the robot control method described in the following embodiments.

[0120] The memory 501 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 501 may include a high-speed random access memory and may also include a non-volatile memory.

[0121] Combination Figure 1 and Figure 2 The robot shown in the figure, the present disclosure embodiment provides a control method of the robot, such as Fig.13 As shown, the control method includes:

[0122] S131, the processor corrects the obtained photovoltaic panel image to obtain a target image.

[0123] The photovoltaic panel image is an image of the photovoltaic panel in the current traveling direction of the robot. The photovoltaic panel image can be acquired by a camera set on the installation surface.

[0124] S132: The processor identifies the target image and obtains a target reference line.

[0125] S133, the processor determines the offset angle of the robot according to the target reference line.

[0126] S134, the processor controls the robot to rotate an offset angle so that the robot returns to a preset direction of travel.

[0127] The control method of the robot provided by the embodiment of the present disclosure can obtain the target reference line by collecting the image of the photovoltaic panel in the current direction of travel of the robot (i.e., the photovoltaic panel image) in real time, and then identifying the corrected photovoltaic panel image (i.e., the target image), and determine the offset angle of the current direction of travel of the robot relative to the preset direction of travel, and then control the robot to rotate the offset angle to correct the direction of travel. Compared with the related art, since the process of controlling the sensor probe and the robot body to perform multiple movements for environmental detection is avoided, the travel efficiency of the robot is improved, the interference of other environmental factors is reduced, and the correction accuracy of the direction of travel is improved. In addition, the present disclosure can perform real-time direction of travel correction through real-time photovoltaic panel images, and the correction effect is better than the fixed-point direction of travel correction in the related art.

[0128] The robot control method provided by the embodiment of the present disclosure corrects the photovoltaic panel image to eliminate the visual error caused by factors such as camera angle, light change or image distortion, thereby obtaining a clear and accurate target image, ensuring the robot's accurate recognition of the photovoltaic panel and further improving the accuracy of correcting the robot's direction of travel. In addition, the robot control method provided by the embodiment of the present disclosure is not limited by external factors such as photovoltaic panel type, layout or ambient light conditions, and has wide adaptability and flexibility.

[0129] Combination Fig.14 As shown, the embodiment of the present disclosure provides another robot control method, including:

[0130] S141, the processor slices the photovoltaic panel image to obtain an effective area image.

[0131] The photovoltaic panel image is an image of the photovoltaic panel in the current moving direction of the robot.

[0132] S142: The processor performs perspective transformation on the effective area image to obtain a target image.

[0133] S143: The processor identifies the target image and obtains a target reference line.

[0134] S144, the processor determines the offset angle of the robot according to the target reference line.

[0135] S145, the processor controls the robot to rotate an offset angle so that the robot returns to a preset direction of travel.

[0136] The robot control method provided by the embodiment of the present disclosure can improve the accuracy and efficiency of photovoltaic panel image correction by slicing and perspective transforming the photovoltaic panel image, thereby further improving the correction accuracy of the robot's moving direction.

[0137] Specifically, by slicing the photovoltaic panel image, unnecessary or blurred image information is reduced, the image size is reduced while reducing computational complexity and improving visual computing speed. In addition, after removing unnecessary or blurred image information, subsequent target image recognition can be more focused on the photovoltaic panel itself, improving the accuracy and reliability of the recognition results. The effective area image is then transformed in perspective to eliminate image deformation caused by shooting angle, lens distortion and other factors, so that the image of the photovoltaic panel in the target image is closer to its true shape and size, providing a more accurate image basis for subsequent image recognition and target reference line extraction, thereby further improving the accuracy of correcting the robot's direction of travel and improving the accuracy and stability of the robot's autonomous cruising.

[0138] Optionally, the photovoltaic panel image is sliced ​​to obtain an effective area image, including: obtaining an optimal viewing distance from the camera to the photovoltaic panel; determining an effective area of ​​the photovoltaic panel image based on the optimal viewing distance; and slicing the photovoltaic panel image to extract the effective area to obtain an effective area image.

[0139] The optimal viewing distance from the camera to the photovoltaic panel depends on the focal length and resolution of the camera, as well as the size and layout of the photovoltaic panel, etc. Therefore, the optimal viewing distance from the camera to the photovoltaic panel needs to be obtained by technicians based on actual product equipment experiments. In the disclosed embodiment, the optimal viewing distance from the camera to the photovoltaic panel can be stored in the memory during the robot's factory delivery process, or can be obtained by technicians in actual applications after experimental measurement and input.

[0140] In this embodiment, the effective area of ​​the photovoltaic panel image is determined according to the optimal viewing distance to ensure that the image of the effective area is neither too blurred (the viewing distance is too far) nor too distorted (the viewing distance is too close), so as to obtain the clearest regional image, improve the quality of the effective area image, and improve the accuracy of target reference line extraction, thereby further improving the accuracy of correcting the robot's direction of travel and improving the accuracy and stability of the robot's autonomous cruising. After determining the effective area, the photovoltaic panel image is sliced ​​and only the image data in the effective area is retained, while other areas (such as background, border, blurred area or distorted area, etc.) are eliminated, reducing the amount of data that needs to be processed by the subsequent image processing algorithm, improving the processing speed and reducing the consumption of computing resources.

[0141] In addition, since the embodiment of the present disclosure can combine the optimal viewing distance from the camera to the photovoltaic panel and automatically extract the effective area, the robot's adaptability to different scenarios is enhanced, making the robot more flexible and reliable in practical applications, further improving the robot's wide adaptability and flexibility.

[0142] Optionally, the effective area of ​​the photovoltaic panel image is determined according to the optimal viewing distance, including: determining the starting position of the effective area along the length direction of the photovoltaic panel image according to the optimal viewing distance; determining the ending position of the effective area along the length direction of the photovoltaic panel image according to the optimal viewing distance; and taking the area between the starting position and the ending position as the effective area.

[0143] In this embodiment, the starting position and the ending position of the effective area can be determined according to the optimal viewing distance along the length direction of the photovoltaic panel image, and then the image area between the two positions is used as the effective area, thereby realizing the rapid extraction of the effective area. In addition, the effective area determination method in this embodiment can adapt to photovoltaic panel images of different sizes, layouts and angles, further improving the wide adaptability and flexibility of the robot.

[0144] In some embodiments, in combination Fig.15 As shown, the starting position X of the effective area is determined as follows s : Where d represents the optimal viewing distance from the camera to the photovoltaic panel, β represents the angle between the main optical axis of the camera and the plane where the photovoltaic panel is located, and a and m represent correction parameters.

[0145] Wherein, 30°≤β≤60°. Exemplarily, the value of β is 30°, 45° or 60°.

[0146] In this embodiment, the correction parameter m represents the fixed offset (or safety margin) from the edge of the camera's field of view to the starting position of the effective area, and the correction parameter a represents the area adjustment of the effective area. By increasing a, the area of ​​the effective area can be increased, and by reducing a, the area of ​​the effective area can be reduced. In this embodiment, the optimal viewing distance d from the camera to the photovoltaic panel and the angle β between the main optical axis of the camera and the plane where the photovoltaic panel is located are comprehensively considered. The optimal viewing distance is projected onto the plane where the photovoltaic panel is located through the cosβ factor, and then the starting position X of the effective area is determined according to the correction parameters a and m. s .

[0147] In some embodiments, in combination Fig.15 As shown, the end position X of the effective area is determined as follows f : Wherein, d represents the optimal viewing distance of the camera, β represents the angle between the main optical axis of the camera and the plane where the photovoltaic panel is located, and a and m represent correction parameters.

[0148] In this embodiment, the optimal viewing distance d from the camera to the photovoltaic panel and the angle β between the main optical axis of the camera and the plane where the photovoltaic panel is located are comprehensively considered. The optimal viewing distance is projected onto the plane where the photovoltaic panel is located through the cosβ factor, and then the end position X of the effective area is determined according to the correction parameters a and m. f .

[0149] It should be noted that the angle β between the main optical axis of the camera and the plane where the photovoltaic panel is located, and the correction parameters a and m depend on the actual product equipment, so the angle β, correction parameters a and m need to be obtained by technicians based on the actual product equipment. In the disclosed embodiment, the angle β, correction parameters a and m can be stored in the memory during the robot's factory process, or can be obtained by technicians after measurement and input in actual applications.

[0150] Wherein, 30°≤β≤60°. Exemplarily, the value of β is 30°, 45° or 60°.

[0151] Optionally, performing perspective transformation on the effective area image to obtain the target image includes: performing perspective transformation on the effective area image using a transformation matrix to obtain the target image.

[0152] In this embodiment, a transformation matrix is ​​stored in advance, which describes the mapping relationship between the distorted image (i.e., the effective area image) and the desired undistorted image (i.e., the target image). The transformation matrix is ​​used to perform perspective transformation on the effective area image to quickly obtain the corrected target image.

[0153] Specifically, the perspective transformation of the effective area image is performed using the transformation matrix M in the following manner:

[0154]

[0155] Among them, the transformation matrix (X, Y, Z) represents the pixel coordinates of the target image after perspective transformation. (x, y, 1) represents the pixel coordinates of the effective area image before perspective transformation. Since the processed image in the embodiment of the present disclosure is a two-dimensional image, Z represents the scaling scale between corresponding pixels.

[0156] When Z=1, it means that the scaling factor between corresponding pixels is 1. Define the pixel of the target image after perspective transformation as (X′, Y′, 1) to reduce the image from three dimensions to two dimensions, and get the following equation:

[0157] Right now

[0158] Let a 33 =1, expand the above equation, and obtain the transformation relationship between the corresponding pixels as follows:

[0159]

[0160] When the transformation matrix M is known, the transformation relationship between corresponding pixel points can be obtained.

[0161] In some embodiments, the transformation matrix is ​​obtained in the following manner: the robot is controlled to move along the stripe direction of the calibration plate, and the image of the calibration plate in the current direction of movement of the robot is collected; the image of the calibration plate is recognized to obtain multiple diagonal points on the calibration plate and the pixel position coordinates of each diagonal point; the pixel position coordinates of each diagonal point and its corresponding actual pixel position coordinates are substituted into the transformation relationship between the corresponding pixel points, and the simultaneous equations are solved to obtain the change matrix.

[0162] In this embodiment, the calibration plate is an experimental plate with a regular pattern on the surface, which is used for experimental determination in the robot design process. In this embodiment, the calibration plate has stripes with the same arrangement mode as the grid lines of the photovoltaic panel. The robot is controlled to move along the stripe direction of the calibration plate to simulate the movement of the robot on the photovoltaic panel. Then the calibration plate image in the current direction of travel of the robot is collected to simulate the photovoltaic panel image actually collected. After obtaining the calibration plate image, the findChessboardCorners() function provided by the computer vision library (such as OpenCV) can be used to obtain the pixel position coordinates of multiple diagonal points and each diagonal point on the calibration plate. Since the calibration plate is a known experimental plate, the actual position coordinates of each pixel point in its top-down state (under the perspective after perspective transformation) are known, and the pixel position coordinates of each diagonal point and its corresponding actual pixel position coordinates are brought into the transformation relationship between the above-mentioned corresponding pixel points, and the simultaneous equations are solved to obtain the change matrix.

[0163] In this embodiment, a change matrix is ​​obtained and saved through preliminary experimental determination to improve the reliability, accuracy and transformation rate of perspective transformation of photovoltaic panel images during actual application.

[0164] In practical applications, you can also use the functions provided by computer vision libraries (such as OpenCV) to calculate the perspective transformation matrix.

[0165] Combination Fig.16 As shown, the embodiment of the present disclosure provides another robot control method, including:

[0166] S161, the processor corrects the obtained photovoltaic panel image to obtain a target image.

[0167] The photovoltaic panel image is an image of the photovoltaic panel in the current moving direction of the robot.

[0168] S162, the processor recognizes the target image and obtains multiple detection points.

[0169] S163: The processor screens multiple detection points to obtain a target detection point.

[0170] S164, the processor performs straight line fitting on the target detection points to obtain a target reference line.

[0171] S165, the processor determines the offset angle of the robot according to the target reference line.

[0172] S166, the processor controls the robot to rotate an offset angle so that the robot returns to a preset direction of travel.

[0173] The robot control method provided by the embodiment of the present disclosure can obtain multiple feature points (such as grid line intersection points, edge points, corner points, texture feature points, etc.) that can characterize the robot's position as detection points by identifying the target image. After identifying multiple detection points, screening is first performed to identify the target detection points, thereby reducing the amount of calculation in the subsequent straight line fitting process, improving the target reference line fitting efficiency, and improving the robot's travel direction correction efficiency and travel efficiency.

[0174] Optionally, the target image is identified to obtain multiple detection points, including: calculating the similarity between a preset template and each area in the target image; taking an area with a similarity greater than a similarity threshold as a target area; and outputting a pixel position of the target area to obtain multiple detection points.

[0175] In this embodiment, a preset template is pre-saved, and the preset template is a feature map of known feature points on the photovoltaic panel, such as a feature map of grid line intersections, a feature map of edge points, a feature map of corner points, a feature map of texture feature points, etc.

[0176] In this embodiment, the preset template can be compared with each area in the target image through the cv2.matchTemplate() function in the OpenCV library, that is, the similarity between the preset template and each area in the target image is calculated through template matching to obtain the similarity measure between the preset template and each area in the target image. The obtained similarity measure is then compared with the preset similarity threshold. When the similarity is greater than the similarity threshold, it means that the area corresponding to the similarity is highly similar to the preset template, and the area is very likely to be the desired feature point area, so the area greater than the similarity threshold is used as the target area and the pixel position of the target area is output to obtain the coordinates of the desired feature point, that is, the detection point.

[0177] In this embodiment, accurate extraction of multiple detection points is achieved through template matching and similarity threshold comparison. The anti-interference ability of the template matching algorithm and the variability of the preset template are utilized to improve the robustness and flexibility of the control method, thereby improving the reliability and wide applicability of the robot.

[0178] Optionally, multiple detection points are screened to obtain a target detection point, including: determining a first detection point from the multiple detection points; calculating a distance from a non-first detection point to the first detection point; the non-first detection point is a detection point other than the first detection point among the multiple detection points; and taking the two non-first detection points closest to the first detection point and the first detection point as target detection points.

[0179] In this embodiment, after obtaining multiple detection points, a point is first selected from the multiple detection points as a reference, namely, the first detection point. This selection can be random or based on a specific standard (such as position, brightness, contrast, etc.). After selecting the first detection point, the distances from all non-first detection points to the first detection point, except for the first detection point, are calculated. Then, the two non-first detection points closest to the first detection point and the first detection point are used as target detection points to form a small set of only three points for subsequent target reference line fitting, thereby further reducing the amount of calculation in the straight line fitting process, improving the target reference line fitting efficiency, and improving the robot's travel direction correction efficiency and travel efficiency.

[0180] In practical applications, the least squares method can be used to perform straight line fitting on the target detection points to obtain the target reference line; the fitLine function of the image processing library (such as OpenCV) can also be used to perform straight line fitting.

[0181] Combination Fig.17 As shown, the embodiment of the present disclosure provides another robot control method, including:

[0182] S171, the processor corrects the obtained photovoltaic panel image to obtain a target image.

[0183] The photovoltaic panel image is an image of the photovoltaic panel in the current moving direction of the robot.

[0184] S172: The processor identifies the target image and obtains a target reference line.

[0185] S173: The processor determines a travel reference line according to the target reference line.

[0186] Optionally, the traveling reference line is determined in the following manner: a rectangular coordinate system is established with the acquisition direction of the photovoltaic panel image as the vertical axis; the target reference line is set to Y=kX+b, then the traveling reference line is X=b; wherein k represents the slope of the target reference line, and b represents the intercept of the target reference line.

[0187] In this embodiment, since the photovoltaic panel image is an image of the photovoltaic panel in the current direction of travel of the robot, the acquisition direction of the photovoltaic panel image can be understood as the current direction of travel of the robot. After obtaining the photovoltaic panel image, a rectangular coordinate system is established with the acquisition direction of the photovoltaic panel image as the vertical axis. And the target reference line is converted into the form of Y=k X+b, then the travel reference line is X=b. Since the vertical axis is the acquisition direction of the photovoltaic panel image, that is, the current direction of travel of the robot, X=b (a straight line parallel to the vertical axis) can be used to represent the current direction of travel of the robot. The use of a linear equation to characterize the current direction of travel of the robot is achieved.

[0188] S174, the processor calculates the angle between the target reference line and the travel reference line to obtain the offset angle of the robot.

[0189] In practical applications, the calculation of the angle between the target reference line and the travel reference line can be achieved by the dot product and module length between the vectors represented by the target reference line and the travel reference line, or by directly comparing the direction vectors of the target reference line and the travel reference line. In this embodiment, the obtained offset angle can be a positive value or a negative value, depending on whether the robot deviates from the preset travel direction to the left or to the right. Exemplarily, when the offset angle is a positive value, it indicates that the robot deviates from the preset travel direction to the right. When the offset angle is a negative value, it indicates that the robot deviates from the preset travel direction to the left.

[0190] S175, the processor controls the robot to rotate an offset angle so that the robot returns to a preset direction of travel.

[0191] In the control method of the robot provided by the embodiment of the present disclosure, the target reference line is a linear representation of the preset travel direction of the robot, that is, a linear representation of the ideal direction that the robot should face or follow. The travel reference line is a linear representation of the current actual travel direction of the robot. The embodiment of the present disclosure can determine the travel reference line of the robot, that is, the current actual travel direction of the robot, based on the target reference line, and then calculate the angle between the target reference line and the travel reference line, obtain the deviation between the current direction of the robot and the preset travel direction, that is, the offset angle, achieve accurate acquisition of the offset angle, and achieve correction of the travel direction of the robot.

[0192] Optionally, controlling the robot to rotate an offset angle includes: controlling the rotating device to be in a fixed state; controlling the adsorption device to be in a disengaged state; and controlling the rotating device to rotate an offset angle to drive the adsorption device and the mounting bracket to rotate an offset angle relative to the photovoltaic panel.

[0193] In this embodiment, the rotating device is first controlled to be in a fixed state, and then the adsorption device is controlled to be in a disengaged state, so that the rotating device is fixed to the surface of the photovoltaic panel, and the adsorption device is disengaged from the surface of the photovoltaic panel. At this time, the rotating device is controlled to rotate at an offset angle to drive the adsorption device and the mounting bracket to rotate at an offset angle relative to the photovoltaic panel, so as to realize the robot rotating at an offset angle, thereby returning the robot to a preset direction of travel. The process of controlling the rotating device to rotate can refer to the above robot structure description, and will not be repeated here, as long as the rotation angle is the offset angle.

[0194] Optionally, the control method further includes: after the rotating device drives the adsorption device and the mounting bracket to rotate 180° relative to the photovoltaic panel, switching the camera connected by the signal transmission.

[0195] In this embodiment, the robot moves along a preset path, and the controller is connected to the camera signal transmission in the direction of the robot's advance to ensure that the controller receives the image of the photovoltaic panel in the robot's current direction of travel. When the rotation device drives the adsorption device and the mounting bracket to rotate 180° relative to the photovoltaic panel, it means that the robot has "turned around" during the straight-line driving process. At this time, the camera connected to the controller signal transmission is switched to ensure that the image received by the controller is the image of the photovoltaic panel in the robot's current direction of travel.

[0196] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned robot control method.

[0197] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0198] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0199] The embodiments of the present disclosure are not limited to the structures that have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0200] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0201] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0202] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A control method for a robot used for photovoltaic panels, characterized in that: Control methods include: Correcting the obtained photovoltaic panel image to obtain a target image; the photovoltaic panel image is an image of the photovoltaic panel in the current moving direction of the robot; Identify the target image and obtain the target reference line; Determine the robot's offset angle based on the target reference line; Control the robot to rotate the offset angle to return the robot to the preset direction of travel.

2. The control method according to claim 1, characterized in that: Correct the acquired photovoltaic panel image to obtain the target image, including: Slice the photovoltaic panel image to obtain an effective area image; Perform perspective transformation on the effective area image to obtain the target image.

3. The control method according to claim 2, characterized in that: The robot includes a camera for collecting images of photovoltaic panels; the photovoltaic panel images are sliced ​​to obtain effective area images, including: Get the best viewing distance from the camera to the photovoltaic panel; Determine the effective area of ​​the photovoltaic panel image according to the optimal viewing distance; The photovoltaic panel image is sliced, the effective area is extracted, and the effective area image is obtained.

4. The control method according to claim 3, characterized in that: According to the optimal viewing distance, determine the effective area of ​​the photovoltaic panel image, including: Along the length direction of the photovoltaic panel image, determine the starting position of the effective area according to the best viewing distance; Determine the end position of the effective area according to the best viewing distance along the length direction of the photovoltaic panel image; The area between the start position and the end position is regarded as the effective area.

5. The control method according to any one of claims 1 to 4, characterized in that: Identify the target image and obtain the target reference line, including: Identify the target image and obtain multiple detection points; Screening multiple detection points to obtain target detection points; Perform straight line fitting on the target detection points to obtain the target reference line.

6. The control method according to claim 5, characterized in that: Identify the target image and obtain multiple detection points, including: Calculate the similarity between the preset template and each area in the target image; The area with similarity greater than the similarity threshold is taken as the target area; Output the pixel position of the target area and obtain multiple detection points.

7. The control method according to claim 5, characterized in that: Screen multiple detection points to obtain target detection points, including: determining a first detection point from a plurality of detection points; Calculating the distance from the non-first detection point to the first detection point; the non-first detection point is other detection points among the multiple detection points except the first detection point; The two non-first detection points closest to the first detection point and the first detection point are taken as target detection points.

8. The control method according to any one of claims 1 to 4, characterized in that: Determine the robot's offset angle based on the target reference line, including: Determine the travel reference line according to the target reference line; The angle between the target reference line and the travel reference line is calculated to obtain the offset angle of the robot.

9. The control method according to any one of claims 1 to 4, characterized in that: The robot comprises a mounting bracket, an adsorption device and a rotating device. The adsorption device and the rotating device are arranged at intervals on a side of the mounting bracket close to the photovoltaic panel. The ends of the adsorption device and the rotating device away from the mounting bracket can switch between a fixed state fixed to the surface of the photovoltaic panel and a detached state detached from the surface of the photovoltaic panel. Control the robot's rotation offset angle, including: Control the rotating device to be in a fixed state; Control the adsorption device to be in a disengaged state; The rotating device is controlled to rotate at an offset angle to drive the adsorption device and the mounting bracket to rotate at an offset angle relative to the photovoltaic panel.

10. A robot, characterized in that: include: Robot body; A controller, installed on the robot body, is configured to execute the robot control method according to any one of claims 1 to 9.