Method and device for generating cleaning path

The photovoltaic cleaning robot moves along the middle line of the photovoltaic panel and determines the steering direction independently. It combines vision and wheeled odometry to generate an arcuate cleaning path, which solves the problems of insufficient path generation accuracy and reusability in the existing technology and achieves high accuracy. Safe and versatile sweeping path generation.

CN118744137APending Publication Date: 2024-10-08SUNPURE TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410782855.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

For existing photovoltaic cleaning robots, in complex and multi-occlusion outdoor environments, the surveying and mapping equipment is susceptible to interference, resulting in a decrease in the accuracy of path generation, and a lack of reusability, making it difficult to accurately and universally generate cleaning paths.

Method used

Determine the path direction through the starting position and preset cleaning direction of the photovoltaic cleaning robot, identify the middle line of the photovoltaic panel, control the robot to move along the middle line, and independently determine the turning direction according to the cleaning path direction and the arcuate law, generate an arcuate cleaning path, and combine The visual odometer and wheel odometer are integrated to obtain accurate cleaning paths.

Benefits of technology

The accuracy and reliability of the photovoltaic cleaning robot are improved, and it is suitable for photovoltaic panels with different size layouts and with or without gate lines, reducing manual intervention, reducing costs, and realizing the versatility of adapting to different cleaning areas in one operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118744137A_ABST
    Figure CN118744137A_ABST
Patent Text Reader

Abstract

The invention discloses a cleaning path generation method and device. And according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction, the cleaning path direction is determined. And identifying the middle line of the photovoltaic panel to ensure that the photovoltaic cleaning robot advances in the middle. When the photovoltaic cleaning robot arrives at the top end of the photovoltaic array, the steering direction of each time is automatically determined according to the cleaning path direction and the arch-shaped cleaning path rule, manual intervention is reduced, and safety and reliability are improved. And controlling the photovoltaic cleaning robot to steer according to the steering direction and move and span the row, and finally obtaining a driving path as a cleaning path. While the cleaning path is accurately generated, the method is also suitable for photovoltaic panels with different sizes and layouts and with or without grid lines, maps and paths can be constructed and generated through one-time operation for different cleaning areas, and the method has good universality and adaptability. No extra base station needs to be deployed, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of photovoltaic cleaning robots, and in particular to a method and device for generating a cleaning path. Background Art

[0002] With the widespread application of solar photovoltaic power generation technology, the cleaning and maintenance of photovoltaic panels is of vital importance, which is directly related to the efficiency of power generation. Photovoltaic cleaning robots are widely used in the automatic cleaning of photovoltaic panels due to their good obstacle-crossing ability and stability. Among them, the cleaning path generation technology is the key technology to ensure that it can complete the cleaning task efficiently and accurately.

[0003] In the prior art, passive path generation is achieved by the camera on the photovoltaic cleaning robot photographing the gate lines in the photovoltaic array, thereby realizing path generation, which is powerless for photovoltaic arrays without gate lines. Active path generation is to use surveying and mapping equipment to collect points, generate maps and generate paths for the outer contours of the photovoltaic array to be cleaned in advance. However, in complex and multi-obstructed outdoor environments, surveying and mapping equipment is susceptible to interference, resulting in a decrease in the accuracy of points, maps and paths. Deploying surveying and mapping equipment base stations to improve accuracy will increase costs. In addition, for different cleaning areas, maps need to be built and paths generated, which lacks reusability. Therefore, how to accurately and universally generate cleaning paths has become a problem that needs to be solved urgently. Summary of the invention

[0004] Based on the above problems, the present application provides a method and device for generating a cleaning path to generate a cleaning path accurately and with high versatility.

[0005] The present application discloses a method for generating a cleaning path, the method comprising:

[0006] Determine the direction of the cleaning path according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction; the starting position is set on the photovoltaic array;

[0007] Identifying a center line of a photovoltaic panel in the photovoltaic array, and controlling the photovoltaic cleaning robot to move along the center line;

[0008] When the photovoltaic cleaning robot reaches the top of the photovoltaic array, the turning direction of the photovoltaic cleaning robot is determined according to the cleaning path direction and the arc-shaped cleaning path rule;

[0009] Controlling the photovoltaic cleaning robot to turn and move across rows according to the turning direction;

[0010] The path traveled by the photovoltaic cleaning robot is obtained as the cleaning path.

[0011] Optionally, the starting position is set on the photovoltaic panels at four vertices in the photovoltaic array, the preset cleaning direction includes horizontal and vertical directions, and the determining of the cleaning path direction according to the starting position and the preset cleaning direction of the photovoltaic cleaning robot includes:

[0012] When the starting position is located on the photovoltaic panel at the vertex of the lower left corner or the upper right corner of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is counterclockwise, and if the preset cleaning direction is vertical, the cleaning path direction is clockwise;

[0013] When the starting position is located on the photovoltaic panel at the upper left corner or lower right corner vertex of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is clockwise, and if the preset cleaning direction is vertical, the cleaning path direction is counterclockwise.

[0014] Optionally, the identifying a center line of a photovoltaic panel in the photovoltaic array includes:

[0015] Identify two boundaries of the photovoltaic panel to obtain data points of the two boundaries; the two boundaries are two parallel boundaries of a photovoltaic panel that are not adjacent to other photovoltaic panels;

[0016] Align and connect the data points, and obtain the middle point of the connection line;

[0017] The deviated points are eliminated from the middle points, and the retained middle points are fitted with straight lines and divided into equal intervals to generate the middle line.

[0018] Optionally, controlling the photovoltaic cleaning robot to move along the middle line includes:

[0019] Acquire images collected when the photovoltaic cleaning robot moves; the images are from a camera disposed on the photovoltaic cleaning robot;

[0020] When the middle position of the image deviates from the middle line, the photovoltaic cleaning robot is controlled to move toward the middle line.

[0021] Optionally, when the photovoltaic cleaning robot reaches the top of the photovoltaic array, determining the turning direction of the photovoltaic cleaning robot according to the cleaning path direction and the arc-shaped cleaning path rule includes:

[0022] When the photovoltaic cleaning robot recognizes the top detection mark, it is determined that the photovoltaic cleaning robot has reached the top of the photovoltaic array; the top detection mark is set at the top of the photovoltaic array;

[0023] When the photovoltaic cleaning robot reaches the top of the photovoltaic array for the first time, the turning direction is the same as the cleaning path direction;

[0024] According to the rule of the arc-shaped cleaning path, when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the second time, the turning direction is opposite to the direction of the cleaning path.

[0025] Optionally, controlling the photovoltaic cleaning robot to turn according to the turning direction and move across rows includes:

[0026] Controlling the photovoltaic cleaning robot to rotate according to the turning direction and move a preset distance;

[0027] The photovoltaic cleaning robot is controlled to rotate again according to the turning direction to complete the cross-row operation.

[0028] Optionally, controlling the photovoltaic cleaning robot to rotate according to the turning direction includes:

[0029] Controlling the photovoltaic cleaning robot to rotate 90° in the turning direction;

[0030] Performing inverse perspective transformation on the image collected when the photovoltaic cleaning robot rotates to convert it into a bird's-eye view;

[0031] Acquire the angle of the frame lines of the photovoltaic panel in the bird's-eye view; the frame lines are two parallel frame lines in the same direction as the movement direction of the robot;

[0032] If the angle is greater than a threshold, the photovoltaic cleaning robot is controlled to continue rotating until the angle is less than or equal to the threshold.

[0033] Optionally, controlling the photovoltaic cleaning robot to rotate in the turning direction and move a preset distance includes:

[0034] Control the photovoltaic cleaning robot to rotate 90° in the steering direction and move the test distance;

[0035] When the top detection mark is still recognized, the photovoltaic cleaning robot is controlled to rotate 180° and move the preset distance.

[0036] Optionally, after controlling the photovoltaic cleaning robot to rotate 180°, the method further includes:

[0037] When the top detection mark is still recognized, an abnormality is reported.

[0038] Optionally, the moving distance of the photovoltaic cleaning robot is obtained by integrating a visual odometer and a wheel odometer, and the photovoltaic cleaning robot is controlled to continue moving or stop according to the difference between the moving distance and the preset distance or the test distance.

[0039] Optionally, before starting the photovoltaic cleaning robot at the starting position, the method further includes:

[0040] The photovoltaic cleaning robot is placed at the starting position of the photovoltaic array, and control parameters are set; the control parameters include the layout of the photovoltaic array, the boundary type of the photovoltaic array along which the photovoltaic cleaning robot moves, and the length of the photovoltaic panels in the photovoltaic array.

[0041] Based on the above-mentioned method for generating a cleaning path, the present application also discloses a device for generating a cleaning path, including: a path direction determining unit, a middle line identifying unit, a steering direction determining unit, a steering unit and a path acquiring unit;

[0042] The path direction determination unit is used to determine the cleaning path direction according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction; the starting position is set on the photovoltaic array;

[0043] The middle line recognition unit is used to recognize the middle line of the photovoltaic panels in the photovoltaic array and control the photovoltaic cleaning robot to move along the middle line;

[0044] The turning direction determining unit is used to determine the turning direction of the photovoltaic cleaning robot according to the cleaning path direction and the arc-shaped cleaning path rule when the photovoltaic cleaning robot reaches the top of the photovoltaic array;

[0045] The steering unit is used to control the photovoltaic cleaning robot to turn and move across the rows according to the steering direction;

[0046] The path acquisition unit is used to acquire the path traveled by the photovoltaic cleaning robot as a cleaning path.

[0047] Optionally, the starting position is set on the photovoltaic panels at four vertices in the photovoltaic array, the preset cleaning direction includes horizontal and vertical directions, and the path direction determination unit includes:

[0048] A first direction determination subunit is used for, when the starting position is located on the photovoltaic panel at the vertex of the lower left corner or the upper right corner of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is counterclockwise, and if the preset cleaning direction is vertical, the cleaning path direction is clockwise;

[0049] The second direction determination subunit is used for when the starting position is located on the photovoltaic panel at the upper left corner or lower right corner vertex of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is clockwise, and if the preset cleaning direction is vertical, the cleaning path direction is counterclockwise.

[0050] Optionally, the middle line identification unit includes:

[0051] A data point acquisition subunit is used to identify two boundaries of the photovoltaic panel and obtain data points of the two boundaries; the two boundaries are two parallel boundaries of a photovoltaic panel that are not adjacent to other photovoltaic panels;

[0052] A midpoint acquisition subunit, used to align and connect the data points, and acquire the midpoint of the connection;

[0053] The middle line generation subunit is used to remove the deviated points of the middle points, and perform straight line fitting and equidistant division on the retained middle points to generate the middle line.

[0054] Optionally, the middle line identification unit includes:

[0055] An image acquisition subunit, used to acquire images acquired when the photovoltaic cleaning robot moves; the images come from a camera arranged on the photovoltaic cleaning robot;

[0056] The centering control subunit is used to control the photovoltaic cleaning robot to move toward the middle line when the middle position of the image deviates from the middle line.

[0057] Optionally, the steering direction determining unit includes:

[0058] A mark recognition subunit, used for judging that the photovoltaic cleaning robot reaches the top of the photovoltaic array when the photovoltaic cleaning robot recognizes the top detection mark; the top detection mark is set at the top of the photovoltaic array;

[0059] A first turning subunit, used for turning in the same direction as the cleaning path direction when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the first time;

[0060] The re-steering subunit is used to turn the direction opposite to the direction of the cleaning path when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the second time according to the rule of the bow-shaped cleaning path.

[0061] Optionally, the steering unit comprises:

[0062] A rotating subunit, used to control the photovoltaic cleaning robot to rotate in the turning direction and move a preset distance;

[0063] The cross-row sub-unit is used to control the photovoltaic cleaning robot to rotate again in the turning direction to complete the cross-row.

[0064] Optionally, the rotating subunit comprises:

[0065] A rotating subunit is preset to control the photovoltaic cleaning robot to rotate 90° in the turning direction;

[0066] An image transformation subunit, used for performing inverse perspective transformation on the image collected when the photovoltaic cleaning robot rotates, and converting it into a bird's-eye view;

[0067] An angle acquisition subunit, used to acquire the angle of the frame lines of the photovoltaic panel in the bird's-eye view; the frame lines are two parallel frame lines in the same direction as the movement direction of the robot;

[0068] The continuous rotation subunit is used to control the photovoltaic cleaning robot to continuously rotate until the angle is less than or equal to the threshold if the angle is greater than the threshold.

[0069] Optionally, the rotating subunit comprises:

[0070] A test steering subunit, used to control the photovoltaic cleaning robot to rotate 90° in the steering direction and move a test distance;

[0071] The correction steering subunit is used to control the photovoltaic cleaning robot to rotate 180° and move the preset distance when the top detection mark is still recognized.

[0072] Optionally, the device further comprises:

[0073] The abnormality reporting unit is used to report the abnormality when the top detection mark is still recognized.

[0074] Optionally, the moving distance of the photovoltaic cleaning robot is obtained by integrating a visual odometer and a wheel odometer, and the photovoltaic cleaning robot is controlled to continue moving or stop according to the difference between the moving distance and the preset distance or the test distance.

[0075] Optionally, the device further comprises:

[0076] A control parameter setting unit is used to place the photovoltaic cleaning robot at the starting position of the photovoltaic array and set control parameters; the control parameters include the layout of the photovoltaic array, the boundary type of the photovoltaic array along which the photovoltaic cleaning robot moves, and the length of the photovoltaic panels in the photovoltaic array.

[0077] The present application discloses a method and device for generating a cleaning path. According to the starting position of the photovoltaic cleaning robot and the preset cleaning direction, the cleaning path direction is determined. The center line of the photovoltaic panel is identified to ensure that the photovoltaic cleaning robot moves in the center. When the photovoltaic cleaning robot reaches the top of the photovoltaic array, it autonomously determines the direction of each turn according to the cleaning path direction and the law of the bow-shaped cleaning path, reducing manual intervention and improving safety and reliability. The photovoltaic cleaning robot is controlled to turn and move across the row according to the turning direction, and finally the path traveled is obtained as the cleaning path. While accurately generating the cleaning path, the present application is also suitable for photovoltaic panels of different sizes and layouts, with or without gate lines. For different cleaning areas, a map can be constructed and a path can be generated in one run, with good versatility and adaptability. There is no need to deploy additional base stations, and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0079] Figure 1a A schematic flow chart of a method for generating a cleaning path disclosed in an embodiment of the present application;

[0080] Figure 1b This is a schematic diagram of the starting position disclosed in the embodiment of the present application;

[0081] Figure 1c This is a schematic diagram of the camera installation disclosed in the embodiment of this application;

[0082] Figure 1d A schematic diagram of a cleaning path disclosed in an embodiment of the present application;

[0083] Figure 2 A flowchart of another method for generating a cleaning path disclosed in an embodiment of the present application;

[0084] Figure 3 A schematic diagram of the structure of a cleaning path generation device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0085] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0086] Embodiment 1: This application discloses a method for generating a cleaning path.

[0087] For details, please refer to Figure 1a , a method for generating a cleaning path disclosed in this embodiment includes the following steps:

[0088] Step 101: Determine the direction of the cleaning path according to the starting position and the preset cleaning direction of the photovoltaic cleaning robot.

[0089] In the method described in this embodiment, it is first necessary to place the photovoltaic cleaning robot at the starting position of the photovoltaic array and set the control parameters. The control parameters include the layout of the photovoltaic array (such as the number of rows and columns), the boundary type of the photovoltaic array along which the photovoltaic cleaning robot moves (such as the long side or the short side), and the length of the photovoltaic panel in the photovoltaic array. As an optional method, the control parameters can be data such as 3 rows and 4 columns, the photovoltaic cleaning robot moves along the long side, the long side of the photovoltaic panel is 5m, and the short side of the photovoltaic panel is 3m.

[0090] In the method described in this embodiment, the starting position is set on the photovoltaic array. Figure 1b This is a schematic diagram of the starting position disclosed in the embodiment of this application, such as Figure 1b As shown, the starting position can be specifically set on the photovoltaic panels at the four vertices in the photovoltaic array, that is, the photovoltaic panels marked 1, 2, 3, and 4 in the figure. The preset cleaning direction includes horizontal and vertical directions.

[0091] In the method described in this embodiment, when the starting position is located at the photovoltaic panel at the lower left corner or upper right corner of the photovoltaic array, that is, Figure 1b When the starting position is located at the photovoltaic panel at the top left or bottom right corner of the photovoltaic array, that is, Figure 1b When the photovoltaic panel is marked with 2 or 4, if the preset cleaning direction is horizontal, the cleaning path direction is clockwise, and if the preset cleaning direction is vertical, the cleaning path direction is counterclockwise.

[0092] In the method described in this embodiment, the starting position and the preset cleaning direction can be set according to needs. The coordinates, labels, and contents of the preset cleaning direction of the starting position are not specifically limited here, and the direction of the cleaning path can be determined based on them.

[0093] Step 102: Identify the center line of the photovoltaic panels in the photovoltaic array, and control the photovoltaic cleaning robot to move along the center line.

[0094] In the method described in this embodiment, the image data input into the deep learning model is the key to achieving accurate boundary recognition and path generation, and the image acquisition quality is closely related to the installation position and angle of the camera. To ensure the best image acquisition effect, a camera can be fixedly installed at the top front end of the photovoltaic cleaning robot. The camera can be pointed to the front and bottom of the robot, and needs to be adjusted to an optimal tilt angle so that the lower boundary of the camera's field of view just covers the position of the front end of the photovoltaic cleaning robot, thereby ensuring that the image of the photovoltaic panel boundary can be effectively captured.

[0095] As an alternative method, Figure 1c Taking the tracked photovoltaic cleaning robot shown in the figure as an example, the camera is installed on the top front side of the tracked photovoltaic cleaning robot. The camera is installed at an angle downward, and the lower edge of the image it captures is at the upper edge of the roller brush. The size of the camera output image can be 1280x720. Before the photovoltaic cleaning robot is deployed, it is necessary to collect image data of different types of photovoltaic panels under various working conditions as a deep learning data set to train the photovoltaic cleaning robot's ability to identify the boundaries of photovoltaic panels.

[0096] In the method described in this embodiment, the photovoltaic cleaning robot needs to identify two boundaries of the photovoltaic panel, which are two parallel boundaries of a photovoltaic panel that are not adjacent to other photovoltaic panels. The data points of the two boundaries can be identified as a set of discrete coordinate points, so the data points need to be aligned. Then the data points of the two boundaries are connected to obtain multiple connecting lines, and the middle points of the connecting lines are calculated. The middle points are deviated and eliminated, and the retained middle points are fitted with straight lines and divided equally to generate the middle line.

[0097] In the method described in this embodiment, images collected when the photovoltaic cleaning robot moves are obtained. When the middle position of the image deviates from the middle line, the pixel distance of the middle position deviating from the middle line is calculated. The steering angle is calculated through the PID algorithm and the photovoltaic cleaning robot is controlled to move toward the middle line.

[0098] Step 103: When the photovoltaic cleaning robot reaches the top of the photovoltaic array, the turning direction of the photovoltaic cleaning robot is determined according to the cleaning path direction and the arc-shaped cleaning path rule.

[0099] In the method described in this embodiment, when the photovoltaic cleaning robot recognizes the top detection mark set at the top of the photovoltaic array, it is judged that the photovoltaic cleaning robot has reached the top of the photovoltaic array, that is, the next photovoltaic panel does not need to be cleaned by the photovoltaic cleaning robot or does not exist.

[0100] In the method described in this embodiment, when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the first time, the turning direction is the same as the direction of the cleaning path. And according to the rule of the bow-shaped cleaning path, when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the second time, the turning direction is opposite to the direction of the cleaning path. For example, if the determined cleaning path direction is clockwise, the photovoltaic cleaning robot rotates clockwise when it reaches the top of the photovoltaic array for the first time. When it reaches the top of the photovoltaic array for the second time, it rotates counterclockwise.

[0101] Step 104: Control the photovoltaic cleaning robot to turn according to the turning direction and move across the rows.

[0102] In the method described in this embodiment, the photovoltaic cleaning robot is controlled to rotate in the steering direction and move a preset distance. Afterwards, the photovoltaic cleaning robot is controlled to rotate again in the steering direction to complete the cross-row. Specifically, the photovoltaic cleaning robot is controlled to rotate 90° in the steering direction and move the test distance. When the top detection mark is still recognized, it means that the steering direction is wrong, then the photovoltaic cleaning robot is controlled to rotate 180° and then move the preset distance. If the top detection mark can still be recognized at this time, it is regarded as an abnormality and the abnormality is reported. Among them, the test distance can be one-quarter of the width of the photovoltaic panel, and the preset distance can be half the width of the photovoltaic panel. The test distance and preset distance here are examples. In actual operation, they can be set according to needs.

[0103] As an optional method, after controlling the photovoltaic cleaning robot to rotate in the direction of the turn, the image collected when the photovoltaic cleaning robot rotates can be subjected to an inverse perspective transformation. Since the camera is shooting obliquely downward, in the collected image, the two parallel photovoltaic panel border lines in the same direction as the robot's movement are tilted. Therefore, it is necessary to convert the collected oblique view into a bird's-eye view, and then obtain the border lines of the photovoltaic panel in the bird's-eye view. At this time, the angle of the border line can be detected. If the angle is greater than a threshold, it means that the rotation is not sufficient, and the photovoltaic cleaning robot is controlled to continue rotating until the angle is less than or equal to the threshold.

[0104] In the method described in this embodiment, the moving distance of the photovoltaic cleaning robot is obtained by fusion of the visual odometer and the wheel odometer, and the photovoltaic cleaning robot is controlled to continue to move or stop according to the difference between the moving distance and the preset distance or the test distance. As an optional method, the difference value can be obtained to determine whether it is within the preset difference range. If so, the photovoltaic cleaning robot is controlled to stop moving. Otherwise, the photovoltaic cleaning robot is controlled to continue to move until the difference value is within the preset difference range.

[0105] Step 105: Acquire the path traveled by the photovoltaic cleaning robot as the cleaning path.

[0106] In the method described in this embodiment, the arcuate cleaning path finally generated is as follows: Figure 1d As shown, it can be seen that the photovoltaic cleaning robot needs to rotate twice each time it turns, the directions of these two rotations are consistent, and the turning directions of each two adjacent turns are opposite.

[0107] The method described in this embodiment can adapt to different sunlight environments, avoid direct sunlight, and reduce the impact on the image through a camera that is tilted downward. It supports autonomously determining the direction of rotation each time based on the top detection mark and the law of the bow-shaped cleaning path. And using deep learning technology, it can accurately identify the boundaries of photovoltaic panels in complex environments and generate a middle line for centering. Add secondary rotation angle detection to ensure that the photovoltaic cleaning robot completes the rotation according to the angle of the border line. And adopt a visual odometer solution, integrate the wheel speed odometer to accurately calculate the travel distance, accurately control the moving distance, and use the PID algorithm to automatically adjust the direction, reduce manual intervention, and improve the safety and reliability of operation. In addition, it has wide versatility and applicability, and can be applied to photovoltaic panels of different sizes, with or without gate lines.

[0108] Embodiment 2: This application discloses another method for generating a cleaning path. Figure 2 The method described in this embodiment introduces the entire process of a photovoltaic cleaning robot generating and rotating and crossing rows according to a cleaning path.

[0109] Step 201: Start the photovoltaic cleaning robot at the starting position.

[0110] Step 202: Identify the center line of the photovoltaic panels in the photovoltaic array, and control the photovoltaic cleaning robot to move along the center line.

[0111] In the method described in this embodiment, if the middle line of the photovoltaic panel in the photovoltaic array cannot be identified, an abnormality is reported.

[0112] Step 203: Determine whether the top of the photovoltaic array has been reached. If yes, proceed to step 204. If no, repeat step 202.

[0113] Step 204: Determine whether the turning direction has been determined. If yes, proceed to step 205. If no, proceed to step 209.

[0114] Step 205: Control the photovoltaic cleaning robot to rotate 90° according to the turning direction, and proceed to step 206.

[0115] Step 206: Determine whether the photovoltaic panel is fully rotated according to the angle of the frame line. If yes, proceed to step 207. If no, proceed to step 208.

[0116] Step 207: Control the photovoltaic cleaning robot to move to the next photovoltaic panel, and rotate 90° in the turning direction again until the rotation is complete, thus completing the row crossing.

[0117] Step 208: Control the photovoltaic cleaning robot to continue rotating, and repeat step 206.

[0118] Step 209: Control the photovoltaic cleaning robot to rotate 90° clockwise.

[0119] Step 210: Determine whether the photovoltaic panel is fully rotated according to the angle of the frame line. If yes, proceed to step 211. If no, proceed to step 212.

[0120] Step 211: Control the photovoltaic cleaning robot to move half the width of the photovoltaic panel and determine whether it reaches the top of the photovoltaic array. If yes, proceed to step 213. If no, proceed to step 214.

[0121] Step 212: Control the photovoltaic cleaning robot to continue rotating, and repeat step 210.

[0122] Step 213: Control the photovoltaic cleaning robot to rotate 180° and repeat step 206.

[0123] Step 214: Control the photovoltaic cleaning robot to move half the width of the photovoltaic panel and rotate 90° clockwise until it is fully rotated to complete the row crossing.

[0124] Based on the method for generating a cleaning path disclosed in the above embodiment, this embodiment correspondingly discloses a device for generating a cleaning path. Figure 3 , the cleaning path generation device comprises: a path direction determination unit 301, a middle line identification unit 302, a steering direction determination unit 303, a steering unit 304 and a path acquisition unit 305;

[0125] The path direction determination unit 301 is used to determine the cleaning path direction according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction; the starting position is set on the photovoltaic array;

[0126] The middle line identification unit 302 is used to identify the middle line of the photovoltaic panels in the photovoltaic array and control the photovoltaic cleaning robot to move along the middle line;

[0127] The turning direction determining unit 303 is used to determine the turning direction of the photovoltaic cleaning robot according to the cleaning path direction and the arc-shaped cleaning path rule when the photovoltaic cleaning robot reaches the top of the photovoltaic array;

[0128] The steering unit 304 is used to control the photovoltaic cleaning robot to turn and move across the rows according to the steering direction;

[0129] The path acquisition unit 305 is used to acquire the path traveled by the photovoltaic cleaning robot as a cleaning path.

[0130] Optionally, the starting position is set on the photovoltaic panels at four vertices in the photovoltaic array, the preset cleaning direction includes horizontal and vertical directions, and the path direction determination unit 301 includes:

[0131] A first direction determination subunit is used for, when the starting position is located on the photovoltaic panel at the vertex of the lower left corner or the upper right corner of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is counterclockwise, and if the preset cleaning direction is vertical, the cleaning path direction is clockwise;

[0132] The second direction determination subunit is used for when the starting position is located on the photovoltaic panel at the upper left corner or lower right corner vertex of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is clockwise, and if the preset cleaning direction is vertical, the cleaning path direction is counterclockwise.

[0133] Optionally, the middle line identification unit 302 includes:

[0134] A data point acquisition subunit is used to identify two boundaries of the photovoltaic panel and obtain data points of the two boundaries; the two boundaries are two parallel boundaries of a photovoltaic panel that are not adjacent to other photovoltaic panels;

[0135] A midpoint acquisition subunit, used to align and connect the data points, and acquire the midpoint of the connection;

[0136] The middle line generation subunit is used to remove the deviated points of the middle points, and perform straight line fitting and equidistant division on the retained middle points to generate the middle line.

[0137] Optionally, the middle line identification unit 302 includes:

[0138] An image acquisition subunit, used to acquire images acquired when the photovoltaic cleaning robot moves; the images come from a camera arranged on the photovoltaic cleaning robot;

[0139] The centering control subunit is used to control the photovoltaic cleaning robot to move toward the middle line when the middle position of the image deviates from the middle line.

[0140] Optionally, the steering direction determining unit 303 includes:

[0141] A mark recognition subunit, used for judging that the photovoltaic cleaning robot reaches the top of the photovoltaic array when the photovoltaic cleaning robot recognizes the top detection mark; the top detection mark is set at the top of the photovoltaic array;

[0142] A first turning subunit, used for turning in the same direction as the cleaning path direction when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the first time;

[0143] The re-steering subunit is used to turn the direction opposite to the direction of the cleaning path when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the second time according to the rule of the bow-shaped cleaning path.

[0144] Optionally, the steering unit 304 includes:

[0145] A rotating subunit, used to control the photovoltaic cleaning robot to rotate in the turning direction and move a preset distance;

[0146] The cross-row sub-unit is used to control the photovoltaic cleaning robot to rotate again in the turning direction to complete the cross-row.

[0147] Optionally, the rotating subunit comprises:

[0148] A rotating subunit is preset to control the photovoltaic cleaning robot to rotate 90° in the turning direction;

[0149] An image transformation subunit, used for performing inverse perspective transformation on the image collected when the photovoltaic cleaning robot rotates, and converting it into a bird's-eye view;

[0150] An angle acquisition subunit, used to acquire the angle of the frame lines of the photovoltaic panel in the bird's-eye view; the frame lines are two parallel frame lines in the same direction as the movement direction of the robot;

[0151] The continuous rotation subunit is used to control the photovoltaic cleaning robot to continuously rotate until the angle is less than or equal to the threshold if the angle is greater than the threshold.

[0152] Optionally, the rotating subunit comprises:

[0153] A test steering subunit, used to control the photovoltaic cleaning robot to rotate 90° in the steering direction and move a test distance;

[0154] The correction steering subunit is used to control the photovoltaic cleaning robot to rotate 180° and move the preset distance when the top detection mark is still recognized.

[0155] Optionally, the device further comprises:

[0156] The abnormality reporting unit is used to report the abnormality when the top detection mark is still recognized.

[0157] Optionally, the moving distance of the photovoltaic cleaning robot is obtained by integrating a visual odometer and a wheel odometer, and the photovoltaic cleaning robot is controlled to continue moving or stop according to the difference between the moving distance and the preset distance or the test distance.

[0158] Optionally, the device further comprises:

[0159] A control parameter setting unit is used to place the photovoltaic cleaning robot at the starting position of the photovoltaic array and set control parameters; the control parameters include the layout of the photovoltaic array, the boundary type of the photovoltaic array along which the photovoltaic cleaning robot moves, and the length of the photovoltaic panels in the photovoltaic array.

[0160] The embodiments in this specification are described in a progressive manner. As for the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the methods.

[0161] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0162] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0163] The features described in the embodiments of this specification can be replaced or combined with each other, so that professional and technical personnel in this field can implement or use the present application.

[0164] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for generating a cleaning path, characterized in that: include: Determine the direction of the cleaning path according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction; the starting position is set on the photovoltaic array; Identifying a center line of a photovoltaic panel in the photovoltaic array, and controlling the photovoltaic cleaning robot to move along the center line; When the photovoltaic cleaning robot reaches the top of the photovoltaic array, the turning direction of the photovoltaic cleaning robot is determined according to the cleaning path direction and the arc-shaped cleaning path rule; Controlling the photovoltaic cleaning robot to turn and move across rows according to the turning direction; The path traveled by the photovoltaic cleaning robot is obtained as the cleaning path.

2. The method according to claim 1, characterized in that The starting position is set on the photovoltaic panels at four vertices in the photovoltaic array, the preset cleaning direction includes horizontal and vertical directions, and the cleaning path direction is determined according to the starting position and the preset cleaning direction of the photovoltaic cleaning robot, including: When the starting position is located on the photovoltaic panel at the vertex of the lower left corner or the upper right corner of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is counterclockwise, and if the preset cleaning direction is vertical, the cleaning path direction is clockwise; When the starting position is located on the photovoltaic panel at the upper left corner or lower right corner vertex of the photovoltaic array, if the preset cleaning direction is horizontal, the cleaning path direction is clockwise, and if the preset cleaning direction is vertical, the cleaning path direction is counterclockwise.

3. The method according to claim 1, characterized in that The identifying the middle line of the photovoltaic panels in the photovoltaic array comprises: Identify two boundaries of the photovoltaic panel to obtain data points of the two boundaries; the two boundaries are two parallel boundaries of a photovoltaic panel that are not adjacent to other photovoltaic panels; Align and connect the data points, and obtain the middle point of the connection line; The deviated points are eliminated from the middle points, and the retained middle points are fitted with straight lines and divided into equal intervals to generate the middle line.

4. The method according to claim 1, characterized in that The controlling the photovoltaic cleaning robot to move along the middle line comprises: Acquire images collected when the photovoltaic cleaning robot moves; the images are from a camera disposed on the photovoltaic cleaning robot; When the middle position of the image deviates from the middle line, the photovoltaic cleaning robot is controlled to move toward the middle line.

5. The method according to claim 1, characterized in that: When the photovoltaic cleaning robot reaches the top of the photovoltaic array, determining the turning direction of the photovoltaic cleaning robot according to the cleaning path direction and the arc-shaped cleaning path rule includes: When the photovoltaic cleaning robot recognizes the top detection mark, it is determined that the photovoltaic cleaning robot has reached the top of the photovoltaic array; the top detection mark is set at the top of the photovoltaic array; When the photovoltaic cleaning robot reaches the top of the photovoltaic array for the first time, the turning direction is the same as the cleaning path direction; According to the rule of the arc-shaped cleaning path, when the photovoltaic cleaning robot reaches the top of the photovoltaic array for the second time, the turning direction is opposite to the direction of the cleaning path.

6. The method according to claim 1, characterized in that The controlling the photovoltaic cleaning robot to turn according to the turning direction and move across the rows includes: Controlling the photovoltaic cleaning robot to rotate according to the turning direction and move a preset distance; The photovoltaic cleaning robot is controlled to rotate again according to the turning direction to complete the cross-row operation.

7. The method according to claim 6, characterized in that The controlling the photovoltaic cleaning robot to rotate according to the turning direction comprises: Controlling the photovoltaic cleaning robot to rotate 90° in the turning direction; Performing inverse perspective transformation on the image collected when the photovoltaic cleaning robot rotates to convert it into a bird's-eye view; Acquire the angle of the frame lines of the photovoltaic panel in the bird's-eye view; the frame lines are two parallel frame lines in the same direction as the movement direction of the robot; If the angle is greater than a threshold, the photovoltaic cleaning robot is controlled to continue rotating until the angle is less than or equal to the threshold.

8. The method according to claim 7, characterized in that The step of controlling the photovoltaic cleaning robot to rotate in the turning direction and move a preset distance includes: Control the photovoltaic cleaning robot to rotate 90° in the steering direction and move the test distance; When the top detection mark is still recognized, the photovoltaic cleaning robot is controlled to rotate 180° and move the preset distance.

9. The method according to claim 8, characterized in that After controlling the photovoltaic cleaning robot to rotate 180°, the method further includes: When the top detection mark is still recognized, an abnormality is reported.

10. The method according to any one of claims 1 to 9, characterized in that: The moving distance of the photovoltaic cleaning robot is obtained by integrating the visual odometer and the wheel odometer, and the photovoltaic cleaning robot is controlled to move continuously or stop according to the difference between the moving distance and the preset distance or the test distance.

11. The method according to claim 1, characterized in that: Before starting the photovoltaic cleaning robot at the starting position, the method further includes: The photovoltaic cleaning robot is placed at the starting position of the photovoltaic array, and control parameters are set; the control parameters include the layout of the photovoltaic array, the boundary type of the photovoltaic array along which the photovoltaic cleaning robot moves, and the length of the photovoltaic panels in the photovoltaic array.

12. A device for generating a cleaning path, characterized in that: include: a path direction determination unit, a middle line identification unit, a steering direction determination unit, a steering unit and a path acquisition unit; The path direction determination unit is used to determine the cleaning path direction according to the starting position of the photovoltaic cleaning robot and the preset cleaning direction; the starting position is set on the photovoltaic array; The middle line recognition unit is used to recognize the middle line of the photovoltaic panels in the photovoltaic array and control the photovoltaic cleaning robot to move along the middle line; The turning direction determining unit is used to determine the turning direction of the photovoltaic cleaning robot according to the cleaning path direction and the arc-shaped cleaning path rule when the photovoltaic cleaning robot reaches the top of the photovoltaic array; The steering unit is used to control the photovoltaic cleaning robot to turn and move across the rows according to the steering direction; The path acquisition unit is used to acquire the path traveled by the photovoltaic cleaning robot as a cleaning path.

Citation Information

Patent Citations

  • Photovoltaic panel cleanliness detection method based on low-rank constraint

    CN106546601A

  • Cleaning robot positioning method and storage medium

    CN112381852A

  • Robot, control method thereof and data processing equipment

    CN114986495A

  • Control method of photovoltaic cleaning robot and related equipment

    CN115981303A

  • Method and device for cleaning photovoltaic module

    CN116054719A