Robot operation trajectory planning method, device, computer equipment and storage medium

By obtaining data on the floor grinding robot's operating area and planning obstacle avoidance strategies, an automatic navigation operation trajectory is generated, which solves the problems of low efficiency and safety hazards caused by the complex path of the floor grinding robot in the underground garage, and achieves an efficient and safe operation trajectory. planning.

CN115016451BActive Publication Date: 2024-10-29JIUZHANG LINGZHI (GUANGZHOU) DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110244116.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-05
Publication Date
2024-10-29
Estimated Expiration
2041-03-05

AI Technical Summary

Technical Problem

The floor grinding robot's path in the underground garage is complicated due to obstacles such as multiple columns and load-bearing walls. It is prone to cable entanglement, missed grinding or repeated grinding, resulting in low operating efficiency and high safety hazards.

Method used

By obtaining data on the robot's operating area, the size and location of obstacles are determined, obstacle avoidance strategies are planned, and automatic navigation operation trajectories are generated to ensure that the robot avoids obstacles and improves operating efficiency and safety.

Benefits of technology

It effectively avoids robot collisions and cable entanglements, improves the operating efficiency and grinding quality of floor grinding robots, reduces collision accidents, and ensures the integrity of the operating radius and surface coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115016451B_ABST
    Figure CN115016451B_ABST
Patent Text Reader

Abstract

The present application relates to a robot operation trajectory planning method, device, computer equipment and storage medium. The method comprises: obtaining robot operation area data, the robot operation area data including the size and position of obstacles in the robot operation area; determining the operation area corresponding to the obstacle according to the size and position of the obstacle; planning an obstacle avoidance strategy according to the operation area corresponding to the obstacle; generating an automatic navigation operation trajectory of the robot in the robot operation area according to the obstacle avoidance strategy. The use of this method can achieve reasonable planning of the robot's automatic navigation operation trajectory, thereby effectively improving the operation efficiency of the floor grinding robot, increasing the operation radius and operation surface coverage, and simultaneously improving the grinding quality and avoiding collisions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a method, device, computer equipment and storage medium for planning robot operation trajectories. Background Art

[0002] With the continuous improvement of people's living standards and the acceleration of urbanization, the use of automated equipment for operations has gradually matured. For example, automated equipment such as floor grinders for grinding or polishing concrete floors is an indispensable equipment in various floor construction processes. At present, large-scale construction of underground garages can efficiently utilize building area, increase the service life of the concrete base floor of underground garages, and reduce sand and dust. The use of floor grinders to harden and paint the concrete base surface is a necessary means.

[0003] Traditional manually operated floor grinding machines require multiple operators to work synchronously during the construction process, that is, one operator operates the grinder and multiple workers operate other auxiliary devices synchronously. This working mode has low efficiency, poor safety and poor quality consistency. As a fully automatic intelligent device, the floor grinding robot can get rid of the constraints of manual operation and perform automatic navigation walking and floor grinding operations.

[0004] However, due to the characteristics of underground garages such as multiple columns, load-bearing walls, and complex spatial layout, if the floor grinding robot's autonomous operation path is complicated, it is very easy to cause the floor grinding robot's cables to get entangled, missing grinding or repeated grinding, resulting in low operating efficiency of the floor grinding robot, and even safety accidents such as hitting walls or columns. Summary of the invention

[0005] Based on this, it is necessary to provide a robot operation trajectory planning method, device, computer equipment and storage medium that can improve operation efficiency in response to the above technical problems.

[0006] A robot operation trajectory planning method, the method comprising:

[0007] Acquire robot operation area data, where the robot operation area data includes the size and location of obstacles in the robot operation area;

[0008] Determine the operating area corresponding to the obstacle based on its size and location;

[0009] Plan obstacle avoidance strategies based on the operating areas corresponding to the obstacles;

[0010] According to the obstacle avoidance strategy, an automatic navigation operation trajectory is generated in the robot's operating area.

[0011] In one embodiment, after obtaining the robot operation area data, the method further includes:

[0012] Determine the location of the robot's dedicated electrical box based on the robot's operating area;

[0013] According to the obstacle avoidance strategy, the automatic navigation operation trajectory generated in the robot operation area includes:

[0014] According to the position of the robot's dedicated electric box, determine the starting position of the robot's operation in the automatic navigation walking trajectory;

[0015] According to the obstacle avoidance strategy and the starting position, an automatic navigation operation trajectory is generated in the robot's operating area.

[0016] In one embodiment, before determining the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot dedicated electric box, the method further includes:

[0017] Dividing the robot operation area into at least two operation areas;

[0018] Determine the operation path of the robot from the target area corresponding to the current position to the adjacent area of ​​the target area, the operation path is to enter the adjacent area from the position close to the robot's dedicated power box in the target area.

[0019] In one embodiment, there is an overlapping area between the target area and an adjacent area of ​​the target area, and the overlapping ranges of any two overlapping areas in the robot operation area are the same.

[0020] In one embodiment, the obstacle includes a column obstacle; the obstacle avoidance strategy includes a column avoidance strategy for the column obstacle; according to the size and position of the obstacle, the operation area corresponding to the obstacle is determined, and according to the operation area corresponding to the obstacle, planning the obstacle avoidance strategy includes:

[0021] Obtain the structural dimension characteristics of the robot;

[0022] According to the size and position of the column obstacle and the structural size characteristics of the robot, a first operating area and a second operating area corresponding to the column obstacle are determined, and a first moving direction of the robot in the first operating area and a second moving direction of the robot in the second operating area are determined, and the first moving direction and the second moving direction are different directions;

[0023] According to the first working area, the second working area, the first traveling direction and the second traveling direction, a column avoidance strategy for column-type obstacles is obtained.

[0024] In one embodiment, the obstacle includes a wall obstacle; the obstacle avoidance strategy includes a steering avoidance strategy for the wall obstacle; determining the operating area corresponding to the obstacle according to the size and position of the obstacle, and planning the obstacle avoidance strategy according to the operating area corresponding to the obstacle includes:

[0025] Obtain the structural dimension characteristics of the robot;

[0026] According to the length and position of the wall obstacle and the structural size characteristics of the robot, a first wall side operation area, a second wall side operation area and a turning operation area are determined, and a first wall side travel direction in the first wall side operation area, a second wall side travel direction in the second wall side operation area and a turning travel direction in the turning operation area are determined, and the first wall side travel direction, the second wall side travel direction and the turning travel direction are different directions;

[0027] According to the first wall side working area, the second wall side working area, the turning working area, the first wall side traveling direction, the second wall side traveling direction and the turning traveling direction, a turning avoidance strategy for the column obstacle is obtained.

[0028] In one embodiment, the steering avoidance strategy includes planning of the edge area. According to the working area corresponding to the obstacle, before planning the obstacle avoidance strategy, it also includes:

[0029] According to the length and position of the wall obstacle, determine the wall base distance corresponding to the wall obstacle;

[0030] According to the distance from the wall base, the trimming area along the wall base is planned to provide turning space for the robot.

[0031] A robot operation trajectory planning device, the device comprising:

[0032] A data acquisition module is used to acquire robot operation area data, where the robot operation area data includes the size and position of obstacles in the robot operation area;

[0033] The obstacle corresponding operation area determination module is used to determine the operation area corresponding to the obstacle according to the size and position of the obstacle;

[0034] The avoidance strategy planning module is used to plan obstacle avoidance strategies according to the operating areas corresponding to the obstacles;

[0035] The operation trajectory generation module is used to generate an automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy.

[0036] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0037] Acquire robot operation area data, where the robot operation area data includes the size and location of obstacles in the robot operation area;

[0038] Determine the operating area corresponding to the obstacle based on its size and location;

[0039] Plan obstacle avoidance strategies based on the operating areas corresponding to the obstacles;

[0040] According to the obstacle avoidance strategy, an automatic navigation operation trajectory is generated in the robot's operating area.

[0041] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0042] Acquire robot operation area data, where the robot operation area data includes the size and location of obstacles in the robot operation area;

[0043] Determine the operating area corresponding to the obstacle based on its size and location;

[0044] Plan obstacle avoidance strategies based on the operating areas corresponding to the obstacles;

[0045] According to the obstacle avoidance strategy, an automatic navigation operation trajectory is generated in the robot's operating area.

[0046] The above-mentioned robot operation trajectory planning method, device, computer equipment and storage medium, by acquiring the robot operation area data, the robot operation area data can characterize the spatial layout of the robot operation area to provide a basis for subsequent path planning. Among them, the robot operation area data includes the size and position of obstacles in the robot operation area, and can obtain the size and position of obstacles in the robot operation in advance according to the robot operation area, and accurately determine the operation area corresponding to the obstacle. By planning the obstacle avoidance strategy according to the operation area corresponding to the obstacle, it is possible to effectively avoid robot collision or entanglement and repeated coverage. By generating an efficient robot automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy, it is possible to achieve reasonable planning of the robot automatic navigation operation trajectory, thereby effectively improving the operation efficiency of the floor grinding robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A diagram showing an application environment of a robot trajectory planning method in one embodiment;

[0048] Figure 2 A schematic diagram of a flow chart of a robot trajectory planning method in one embodiment;

[0049] Figure 3 A schematic flow chart of a robot trajectory planning method in another embodiment;

[0050] Figure 4 A schematic diagram of a flow chart of a robot trajectory planning method in yet another embodiment;

[0051] Figure 5 A schematic diagram of a flow chart of a robot trajectory planning method in another embodiment;

[0052] Figure 6 A schematic diagram of a flow chart of a robot trajectory planning method in another embodiment;

[0053] Figure 7 A schematic diagram of a flow chart of a robot trajectory planning method in yet another embodiment;

[0054] Figure 8 A schematic diagram of an automatic navigation operation trajectory generated by a robot trajectory planning method in an application embodiment;

[0055] Fig. 9 A schematic diagram of a column avoidance strategy in a robot trajectory planning method in an application embodiment;

[0056] Fig.10 A schematic diagram of a U-turn planning step in a robot trajectory planning method in an application embodiment;

[0057] Fig.11 A schematic diagram of planning cable recovery in a robot trajectory planning method in an application embodiment;

[0058] Fig.12 A schematic diagram of a steering avoidance strategy in a robot trajectory planning method in an application embodiment;

[0059] Fig.13 A schematic diagram of overlapping area planning in a robot trajectory planning method in an application embodiment;

[0060] Fig.14 A structural block diagram of a robot trajectory planning method device in one embodiment;

[0061] Fig.15 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] The robot operation trajectory planning method provided in this application can be applied to Figure 1 In the application environment shown. The method can be applied to a terminal, and taking the terminal as a robot 102 as an example, the robot 102 obtains robot operation area data of the robot 102, and the robot operation area data includes the size and position of obstacles in the robot operation area; according to the size and position of the obstacle, the operation area corresponding to the obstacle is determined; according to the operation area corresponding to the obstacle, an obstacle avoidance strategy is planned; according to the obstacle avoidance strategy, an automatic navigation operation trajectory of the robot in the robot operation area is generated.

[0064] In one embodiment, a robot operation trajectory planning method is provided. This embodiment uses the method applied to a terminal as an example. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal can be, but is not limited to, various intelligent robots, personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers. In this embodiment, Figure 2 As shown, the method comprises the following steps:

[0065] Step 202: Acquire robot operation area data, where the robot operation area data includes the size and position of obstacles in the robot operation area.

[0066] Among them, the robot operation area is the area where the robot operates. The robot can be a sweeping robot, a floor grinding robot, or other robots that are used to operate by moving in a certain area. Taking the floor grinding robot as an example, the floor grinding robot operation is the floor grinding robot grinding or polishing the concrete floor. The robot operation area can be the construction operation area of ​​the floor grinding robot, that is, the area where the floor grinding robot grinds or polishes the concrete floor. The robot operation area can be but is not limited to underground garages, indoor factories, etc. The robot operation area data is data related to the robot operation area. The robot operation area data can be data on the overall spatial layout of underground garages and indoor factories. The robot operation area data includes the size and position of obstacles in the robot operation area. The obstacles can be column obstacles such as multiple columns and wall obstacles such as load-bearing walls.

[0067] Specifically, the terminal obtains robot operation area data. The terminal may be a robot terminal, for example, a floor grinding robot that obtains robot operation area data for grinding operations in an underground garage, and the robot operation area data includes data such as the overall spatial layout of the robot operation area. The size and position of obstacles in the robot operation area may be obtained from the overall spatial layout.

[0068] Step 204: Determine the operating area corresponding to the obstacle according to the size and position of the obstacle.

[0069] Among them, the obstacle can be a wall obstacle in the robot's operating area. For example, a load-bearing wall in an underground garage or an indoor factory building, etc. The obstacle can also be a column obstacle in the robot's operating area, such as a column in an underground garage or an indoor factory building. The size and position of the obstacle are obtained based on the robot's operating area data. The size of the obstacle can be the size of a column obstacle such as a column, or the length or width of a wall obstacle such as a load-bearing wall, as well as the area of ​​the wall. The position of the obstacle is the position of the obstacle in the robot's operating area, and the operating area corresponding to the obstacle is the operating area where the robot operates where the obstacle exists.

[0070] Specifically, the terminal determines the working area corresponding to the obstacle in the robot working area according to the size and position of the obstacle in the robot working area, wherein the size and position of the obstacle include the size and position of wall obstacles and the size and position of column obstacles.

[0071] Step 206: Plan an obstacle avoidance strategy according to the operation area corresponding to the obstacle.

[0072] Among them, the working area corresponding to the obstacles includes the working area corresponding to the wall obstacles in the robot's working area and the working area corresponding to the column obstacles, and the obstacle avoidance strategy includes avoidance strategies such as the column avoidance strategy and the turning avoidance strategy.

[0073] Specifically, the terminal plans an obstacle avoidance strategy according to the operating area corresponding to the obstacle in the robot's operating area. For example, in an underground garage, when the floor grinding robot approaches a column, a column avoidance strategy is adopted. When the robot's operating area is surrounded by two or more load-bearing walls, when the floor grinding robot approaches the load-bearing wall, it needs to avoid and turn, and a turning avoidance strategy is adopted.

[0074] Step 208: Generate an automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy.

[0075] Among them, the automatic navigation operation trajectory of the robot in the robot's operating area is generated according to the obstacle avoidance strategy and the robot's operating area, etc. The automatic navigation operation trajectory is pre-set in the robot, and the robot automatically navigates and operates in the construction obstacle area according to the navigation operation trajectory.

[0076] Specifically, the terminal generates an automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy. The terminal may be a robot, and the automatic navigation operation trajectory of the robot in the robot operation area is automatically generated. When the terminal is a terminal other than the operation robot, the automatic navigation operation trajectory may be generated and then pushed to the robot. The push form is not limited and may be any method that can be pushed, such as various wireless or wired network transmissions.

[0077] In the above robot operation trajectory planning method, by obtaining the robot operation area data, the robot operation area data can characterize the spatial layout of the robot operation area to provide a basis for subsequent path planning. Among them, the robot operation area includes the size and position of the obstacles in the robot operation area, and the size and position of the obstacles in the robot operation can be obtained in advance according to the robot operation area, and the operation area corresponding to the obstacle can be determined. By planning the obstacle avoidance strategy according to the operation area corresponding to the obstacle, the robot collision or entanglement and repeated coverage can be effectively avoided. By generating an efficient robot automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy, the reasonable planning of the robot automatic navigation operation trajectory can be achieved, thereby effectively improving the operation efficiency of the floor grinding robot, improving the operation radius and operation surface coverage, and simultaneously improving the grinding quality and avoiding collisions. Taking the floor grinding robot as an example, the robot operation trajectory planning method can efficiently and quickly plan the operation trajectory of the floor grinding robot for different underground garage operation scenes. The floor grinding robot can carry out autonomous navigation operations according to the set trajectory, thereby effectively improving the operation radius, operation efficiency and operation surface coverage of the floor grinding robot, and simultaneously improving the grinding quality and avoiding collisions.

[0078] In one embodiment, Figure 3 As shown, after obtaining the robot operation area data in step 202, the following steps are also included:

[0079] Step 302, determining the location of the robot's dedicated electrical box according to the robot's operating area.

[0080] Among them, the robot has a large power demand during operation, so the robot has a dedicated power box corresponding to the robot. The dedicated power box of the robot is designed with an integrated cable reel structure and is connected to the power supply of the mains to power the robot. The terminal determines the location of the dedicated power box corresponding to the robot according to the overall spatial layout of the robot's operating area. For example, the dedicated power box can be set in any corner, such as the corner of the wall angle in the overall robot operating area.

[0081] Step 208, generating an automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy includes:

[0082] Step 304, determining the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot's dedicated electrical box.

[0083] The starting position refers to the starting point of the robot's operation, and the robot operates in the robot's operating area from this starting position. The terminal determines the starting position of the robot's operation in the automatic navigation walking trajectory according to the position of the robot's dedicated power box, and also includes determining the direction of travel at the starting position, and the robot always maintains the direction of travel from the side close to the power box when traveling in the robot's operating area. For example, when the robot's dedicated power box is set at the lower left corner, the robot enters the robot's operating area from the left end to start the operation.

[0084] Step 306 , generating an automatic navigation operation trajectory of the robot in the robot operation area according to the obstacle avoidance strategy and the starting position.

[0085] Specifically, the terminal can determine the end position based on the robot's working area, starting position and the direction of travel at the starting position, and finally generate an automatic navigation working trajectory of the robot in the robot's working area based on the obstacle avoidance strategy, starting position, end position and the overall spatial layout of the robot's working area.

[0086] In this embodiment, the position of the robot's dedicated electrical box is determined according to the robot's operating area. When the floor grinding robot operates automatically, the cable reel in the electrical box will autonomously follow the release of the cable so that the cable touches the ground in a dragging state. According to the position of the robot's dedicated electrical box, the starting position of the robot's operation in the automatic navigation walking trajectory is determined, and the starting direction of the electrical box can be determined by the starting position to prevent the cable from being entangled, and effectively avoid the robot from running over the cable, thereby avoiding the grinding disc directly cutting off the cable and causing electric shock, burning and other safety accidents. According to the obstacle avoidance strategy and the starting position, the automatic navigation operation trajectory of the robot in the robot's operating area is generated, which can achieve the reasonable planning of the robot's automatic navigation operation trajectory, thereby effectively improving the operating efficiency of the floor grinding robot, increasing the operating radius and the coverage of the operating surface, and simultaneously improving the grinding quality to avoid collisions.

[0087] In one embodiment, Figure 4 As shown, step 304, before determining the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot dedicated electric box, it also includes:

[0088] Step 402, dividing the robot operation area into regions to obtain at least two operation areas.

[0089] Specifically, the terminal divides the robot operation area according to the robot operation area, which may be according to the overall spatial layout of the robot operation area. A uniform distribution strategy is adopted, and the adjacent areas divided are evenly distributed, and at least two areas are obtained through area division. The area corresponding to the robot's operation at the current position is preset as the target area, and the area adjacent to the target area is the adjacent area.

[0090] Step 404 , determining an operation path for the robot to enter an adjacent area of ​​the target area from a target area corresponding to the current position, wherein the operation path is to enter the adjacent area from a position in the target area close to a dedicated power box for the robot.

[0091] Specifically, according to the above-mentioned divided areas, the working path of the robot from the target area corresponding to the current position to the adjacent area of ​​the target area can be determined. The working path is to enter the adjacent area from the position in the target area close to the robot's dedicated power box. Among them, the position of the dedicated power box is determined according to the robot's working area, and the robot always keeps moving from the target area to the adjacent area from the side close to the power box when moving in the robot's working area. For example, when the robot's dedicated power box is set at the corner of the lower left corner, when the robot changes the area, it always keeps entering the adjacent area of ​​the target area from the target area corresponding to the current position via the left end to start the operation. In addition, when the robot enters the adjacent area of ​​the target area from the target area corresponding to the current position and performs the operation of changing the area, the adjacent area entered is updated to the target area, which is the target area corresponding to the new robot position.

[0092] There is an overlapping area between the target area and an adjacent area of ​​the target area, and the overlapping ranges of any two overlapping areas in the robot operation area are the same.

[0093] Specifically, there is an overlapping area between the target area and the adjacent area of ​​the target area. The overlapping area means that in order to ensure the consistency of the work quality in the work surface and ensure that each area is fully worked, the target area and the adjacent area of ​​the target area will perform repeated work. The area of ​​repeated work is the overlapping area. The overlapping range of any two overlapping areas in the robot working area is the same, and the same overlapping range ensures that the robot works evenly.

[0094] In this embodiment, by dividing the robot's operating area into regions, at least two operating areas are obtained, which can effectively divide different areas, ensure that the robot's operating area is evenly distributed during construction, and ensure the consistency of the grinding quality within the operating surface. By determining the operating path of the robot from the target area corresponding to the current position to the adjacent area of ​​the target area, the operating path is to enter the adjacent area from the position close to the robot's dedicated electrical box in the target area, so that the robot can achieve the effect of the minimum number of U-turns when changing areas in different areas and effectively prevent problems such as cable entanglement and cable pulling in the electrical box. The problem of robot travel accuracy error is solved by overlapping areas, ensuring that the robot can fully and completely operate in the robot's operating area, thereby increasing the operating coverage radius.

[0095] In one embodiment, Figure 5 As shown, the obstacle includes a column obstacle; the obstacle avoidance strategy includes a column avoidance strategy for the column obstacle; step 204, determining the operation area corresponding to the obstacle according to the size and position of the obstacle; and step 206, planning the obstacle avoidance strategy according to the operation area corresponding to the obstacle includes:

[0096] Step 502, obtaining the structural dimension characteristics of the robot.

[0097] Specifically, the terminal obtains the structural dimension characteristics of the robot, and the structural dimension characteristics may include characteristic information including the shape structure of the robot, the size of the robot, and the like.

[0098] Step 504, based on the size and position of the column-type obstacle and the structural size characteristics of the robot, determine the first working area and the second working area corresponding to the column-type obstacle, and determine the first moving direction of the robot in the first working area and the second moving direction in the second working area, the first moving direction and the second moving direction being different directions.

[0099] Among them, the obstacles include column obstacles, and the column obstacles may be columns in the robot operation area such as an underground garage. The size of the column obstacles may include the height, width, length, depth, shape and other dimensions of the column obstacles. The position of the column obstacles may include the position of the column obstacles in the robot operation area and the floor space occupied at the position. Specifically, the terminal determines the first operation area and the second operation area corresponding to the column obstacles according to the size and position of the column obstacles and the structural size characteristics of the robot. Specifically, according to the size and position of the column obstacle and the structural size characteristics of the robot, the closest distance for the robot to avoid the column obstacle is determined, according to the relative position of the robot's working direction and the column obstacle, the minimum avoidance width for the robot to avoid the column obstacle is determined, according to the relative position, the closest distance and the minimum avoidance width of the robot's working direction and the column obstacle, the first working area corresponding to the column obstacle is determined, and the straight line corresponding to the robot's moving direction in the non-obstacle avoidance area coincides with a vertex of the first working area. According to the diagonal direction of the first working area, the first moving direction of the robot in the first working area is determined, wherein the diagonal direction is the direction of the diagonal corresponding to the above-mentioned coincident vertex. According to the position of the column obstacle, the minimum avoidance width and the length of the column obstacle, the second working area is determined, and the moving direction of the robot in the normal working area is used as the second moving direction of the robot in the second working area. The first working area may include an approaching avoidance area for approaching an obstacle and a leaving avoidance area for leaving an obstacle. The second working area may be an area determined according to the obstacle and the parallel position of the obstacle position.

[0100] Step 506, obtaining a column avoidance strategy for column obstacles according to the first operating area, the second operating area, the first traveling direction, and the second traveling direction.

[0101] Specifically, the terminal obtains a column avoidance strategy for column obstacles according to the first operating area, the second operating area, the first travel direction, and the second travel direction. Among them, the robot operating area includes multiple column obstacles and multiple obstacles need to be column avoided. Through the column avoidance strategy, the generated trajectory planning can achieve avoidance of all column obstacles in the robot operating area. The column avoidance strategy can be applied to avoid any column obstacle.

[0102] Taking the column avoidance of one of the column-type obstacles as an example, the first operation area may include an approach avoidance area and a leave avoidance area. The first travel direction includes an avoidance travel direction for approaching obstacles and an avoidance travel direction for leaving obstacles. The column avoidance strategy includes: when the target area corresponding to the current position of the robot moves straightly to the approach avoidance area, the avoidance travel direction for approaching obstacles is adopted, the avoidance travel direction for approaching obstacles is at a first angle to the obstacle, and the robot maintains an oblique line in the approach avoidance area to work to the second operation area, and the second operation area is a parallel position to the obstacle position. When the robot reaches the second operation area, the robot uses the second travel direction to work, and the second travel direction is a straight line travel direction parallel to the column-type obstacle. When the robot leaves the second operation area and arrives at the leave avoidance area, the avoidance travel direction for leaving obstacles is adopted, the avoidance travel direction for leaving obstacles is at a second angle to the obstacle, and the robot maintains an oblique line in the leave avoidance area, and the second angle is different from the first angle. When the robot leaves the leave avoidance area, it returns to the target area corresponding to the current position and moves straight.

[0103] In this embodiment, by obtaining the structural size characteristics of the robot. According to the size and position of the column obstacle and the structural size characteristics of the robot, the first operating area and the second operating area corresponding to the column obstacle are determined, and the first travel direction of the robot in the first operating area and the second travel direction in the second operating area are determined, and the first travel direction and the second travel direction are different directions. According to the first operating area, the second operating area, the first travel direction and the second travel direction, a column avoidance strategy for column obstacles is obtained. It can ensure that the robot avoids the column at a certain safe distance while ensuring that the floor grinding robot can grind and cover the narrow ground between the two columns to improve the grinding coverage efficiency. The column avoidance strategy can ensure the reasonable planning of the robot's automatic navigation operation trajectory, thereby effectively improving the operation efficiency of the floor grinding robot.

[0104] In one embodiment, Figure 6 As shown, the obstacle includes a wall obstacle; the obstacle avoidance strategy includes a steering avoidance strategy for the wall obstacle; step 204, determining the operating area corresponding to the obstacle according to the size and position of the obstacle; and step 206, planning the obstacle avoidance strategy according to the operating area corresponding to the obstacle includes:

[0105] Step 602, obtaining the structural dimension characteristics of the robot.

[0106] Specifically, the terminal obtains the structural dimension characteristics of the robot, and the structural dimension characteristics may include characteristic information including the shape structure of the robot, the size of the robot, and the like.

[0107] Step 604: Determine a first wall side operating area, a second wall side operating area, and a turning operating area according to the length and position of the wall obstacle and the structural size characteristics of the robot.

[0108] Specifically, according to the size and position of the wall obstacle and the structural size characteristics of the robot, the closest distance for the robot to avoid the wall obstacle is determined, according to the relative position between the robot's working direction and the wall obstacle, the minimum avoidance width for the robot to avoid the wall obstacle is determined, and according to the closest distance and the minimum avoidance width, the first working area corresponding to the wall obstacle is determined. According to the minimum avoidance width and the length of the obstacle, the second working area corresponding to the wall obstacle can be determined. According to the size and position of the wall obstacle and the structural size characteristics of the robot, the wall root distance for the robot to avoid the wall obstacle is determined, and according to the wall root distance, the edge trimming area along the wall root is planned, and according to the wall root distance and the edge trimming area, the turning working area corresponding to the wall obstacle is determined. The last working point of the robot in the first wall side working area is the same as the first working point in the second wall side working area, and the last working point of the robot in the second wall side working area is the same as the first working point in the turning working area. According to the diagonal direction of the first wall side working area, the first wall side traveling direction in the first wall side working area is determined. According to the minimum avoidance width and the original traveling direction of the target area, the second wall side traveling direction in the second wall side working area can be determined. According to the edge finishing area, the turning traveling direction in the turning working area can be determined. The first wall side traveling direction, the second wall side traveling direction and the turning traveling direction are different directions.

[0109] The obstacles include wall obstacles, which may be load-bearing walls in the robot operation area such as an underground garage. The size of the wall obstacles may include the height, depth, length, wall area, and other dimensions of the wall obstacles. The location of the wall obstacles may include the specific location of the wall obstacles in the robot operation area and the location of the wall obstacles enclosed. Enclosure refers to a closed space surrounded by different walls, such as in an underground garage.

[0110] Specifically, the terminal determines the first wall side working area, the second wall side working area and the turning working area corresponding to the wall obstacle according to the size and position of the wall obstacle and the structural size characteristics of the robot, and determines the first wall side traveling direction in the first wall side working area, the second wall side traveling direction in the second wall side working area and the turning traveling direction in the turning working area, and the first wall side traveling direction, the second wall side traveling direction and the turning traveling direction are different directions. The first wall side working area may be an area including the wall head that is about to approach the wall obstacle. The second wall side working area may be an area determined according to the wall obstacle and the parallel position of the wall obstacle position. The turning working area refers to the area that needs to turn and return at the corner of the wall that is about to approach the wall obstacle.

[0111] Step 606, obtaining a steering avoidance strategy for the column obstacle according to the first wall side working area, the second wall side working area, the turning working area, the first wall side traveling direction, the second wall side traveling direction and the turning traveling direction.

[0112] Specifically, the terminal obtains a steering avoidance strategy for column obstacles according to the first wall operation area, the second wall operation area, the turning operation area, the first wall travel direction, the second wall travel direction, and the turning travel direction. The robot operation area includes obstacles formed by multiple wall obstacles, and the steering avoidance strategy is used to achieve steering avoidance of the wall obstacles formed by the multiple wall obstacles in the robot operation area.

[0113] For example, when the robot moves in a straight line from the target area at the current position to the first wall side operation area, it moves in the first wall side direction to the second wall side operation area, and the second wall side direction is a direction parallel to the position of the wall obstacle. The robot moves in a straight line in the second wall side operation area using the second wall side direction. When the robot moves from the second wall side operation area to the turning operation area, it moves in the turning direction, and then makes a 90-degree turn. After turning, the robot returns to the second wall side operation area, and then returns from the second wall side operation area to the first wall side operation area, and finally returns to the target area, achieving turning avoidance of the enclosed load-bearing wall.

[0114] In this embodiment, a steering avoidance strategy for column-type obstacles is obtained based on the first wall working area, the second wall working area, the turning working area, the first wall traveling direction, the second wall traveling direction and the turning traveling direction. This can achieve steering and avoidance of wall obstacles, effectively improve the operating efficiency of the floor grinding robot, increase the operating radius and avoid collisions.

[0115] In one embodiment, Figure 7As shown, the steering avoidance strategy includes planning of the edge area. Step 606, before obtaining the steering avoidance strategy for the column obstacle according to the first wall side working area, the second wall side working area, the steering working area, the first wall side traveling direction, the second wall side traveling direction and the steering traveling direction, further includes:

[0116] Step 702: Determine the wall base distance corresponding to the wall obstacle according to the length and position of the wall obstacle.

[0117] Specifically, in view of the large rotation radius of the robot body, the terminal will determine the wall base distance corresponding to the wall obstacle based on the length and position of the wall obstacle at the angle between the robot body and the wall obstacle. The wall base distance refers to the distance between the robot and the wall in the turning operation area.

[0118] Step 704 , planning a trimming area along the wall base according to the distance from the wall base, the trimming area providing a turning space for the robot to turn.

[0119] Specifically, the terminal plans the trimming area along the wall base according to the distance from the wall base, and the trimming area provides turning space for the robot. The trimming area is formed because the floor grinding robot has a large rotation radius. When there are two or more load-bearing walls in the robot's working area, when the robot turns around near the end of one of the load-bearing walls, an unoperated area at a certain distance from the wall base will be left for turning. The trimming area along the wall base can be used for grinding the remaining unoperated area.

[0120] In this embodiment, by planning the trimming area in the steering avoidance strategy, it is possible to design a trimming area along the base of the wall for operations at the base of the wall in view of the large rotation radius of the robot body, thereby inducing steering at the angle of the wall, solving the problem of steering at the angle of the wall, and improving the grinding coverage at the base and corners of the wall while avoiding the robot from colliding with load-bearing walls.

[0121] In an application example, the present application also provides an application scenario, in which the automatic navigation operation trajectory generated by the application scenario is as follows: Figure 8 As shown, this application scenario applies the above robot operation trajectory planning method to the robot. Specifically, the terminal takes the floor grinding robot as an example, and the application of the robot operation trajectory planning method in this application scenario is as follows:

[0122] In one embodiment, Figure 8The automatic navigation operation trajectory of the floor grinding robot in the robot operation area is generated. Among them, the robot operation area data is obtained, and the robot operation area can be the construction operation area of ​​the floor grinding robot. The robot operation area data includes the size and position of obstacles in the robot operation area. The robot operation area is the robot operation area of ​​a certain underground garage. The floor grinding robot performs grinding operations in the corresponding robot operation area. Obstacles include wall obstacles and column obstacles. For example, Figure 8 The small squares in the figure represent column obstacles such as basement columns, and the outer wireframe represents wall obstacles such as load-bearing walls. First, according to the robot's operating area, determine the position of the robot's dedicated electrical box. According to the position of the robot's dedicated electrical box, determine the starting position of the robot's operation in the automatic navigation walking trajectory, and generate an automatic navigation operating trajectory in the robot's operating area based on the obstacle avoidance strategy and the starting position. The robot's operating area is divided into regions to obtain at least two operating areas, and the operating path of the robot from the target area corresponding to the current position to the adjacent area of ​​the target area is determined. The operating path is to enter the adjacent area from the position near the robot's dedicated electrical box in the target area. According to the size and position of the obstacle, determine the operating area corresponding to the obstacle, and plan the obstacle avoidance strategy according to the operating area corresponding to the obstacle. Finally, according to the obstacle avoidance strategy, generate the robot's automatic navigation operating trajectory in the robot's operating area.

[0123] Specifically, first determine the starting and ending positions of the floor grinding robot, and then start planning the robot's trajectory. Figure 8 In the underground garage in the figure, the small squares are columns, and the square in the lower left corner is a robot-specific power box. The robot-specific power box is set in the lower left corner, and the robot's operation starting point is set near the power box. The robot encounters a total of 3 rows of basement columns during its movement. Figure 8 The dotted box in the figure shows the first row of basement columns. It can be found that after the robot completes the construction work below the row of columns, it chooses to enter the upper working area of ​​the row of columns from the left end. Similarly, when the robot moves to the remaining two rows of columns, it also chooses to enter the upper working area from the left end of the entire row of columns. This ensures that when the robot is operating automatically, it always drives out from the side close to the robot's dedicated distribution box and enters the adjacent area, avoiding cables entangled in the columns and affecting the robot's operating radius. And with Figure 8 The left and right directions shown are the main travel directions of the robot. Figure 8 The left and right travel directions shown are longer than the single path trajectory in the up and down directions, which can reduce the robot's turning frequency, improve work efficiency, and achieve the minimum number of robot turning times.

[0124] In one embodiment, planning the obstacle avoidance strategy includes a pillar avoidance strategy, such as Fig. 9 As shown, based on the structural size characteristics of the robot, a "two oblique and one straight" linear path is proposed to achieve movement around the column. Fig. 9 The dotted box in the figure indicates approaching and leaving the avoidance area. The floor grinding robot uses two oblique lines to enter and exit the area between the two columns, thereby achieving the purpose of grinding and covering the narrow area between the two columns.

[0125] In one embodiment, since the length of the cable carried by the robot is limited, the robot may drag or retract the cable during the movement to ensure the maximum operating radius requirement. Therefore, when designing the path, the free space of the cable must be considered to plan the turning path of the path. Planning the obstacle avoidance strategy also includes turning avoidance planning, such as Fig.10 As shown in the figure, when the robot enters the right working area from the left working area, it chooses to move from the side close to the electric box, so that all cables can be easily recovered. Fig.11 As shown by the dotted line. Fig.11 In the area formed by the adjacent columns shown in the figure, the total number of the back-and-forth paths of the floor grinding robot is an even number, which can be achieved Fig.10 The reasonable U-turn path planning is shown.

[0126] In one embodiment, planning an obstacle avoidance strategy includes planning a turn avoidance strategy, such as Fig.12 The figure shows the robot's steering avoidance strategy. The robot's operating area is surrounded by three load-bearing walls. When the floor grinding robot runs along the main path, it will leave an unground area at a certain distance from the wall when it turns around near the load-bearing wall on the right side of the figure. This unground area needs to be ground and covered using a finishing path along the wall. At the same time, due to the large turning radius of the robot body, Fig.12 The wall angle area in the lower right corner leads to the design of the turning path at the wall angle. Two oblique paths, one long and one short, are used to change the robot's heading, and finally achieve a 90° heading change at the wall angle.

[0127] In one embodiment, there is an overlapping area between the target area and the adjacent area of ​​the target area, and the overlapping range of any two overlapping areas in the robot operation area is the same. The overlapping area is to compensate for the walking accuracy error of the robot, improve the consistency of grinding quality, and meet the requirements of column avoidance, turning strategy, etc. Fig.13 and 14 As shown in the figure, the actual grinding width of the floor grinding robot requires that adjacent working areas have a certain width of overlapping area. Fig.13In the area shown, the spacing between adjacent working areas should be evenly distributed. The path center distance parameter D1 should be selected based on the grinding mark diameter R1 of the grinding disc within the allowable value range.

[0128] In this embodiment, by acquiring the robot operation area data, the robot operation area data can characterize the spatial layout of the robot operation area to provide a basis for subsequent path planning. Among them, the robot operation area includes the size and position of the obstacles in the robot operation area, and the size and position of the obstacles in the robot operation can be obtained in advance according to the robot operation area, and the operation area corresponding to the obstacle can be determined. By planning the obstacle avoidance strategy according to the operation area corresponding to the obstacle, it is possible to effectively avoid robot collision or cable entanglement in the robot-specific electrical box and repeated coverage of the operation area. For example, through the column avoidance strategy, when the floor grinding robot approaches the column, the "two oblique and one straight" straight walking path strategy is adopted. It can ensure that the robot avoids the column at a certain safe distance while ensuring that the floor grinding robot can grind and cover the narrow ground between the two columns, thereby improving the grinding coverage efficiency. According to the steering avoidance strategy, in view of the large rotation radius of the floor grinding robot body, a trimming area along the wall root is designed for grinding the wall root part, and the steering avoidance at the wall angle is introduced to solve the steering problem at the wall angle. By generating an efficient robot automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy, the robot automatic navigation operation trajectory can be reasonably planned to ensure that the floor grinding robot turns around the least number of times on the automatic operation path, and avoid the cable being entangled in the column, causing cable pulling and reducing the grinding coverage radius. This effectively improves the operation efficiency of the floor grinding robot, increases the operation radius and operation surface coverage, and simultaneously improves the grinding quality and avoids collisions.

[0129] It should be understood that, although each step in each flow chart in the above-described embodiment is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is clear explanation in this article, the execution of these steps does not have strict order restriction, and these steps can be performed in other orders. And, at least a portion of the steps in each flow chart can include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of the steps or stages in other steps or other steps.

[0130] In one embodiment, Fig.14As shown, a robot operation trajectory planning device is provided, including: a data acquisition module 1402, an obstacle corresponding operation area determination module 1404, an avoidance strategy planning module 1406 and an operation trajectory generation module 1408, wherein:

[0131] The data acquisition module 1402 is used to acquire robot operation area data, where the robot operation area data includes the size and position of obstacles in the robot operation area.

[0132] The obstacle corresponding working area determination module 1404 is used to determine the working area corresponding to the obstacle according to the size and position of the obstacle.

[0133] The avoidance strategy planning module 1406 is used to plan an obstacle avoidance strategy according to the operation area corresponding to the obstacle;

[0134] The operation trajectory generation module 1408 is used to generate an automatic navigation operation trajectory in the robot operation area according to the obstacle avoidance strategy.

[0135] In one embodiment, the robot operation trajectory planning device further includes an electric box position determination module, which is used to determine the position of the robot's dedicated electric box according to the robot's operation area. The operation trajectory generation module is also used to determine the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot's dedicated electric box. According to the obstacle avoidance strategy and the starting position, the automatic navigation operation trajectory in the robot's operation area is generated.

[0136] In one embodiment, the robot operation trajectory planning device further includes an operation area division module, which is used to divide the robot operation area into regions to obtain at least two operation areas. Determine the operation path of the robot from the target area corresponding to the current position to the adjacent area of ​​the target area, and the operation path is to enter the adjacent area from the position close to the robot dedicated power box in the target area. There is an overlapping area between the target area and the adjacent area of ​​the target area, and the overlapping range of any two overlapping areas in the robot operation area is the same.

[0137] In one embodiment, the obstacle includes a column obstacle; the obstacle avoidance strategy includes a column avoidance strategy for the column obstacle; the obstacle corresponding work area determination module is also used to obtain the structural size characteristics of the robot. According to the size and position of the column obstacle and the structural size characteristics of the robot, the first work area and the second work area corresponding to the column obstacle are determined, and the first travel direction of the robot in the first work area and the second travel direction in the second work area are determined, and the first travel direction and the second travel direction are different directions. The avoidance strategy planning module is also used to obtain the column avoidance strategy for the column obstacle according to the first work area, the second work area, the first travel direction and the second travel direction.

[0138] In one embodiment, the obstacle includes a wall obstacle; the obstacle avoidance strategy includes a steering avoidance strategy for the wall obstacle; the obstacle corresponding operation area determination module is also used to obtain the structural size characteristics of the robot. According to the length and position of the wall obstacle and the structural size characteristics of the robot, the first wall side operation area, the second wall side operation area and the turning operation area are determined, and the first wall side travel direction in the first wall side operation area, the second wall side travel direction in the second wall side operation area and the turning travel direction in the turning operation area are determined, and the first wall side travel direction, the second wall side travel direction and the turning travel direction are different directions. The avoidance strategy planning module is also used to obtain the steering avoidance strategy for column obstacles according to the first wall side operation area, the second wall side operation area, the turning operation area, the first wall side travel direction, the second wall side travel direction and the turning travel direction.

[0139] In one of the embodiments, the robot operation trajectory planning device also includes an edge area planning module, which is further used to determine the wall root distance corresponding to the wall obstacle based on the length and position of the wall obstacle; based on the wall root distance, the edge area along the wall root is planned, and the edge area provides turning space for the robot to turn.

[0140] For the specific definition of the robot operation trajectory planning device, please refer to the definition of the robot operation trajectory planning device method above, which will not be repeated here. Each module in the above-mentioned robot operation trajectory planning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0141] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.15As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for a robot operation trajectory planning device is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0142] Those skilled in the art will understand that Fig.15 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0143] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0144] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0145] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0147] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A robot operation trajectory planning method, characterized in that: The method comprises: Acquire robot operation area data, and determine the location of the robot's dedicated electrical box based on the robot's operation area; the robot operation area data includes the size and location of obstacles in the robot's operation area; Determine the operating area corresponding to the obstacle according to the size and position of the obstacle; Planning obstacle avoidance strategies based on the operating areas corresponding to the obstacles; Dividing the robot's operating area into at least two operating areas; Determine an operation path for the robot to enter an adjacent area from a target area corresponding to a current position of the robot, wherein the operation path is to enter the adjacent area from a position in the target area close to the robot dedicated power box; Determine the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot dedicated electric box; An automatic navigation operation trajectory in the robot operation area is generated according to the obstacle avoidance strategy and the starting position.

2. The method according to claim 1, characterized in that There is an overlapping area between the target area and an adjacent area of ​​the target area, and the overlapping ranges of any two overlapping areas in the robot operation area are the same.

3. The method according to claim 1, characterized in that The obstacle includes a column obstacle; the obstacle avoidance strategy includes a column avoidance strategy for column obstacles; determining the operation area corresponding to the obstacle based on the size and position of the obstacle, and planning the obstacle avoidance strategy based on the operation area corresponding to the obstacle includes: Obtaining structural dimensional characteristics of the robot; Based on the size and position of the column-like obstacle and the structural dimensional characteristics of the robot, a first operating area and a second operating area corresponding to the column-like obstacle are determined, and a first moving direction of the robot in the first operating area and a second moving direction in the second operating area are determined, where the first moving direction and the second moving direction are different directions; the first operating area includes an approaching avoidance area for approaching an obstacle and a leaving avoidance area for leaving an obstacle, and the second operating area includes an area determined based on the obstacle and a parallel position of the obstacle; the first moving direction of the robot in the first operating area is determined based on the diagonal direction of the first operating area, and the moving direction of the robot in the normal operating area is the second moving direction of the robot in the second operating area; A column avoidance strategy for the column-type obstacle is obtained according to the first operating area, the second operating area, the first traveling direction, and the second traveling direction.

4. The method according to claim 1, wherein The obstacle includes a wall obstacle; the obstacle avoidance strategy includes a steering avoidance strategy for the wall obstacle; determining the operation area corresponding to the obstacle based on the size and position of the obstacle, and planning the obstacle avoidance strategy based on the operation area corresponding to the obstacle includes: Obtaining structural dimensional characteristics of the robot; Based on the length and position of the wall obstacle and the structural dimensional characteristics of the robot, a first wall-side operation area, a second wall-side operation area, and a turning operation area are determined. A first wall-side travel direction in the first wall-side operation area, a second wall-side travel direction in the second wall-side operation area, and a turning direction in the turning operation area are determined. The first wall-side travel direction, the second wall-side travel direction, and the turning direction are different directions. The first wall-side operation area includes an area immediately approaching the top of the wall obstacle. The second wall-side operation area includes an area determined based on the wall obstacle and its parallel position. The turning operation area represents an area requiring a turn and return when approaching a corner of the wall obstacle. The first wall-side travel direction in the first wall-side operation area is determined based on the diagonal direction of the first wall-side operation area. The second wall-side travel direction in the second wall-side operation area is determined based on the minimum avoidance width and the original travel direction of the target area. The turning direction in the turning operation area is determined based on the edge closing area. A steering avoidance strategy for the wall obstacle is obtained according to the first wall operation area, the second wall operation area, the turning operation area, the first wall travel direction, the second wall travel direction, and the turning travel direction.

5. The method according to claim 4, characterized in that The steering avoidance strategy includes planning of a trimming area. Before planning the obstacle avoidance strategy based on the operating area corresponding to the obstacle, the method further includes: Determining the wall base distance corresponding to the wall obstacle according to the length and position of the wall obstacle; According to the wall base distance, a trimming area along the wall base is planned, and the trimming area provides a turning space for the robot to turn.

6. A robot operation trajectory planning device, characterized in that: The device comprises: A data acquisition module is used to acquire robot operation area data, wherein the robot operation area data includes the size and position of obstacles in the robot operation area; An electric box location determination module, configured to determine the location of the robot's dedicated electric box according to the robot's operating area; An obstacle-corresponding operation area determination module is used to determine the operation area corresponding to the obstacle based on the size and position of the obstacle; An avoidance strategy planning module is used to plan an obstacle avoidance strategy according to the operation area corresponding to the obstacle; an operation area division module, configured to divide the robot's operation area into at least two operation areas, and determine an operation path for the robot to enter an adjacent area from a target area corresponding to a current position of the robot, wherein the operation path is to enter the adjacent area from a position in the target area close to the robot's dedicated electrical box; The operation trajectory generation module is used to determine the starting position of the robot operation in the automatic navigation walking trajectory according to the position of the robot's dedicated electrical box, and generate the automatic navigation operation trajectory in the robot's operation area according to the obstacle avoidance strategy and the starting position.

7. The device according to claim 6, characterized in that The obstacles include column obstacles; the obstacle avoidance strategy includes a column avoidance strategy for column obstacles; the obstacle corresponding operation area determination module is further used to: Acquire the structural dimensional characteristics of the robot; determine the first operating area and the second operating area corresponding to the column-type obstacle based on the size and position of the column-type obstacle and the structural dimensional characteristics of the robot, and determine the first moving direction of the robot in the first operating area and the second moving direction in the second operating area, wherein the first moving direction and the second moving direction are different directions; obtain a column avoidance strategy for the column-type obstacle based on the first operating area, the second operating area, the first moving direction and the second moving direction; the first operating area includes an approaching avoidance area for approaching an obstacle and a leaving avoidance area for leaving an obstacle, and the second operating area includes an area determined based on the obstacle and the parallel position of the obstacle position; determine the first moving direction of the robot in the first operating area based on the diagonal direction of the first operating area, and the moving direction of the robot in the normal operating area is the second moving direction of the robot in the second operating area.

8. The device according to claim 6, characterized in that The obstacles include wall obstacles; the obstacle avoidance strategy includes a steering avoidance strategy for wall obstacles; the obstacle corresponding operation area determination module is further used to: Obtaining structural dimensional characteristics of the robot; determining a first wall-side operating area, a second wall-side operating area, and a turning operating area based on the length and position of the wall-side obstacle and the structural dimensional characteristics of the robot, and determining a first wall-side traveling direction in the first wall-side operating area, a second wall-side traveling direction in the second wall-side operating area, and a turning traveling direction in the turning operating area, wherein the first wall-side traveling direction, the second wall-side traveling direction, and the turning traveling direction are different directions; obtaining a turning avoidance strategy for the wall-side obstacle based on the first wall-side operating area, the second wall-side operating area, the turning operating area, the first wall-side traveling direction, the second wall-side traveling direction, and the turning traveling direction; The first wall-side working area includes an area that is about to approach the top of a wall obstacle, the second wall-side working area includes an area determined based on the wall obstacle and the parallel position of the wall obstacle position, and the turning working area indicates an area that needs to turn and return when approaching the corner of the wall obstacle; the first wall-side traveling direction in the first wall-side working area is determined based on the diagonal direction of the first wall-side working area; the second wall-side traveling direction in the second wall-side working area is determined based on the minimum avoidance width and the original traveling direction of the target area, and the turning traveling direction in the turning working area is determined based on the edge finishing area.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Autonomous travel route generating system

    CN109074081A

  • Method for operating wired robot vacuum cleaner, involves utilizing control program stored in memory as model for connecting cable between voltage source and cleaner, and operating cleaner to perform various actions by using control program

    DE102012112542A1