This application claims priority of Taiwan Patent Application No. 107122068, filed on Jun. 27, 2018, the entirety of which is incorporated by reference herein.
The present invention relates to a method and a system of distributing task areas for cleaning devices, and a cleaning device.
While science and technology continue to advance, robots have been widely adopted for a variety of uses. However, because the region that needs to be cleaned up inside the house is usually not composed of a single rectangular shape, the existing task distribution method is to clean a fixed-size task region, and then to go on to the next task region that needs cleaning. Using this method, the cleaning device may have too many unnecessary turns, which might increase the cleaning time and adversely affect the cleaning efficiency. Therefore, how to efficiently divide the cleaning region to increase the efficiency of cleaning is a problem that needs to be solved at present.
An embodiment of the present invention provides a method of distributing task areas, adapted to a cleaning device, including: receiving a task map; obtaining a shape that corresponds to the task map; dividing the task map into a plurality of sub-regions according to a plurality of recesses in the shape; merging the two adjacent sub-regions that have a common long side or a common short side, and obtaining a plurality of merge results that correspond to each of the merge actions; calculating a plurality of cleaning times for each of the merge results for the cleaning device; selecting the merge result that has the shortest cleaning times as a first distribution result; and enabling the cleaning device to perform a cleaning task according to the first distribution result.
Another embodiment of the present invention provides a system of distributing task areas, adapted to a cleaning device, including a control terminal and at least one cleaning device. The control terminal includes a first storage unit and a first processing unit. The first storage unit stores a task map. The first processing unit obtains a shape that corresponds to the task map, divides the task map into a plurality of sub-regions according to a plurality of recesses in the shape, merges the two adjacent sub-regions having a common long side or a common short side, obtains a plurality of merge results that correspond to each of the merge actions, calculates a plurality of cleaning times for each of the merge results for the cleaning device, and selects the merge result that has the shortest cleaning times as a first distribution result. The cleaning device includes a second storage unit and a second processing unit. The second storage unit stores the first distribution result received from the control terminal. The second processing unit performs a cleaning task according to the first distribution result.
Another embodiment of the present invention provides a cleaning device, including a storage unit and a processing unit. The storage unit stores a task map. The processing unit obtains a shape that corresponds to the task map, divides the task map into a plurality of sub-regions according to a plurality of recesses in the shape, merges the two adjacent sub-regions that have a common long side or a common short side, obtains a plurality of merge results that correspond to each of the merge actions, calculates a plurality of cleaning times for each of the merge results, selects the merge result that has the shortest cleaning times as a first distribution result, and performs a cleaning task according to the first distribution result.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Further areas to which the present methods and systems of distributing task areas for cleaning devices, and cleaning devices can be applied will become apparent from the detailed description provided herein. It should be understood that the detailed description and specific examples, while indicating exemplary embodiments of the methods and the systems of distributing task areas for cleaning devices, and the cleaning devices, are intended for the purposes of illustration only and are not intended to limit the scope of the invention.
The cleaning device 120 includes at least a second processing unit 121 and a second storage unit 122. Similarly, the second processing unit 121 can be implemented in a variety of ways, for example, in a dedicated hardware circuit or general hardware, such as a single processor, a multiprocessor with parallel processing capability, a graphics processor, or another processor with computational capabilities, and when executing code or software, it performs the functions described below. The second storage unit 122 can be a non-volatile storage device, such as a hard disk, a flash memory, or a ROM, for storing a task map and information related to the cleaning task received from the control terminal 110. The second processing unit 121 is configured to perform the cleaning task according to the received task map or perform a calculation related to the cleaning task.
After obtaining the plurality of sub-regions 201-213, the first processing unit 111 further merges two adjacent sub-regions having the common long side or the common short side, and after merging, the first processing unit 111 further calculates a cleaning time corresponding to each of the merged sub-regions. For example, as shown in
Ttotal=2XT+XYL+RL
R=√{square root over (1+(Y−2)2)}−1
Where Ttotal is the time required to clean up the sub-region, X is the number of cleaning units on the short side, Y is the number of cleaning units on the long side, T is the time required for the cleaning device to turn, and L is the time required to clean up the cleaning unit. In addition, when the long side of the sub-region is longer, R is approximately equal to Y−2.
Ttotal=2XT+XYL
Similarly, where Ttotal is the time required to clean up the sub-region, X is the number of cleaning units on the short side, Y is the number of cleaning units on the long side, T is the time required for the cleaning device to turn, and L is the time required to clean up the cleaning unit.
As shown below, Table 1 shows the time required to clean up various sizes of the sub-regions in accordance with some embodiments of the present invention. Where the cleaning time shown in Table a can be obtained according to two formulas described above.
It should be noted that the dividing of the task map and the merging of the sub-regions can also be performed by the second processing unit 121 of the cleaning device 120, that is, the cleaning device 120 can downloads the task map directly from the control terminal 110 and performs the related calculations.
The methods, or certain aspects or portions thereof, may take the form of a program code (i.e., executable instructions) embodied in tangible media, such as floppy diskettes, CD-ROMS, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for practicing the methods. The methods may also be embodied in the form of a program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosed methods. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
As described above, according to the embodiments of the automatic charging system for robots and the method thereof, when the cleaning device receives the task map with irregular shape, the task map can efficiently divided into the plurality of task sub-regions based on the technical means described in the present invention to significantly improve the efficiency of cleaning.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure disclosed without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention covers modifications and variations of this invention, provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
107122068 A | Jun 2018 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5247608 | Flemming | Sep 1993 | A |
6389329 | Colens | May 2002 | B1 |
6690134 | Jones | Feb 2004 | B1 |
7388343 | Jones | Jun 2008 | B2 |
7389156 | Ziegler | Jun 2008 | B2 |
8639364 | Stoddard | Jan 2014 | B2 |
9278452 | Brandenberger | Mar 2016 | B2 |
9329593 | Izumi | May 2016 | B2 |
9707681 | Davidi | Jul 2017 | B2 |
10168709 | Kleiner | Jan 2019 | B2 |
20040181896 | Egawa | Sep 2004 | A1 |
20050273200 | Hietmann | Dec 2005 | A1 |
20110194755 | Jeong | Aug 2011 | A1 |
20110264305 | Choe | Oct 2011 | A1 |
20120215351 | McGee | Aug 2012 | A1 |
20140334713 | Kim | Nov 2014 | A1 |
20140343783 | Lee | Nov 2014 | A1 |
20140350839 | Pack | Nov 2014 | A1 |
20150336269 | Linnell | Nov 2015 | A1 |
20170028559 | Davidi | Feb 2017 | A1 |
20170273527 | Han | Sep 2017 | A1 |
20180074508 | Kleiner | Mar 2018 | A1 |
20180267540 | Sonoura | Sep 2018 | A1 |
20190094870 | Afrouzi | Mar 2019 | A1 |
20190176321 | Afrouzi | Jun 2019 | A1 |
20200125115 | Hsu | Apr 2020 | A1 |
Number | Date | Country | |
---|---|---|---|
20200004258 A1 | Jan 2020 | US |