The specific embodiment
Fig. 1 is that one of control method of the present invention may flow chart.Control method of the present invention walks it in order to control a sweeping robot in an enclosure space, and cleans the path of walking.
At first, make this sweeping robot seek a border (step S110) of this enclosure space.The present invention does not limit the walking manner that sweeping robot is sought the border.In other embodiments, sweeping robot can utilize many walking manners, seeks the border of enclosure space.
Fig. 2 A is the possibility embodiment that sweeping robot is sought the border.In Fig. 2 A, sweeping robot is in the straight line moving mode, seeks the border.As shown in the figure, sweeping robot in the straight line moving mode, is sought theborder 230 ofenclosure space 200 bystarting point 210 beginnings.The path of being walked when sweeping robot is soughtborder 230 is called one and seekspath 211.
Fig. 2 B is another possibility embodiment that sweeping robot is sought the border.In Fig. 2 B, sweeping robot is with the spiral walking manner, seeks the border.As shown in the figure, sweeping robot is the center of circle to openinitial point 210, and is by openinginitial point 210 beginnings, spiral-shaped aroundstarting point 210, up to searching outborder 230 with one from inside to outside.The path of being walked when sweeping robot is soughtborder 230 is called seeks path 212.In the present embodiment, seekingpath 212 is a square spiral.
In addition, when seeking the border,, then make sweeping robot cut-through thing, continue to seek the border if meet a barrier.Fig. 2 C is another possibility embodiment that sweeping robot is sought the border.As shown in the figure, sweeping robot is withstarting point 210 beginnings, and with the linear fashion walking, after running intobarrier 250, sweeping robot cut-throughthing 213 continues to seekborder 230 with linear fashion.
The present invention does not limit the mode of sweeping robot cut-through thing 213.In a possibility embodiment, when sweeping robot runs intobarrier 213, can search outborder 230 according to a paths of seekingpath 213~216.
Fig. 2 D is another possibility embodiment that sweeping robot is sought the border.As shown in the figure, sweeping robot is walked in a spiral manner withstarting point 210 beginnings, and after running intobarrier 250, sweeping robot cut-throughthing 213 continues to seekborder 230 with linear fashion.
In the present embodiment, when sweeping robot runs intobarrier 250, continue walking in a spiral manner.Therefore, in Fig. 2 D, the searchingpath 217 of sweeping robot surrounds barrier 250.In other embodiments, when sweeping robot ran intobarrier 250, sweeping robot can change with linear fashion or alternate manner walking.
After searching out the border of enclosure space, make sweeping robot along border walking (step S130).In the present embodiment, sweeping robot is called one first walking path along the path of border walking.Fig. 3 A is that one of sweeping robot may walking path.In the present embodiment, sweeping robot is from starting point 310, and with the linear fashion walking, after searching out border 330,330 walk along the border.The path that sweeping robot is soughtborder 330 is called searching path 311.The path ofsweeping robot 330 walkings along the border is calledwalking path 350.
The path (step S150) that the record sweeping robot is walked.With Fig. 3 A is example, and in a possibility embodiment, path 311 andwalking path 350 sought in record.In another possibility embodiment, only write down walking path 350.Since the path that the record sweeping robot is walked, the unbeaten zone of sweeping robot can clearly be learnt, and then improve sweeping efficiency.
According to the result of record, the path (step S170) of control sweeping robot walking.In the present embodiment, according to the result of record, the path that sweeping robot is walked is one second walking path, and second walking path, first walking path that do not overlap.Therefore, can finish cleaning effectively, and coverage rate can reach 100%.
With Fig. 3 B is example, after sweeping robot is walked alongborder 330, can obtain walking path 350.Sweeping robot as a virtual boundary, and is walkedwalking path 350 along this virtual boundary.The path that sweeping robot is walked along this virtual boundary is a walking path 370.In the present embodiment,walking path 350 and 370 does not overlap mutually.
In another may embodiment, sweeping robot as a new virtual boundary, and was walkedwalking path 370 along new virtual boundary (walking path 370).The path that sweeping robot is walked along new virtual boundary is a walking path 390.Therefore, sweeping robot just can be finished cleaning efficiently.
In the present embodiment, has a particular kind of relationship between the walking path 350,370 and 390.For example, walking path 350,370 and 390 shape are similar each other.The length ofwalking path 350 is greater than the length of walking path 370.The length ofwalking path 370 is greater than the length of walking path 390.In addition, the distance between thewalking path 350 and 370 remains on a fixed value d1, the distance between thewalking path 370 and 390 also remains on fixed value d1
Fig. 4 is that one of sweeping robot of the present invention may walking path.In the present embodiment, the sweeping robot path of walking does not overlap mutually.As shown in the figure, sweeping robot is fromstarting point 410, and with the linear fashion walking, in order to seek theborder 430 ofenclosure space 400, wherein the path on sweepingrobot searching border 430 is calledsearching path 411.
After searching outborder 430, sweeping robot is 430 walkings along the border, and wherein the path ofsweeping robot 430 walkings along the border is called walking path 450.Then, sweeping robot as a virtual boundary, is walkedwalking path 450 again along this virtual boundary (walking path 450 at once).
At this moment, the sweeping robot path of walking is walking path 470 (second path).In the present embodiment,walking path 470 does not overlap and seeks path 411.In addition, in the present embodiment, the length ofwalking path 470 may be greater than the length ofwalking path 450.
Fig. 5 is another possibility walking path of sweeping robot of the present invention.As shown in the figure, the circumstance complication degree in theenclosure space 500 is higher, and has barrier 511,513,515.After sweeping robot follows awaypath 550 and 570 walkings, still can have partly zone do not walk as yet (shown in Fig. 5 B oblique line).
Because sweeping robot can write down the path of once walking, so sweeping robot can clean (shown in the arrow of Fig. 5 B) at the size in the zone of not walking again.At last, confirm not had the zone of not walking via algorithm after, sweeping robot just can stop sweeper mode automatically.
Fig. 6 is the structural representation of sweeping robot of the present invention.As shown in the figure,sweeping robot 600 comprises at least,roller 610, detectingunit 630 and control module 650.Whenroller 610 rotates, just removable sweeping robot 600.Control module 650 is controlled the rotation direction ofroller 610 according to the testing result of detectingunit 630.
In the present embodiment,control module 650 makesroller 610 rotate, and makes detectingunit 630 can detect the border of an enclosure space.The present invention does not limit the method for detectingunit 630 detection boundaries.In a possibility embodiment, detectingunit 630 can send a lightwave signal or an acoustic signals, then according to a reflected signal, judges the position on border.
When detectingunit 630 received the signal that reflects on the border,control module 650control rollers 610 maderoller 610 turn to the border.In the present embodiment,roller 610 path that turns to the border is called one and seeks the path.The present invention does not limit the shape in this searching path.In a possibility embodiment, seeking the path is a straight line, a helical form or a square spiral.
When detectingunit 630 detected a barrier, thencontrol module 650 maderoller 610 cut-through things, makes detectingunit 630 can continue to seek the border.Whenroller 610 turned to the border,control module 650control rollers 610 maderoller 610 rotate along the border.In the present embodiment,roller 610 is defined as one first walking path along the path of border rotation.
Control module 610 records first walking path, and according to the result who writes down, the rotation direction of control roller 610.At this moment, the rotation direction ofroller 610 is one second walking path.In the present embodiment, first and second walking path does not overlap.In other embodiments, first, second walking path and searching path do not overlap each other.In this example, the length of second walking path may be greater than first walking path, because of need are walked around the searching path.
In another may embodiment, the shape that the shape of first walking path can similar second walking path (shown in Fig. 3B 350 and 370).In other embodiments, the length of first walking path is the length greater than second walking path.
In the present embodiment,control module 650 as one first virtual boundary, and makesroller 610 rotate along first virtual boundary first walking path, and whereinroller 610 path of rotating along first virtual boundary is as one second walking path.
In another may embodiment,control module 650 records second walking path, and with second walking path as one second virtualboundary.Control module 650 makesroller 610 rotate along second virtual boundary.The path thatroller 610 rotates along second virtual boundary is that a third line is walked the path.
In a possibility embodiment, the third line is walked the length that is shorter in length than second walking path in path.In other embodiments, the similar the third line of the shape of second walking path is walked the shape in path.In addition, the distance between first and second walking path can equal the distance between second and third walking path.
Becausecontrol module 650 can write down the path thatsweeping robot 600 is walked, thus the overlapping of walking path can be avoided, and can effectively finish cleaning works.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; those skilled in the art can do some changes and retouching under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with claim of the present invention.