Path planning control method for cleaning and photovoltaic robot
Through path planning control methods and visual recognition technology, photovoltaic robots can efficiently clean photovoltaic panels and avoid missing wipes, solving the problems of low cleaning efficiency and missed wipes in the existing technology.
Patent Information
- Application Number
- CN202410739886.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
AI Technical Summary
It is difficult for existing photovoltaic robots to balance high efficiency and avoid missed wipes when cleaning photovoltaic panels, resulting in low cleaning efficiency and prone to missed wipes.
A path planning control method is designed, which uses a visual camera to identify the straight lines and edges of the photovoltaic panel, and controls the angle and distance to make the photovoltaic robot move along the selected straight line. Combined with the PID control system, it ensures that the robot is efficient along the edge of the photovoltaic panel. clean.
The cleaning path of the photovoltaic robot is realized to be more efficient, the occurrence of missing wipes is avoided, and the cleaning efficiency of the photovoltaic panel is improved.
Smart Images

Figure CN118732682A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic panel cleaning, and in particular to a path planning control method for cleaning and a photovoltaic robot. Background Art
[0002] With the increasing global demand for renewable energy and the continuous expansion of photovoltaic power stations, the downstream industry has a strong demand for efficient and economical new energy operation and maintenance solutions. As an effective tool to improve operation and maintenance efficiency and reduce labor costs, the market demand for photovoltaic cleaning robots is increasing day by day, which also puts higher requirements on R&D personnel to update and iterate R&D results.
[0003] The photovoltaic panels that photovoltaic robots clean are generally flat, and are generally deployed in a way that multiple panels are spliced together to form one or more rows, and the four sides of the one or more rows of panels are generally unobstructed. When the photovoltaic robot moves and cleans the photovoltaic panel, it is necessary to judge the edge of the photovoltaic panel to prevent the photovoltaic robot from falling from top to bottom. In the prior art, the robot's cleaning work on photovoltaic panels either pursues high efficiency, which makes it easy to miss, or increases the cleaning time to reduce the chance of missing, which is difficult to achieve. Therefore, in response to the above problems, the industry has not yet proposed a reasonable solution that can effectively avoid missing while improving the cleaning efficiency of photovoltaic panels. Summary of the invention
[0004] The technical problem to be solved by the present invention is: how to design a path planning control for cleaning, which can make the cleaning path of the photovoltaic robot more efficient, and effectively avoid the occurrence of missed cleaning while improving the cleaning efficiency of the photovoltaic panel.
[0005] In the process of developing a robot automated cleaning solution for photovoltaic panel cleaning scenarios, the inventor proposed a path planning control method and a photovoltaic robot for cleaning. A visual camera is provided at the bottom of the photovoltaic robot. The visual camera's viewing angle can cover at least one sub-cell block. The visual camera is used to identify the straight line of the sub-cell block within the visual range through a visual algorithm, and obtain the vertical distance from the reference origin to the straight line and the angle between the straight line and the horizontal axis, which is perpendicular to the direction of the machine head. Furthermore, according to actual conditions, the horizontal axis can be the x-axis or the y-axis, and the formula for conversion to the rectangular coordinate system is as follows:
[0006] ρ=xcosθ+ysinθ
[0007] Among them, see Figure 3 , when the machine moves parallel to the straight line and θ approaches the value of zero, the value of the distance x from the machine to the straight line is equal to the value of ρ.
[0008] Because the visual range is larger than a sub-cell block, when the photovoltaic robot moves parallel to a straight line, two straight lines will appear in the perpendicular direction of the movement direction. The size of the sub-cell block can be calculated by proportional conversion. Combining the movement of the photovoltaic robot and the edge detection of the photovoltaic panel, the number of sub-cell blocks in the length and width directions of the photovoltaic panel can be calculated, thereby calculating the size of the photovoltaic panel.
[0009] With the information of the offset distance ρ and angle θ of the photovoltaic robot relative to the white lines between the sub-battery blocks, the photovoltaic robot can be controlled to move along the selected straight line; the photovoltaic robot, that is, the machine moves parallel to the straight line, which can be decomposed into angle control and distance control.
[0010] Angle control: Control the speed of the left and right wheels of the machine to keep the movement direction of the machine parallel to the straight line;
[0011] Distance control: Control the distance from the machine origin to the straight line by adjusting the deviation angle between the machine's movement direction and the straight line.
[0012] When the photovoltaic robot starts to move, the initial distance td is obtained, and the distance control uses a proportional control method, that is, the output out_d of the distance control is proportional to the difference between the distances, that is, the difference between the real-time distance and the initial distance. Among them, the output out_d of the distance control is converted as the input of the angle control. The angle control system is as follows Figure 4 shown.
[0013] Furthermore, the transfer function of the angle PID control is as follows:
[0014]
[0015] Among them, Kp is proportional control, that is, the difference between the input target angle and the current angle is multiplied by a certain proportional coefficient; Kd is differential control, that is, it is inversely proportional to the angular velocity and plays a damping role; Ki is integral control, that is, the accumulation of proportional control, which can reduce the cumulative error.
[0016] Furthermore, the present invention proposes a path planning control method for cleaning, which is used for a control unit inside a photovoltaic robot, and the photovoltaic robot is placed on a photovoltaic panel. The path planning control method includes: S1, receiving a cleaning action instruction, and identifying a starting position of the photovoltaic robot relative to the photovoltaic panel; S2, obtaining correlation parameters between the photovoltaic panel and the photovoltaic robot, and planning a target cleaning path of the photovoltaic robot based on the correlation parameters.
[0017] Its further technical solution is that the acquisition of the associated parameters between the photovoltaic panel and the photovoltaic robot, and the planning of the target cleaning path of the photovoltaic robot according to the associated parameters, includes: S11, identifying the attitude angle of the photovoltaic panel relative to the horizontal plane, and establishing the xyz axis coordinate system with the horizontal plane below the photovoltaic panel as the reference; S12, reading the attitude angle of the xy direction corresponding to the photovoltaic robot, and calculating the maximum inclination angle a of the photovoltaic panel relative to the horizontal plane; S13, judging whether the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than the preset deviation angle; S14, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is not less than the preset deviation angle, adjusting the head direction of the photovoltaic robot to reduce the difference; S15, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than the preset deviation angle, controlling the photovoltaic robot to move to the edge of the bottom of the photovoltaic panel. Among them, the specific method of establishing the xyz axis coordinate system with the horizontal plane as the reference, and the angles of the x-axis, y-axis and z-axis are all known to those skilled in the art.
[0018] Its further technical solution is that after the photovoltaic robot is controlled to move to the edge of the bottom of the photovoltaic panel, the method further includes: S21, controlling the photovoltaic robot to move to the edge of the top of the photovoltaic panel, calculating the vertical distance of the photovoltaic panel, and retreating the distance of half the body of the photovoltaic robot, rotating the body 90 degrees counterclockwise, and moving horizontally to the edge of the side of the photovoltaic panel; S22, controlling the photovoltaic robot to rotate 180 degrees on the spot, moving horizontally to the edge of the other side of the photovoltaic panel, and calculating the horizontal length of the photovoltaic panel; S23, controlling the photovoltaic robot to retreat a safe distance, judging whether the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than or equal to the distance L2. S24, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, the photovoltaic robot is controlled to move downward along the photovoltaic panel for a body distance, and the photovoltaic robot rotates 90 degrees clockwise on the spot; S25, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the width of the photovoltaic robot, when the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, and the photovoltaic robot rotates 90 degrees clockwise on the spot. Among them, after moving horizontally to the edge of the side of the photovoltaic panel in step S21, since the entire photovoltaic panel has not been traversed, the specifications of the entire photovoltaic panel cannot be measured at this time; on the photovoltaic panel, the specific direction and specific angle of the photovoltaic robot moving forward or backward are known to those skilled in the art; the difference distance between the first distance L1 and half of the second distance L2 is calculated in the order of half of the known second distance L2, and then the difference with the first distance L1 is calculated; further, the photovoltaic robot includes a fuselage, the distance of the fuselage is length or width, and the retreat safety distance is based on the length of the fuselage of the photovoltaic robot, and the specific retreat method is well known in the art.
[0019] Its further technical solution is that after the photovoltaic robot rotates 90 degrees clockwise on the spot, the method further includes: after the photovoltaic robot rotates 90 degrees clockwise on the spot, the method further includes: S31, controlling the photovoltaic robot to move forward until the edge of the side of the photovoltaic panel is detected; S32, controlling the photovoltaic robot to retreat a safe distance, rotating 90 degrees counterclockwise on the spot, and judging whether the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the body width of the photovoltaic robot, that is, the second distance L2; S33, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the body width of the photovoltaic robot, Control the photovoltaic robot to move downward along the photovoltaic panel by a fuselage distance, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel; S34, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the fuselage width of the photovoltaic robot, when the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel. Wherein, the first distance L1 corresponds to the distance between the photovoltaic robot and the bottom edge of the photovoltaic panel, and the second distance L2 corresponds to 1.5 times the fuselage width of the photovoltaic robot; when the first distance L1 is not greater than half of the second distance L2, directly proceed to the step of completing the cleaning of the photovoltaic panel.
[0020] Its further technical solution is that the acquisition of the associated parameters between the photovoltaic panel and the photovoltaic robot, and the planning of the target cleaning path of the photovoltaic robot according to the associated parameters, includes: identifying the attitude angle of the photovoltaic panel relative to the horizontal plane, and establishing an XYZ axis coordinate system based on the plane where the photovoltaic panel is located; controlling the photovoltaic robot to measure the X-axis length of the photovoltaic panel and the Y-axis length of the photovoltaic panel; calculating the number of axial cleaning rounds according to the X-axis length of the photovoltaic panel and the Y-axis length of the photovoltaic panel, combined with the first side length and the second side length of the photovoltaic robot; planning the target cleaning path of the photovoltaic robot based on the number of axial cleaning rounds and the attitude angle; and realizing the cleaning work of the photovoltaic robot on the photovoltaic panel according to the starting position and the target cleaning path. In one embodiment, the number of axial cleaning rounds includes the first cleaning round number and the second cleaning round number, the first cleaning round number is generated based on the X-axis length of the photovoltaic panel, and is used to measure the number of times the machine moves back and forth perpendicular to the X-axis, that is, along the Y-axis, and the second cleaning round number is generated based on the Y-axis length of the photovoltaic panel, and is used to measure the number of times the machine moves back and forth perpendicular to the Y-axis, that is, along the X-axis.
[0021] Its further technical solution is that the receiving of cleaning action instructions and identifying the starting position of the photovoltaic robot relative to the photovoltaic panel includes: receiving cleaning action instructions, identifying the starting position of the photovoltaic robot relative to the photovoltaic panel, and generating cleaning requirement information according to the parameters corresponding to the cleaning action instructions. In the above scheme, the cleaning action instructions can be initiated by the user, or the photovoltaic robot can generate the instructions by itself if the preset initiation conditions are met; the parameters corresponding to the cleaning action instructions can be set by the user, or can be intelligently generated by the photovoltaic robot according to the actual scene, and the specific implementation method will not affect the technical effect of the embodiment of the present invention.
[0022] A further technical solution is that after the photovoltaic robot cleans the photovoltaic panel according to the starting position and the target cleaning path, the method further includes: according to the cleaning requirement information, the photovoltaic robot performs secondary cleaning on multiple photovoltaic panels arranged side by side. In one embodiment, the multiple photovoltaic panels arranged side by side are photovoltaic arrays, and the photovoltaic robot has already completed the cleaning of the photovoltaic panels. Therefore, whether to perform secondary cleaning is determined by the user according to actual needs.
[0023] Its further technical solution is that the photovoltaic robot is provided with a detection device, and the detection device is used to obtain the dust accumulation value; the photovoltaic robot performs secondary cleaning of the photovoltaic panel according to the cleaning requirement information, including: according to the dust accumulation values of the multiple sub-cell blocks of the photovoltaic panel, the multiple sub-cell blocks are divided into three levels according to the preset rules, including high-level sub-cell blocks, medium-level sub-cell blocks, and low-level sub-cell blocks; along the distance of the X-axis, the multiple high-level sub-cell blocks are sorted to obtain a secondary cleaning plan for displaying the sorting results; the photovoltaic robot is controlled to perform secondary cleaning according to the secondary cleaning plan, and if at least two high-level sub-cell blocks are located on the same Y-axis, at least two high-level sub-cell blocks are cleaned in sequence along the Y-axis in the order from near to far from the photovoltaic robot until the secondary cleaning work is completed. In the above scheme, the preset rule can be sorting by dust accumulation value and then screening by quantity, or clustering or grouping according to the situation of dust accumulation value. Those skilled in the art can understand that the preset rule includes but is not limited to the above method. In one embodiment, the number of sub-cell blocks is huge, and there are dozens of high-level sub-cell blocks after division. Furthermore, the data volume of the sorting result is huge, and since each sub-cell block with different dust accumulation values will be divided into the same level, the sorting result will inevitably include parallel high-level sub-cell blocks, that is, regardless of the dust accumulation value, they are divided into the same level.
[0024] Its further technical solution is that an embodiment of the present invention also proposes a photovoltaic robot, which includes a unit for executing the path planning control method as described above; during the operation of the photovoltaic robot, the distance and angle of the lines between the sub-battery blocks are first calculated, and then the current forward direction of the photovoltaic robot and the offset angle of the lines are judged. If the angle is greater than the value zero, the photovoltaic robot is biased to the left relative to the line angle, and the machine is controlled to rotate clockwise to control the angle difference to be close to the value zero; otherwise, if the angle is not greater than the value zero, the machine is controlled to rotate counterclockwise.
[0025] When the angle approaches the value of zero, the photovoltaic robot is controlled to maintain a certain distance from the line along the center line of the forward direction. When the actual distance deviates from the set distance, the photovoltaic robot is controlled to move left or right at a certain small angle to make the distance close to the set angle; thereby controlling the photovoltaic robot to move forward along the selected line.
[0026] In one embodiment, the path planning method of the photovoltaic robot is that after the user places the photovoltaic robot on the photovoltaic panel, the posture angles of the machine in the X-axis and Y-axis directions will be read first, and the maximum inclination angle of the photovoltaic panel will be obtained. Generally, one or two rows of panels are placed in the direction of the maximum inclination angle, and multiple panels are placed in the horizontal direction. The Y-axis of the head direction of the photovoltaic robot is adjusted to be horizontal with the direction of the maximum inclination angle, that is, the head of the machine faces the top of the photovoltaic panel, and the photovoltaic robot moves up and down along the direction of the maximum inclination angle to obtain the width of the photovoltaic panel, that is, the length in the direction of the maximum inclination angle. With the data of the width of the photovoltaic panel, it is calculated how many times the machine needs to move back and forth in the horizontal direction, that is, the number of axial cleaning rounds, until the cleaning work is completed.
[0027] Therefore, the beneficial effects of the present invention are that the machine can be operated completely autonomously without the need for on-site construction, and the cleaning path is efficient without the possibility of missed cleaning.
[0028] In summary, the photovoltaic panels that are cleaned by photovoltaic robots are generally planar in shape, and are generally deployed in a way that multiple panels are spliced together to form one or more rows, and the four sides of the one or more rows of panels are generally unobstructed. When the photovoltaic robot moves and cleans on the photovoltaic panel, it is necessary to judge the edge of the photovoltaic panel to prevent the photovoltaic robot from falling from top to bottom. In the prior art, the robot's cleaning work on the photovoltaic panel either pursues high efficiency, which easily leads to missed wiping, or increases the cleaning time to reduce the chance of missed wiping, which is difficult to achieve a balance; the solution described in the present application can make the cleaning path of the photovoltaic robot more efficient, and effectively avoid missed wiping while improving the cleaning efficiency of the photovoltaic panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0030] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 A schematic flow chart of a path planning control method provided in an embodiment of the present invention.
[0032] Figure 2 Another flowchart of the path planning control method provided by an embodiment of the present invention.
[0033] Figure 3 A partial schematic diagram of a path planning control method provided by an embodiment of the present invention.
[0034] Figure 4 Another partial schematic diagram of the path planning control method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or other features, integers, steps, operations, elements, components and / or combinations thereof.
[0037] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0038] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to one or any combination and all possible combinations of the associated listed items, and includes these combinations.
[0039] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0040] Example
[0041] See also Figures 1 to 4 The present invention proposes a path planning control method for cleaning, the method is used for a control unit inside a photovoltaic robot, the photovoltaic robot is placed on a photovoltaic panel, and the path planning control method includes:
[0042] S1, receiving cleaning action instructions and identifying the starting position of the photovoltaic robot relative to the photovoltaic panel.
[0043] S2, obtaining the correlation parameters between the photovoltaic panel and the photovoltaic robot, and planning the target cleaning path of the photovoltaic robot according to the correlation parameters.
[0044] In one embodiment, the step of obtaining the correlation parameters between the photovoltaic panel and the photovoltaic robot and planning the target cleaning path of the photovoltaic robot according to the correlation parameters includes:
[0045] S11, identifying the attitude angle of the photovoltaic panel relative to the horizontal plane, and establishing an xyz axis coordinate system with the horizontal plane below the photovoltaic panel as a reference.
[0046] S12, reading the attitude angle of the photovoltaic robot in the xy direction, and calculating the maximum inclination angle a of the photovoltaic panel relative to the horizontal plane.
[0047] S13, determining whether the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than a preset deviation angle.
[0048] S14, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is not less than a preset deviation angle, adjust the head direction of the photovoltaic robot to reduce the difference.
[0049] S15, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than a preset deviation angle, control the photovoltaic robot to move to the edge of the bottom of the photovoltaic panel.
[0050] The specific method of establishing the xyz axis coordinate system based on the horizontal plane, as well as the angles of the x-axis, y-axis and z-axis are known to those skilled in the art.
[0051] In one embodiment, after controlling the photovoltaic robot to move to the edge of the bottom of the photovoltaic panel, the method further comprises:
[0052] S21, controls the photovoltaic robot to move to the top edge of the photovoltaic panel, calculates the vertical distance of the photovoltaic panel, and retreats half the distance of the photovoltaic robot's body, rotates the body 90 degrees counterclockwise, and moves horizontally to the edge of the side of the photovoltaic panel.
[0053] S22, controlling the photovoltaic robot to rotate 180 degrees on the spot, moving horizontally to the edge of the other side of the photovoltaic panel, and calculating the lateral length of the photovoltaic panel.
[0054] S23, controlling the photovoltaic robot to retreat a safe distance, and determining whether a first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the body width of the photovoltaic robot, that is, a second distance L2.
[0055] S24, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, the photovoltaic robot is controlled to move downward along the photovoltaic panel by a distance of the body, and the photovoltaic robot rotates 90 degrees clockwise on the spot.
[0056] S25, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the body width of the photovoltaic robot, and the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, and the photovoltaic robot rotates 90 degrees clockwise on the spot.
[0057] Among them, after moving horizontally to the edge of the side of the photovoltaic panel in step S21, since the entire photovoltaic panel has not been traversed, the specifications of the entire photovoltaic panel cannot be measured at this time; on the photovoltaic panel, the specific direction and specific angle of the photovoltaic robot moving forward or backward are known to those skilled in the art; the difference distance between the first distance L1 and half of the second distance L2 is calculated in the order of half of the known second distance L2, and then the difference with the first distance L1 is calculated; further, the photovoltaic robot includes a fuselage, the distance of the fuselage is length or width, and the retreat safety distance is based on the length of the fuselage of the photovoltaic robot, and the specific retreat method is well known in the art.
[0058] In one embodiment, after the photovoltaic robot rotates 90 degrees clockwise in situ, the method further comprises: after the photovoltaic robot rotates 90 degrees clockwise in situ, the method further comprises:
[0059] S31, controlling the photovoltaic robot to move forward until the edge of the side of the photovoltaic panel is detected.
[0060] S32, control the photovoltaic robot to retreat a safe distance, rotate 90 degrees counterclockwise on the spot, and determine whether the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the body width of the photovoltaic robot, that is, the second distance L2.
[0061] S33, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot's body, the photovoltaic robot is controlled to move downward along the photovoltaic panel by the distance of one body, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel.
[0062] S34, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the width of the photovoltaic robot's body, and the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel.
[0063] Among them, the first distance L1 corresponds to the distance between the photovoltaic robot and the bottom edge of the photovoltaic panel, and the second distance L2 corresponds to 1.5 times the width of the photovoltaic robot's body; when the first distance L1 is not greater than half of the second distance L2, directly proceed to the step of completing the cleaning of the photovoltaic panel.
[0064] In one embodiment, the acquisition of the associated parameters between the photovoltaic panel and the photovoltaic robot, and the planning of the target cleaning path of the photovoltaic robot according to the associated parameters, include: identifying the attitude angle of the photovoltaic panel relative to the horizontal plane, and establishing an XYZ axis coordinate system based on the plane where the photovoltaic panel is located; controlling the photovoltaic robot to measure the length of the X axis of the photovoltaic panel and the length of the Y axis of the photovoltaic panel; calculating the number of axial cleaning rounds according to the length of the X axis of the photovoltaic panel and the length of the Y axis of the photovoltaic panel, combined with the first side length and the second side length of the photovoltaic robot; planning the target cleaning path of the photovoltaic robot based on the number of axial cleaning rounds and the attitude angle; and realizing the cleaning work of the photovoltaic robot on the photovoltaic panel according to the starting position and the target cleaning path. In one embodiment, the number of axial cleaning rounds includes the first cleaning round number and the second cleaning round number, the first cleaning round number is generated based on the length of the X axis of the photovoltaic panel, and is used to measure the number of times the machine moves back and forth perpendicular to the X axis, that is, along the Y axis, and the second cleaning round number is generated based on the length of the Y axis of the photovoltaic panel, and is used to measure the number of times the machine moves back and forth perpendicular to the Y axis, that is, along the X axis.
[0065] In one embodiment, the photovoltaic robot is controlled to measure the length of the photovoltaic panel along the X axis and the length of the photovoltaic panel along the Y axis, including: identifying the proximal edge and the distal edge of the photovoltaic panel; controlling the photovoltaic robot to move along the X axis in the opposite direction of the distal edge with the proximal edge as the target, until the position of the photovoltaic robot enters the target edge range, and obtaining the length of the photovoltaic panel along the X axis between the proximal edge and the distal edge; controlling the photovoltaic robot to move along the Y axis toward the lower edge of the photovoltaic panel until the position of the photovoltaic robot enters the target lower edge range; controlling the photovoltaic robot to move along the Y axis toward the upper edge of the photovoltaic panel with the position entering the target lower edge range as the starting point, until the position of the photovoltaic robot enters the target lower edge range, and obtaining the length of the photovoltaic panel along the Y axis between the upper edge and the lower edge. In one embodiment, the scene where the position of the photovoltaic robot enters the target edge range, that is, the position of the photovoltaic robot meets the preset conditions, corresponds to the situation where the cleaning brush of the photovoltaic robot covers the proximal edge of the photovoltaic panel, that is, the cleaning brush can completely cover the photovoltaic panel and the entire photovoltaic robot does not fall.
[0066] In one embodiment, the axial cleaning rounds include the first cleaning rounds and the second cleaning rounds. The axial cleaning rounds are calculated according to the X-axis length of the photovoltaic panel and the Y-axis length of the photovoltaic panel, combined with the first side length and the second side length of the photovoltaic robot, including: rounding up the result after dividing the X-axis length of the photovoltaic panel by the first side length to obtain the first cleaning rounds; rounding up the result after dividing the Y-axis length of the photovoltaic panel by the second side length to obtain the second cleaning rounds. In the above scheme, combined with the movement of the photovoltaic robot and the edge detection of the photovoltaic panel, the number of sub-cell blocks in the length and width direction of the photovoltaic panel can be calculated, thereby calculating the size of the panel, and then calculating the first cleaning rounds along the Y axis and the second cleaning rounds along the X axis; further, in most cases, the result after the division is not an integer, so the photovoltaic robot will repeat the cleaning of a large area in the penultimate round and the penultimate round of the cleaning round process. This repeated cleaning will not affect the technical effect of the embodiment of the present invention.
[0067] In one embodiment, the target cleaning path of the photovoltaic robot is planned based on the number of axial cleaning rounds and the posture angle, including: when the posture angle is greater than the preset tilt angle, the photovoltaic robot is planned to implement the target cleaning path corresponding to the second number of cleaning rounds, and the target cleaning path is perpendicular to the Y-axis direction; when the posture angle is less than or equal to the preset tilt angle, the photovoltaic robot is planned to implement the target cleaning path corresponding to the first number of cleaning rounds, and the target cleaning path is perpendicular to the X-axis direction. In the above scheme, if the angle of the photovoltaic panel is relatively flat, that is, the posture angle is less than or equal to the preset tilt angle, the photovoltaic robot can move along the X-axis. This movement mode is conducive to the switching between different photovoltaic panels of the photovoltaic robot when multiple photovoltaic panels are arranged side by side, especially when dozens of photovoltaic panels are arranged side by side to form a photovoltaic array, and can ensure the continuity of the photovoltaic robot cleaning the entire photovoltaic array across panels.
[0068] In one embodiment, the receiving of the cleaning action instruction and identifying the starting position of the photovoltaic robot relative to the photovoltaic panel includes: receiving the cleaning action instruction, identifying the starting position of the photovoltaic robot relative to the photovoltaic panel, and generating cleaning requirement information according to the parameters corresponding to the cleaning action instruction. In the above scheme, the cleaning action instruction can be initiated by the user, or the photovoltaic robot can generate the instruction by itself when the preset initiation conditions are met; the parameters corresponding to the cleaning action instruction can be set by the user, or can be intelligently generated by the photovoltaic robot according to the actual scene, and the specific implementation method will not affect the technical effect of the embodiment of the present invention.
[0069] In one embodiment, after the photovoltaic robot cleans the photovoltaic panel according to the starting position and the target cleaning path, the method further includes: according to the cleaning requirement information, the photovoltaic robot performs secondary cleaning on the plurality of photovoltaic panels arranged side by side. In one embodiment, the plurality of photovoltaic panels arranged side by side is a photovoltaic array, and the photovoltaic robot has already completed the cleaning of the photovoltaic panel, so whether to perform secondary cleaning is determined by the user according to actual needs.
[0070] In one embodiment, the photovoltaic robot is provided with a detection device, and the detection device is used to obtain the dust accumulation value; the photovoltaic robot performs secondary cleaning of the photovoltaic panel according to the cleaning requirement information, including: according to the dust accumulation values of the multiple sub-cell blocks of the photovoltaic panel, the multiple sub-cell blocks are divided into three levels according to the preset rules, including high-level sub-cell blocks, medium-level sub-cell blocks, and low-level sub-cell blocks; along the distance of the X-axis, the multiple high-level sub-cell blocks are sorted to obtain a secondary cleaning plan for displaying the sorting results; the photovoltaic robot is controlled to perform secondary cleaning according to the secondary cleaning plan, and if at least two high-level sub-cell blocks are located on the same Y-axis, at least two high-level sub-cell blocks are cleaned in sequence along the Y-axis in order from near to far from the photovoltaic robot until the secondary cleaning work is completed. In the above scheme, the preset rule can be sorted by dust accumulation value and then screened by quantity, or clustered or grouped according to the dust accumulation value. Those skilled in the art can understand that the preset rule includes but is not limited to the above method. In one embodiment, the number of sub-cell blocks is huge, and there are dozens of high-level sub-cell blocks after division. Furthermore, the data volume of the sorting result is huge. Since each sub-battery block with different dust accumulation values will be divided into the same level, the sorting result will inevitably include parallel high-level sub-battery blocks, that is, regardless of the dust accumulation value, they are divided into the same level.
[0071] In one embodiment, the embodiment of the present invention further proposes a photovoltaic robot, which includes a unit for executing the path planning control method as described above; during the operation of the photovoltaic robot, the distance and angle of the lines between the sub-battery blocks are first calculated, and then the current forward direction of the photovoltaic robot and the offset angle of the lines are determined. If the angle is greater than the value zero, the photovoltaic robot is biased to the left relative to the line angle, and the machine is controlled to rotate clockwise to control the angle difference to be close to the value zero; otherwise, if the angle is not greater than the value zero, the machine is controlled to rotate counterclockwise.
[0072] When the angle approaches the value of zero, the photovoltaic robot is controlled to maintain a certain distance from the line along the center line of the forward direction. When the actual distance deviates from the set distance, the photovoltaic robot is controlled to move left or right at a certain small angle to make the distance close to the set angle; thereby controlling the photovoltaic robot to move forward along the selected line.
[0073] In one embodiment, the path planning method of the photovoltaic robot is that after the user places the photovoltaic robot on the photovoltaic panel, the posture angles of the machine in the X-axis and Y-axis directions will be read first, and the maximum inclination angle of the photovoltaic panel will be obtained. Generally, one or two rows of panels are placed in the direction of the maximum inclination angle, and multiple panels are placed in the horizontal direction. The Y-axis of the head direction of the photovoltaic robot is adjusted to be horizontal with the direction of the maximum inclination angle, that is, the head of the machine faces the top of the photovoltaic panel, and the photovoltaic robot moves up and down along the direction of the maximum inclination angle to obtain the width of the photovoltaic panel, that is, the length in the direction of the maximum inclination angle. With the data of the width of the photovoltaic panel, it is calculated how many times the machine needs to move back and forth in the horizontal direction, that is, the number of axial cleaning rounds, until the cleaning work is completed.
[0074] In summary, the photovoltaic panels that are cleaned by photovoltaic robots are generally planar in shape, and are generally deployed in a way that multiple panels are spliced together to form one or more rows, and the four sides of the one or more rows of panels are generally unobstructed. When the photovoltaic robot moves and cleans on the photovoltaic panel, it is necessary to judge the edge of the photovoltaic panel to prevent the photovoltaic robot from falling from top to bottom. In the prior art, the robot's cleaning work on the photovoltaic panel either pursues high efficiency, which easily leads to missed wiping, or increases the cleaning time to reduce the chance of missed wiping, which is difficult to achieve a balance; the solution described in the present application can make the cleaning path of the photovoltaic robot more efficient, and effectively avoid missed wiping while improving the cleaning efficiency of the photovoltaic panel.
[0075] Those of ordinary skill 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, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions, but such implementation should not be considered to be beyond the scope of the present invention.
[0076] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0077] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0080] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0081] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A path planning control method for cleaning, characterized in that: The method is used for a control unit inside a photovoltaic robot, the photovoltaic robot is placed on a photovoltaic panel, and the path planning control method includes: S1, receiving a cleaning action instruction and identifying the starting position of the photovoltaic robot relative to the photovoltaic panel; S2, obtaining the correlation parameters between the photovoltaic panel and the photovoltaic robot, and planning the target cleaning path of the photovoltaic robot according to the correlation parameters.
2. The path planning control method according to claim 1, characterized in that: The step of obtaining the correlation parameters between the photovoltaic panel and the photovoltaic robot and planning the target cleaning path of the photovoltaic robot according to the correlation parameters includes: S11, identifying the attitude angle of the photovoltaic panel relative to the horizontal plane, and establishing an xyz axis coordinate system with the horizontal plane below the photovoltaic panel as a reference; S12, reading the attitude angle of the photovoltaic robot in the xy direction, and calculating the maximum inclination angle a of the photovoltaic panel relative to the horizontal plane; S13, determining whether the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than a preset deviation angle; S14, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is not less than a preset deviation angle, adjust the head direction of the photovoltaic robot to reduce the difference; S15, if the difference between the angle of the head direction of the photovoltaic robot and the maximum inclination angle a is less than a preset deviation angle, control the photovoltaic robot to move to the edge of the bottom of the photovoltaic panel.
3. The path planning control method according to claim 2, characterized in that: After controlling the photovoltaic robot to move to the edge of the bottom of the photovoltaic panel, the method further comprises: S21, control the photovoltaic robot to move to the edge of the top of the photovoltaic panel, calculate the vertical distance of the photovoltaic panel, and retreat the distance of half the body of the photovoltaic robot, rotate the body 90 degrees counterclockwise, and move horizontally to the edge of the side of the photovoltaic panel; S22, controlling the photovoltaic robot to rotate 180 degrees on the spot, moving horizontally to the edge of the other side of the photovoltaic panel, and calculating the lateral length of the photovoltaic panel; S23, controlling the photovoltaic robot to retreat to a safe distance, and determining whether a first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, that is, a second distance L2; S24, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, control the photovoltaic robot to move downward along the photovoltaic panel by a distance of the photovoltaic panel, and the photovoltaic robot rotates 90 degrees clockwise on the spot; S25, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the body width of the photovoltaic robot, and the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, and the photovoltaic robot rotates 90 degrees clockwise on the spot.
4. The path planning control method according to claim 3, characterized in that: After the photovoltaic robot rotates 90 degrees clockwise in situ, the method further comprises: S31, controlling the photovoltaic robot to move forward until the edge of the side of the photovoltaic panel is detected; S32, controlling the photovoltaic robot to retreat a safe distance, rotating 90 degrees counterclockwise on the spot, and determining whether a first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, that is, a second distance L2; S33, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is greater than 1.5 times the width of the photovoltaic robot, the photovoltaic robot is controlled to move downward along the photovoltaic panel by a distance of one body, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel; S34, if the first distance L1 between the photovoltaic robot and the bottom edge of the photovoltaic panel is not greater than 1.5 times the width of the photovoltaic robot's body, and the first distance L1 is greater than half of the second distance L2, the photovoltaic robot moves downward by the difference between the first distance L1 and half of the second distance L2, the photovoltaic robot rotates 90 degrees clockwise on the spot, and moves forward until the edge of the side of the photovoltaic panel is detected, thereby completing the cleaning of the photovoltaic panel.
5. The path planning control method according to claim 1, characterized in that: The step of obtaining the correlation parameters between the photovoltaic panel and the photovoltaic robot and planning the target cleaning path of the photovoltaic robot according to the correlation parameters includes: Identify the attitude angle of the photovoltaic panel relative to the horizontal plane, and establish an XYZ axis coordinate system based on the plane where the photovoltaic panel is located; Control the photovoltaic robot to measure the X-axis length and Y-axis length of the photovoltaic panel; According to the X-axis length and Y-axis length of the photovoltaic panel, combined with the first side length and the second side length of the photovoltaic robot, the number of axial cleaning rounds is calculated; The target cleaning path of the photovoltaic robot is planned based on the number of axial cleaning rounds and the posture angle; According to the starting position and the target cleaning path, the photovoltaic robot performs cleaning work on the photovoltaic panel.
6. The path planning control method according to claim 5, characterized in that: The receiving of the cleaning action instruction and identifying the starting position of the photovoltaic robot relative to the photovoltaic panel includes: A cleaning action instruction is received, a starting position of the photovoltaic robot relative to the photovoltaic panel is identified, and cleaning requirement information is generated according to parameters corresponding to the cleaning action instruction.
7. The path planning control method according to claim 6, characterized in that: After the photovoltaic robot cleans the photovoltaic panel according to the starting position and the target cleaning path, the method further includes: According to the cleaning requirement information, the photovoltaic robot performs secondary cleaning on multiple parallel photovoltaic panels.
8. The path planning control method according to claim 7, characterized in that: The photovoltaic robot is provided with a detection device, and the detection device is used to obtain the dust accumulation value; the photovoltaic robot implements secondary cleaning of the photovoltaic panel according to the cleaning requirement information, including: According to the dust accumulation values of the multiple sub-cell blocks of the photovoltaic panel, the multiple sub-cell blocks are divided into three levels according to preset rules, including high-level sub-cell blocks, medium-level sub-cell blocks, and low-level sub-cell blocks; Sorting multiple high-level sub-cell blocks along the distance of the X-axis, and obtaining a secondary cleaning plan for displaying the sorting results; The photovoltaic robot is controlled to perform secondary cleaning according to the secondary cleaning plan. If there are at least two high-level sub-cell blocks located on the same Y-axis, at least two high-level sub-cell blocks are cleaned in sequence along the Y-axis in order from near to far from the photovoltaic robot until the secondary cleaning work is completed.
9. A photovoltaic robot, characterized in that: The photovoltaic robot includes a unit for executing the path planning control method according to any one of claims 1 to 8.
