Sweeping robot and three-dimensional mapping method, system and computer-readable storage medium

By acquiring and splicing three-dimensional area maps of multiple target locations in the sweeping robot mapping mode, the problem of low efficiency and duplication in the sweeping robot map acquisition in the existing technology is solved, and a more accurate and efficient cleaning area map construction is achieved.

CN112286185BActive Publication Date: 2024-09-13SHEN ZHEN 3IROBOTICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011101653.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-14
Publication Date
2024-09-13
Estimated Expiration
2040-10-14

AI Technical Summary

Technical Problem

Existing sweeping robots have problems with large-scale duplication and low efficiency when acquiring cleaning area maps.

Method used

By controlling the sweeping robot to acquire three-dimensional area maps of multiple target locations when it is in mapping mode, and connecting these maps to generate a three-dimensional map of the cleaning area, duplication and omissions are reduced, and acquisition efficiency is improved.

Benefits of technology

It improves the accuracy and efficiency of the sweeping robot in obtaining the three-dimensional map of the cleaning area, and reduces the occurrence of repeated acquisition and omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112286185B
    Figure CN112286185B
Patent Text Reader

Abstract

The present application discloses a sweeping robot and a three-dimensional mapping method, system and computer-readable storage medium thereof. The method comprises: when the sweeping robot is in a mapping mode for building a cleaning area map, controlling the sweeping robot to obtain a three-dimensional area map of a target position, the target position is a position for controlling the sweeping robot to start a camera device and obtain image information of the cleaning area, and there are multiple target positions; connecting the three-dimensional area maps of each target position to obtain a three-dimensional map of the cleaning area. This solves the problem that when the sweeping robot is controlled to run around the cleaning area to obtain a three-dimensional map of the cleaning area, the cleaning map of the cleaning area obtained has a large area of ​​duplication, and improves the efficiency of the sweeping robot in obtaining a three-dimensional map of the cleaning area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a sweeping robot and a three-dimensional mapping method and system thereof, and a computer-readable storage medium. Background Art

[0002] With the development of science and technology, mobile robots used to perform various tasks have entered people's daily lives, such as smart forklifts and smart airplanes used in logistics and transportation, and sweeping robots used in home life. Among them, sweeping robots are a typical application of mobile robots. During the sweeping process of the sweeping robot, it is necessary to make reasonable planning for its cleaning path to prevent the sweeping robot from missing or repeating the cleaning process. To this end, first control the sweeping robot to obtain a map of the cleaning area and then divide it.

[0003] In the prior art, the map of the cleaning area is often obtained by controlling the sweeping robot to run around the cleaning area. The map obtained in this way has the disadvantages of large-area duplication and low acquisition efficiency. Summary of the invention

[0004] The embodiments of the present application provide a sweeping robot and a three-dimensional mapping method thereof, and a computer-readable storage medium, aiming to solve the problem that when the sweeping robot obtains a cleaning area map, the map obtained has large-area duplication and low acquisition efficiency.

[0005] To achieve the above objectives, the present application provides a three-dimensional mapping method for a sweeping robot, comprising:

[0006] When the sweeping robot is in a mapping mode for building a cleaning area map, the sweeping robot is controlled to obtain a three-dimensional area map of a target position, where the target position is a position where the sweeping robot is controlled to start a camera device to obtain image information of the cleaning area, and there are multiple target positions;

[0007] The three-dimensional area maps of the target locations are connected to obtain a three-dimensional map of the cleaning area.

[0008] Optionally, the step of controlling the sweeping robot to obtain a three-dimensional area map of a target location includes:

[0009] Determining a target position of the sweeping robot;

[0010] When the cleaning robot moves to the target position, controlling the cleaning robot to start a camera device;

[0011] Control the sweeping robot to rotate one circle at the target position, and obtain the target object by capturing image information of the cleaning area at the target position through the camera device;

[0012] The three-dimensional position of the target object is determined to construct a three-dimensional area map of the target position.

[0013] Optionally, the step of determining the target position of the sweeping robot includes:

[0014] When the moment when the cleaning robot is in the mapping mode is an initial moment, determining the current position of the cleaning robot as the target position;

[0015] When the moment when the sweeping robot is in the mapping mode is not the initial moment, the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated is determined as the target position of the sweeping robot.

[0016] Optionally, the step of determining that the intersection of an area corresponding to the three-dimensional area map of the previous target position and an area for which a three-dimensional area map is not generated is the target position of the sweeping robot includes:

[0017] When there are multiple intersections, respectively calculate the distance between the current position of the cleaning robot and each intersection;

[0018] The intersection with the smallest distance value is determined as the target position.

[0019] Optionally, the step of connecting the three-dimensional area maps of the target locations to obtain the three-dimensional map of the cleaning area includes:

[0020] When there is map data of overlapping areas in adjacent three-dimensional area maps, removing the map data of the overlapping areas in any three-dimensional area map;

[0021] The adjacent three-dimensional area maps are connected to form a three-dimensional map of the cleaning area.

[0022] Optionally, the step of determining the three-dimensional position of the target object comprises:

[0023] Acquire distance information between the target object and the sweeping robot;

[0024] The three-dimensional position of the target object in the cleaning area is obtained through the distance information.

[0025] Optionally, when the cleaning robot is in a mapping mode for building a cleaning area map, before the step of controlling the cleaning robot to obtain a three-dimensional area map of a target location, the step includes:

[0026] Determining whether the sweeping robot has a memory map, wherein the memory map is a three-dimensional map recording the cleaning area of ​​the sweeping robot;

[0027] If the memory map does not exist, the sweeping robot is controlled to enter the mapping mode for constructing the cleaning area map.

[0028] In addition, the present application also provides a sweeping robot, the sweeping robot comprising:

[0029] a control module, for controlling the sweeping robot to obtain a three-dimensional area map of a target position when the sweeping robot is in a mapping mode for constructing a cleaning area map, wherein the target position is a position for controlling the sweeping robot to start a camera device to obtain image information of the cleaning area, and there are multiple target positions;

[0030] A connection module is used to connect the three-dimensional area maps of each target position to obtain a three-dimensional map of the cleaning area.

[0031] In addition, the present application also provides a three-dimensional mapping system, which includes a processor, a memory, and a three-dimensional mapping program for a sweeping robot stored in the memory and run on the processor. When the three-dimensional mapping program of the sweeping robot is executed by the processor, the steps of any of the three-dimensional mapping methods for a sweeping robot are implemented.

[0032] In addition, the present application also provides a computer-readable storage medium, on which a three-dimensional mapping program for a sweeping robot is stored. When the three-dimensional mapping program for the sweeping robot is executed by a processor, the steps of any of the three-dimensional mapping methods for a sweeping robot are implemented.

[0033] In this embodiment, when the sweeping robot is in a mapping mode for building a cleaning area map, the sweeping robot is controlled to obtain a three-dimensional area map of a target position, and then a three-dimensional map of the area to be cleaned is obtained based on the obtained three-dimensional area maps of different target positions. In the present application, by controlling the sweeping robot to obtain three-dimensional area maps of different target positions, and then obtaining a three-dimensional map of the cleaning area, the phenomenon of repeated acquisition or omission when the sweeping robot is controlled by a preset path to obtain a three-dimensional map of the cleaning area is reduced, thereby improving the accuracy of the sweeping robot in obtaining the three-dimensional map of the cleaning area and the efficiency of the acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application;

[0035] Figure 2 This is a flow chart of an embodiment of a three-dimensional mapping method for a sweeping robot of the present application;

[0036] Figure 3This is a flow chart of another embodiment of the three-dimensional mapping method of the sweeping robot of the present application;

[0037] Figure 4 This is a flow chart of another embodiment of the three-dimensional mapping method of the sweeping robot of the present application.

[0038] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0039] 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.

[0040] The main solution of the embodiment of the present application is: when the sweeping robot is in a mapping mode for constructing a cleaning area map, the sweeping robot is controlled to obtain a three-dimensional area map of a target position, the target position is a position for controlling the sweeping robot to start a camera device to obtain image information of the cleaning area, and there are multiple target positions; the three-dimensional area maps of each target position are connected to obtain a three-dimensional map of the cleaning area.

[0041] Since the existing map of the cleaning area is often obtained by controlling the sweeping robot to run around the cleaning area, the map obtained in this way has the disadvantages of large-area duplication and low acquisition efficiency.

[0042] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.

[0043] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0044] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, etc. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a temperature sensor, a laser scanner, etc., which will not be described in detail here.

[0045] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0046] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a control program for the home appliance.

[0047] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the control program of the home appliance stored in the memory 1005 and perform the following operations:

[0048] When the sweeping robot is in a mapping mode for building a cleaning area map, the sweeping robot is controlled to obtain a three-dimensional area map of a target position, where the target position is a position where the sweeping robot is controlled to start a camera device to obtain image information of the cleaning area, and there are multiple target positions;

[0049] The three-dimensional area maps of the target locations are connected to obtain a three-dimensional map of the cleaning area.

[0050] refer to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the three-dimensional mapping method of the sweeping robot of the present application.

[0051] The embodiments of the present application provide an embodiment of a three-dimensional mapping method for a sweeping robot. It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown here.

[0052] The 3D mapping method of the sweeping robot includes:

[0053] Step S10, when the sweeping robot is in a mapping mode for building a cleaning area map, controlling the sweeping robot to obtain a three-dimensional area map of a target position, wherein the target position is a position where the sweeping robot is controlled to start a camera device to obtain image information of the cleaning area, and there are multiple target positions;

[0054] The cleaning area is the area where the sweeping robot needs to perform cleaning tasks, including areas that can be passed directly (areas where no items are placed), and areas where items are placed and need to pass through an entrance and exit that can accommodate the volume of the sweeping robot to perform cleaning tasks (for example, the area under the bed). When the sweeping robot performs a cleaning task, it is usually necessary to plan the cleaning path of the sweeping robot and control the robot to perform the cleaning task according to the planned cleaning path. The prerequisite for planning the cleaning task is to obtain a three-dimensional map of the cleaning area where the sweeping robot is going to perform the cleaning task. After obtaining the three-dimensional map of the cleaning area, the three-dimensional map of the obtained cleaning area is planned according to the cleaning ability of the sweeping robot (for example, the cleaning diameter).

[0055] The target position is to start the camera device for controlling the sweeping robot and obtain the image information of the cleaning area. By obtaining the cleaning area map of a specific position in the cleaning area, the sweeping robot is controlled to move from the current position to the target position, and then the three-dimensional area map at the target position is obtained. The three-dimensional area map is a map generated by the sweeping robot at the current target position through the laser camera device and the camera device. In the present application, the three-dimensional map of the cleaning area is divided into at least one three-dimensional area map, wherein each divided three-dimensional area map is obtained by the sweeping robot at its corresponding target position through the camera device and the camera device and other equipment.

[0056] Furthermore, in the present application, the range of autonomous shooting of the camera device at the target position can be set to an area with a certain shape, such as a circle, a pentagon, a regular hexagon, etc. Optionally, the range of shooting of the camera device is preferentially set to a regular hexagon, so as to control the sweeping robot to reduce the repeated acquisition of cleaning areas during the shooting process, improve the efficiency of dividing the cleaning area, and avoid the phenomenon of large-scale repetition in the acquired area map. In the present application, the camera device is installed on the sweeping robot device. When the sweeping robot is in the map-building mode of building a cleaning area map, the position information of the sweeping robot at the target position (such as the placement of items, the layout of the room) is obtained in real time through the laser radar scanner. The camera device starts working and identifies the captured item information (the category of the item, the location of the placement, the size of the shape, whether the placement position is available for the sweeping robot to clean, etc.). The camera device further sends the acquired item information to the 3D sensor, and the 3D sensor obtains the position information of the target position where the sweeping robot is currently located through the laser scanner, and combines it with the acquired item information to generate a three-dimensional area map of the current target position.

[0057] Step S20, connecting the three-dimensional area maps of the target locations to obtain a three-dimensional map of the cleaning area.

[0058] In the present application, the three-dimensional area maps obtained by the sweeping robot at different target positions are spliced ​​with the three-dimensional area maps obtained at different positions to form a three-dimensional map of the sweeping robot's cleaning area.

[0059] Furthermore, in the present application, since the three-dimensional area maps obtained at adjacent times are more likely to be successfully connected, different three-dimensional area maps can be spliced ​​according to the time information of the sweeping robot at different target positions. This reduces the phenomenon that in the process of forming a three-dimensional map of the cleaning area through the three-dimensional area map, the three-dimensional area maps formed at different target positions are connected incorrectly during the connection process, resulting in differences between the generated three-dimensional map of the cleaning area and the three-dimensional map of the actual cleaning area.

[0060] The step of connecting the three-dimensional area maps of the target locations to obtain the three-dimensional map of the cleaning area comprises:

[0061] Step S21, when there is map data of overlapping areas in adjacent three-dimensional area maps, removing the map data of the overlapping areas in any three-dimensional area map;

[0062] Step S22, connecting the adjacent three-dimensional area maps to form a three-dimensional map of the cleaning area. In the present application, the three-dimensional area maps obtained at the adjacent target positions are fused according to the images captured by the camera device. For example, at the target position A, the sweeping robot obtains the three-dimensional area map A at the target position A. In the three-dimensional area map A, the sweeping robot obtains the A side of the living room sofa. The sweeping robot continues to perform the map acquisition task of the cleaning area. When moving to the target position B, the three-dimensional area map B is obtained. The three-dimensional area map B includes the B side of the sofa located in the living room obtained by the sweeping robot (by combining the A side and the B side to generate a complete sofa image). When generating the three-dimensional map of the cleaning area, the sofa is fused according to the defects in the three-dimensional area map A and the defects in the three-dimensional area map B, so as to obtain a complete sofa image in the process of generating the three-dimensional map of the cleaning area. Optionally, when there is an overlapping portion between the three-dimensional area map A and the three-dimensional area map B, when generating the clean area map, the map data of the overlapping area in any one of the two adjacent area maps with the overlapping area is removed to obtain a three-dimensional map of the clean area composed of the three-dimensional area map A and the three-dimensional area map B. The three-dimensional map of the clean area composed of the three-dimensional area map A and the three-dimensional area map B may be a partial three-dimensional map of the clean area or a complete three-dimensional map of the clean area.

[0063] In this embodiment, when the sweeping robot is in a mapping mode for constructing a cleaning area map, the sweeping robot is controlled to obtain a three-dimensional area map of a target position, and then a three-dimensional map of the area to be cleaned is obtained based on the obtained three-dimensional area maps of different target positions. In the present application, by controlling the sweeping robot to obtain three-dimensional area maps of different target positions, and then obtaining a three-dimensional map of the cleaning area, the phenomenon of repeated acquisition or omission when the sweeping robot is controlled by a preset path to obtain a three-dimensional map of the cleaning area is reduced, thereby improving the accuracy of the sweeping robot in obtaining a three-dimensional map of the cleaning area, and improving the efficiency of obtaining a three-dimensional map of the cleaning area.

[0064] Reference Figure 3 , Figure 3 This is a flow chart of another embodiment of the present application. The step of controlling the sweeping robot to obtain a three-dimensional area map of a target location includes:

[0065] Step S11, determining the target position of the sweeping robot;

[0066] Step S12, when the cleaning robot moves to the target position, controlling the cleaning robot to start a camera device;

[0067] Step S13, controlling the sweeping robot to rotate one circle at the target position, and obtaining the target object by capturing image information of the cleaning area at the target position by the camera device;

[0068] Step S14, determining the three-dimensional position of the target object to construct a three-dimensional area map of the target position.

[0069] In the present application, when the sweeping robot is in the mapping mode, it is first necessary to determine the target position of the sweeping robot. The target position in the cleaning area can be determined by setting the target distance, for example, controlling the sweeping robot to set the target position in the cleaning area at intervals of five meters. The sweeping robot is controlled to reach each target position in turn from the initial position, and then obtain the image information of the cleaning area that can be obtained at each target position. The initial position is the first target position determined when the sweeping robot is in the mapping mode of constructing the cleaning area map. Furthermore, the target position can also be determined after the sweeping robot executes the acquisition of the three-dimensional area map of the cleaning area. Then, the next target position can be dynamically adjusted according to the currently obtained three-dimensional area map, thereby improving the intelligence of the sweeping robot in obtaining the three-dimensional map of the cleaning area.

[0070] After the sweeping robot reaches each target position, the camera device is activated to capture an image of the cleaning area at the target position, and the sweeping robot is controlled to rotate once at the target position to obtain all-round (360-degree) image information of the cleaning area at the current target position. In this way, the target position set in the cleaning area can be reduced to control the working time of the sweeping robot in the mapping mode, thereby improving the efficiency of the sweeping robot in building a three-dimensional map of the cleaning area.

[0071] The step of determining the three-dimensional position of the target object comprises:

[0072] Step S141, obtaining distance information between the target object and the cleaning robot;

[0073] Step S142: obtaining the three-dimensional position of the target object in the cleaning area through the distance information.

[0074] Identify the target object of the cleaning area image acquired by the sweeping robot in the target position, the target object is an object (sofa, washing machine, dining table, etc.) placed in the cleaning area. Determine the three-dimensional position of the target object in the cleaning area, and construct a three-dimensional area map of the target object through the target object and the three-dimensional position. It is understandable that when the sweeping robot is cleaning, when the camera device is started at the target position to take pictures, it is confirmed that the object present in the captured cleaning area image information is the position of the target object, then the position that the sweeping robot needs to clean can be known, that is, in this embodiment, by confirming the three-dimensional position of the target object, the three-dimensional area map of the area that the sweeping robot needs to clean can be known. In this embodiment, by determining the target object acquired by the sweeping robot after the sweeping robot reaches the target position and starting the camera device, the three-dimensional position of the target object is further determined, and then the three-dimensional area map of the sweeping robot at the target position is obtained.

[0075] The step of determining the target position of the sweeping robot comprises:

[0076] Step S111, when the moment when the cleaning robot is in the mapping mode is the initial moment, determining the current position of the cleaning robot as the target position;

[0077] Step S112, when the moment when the sweeping robot is in the mapping mode is not the initial moment, determine the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated as the target position of the sweeping robot.

[0078] When the sweeping robot performs cleaning work for the first time, it is necessary to obtain a three-dimensional map of the cleaning area to plan the cleaning path. When the moment when the sweeping machine is in the mapping mode is the initial moment, the sweeping robot is controlled to use the current position of the cleaning area as the target position to execute the construction of a three-dimensional map of the cleaning area. When the moment when the sweeping robot is in the mapping mode is not the initial moment, the intersection (intersection point) of the area corresponding to the three-dimensional area map of the previous target position and the area where the three-dimensional area map is not generated is determined as the target position of the sweeping robot. By judging whether the current moment of the sweeping robot is the initial moment, if it is the initial moment, the current position is determined as the target position, and if it is not the initial moment, the target position is determined according to the intersection of the three-dimensional area where the previous target position is located and the three-dimensional area map that is not generated, and then the sweeping robot is controlled to move to the target position, and the area map of the target position is obtained, thereby improving the efficiency of the sweeping robot in mapping.

[0079] The step of determining that the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated is the target position of the sweeping robot includes:

[0080] Step S1121, when there are multiple intersections, respectively calculating the distance between the current position of the cleaning robot and each intersection;

[0081] Step S1122: determine the intersection with the smallest distance value as the target position.

[0082] It can be understood that when there are multiple intersection points between the area corresponding to the three-dimensional area map obtained by the sweeping robot through the previous target position and the area for which the three-dimensional area map is not generated, the sweeping robot is controlled to use the point with the smallest distance value as the target position to prevent the sweeping robot from selecting a point with a larger distance value as the target position when there is a target in the cleaning area that the camera device cannot obtain, resulting in a difference between the map of the cleaning area constructed by the sweeping robot and the map of the actual cleaning area.

[0083] Reference Figure 4 , Figure 4 This is a flow chart of another embodiment of the present application. When the sweeping robot is in a mapping mode for building a cleaning area map, before the step of controlling the sweeping robot to obtain a three-dimensional area map of a target location, the step includes:

[0084] Step S01, determining whether the sweeping robot has a memory map, wherein the memory map is a three-dimensional map recording the cleaning area of ​​the sweeping robot;

[0085] Step S02: If the memory map does not exist, the sweeping robot is controlled to enter a map building mode for building a cleaning area map.

[0086] Before the sweeping robot enters the composition mode for building a cleaning map, it is first confirmed whether there is a memory map in the sweeping robot. If there is a memory map, the memory map is directly obtained as the three-dimensional map of the cleaning area of ​​the sweeping robot. The memory map is a three-dimensional map stored in the memory after the sweeping robot completes the acquisition of the three-dimensional map of the cleaning area. When the sweeping robot performs a cleaning task, the memory map is directly obtained as the three-dimensional map of the cleaning area.

[0087] Furthermore, when the sweeping robot is performing cleaning tasks according to the path planned by the memory map, if there is an obstacle in the place that needs to be cleaned, the size of the obstacle is determined. When the obstacle is a movable obstacle (trash can, book dropped on the floor), the sweeping robot is controlled to continue to perform the cleaning task according to the path planned by the memory map. When the obstacle is an obstacle that cannot be easily moved, the cleaning is stopped, the mapping mode is re-entered, the camera device is started to obtain the information of the obstacle, it is set as the target object, the size of the obstacle is obtained, and it is sent to the 3D sensor. The 3D sensor obtains the current position information and the target object information through the laser radar scanner to update the three-dimensional area map of the target position, regenerate the three-dimensional map of the cleaning area, and improve the update speed of the three-dimensional map of the cleaning area.

[0088] In addition, the present application also provides a sweeping robot, the sweeping robot comprising:

[0089] The control module 10 is used to control the sweeping robot to obtain a three-dimensional area map of a target position when the sweeping robot is in a mapping mode for building a cleaning area map. The target position is a position where the sweeping robot is controlled to start a camera device to obtain image information of the cleaning area. There are multiple target positions.

[0090] The connection module 20 is used to connect the three-dimensional area maps of each target position to obtain a three-dimensional map of the cleaning area.

[0091] In addition, the present application also provides a three-dimensional mapping system, which includes a processor, a memory, and a three-dimensional mapping program for a sweeping robot stored in the memory and run on the processor. When the three-dimensional mapping program of the sweeping robot is executed by the processor, the steps of any of the three-dimensional mapping methods for a sweeping robot are implemented.

[0092] In addition, the present application also provides a computer-readable storage medium, on which a three-dimensional mapping program for a sweeping robot is stored. When the three-dimensional mapping program for the sweeping robot is executed by a processor, the steps of any of the three-dimensional mapping methods for a sweeping robot are implemented.

[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0095] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0097] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0098] Although the optional embodiments of the present application have been described, those skilled in the art, once informed of the basic creative concept, may make additional changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including optional embodiments and all changes and modifications falling within the scope of the present application.

[0099] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A three-dimensional mapping method for a sweeping robot, characterized in that: The three-dimensional mapping method of the sweeping robot comprises: When the sweeping robot is in a mapping mode for building a cleaning area map, determining a target position of the sweeping robot, the target position being a position for controlling the sweeping robot to start a camera device to obtain image information of the cleaning area, and there are multiple target positions; When the cleaning robot moves to the target position, controlling the cleaning robot to start a camera device; Control the sweeping robot to rotate one circle at the target position, and obtain the target object by capturing image information of the cleaning area at the target position through the camera device; Determining the three-dimensional position of the target object to construct a three-dimensional area map of the target position; Connecting the three-dimensional area maps of the target locations to obtain a three-dimensional map of the cleaning area; The step of determining the target position of the sweeping robot comprises: When the moment when the cleaning robot is in the mapping mode is an initial moment, determining the current position of the cleaning robot as the target position; When the moment when the sweeping robot is in the mapping mode is not the initial moment, the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated is determined as the target position of the sweeping robot.

2. The three-dimensional mapping method of a sweeping robot according to claim 1, characterized in that: The step of determining that the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated is the target position of the sweeping robot includes: When there are multiple intersections, respectively calculate the distance between the current position of the cleaning robot and each intersection; The intersection with the smallest distance value is determined as the target position.

3. The three-dimensional mapping method of a sweeping robot according to claim 1, characterized in that: The step of connecting the three-dimensional area maps of the target locations to obtain the three-dimensional map of the cleaning area comprises: When there is map data of overlapping areas in adjacent three-dimensional area maps, removing the map data of the overlapping areas in any three-dimensional area map; The adjacent three-dimensional area maps are connected to form a three-dimensional map of the cleaning area.

4. The three-dimensional mapping method of the sweeping robot as claimed in claim 3, characterized in that: The step of determining the three-dimensional position of the target object comprises: Acquire distance information between the target object and the sweeping robot; The three-dimensional position of the target object in the cleaning area is obtained through the distance information.

5. The three-dimensional mapping method of a sweeping robot according to claim 1, characterized in that: When the cleaning robot is in a mapping mode for building a cleaning area map, before the step of controlling the cleaning robot to obtain a three-dimensional area map of a target location, the method includes: Determining whether the sweeping robot has a memory map, wherein the memory map is a three-dimensional map recording the cleaning area of ​​the sweeping robot; If the memory map does not exist, the sweeping robot is controlled to enter the mapping mode for constructing the cleaning area map.

6. A sweeping robot, characterized in that: The sweeping robot comprises: A control module, used for determining a target position of the sweeping robot when the sweeping robot is in a mapping mode for building a cleaning area map, wherein the target position is a position for controlling the sweeping robot to start a camera device to obtain image information of the cleaning area, and there are multiple target positions; A connection module, used for connecting the three-dimensional area maps of each target position to obtain a three-dimensional map of the cleaning area; Wherein, the control module is also used for: When the cleaning robot moves to the target position, controlling the cleaning robot to start a camera device; Control the sweeping robot to rotate one circle at the target position, and obtain the target object by capturing image information of the cleaning area at the target position through the camera device; Determining the three-dimensional position of the target object to construct a three-dimensional area map of the target position; The step of determining the target position of the sweeping robot comprises: When the moment when the cleaning robot is in the mapping mode is an initial moment, determining the current position of the cleaning robot as the target position; When the moment when the sweeping robot is in the mapping mode is not the initial moment, the intersection of the area corresponding to the three-dimensional area map of the previous target position and the area for which the three-dimensional area map is not generated is determined as the target position of the sweeping robot.

7. A three-dimensional mapping system, characterized in that: The three-dimensional mapping system includes a processor, a memory, and a three-dimensional mapping program of a sweeping robot stored in the memory and executable on the processor. When the three-dimensional mapping program of the sweeping robot is executed by the processor, the steps of the three-dimensional mapping method of the sweeping robot as claimed in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a three-dimensional mapping program of the sweeping robot, and when the three-dimensional mapping program of the sweeping robot is executed by the processor, the steps of the three-dimensional mapping method of the sweeping robot according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Question answering robot and implementation method therefor

    CN109613917A

  • Boundary exploration autonomous mapping method based on curve fitting and target point neighborhood planning

    CN110531760A

  • Terminal map construction method of sweeping robot, terminal equipment and sweeping system

    CN111202472A

  • Three-dimensional map construction method based on depth camera and sweeping robot

    CN111679664A

  • Self-moving robot, map building method, and map invoking method for combined robot

    US20190168386A1