Disclosure of Invention
In order to overcome the above-mentioned drawbacks of the prior art, the invention provides a household cleaning device and a cleaning method, which can plan an optimal route as soon as possible.
The specific technical scheme of the invention is as follows:
a home cleaning appliance comprising: the sweeping robot comprises a sweeping robot capable of moving on a working surface and a detection mechanism capable of being connected to the sweeping robot, wherein the detection mechanism can fly away from the working surface when being separated from the sweeping robot;
the detection mechanism is separated from the sweeping robot to detect the working surface;
generating a first area and a second area on the working surface according to the image detected by the detection mechanism, wherein the first area is that the height of the object in the area is higher than or equal to a preset height, and the second area is that the height of the object in the area is smaller than the preset height;
analyzing the material of the object in the second region according to the image detected by the detection mechanism to generate a first target region, wherein the material of the object in the first target region meets a first preset requirement;
the detection mechanism detects the periphery of an object in a first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area, wherein the material of the object in the second target area meets a first preset requirement;
generating a working area based on the first target area and the second target area;
and generating a running route for the sweeping robot to move according to the working area.
Preferably, the first and second regions are generated from the working surface by photogrammetry from images detected by the detection means.
Preferably, the material of the object in the first region and the channel is analyzed by infrared detection technology and/or picture recognition technology.
Preferably, the top and side walls of the detection mechanism are provided with infrared sensors, and the detection mechanism can fly along the side walls and the top wall when detecting.
Preferably, the top of robot of sweeping the floor is provided with wireless portion of charging, wireless portion of charging can detection mechanism sets up when the robot of sweeping the floor is last right detection mechanism charges.
Preferably, the working area is generated after island removal according to a total area generated after the first target area and the second target area are superposed.
Preferably, the floor sweeping robot comprises a controller, wherein the controller is in data exchange connection with the detection mechanism in a wireless mode, and the controller is electrically connected with the floor sweeping robot in a wired mode.
Preferably, the detection mechanism can be arranged on the sweeping robot to correct the generated running route when the sweeping robot is in a cleaning state.
The application discloses a cleaning method for cleaning by adopting a household cleaning device, wherein the household cleaning device comprises a sweeping robot capable of moving on a working surface and a detection mechanism capable of being connected to the sweeping robot, and the detection mechanism can fly away from the working surface when being separated from the sweeping robot; the detection mechanism is separated from the sweeping robot to detect the working surface;
the detection mechanism is separated from the sweeping robot to detect the working surface;
generating a first area and a second area on the working surface according to the image detected by the detection mechanism, wherein the first area is that the height of the object in the area is higher than or equal to a preset height, and the second area is that the height of the object in the area is smaller than the preset height;
analyzing the material of the object in the second region according to the image detected by the detection mechanism to generate a first target region, wherein the material of the object in the first target region meets a first preset requirement;
the detection mechanism detects the periphery of an object in a first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area, wherein the material of the object in the second target area meets a first preset requirement;
generating a working area based on the first target area and the second target area;
and generating a running route for the sweeping robot to move according to the working area.
Preferably, the working area is generated after island removal according to a total area generated after the first target area and the second target area are superposed.
By adopting the structure and the method, the invention can plan the optimal route as soon as possible.
Detailed Description
The details of the present invention can be more clearly understood in conjunction with the accompanying drawings and the description of the embodiments of the present invention. However, the specific embodiments of the present invention described herein are for the purpose of illustration only and are not to be construed as limiting the invention in any way. Any possible variations based on the present invention may be conceived by the skilled person in the light of the teachings of the present invention, and these should be considered to fall within the scope of the present invention.
The embodiment of the invention discloses a household cleaning device, which comprises: the sweeping robot comprises a sweeping robot capable of moving on a working surface and a detection mechanism capable of being connected to the sweeping robot, wherein the detection mechanism can fly away from the working surface when being separated from the sweeping robot; the detection mechanism is separated from the sweeping robot to detect the working surface; generating a first area and a second area on the working surface according to the image detected by the detection mechanism, wherein the first area is that the height of the object in the area is higher than or equal to a preset height, and the second area is that the height of the object in the area is smaller than the preset height; analyzing the material of the object in the second region according to the image detected by the detection mechanism to generate a first target region, wherein the material of the object in the first target region meets a first preset requirement; the detection mechanism detects the periphery of an object in a first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area, wherein the material of the object in the second target area meets a first preset requirement; generating a working area based on the first target area and the second target area; and generating a running route for the sweeping robot to move according to the working area.
Fig. 1 and 2 show a household cleaning device in an embodiment of the present application. Referring to fig. 1, the home cleaning apparatus includes a sweeping robot and a detecting mechanism. In general, a sweeping robot includes a housing, a roller disposed under the housing, a cleaning part provided on the housing for cleaning a floor, and the like. The sweeping robot in the application can refer to sweeping robots in the prior art, and the description is not repeated. The detection mechanism can be separated from the sweeping robot to fly. The detection mechanism comprises a flying part, a driving part for driving the flying part to fly, a camera arranged on the flying part, a probe, an infrared detector and other sensors. Referring to fig. 2, the detection mechanism may be disengaged from the sweeping robot to fly within the working plane.
In this embodiment, the detection mechanism detects the working surface when being detached from the sweeping robot, that is, the detection mechanism acquires various image data of the working surface through a sensor thereof in a flight process.
And generating a first area and a second area on the working surface according to the image detected by the detection mechanism, wherein the first area is formed by the height of the object in the area being higher than or equal to a preset height, and the second area is formed by the height of the object in the area being smaller than the preset height. For example, the height of the object within the working plane may be analyzed by size recognition techniques, photogrammetry, and the like. When the height of the object in the working surface is higher than or equal to a preset height (for example, forty centimeters), namely, when the sweeping robot cannot work by crossing the object with the height, the part is scratched into the first area. When the height of the object in the working plane is less than a preset height (e.g. forty centimeters), i.e. the sweeping robot can work across the object at that height, the portion is drawn into the second area.
And analyzing the material of the object in the second region according to the image detected by the detection mechanism to generate a first target region, wherein the material of the object in the first target region meets a first preset requirement. For example, the material of the object in the second area may be identified by an infrared detection technology or a picture identification technology to determine whether the sweeping robot can operate on the object, and if so, it indicates that the first preset requirement is met, so as to scratch the portion into the first target area.
The detection mechanism detects the periphery of an object in a first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area, wherein the material of the object in the second target area meets a first preset requirement. The detection mechanism can fly around the periphery of the object in the first area, and whether the object has a channel for the sweeping robot to enter is judged through a size identification technology. If so, judging the material of the object in the channel by an infrared detection technology or a picture recognition technology to judge whether the sweeping robot can run on the object, and if so, indicating that the sweeping robot meets the first preset requirement, so that the part is divided into a second target area.
The first and second target areas are aggregated in a superposition and some islands are excluded (i.e., certain areas that are inaccessible to the sweeping robot, isolated from other portions of the first and second target areas).
And generating a better running route for the sweeping robot to move according to the working area. For example, if the working area is substantially circular, the path of the sweeping robot may be helical. Alternatively, if the working area is substantially square, the motion track of the sweeping robot can be zigzag. Or, if the working area is divided into several blocks, one block can be cleaned and then moved to another block for cleaning.
Generally, the sweeping robot can run on the floor of a lower room. However, there are often some higher furniture (e.g., a wardrobe, a tea table, a desk, etc.) disposed on the floor of the room. For a sweeping robot, the sweeping robot cannot climb onto the furniture to operate. The upper surfaces of these areas are therefore not accessible for the sweeping robot. Furthermore, for these taller pieces of furniture, there may be some clearance from the floor and this clearance may allow the sweeping robot to pass through the sweep. In addition, objects made of materials (such as long-hair carpets, stone massage areas and the like) which can trap the sweeping robot are often arranged on the floor of the room, and obviously, the areas are not suitable for the sweeping robot to work. The robot sweeping system can eliminate the area which is not suitable for the robot sweeping, and the area which is suitable for the robot sweeping is added into the working area, so that a better running route is formed.
The household cleaning device can further comprise a controller, the controller is in data exchange connection with the detection mechanism in a wireless mode, and the controller is electrically connected with the sweeping robot in a wired mode.
In a preferred embodiment, the top and side walls of the detection means are provided with infrared sensors, which, when detecting, can fly along the side and top walls of the wall in order to identify as completely as possible the respective area of the work surface.
In a preferred embodiment, in order to ensure that the detection mechanism has a sufficiently large electric quantity, a wireless charging portion is arranged at the top of the sweeping robot, and the wireless charging portion can charge the detection mechanism when the detection mechanism is arranged on the sweeping robot.
In a preferred embodiment, the detection mechanism can be arranged on the sweeping robot to correct the generated running route when the sweeping robot is in a cleaning state, so as to ensure that the running track of the sweeping robot meets the requirement of the running route.
Referring to fig. 3, the application also discloses a cleaning method using a household cleaning device, the household cleaning device comprises a sweeping robot capable of moving on a working surface and a detection mechanism capable of being connected to the sweeping robot, and the detection mechanism can fly away from the working surface when being separated from the sweeping robot; the detection mechanism is separated from the sweeping robot to detect the working surface;
the detection mechanism is separated from the sweeping robot to detect the working surface;
generating a first area and a second area on the working surface according to the image detected by the detection mechanism, wherein the first area is that the height of the object in the area is higher than or equal to a preset height, and the second area is that the height of the object in the area is smaller than the preset height;
analyzing the material of the object in the second region according to the image detected by the detection mechanism to generate a first target region, wherein the material of the object in the first target region meets a first preset requirement;
the detection mechanism detects the periphery of an object in a first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area, wherein the material of the object in the second target area meets a first preset requirement;
generating a working area based on the first target area and the second target area;
and generating a running route for the sweeping robot to move according to the working area.
Preferably, the working area is generated after island removal according to a total area generated after the first target area and the second target area are superposed.
A specific example is described below. Figure 4 shows an embodiment of a working surface. Fig. 5 shows the generation of a first and a second region of the work surface from the image detected by the detection means. Wherein, in figure 5,
the part is a first area, and the part is a second area,
and part of the second area. FIG. 6 shows the analysis of the material of the object in the second region based on the image detected by the detection mechanism to generate a first target region; and the detection mechanism detects the periphery of the object in the first area, and when the object in the first area has a channel with a width larger than a preset width, the material of the object in the channel is analyzed to generate a second target area. Wherein, in figure 6,
a portion of which is a second target area,
the portion is a first target area. FIG. 7 shows a schematic diagram of generating a work area based on the first target area and the second target area. Wherein the part with the hatching is the working area.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.