These and/or other aspects and advantages of the invention will become apparent and more readily appreciated from the following description of the embodiments taken in conjunction with the accompanying drawings in which:
Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below to explain the present invention by referring to the figures.
Reference will now be made in detail to the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. The embodiments are described below to explain the present invention by referring to the figures. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of the invention to those skilled in the art.
The method of dividing a coverage area for a mobile robot according to an embodiment of the present invention includes producing an occupancy grid map at operation 210, correcting the grid map by applying a critical value at operation 220, removing noises in free space at operation 230, producing a configuration space map at operation 240, obtaining a sweep direction at operation 250, dividing an area at operation 260, removing cell noises at operation 270, and combining segments at operation 280.
Before dividing an area, a map of the area should be produced. According to an embodiment of the present invention, a robot produces a map for space to work using location and distance information while traveling by self-remote.
Conventional grid maps show obstacles and walls or free space in a predetermined area. These grid maps are produced without considering the size of a robot, which may cause the robot to collide with the walls or obstacles while traveling or to excessively move forward or backward. According to an embodiment of the present invention, as shown in a view at the right side of
Thus, a robot produces an occupancy grid map by recognizing surrounding obstacles, traveling by self-remote in operation 210. The occupancy grid map allows a robot to probabilistically recognize obstacles or walls by sensing distances with at least one sensor mounted. According to an embodiment of the present invention, a probability value between 0 and 1 is given for the location and existence of obstacles because the sensor may cause errors in accuracy and location due to the traveling of the robot. For convenience in this embodiment of the present invention, when a plurality of grid points representing obstacles and walls are given as probability values, they are defined as probability grid points. That is, 0 is given as free space and 1 is given to an obstacle with 100% probability, so that a value between 0 and 1 implies that an obstacle probably exists. Real environment includes only one of obstacle(1) and free space(0), but a map also comprises values between 0 and 1, because a locational error of obstacles is created by an error in sensing distances of the sensor or an error in recognizing the location of the robot itself.
For example, as shown in
According to an embodiment of the present invention, a grid map comprising only free space and obstacles is obtained as shown in
As for applying the critical value, when a critical value of 0.5 is applied to points that are given values between 0 and 1, grid points above 0.5 are given a value of 1 and other points below 0.5 are given a value of 0. Accordingly, the points for 1 appear as obstacles and for 0 appear as free space. Therefore, the grid map obtained by applying the critical value, as shown in
After obtaining the grid map comprising obstacles and free space, an image processing operation is applied to the grid map to remove noises in the free space in operation 230. According to an embodiment of the present invention, the image processing operation is applied by erosion and dilation.
The erosion and dilation remove noises in the free space and is applied in any order. When erosion is applied first, the free space is reduced by thickening grid points for obstacles and walls having a predetermined size. For example, as shown in
Dilation reduces grid points for obstacles and walls in size and thickness by predetermined sizes, so that free space expands as much as the obstacles reduce. For example, as shown in
Alternatively, according to an embodiment of the present invention, the erosion follows the dilation. Similar to the above operation, points or small areas in the free space is considered as noises and removed.
As described above, according to an embodiment of the present invention, noises in the free space are removed by an image process of erosion and dilation. A configuration space map is obtained by erosion as shown in
Dividing an area is performed by using the obtained configuration space map. According to an embodiment of the present invention, the whole area is swept in a predetermined direction to divide an area. A means for sweeping which provides free space segments is not be a line, but a band-typed slice according to an embodiment of the present invention. Accordingly, unnecessary small areas, which are defined as the walls and obstacles by critical points, are reduced by dividing the free space with the band-typed slice.
The sweep direction is determined before the sweeping is applied by the band-typed slice in operation 250. An angle of the most frequent lines throughout the whole area may be obtained using a variety of ways for the area of the configuration space map. For example, in order to obtain the angle, at least one line in the area is detected and classified into a group of the same angles, and then an angle of the group comprising of the majority of lines is determined as the angle of sweep line. In order to achieve the above operation of obtaining the angle, Hough Transform, Radon Transform, or Histogram Method may be performed. According to Hough Transform, Radon Transform, or Histogram Method, a line or outer line is obtained from a parameter space by converting two-dimensional data lines into the parameter space. The sweep angle is determined by the majority of lines of the detected lines.
The obtained sweep angle is used as a sweep angle of the band-typed slice in the area of the configuration space map. The sweep direction of the band-typed slice is perpendicular to the obtained sweep angle.
After the sweep direction is determined, the area is divided by applying the band-typed slice to the configuration space map in operation 260. As the band-typed slice moves in the sweep direction, free space segments is obtained. For example, as shown in
As shown in
On the contrary, according to an embodiment of the present invention, when a free space segment is divided into two segments 710, 720 by an obstacle, an ID is given to each free space segment. For example, in
Accordingly, free space segments are obtained by sweeping the configuration space map with the band-type slice and IDs are given to the free space segments, which results in dividing an area as shown in
In the above dividing of an area, as shown in
As shown in
According to an embodiment of the present invention, at least two free space segments are adjacent to a preceding common free space segment. For example, as shown in
According to an embodiment of the present invention, a free space segment is adjacent to a plurality of preceding free space segments. For example, as shown in
According to an embodiment of the present invention, a free space segment is adjacent to an obstacle or a wall 903 only. In this configuration, when starting the sweeping by a slice, a new ID is given to the free space segment. For example, as shown in
According to an embodiment of the present invention, a free space segment is adjacent to a preceding free space segment. In other words, two free space segments are adjacent one to one. The following free space segment is given to the preceding ID. For example, as shown in
An area may be divided in accordance with one of the above embodiments, which assigns an ID to a free space segment. For example, when an area in the configuration space map is divided according to one of the above embodiments, the area is initially assigned an “ID 1” according to the first and third cases while sweeping is processed. While the area keeps swept, a free space segment is divided into two of upper and lower segments such as the first case by an obstacle. Accordingly, an “ID 2” is given to the upper segment of space and an “ID 3” is given to the lower free space segment. The sweeping corresponds to the second case at the end of the obstacle. Accordingly, a new “ID 4” is given to the other free space segment.
After an ID is given, a following free space segment is formed by the band-type slice. When the following free space segment is adjacent to the preceding free space segment one to one, a new ID is not given to the following segment as described above. Therefore, in the free space of
It is possible to reduce the occurrence when several divided segments appear at the boundary of a wall or an obstacle by using the band-typed slice. As shown in
After the division by sweeping using the slice, cell noises are removed in operation 270, and segments are combined at the same time in operation 280.
When a wall is uneven or a part of wall protrudes due to a pillar, for example, several segments may be defined even though the slice is used to divide an area. For example, when free space segments are defined as shown in the left view of
A cell that is under a predetermined critical value in the width or size is considered as a noise cell. A cell considered as a noise cell may be combined with an adjacent another segment in operation 270. It is examined that the dividing is correct resulting from removing the noise cell accordingly, and when a separated portion appears due to the noise cell, the portion is combined in operation 280.
As shown in
On the other hand, when three or more segments are defined with the exception of the noise cell, even though the noise cell is not defined, three segments remain. Therefore, only the noise cell can be combined. As shown in
A view of
In
As shown in
For example, as for a cleaning robot, as shown in
The dividing device according to an embodiment of the present invention comprises an occupancy grid map-producing unit 1300, a critical value-applying unit 1310, a free space noise-removing unit 1320, a configuration space map-producing unit 1330, a sweep direction-obtaining unit 1340, a dividing unit 1350, a noisecell-removing unit 1360, and a combining unit 1370.
The occupancy grid map-producing unit 1300 allows a robot to make a grid map for an area to work while traveling by self-remote. Several grid points may be obtained by the occupancy grid map-producing unit and they are probability grid points represented by a probability value between 0 and 1.
The critical value-applying unit 1310 converts the probability values for the probability grid points into 0 or 1 after applying a critical value to the probability values and comparing them with the critical values. Grid points that are represented by 1 are the portions where a wall or an obstacle occupies and the other grid points compose free space.
The free space noise-removing unit 1320 removes noises in free space through erosion and dilation. Accordingly, a map comprising free space and obstacles can be obtained by removing noises by erosion and dilation, or dilation and erosion.
The configuration space map-producing unit 1330 makes configuration space map using erosion. The erosion reduces free space by making walls or obstacles thick in consideration of the size of a robot. Accordingly, a robot may be considered as a point using the produced configuration space map and divide free space.
The sweep-direction-obtaining unit 1340 finds the most frequent line group in the produced configuration space map and obtains a sweeping angle from the line group. In order to search lines in the configuration space map, Hough Transform, Radon Transform, or a Histogram Method may be performed.
The dividing unit 1350 divides an area by sweeping the obtained configuration space map in a sweep direction. Unnecessary dividing around walls or obstacles due to errors by a sensor may be reduced by sweeping the configuration space map with a band-typed slice. The dividing unit effectively divides an area by giving an ID for free space segments.
The noise cell-removing unit 1360 determines segments having smaller width or segments than predetermined values in segments divided by the dividing unit as noises, and removes them. When a segment is determined as a noise cell, it may be combined with an adjacent segment.
The combining unit 1370 examines that the dividing is correct after combining noise cells and then combining incorrectly divided segments. The combining unit examines that segments divided by a noise cell exist and combines them into a segment. When a plurality of noise cells are defined due to uneven surface and several segments are defined accordingly, the combining unit removes noise cells and tries to combine the several segments. Therefore, it prevents noise cells from dividing segments and allows a robot to effectively work.
According to an embodiment of the present invention, it is possible to reduce several segments around walls or obstacles due to errors in sensing the walls or obstacles by dividing an area with a band-typed slice.
According to an embodiment of the present invention, an area can be divided regardless of the robot's size by producing a configuration space map.
According to an embodiment of the present invention, a robot can effectively work by combining noise cells that are a plurality of small segments defined in dividing.
According to an embodiment of the present invention, an area can be divided into segments where a robot can practically work by removing noise cells and combining the divided segments.
Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0078398 | Aug 2006 | KR | national |