This application claims the benefit of Korean Patent Application No. 10-2004-0020761, filed on Mar. 26, 2004, in the Korean Intellectual Property Office, the disclosure of which are incorporated herein in its entirety by reference.
1. Field of the Invention
Embodiments of the present invention relate to global localization methods, media, and apparatuses, and more particularly, to global localization methods, media, and apparatuses for a robot using a sequence of sonar operations.
2. Description of the Related Art
Global position estimation and local position tracking are two problems to be solved in a moving robot. Global position estimation determines the position of a robot using data collected by sensors and correlates the collected data with a priori map or a known map. If the priori map is not available, a timing map may be used, with the timing map including recorded time information of the robot moving about within a region. Once the position of the robot is determined on a map, a local position tracking problem is raised regarding a tracking of the robot along a trajectory to the determined position. Once a global location is known, the robot can navigate a complex environment reliably using the map.
In general, the position of a robot is estimated through a probabilistic approach such as a Kalman filter or Monte-Carlo Localization (MCL).
The MCL is a recursive Baysian filter that recursively estimates a belief distribution of the position of the robot, i.e., a posterior distribution thereof, using sensor data, with an assumed uniform initial belief distribution. However, the MCL is disadvantageous in that it is difficult to perform real-time position determination since the initial processing requires a large amount of computation of a large number of initial samples or particles. Also, when the size of a set of samples is small, it may be difficult to generate samples at a true pose. Accordingly, there are no samples at the true pose. Additionally, the samples may not be represented by a belief distribution for all positions in a plane where a robot can move.
Embodiments of the present invention provides a global position estimation method, medium, and apparatus using Monte-Carlo Localization (MCL), in which additional samples are generated by perturbing samples under predetermined conditions when the number of the samples at true pose is insufficient, thereby obtaining a belief distribution of samples.
According to one aspect of the present invention, there is provided a global localization method, including: selecting one from a plurality of samples and shifting the selected sample according to a movement of a robot; generating a new sample within a predetermined range of the shifted sample; determining either the shifted sample or the new sample as a next sample at a next time step according to a predetermined condition for the shifted sample and the next sample; repeating for all the samples; and estimating a next position of the robot according to positions of the next samples when the number of next samples is equal to or larger than the maximum number of samples.
Additional aspects and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
The above and/or other aspects and advantages of the present invention will become more readily apparent by describing in detail exemplary embodiments thereof with reference to the attached 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.
Embodiments of the present invention are based on the premise that samples are not likely to represent a true belief distribution when the numbers of samples are insufficient and, in actuality, may not be representative of their true positions. As compensation for insufficient samples, in an embodiment, the samples are perturbed within a predetermined range to represent a true belief distribution, e.g., some samples may be of less confidence or significance, while there may be greater confidence or significance for other samples, such that the relevance of samples of lesser confidence or significance may be discounted. The perturbation can be achieved through a Heat Kernel (HK) according to a temperature of each sample.
A robot is very likely to be located in a dense area of samples, and thus, it is assumed that the HK of the samples, i.e., a perturbation probability, is small. In a sparse area of samples, it is assumed that the HK of samples is large since the positions of the samples may be changed many times until the true positions are found. In other words, samples may be required to be moved from a lower important area to a highly important area. Accordingly, samples of higher importance will have a smaller perturbation probability, whereas samples of lower importance will have a higher perturbation probability.
The HK of a sample can be determined by an average density of the samples. An initial average density of the sample is low due to even distribution of the samples, such that the HK of intermediate samples is large. In any instant of time, the HK of a sample of higher importance is smaller than that of the HK of samples of lower importance.
After operation 10, temperatures of the samples are obtained (operation 11 of
To compute an average local density Dt of a sample s that is randomly selected from the sample set, its local density Ds is first computed as follows:
wherein N denotes the number of samples in the sample set and V0 denotes a closed area surrounding the sample s.
Based on Equation (1), the average local density Dt of the samples is computed as follows:
wherein Dti denotes a local density of an ith sample at time t, and N denotes the number of the samples.
A local density of a sample computed using Equation (1) may be computed using a plane divided in a grid form, shown in
In the case of the temperature of a sample, samples are initially evenly distributed, and thus, their temperatures are the same. However, since the samples become more and more clustered as time goes by, the highest temperature Tt of a sample at the time t is calculated as T0Dt/D0, wherein T0 denotes an initial temperature. Assuming a kth sample has the least importance at time t, temperature Tti of an ith sample can be computed by the following equation (where i=1, 2, . . . , N):
Tti=Tt·I(Sk)/I(Si) (3),
wherein I(sk) and I(si) denote the importances of samples Sk and Si, respectively.
After operation 11, a random sample is selected from the sample set (operation 12 of
Next, while the robot is moving, a next position and orientation of the selected sample are calculated (operation 13 of
x(t+1)=x(t)+Δl cos θ(t)
y(t+1)=x(t)+Δl sin θ(t)
θ(t+1)=θ(t)+Δθ (4)
A sample s(t+1) shifted according to the position and orientation of the sample computed using Equation (4), is obtained. Then, a new sample s*(t+1) is generated in a square of the grid to which the sample s(t+1) belongs.
Next, the importances of the samples s(t+1) and s*(t+1) are computed (operation 14 of
Accordingly, for a sample s when the incident angle βi of a beam output from an ith sonar is smaller than a half angle φ0 of the beam angle of the ith sonar, the confidence conf(i) of the sample s can be calculated by Equation (5). The reason why the confidence can be expressed according to Equation (5) below is illustrated in
If the degree of the incident angle βi is equal to or larger than φ0, conf(i)=1 when the following equation is satisfied, and conf(i)=0 otherwise:
fabs[Lv(i)−Le(i)]<[σLe(i)] (6)
wherein, Lv(i) denotes a virtual return value returned to an ith virtual sonar when it is assumed that the ith virtual sonar is located at a position of the sample s, Le(i) denotes a real return value returned to the ith sonar, σ denotes a dispersion value of the return values, and fabs□ denotes the absolute value of a floating decimal.
Based on the confidence conf(i) computed using Equations (5) and (6), the importance I(s) of the sample s is calculated as follows:
wherein simp(i) denotes the importance of the sample s calculated according to the characteristics of the ith sonar, and is calculated using the following equation:
After computation of the importance degree I(s) of the sample s, the importance I(s(t+1)) of a sample s(t+1) is compared with the importance I(s*(t+1)) of a sample s*(t+1). When the importance I(s*(t+1)) is larger than the importance I(s(t+1), the sample s(t+1) is replaced with the sample s*(t+1).
When the importance I(s*(t+1)) is smaller than or equal to the importance I(s(t+1)), a HK of the sample s(t+1) is computed as follows:
HK=e−(I(s)−I(s*))/T (9)
wherein T denotes the temperature of a sample at time t, computed using Equation (3).
Next, a random value a evenly distributed between 0 and 1 is obtained. When the random value a is smaller than the HK of sample s(t+1), the sample s(t+1) is replaced with the sample s*(t+1). When the random value a is equal to or larger than the HK, the sample s(t+1) is maintained (operation 15 of
As described above, it is possible to appropriately perturb samples according to their HK and congregate the samples at a correct position more quickly than when a conventional sampling method based on a sample importance is adopted.
Next, after perturbation of the samples at the next time (t+1), the sample set is updated and the number iNumber of the samples is increased by 1 (operation 16 of
Next, the maximum sample number iMax of the perturbed samples is determined using a well-known Kullback-Leibler Distance (KLD) method (operation 17 of
Operations 12 through 18 of
wherein Ii denotes the importance of the ith sample.
After the normalization of the samples, the position (x, y) of the robot is estimated from the normalized samples (operation 20 of
wherein xi and yi denote an x-axial position and a y-axial position of the ith sample, respectively.
As apparent from
Initially, a robot global localization method, according to an embodiment of the present invention, does not need a large number of samples. Also, the temperatures of the samples are gradually reduced using a simulated annealing process, thereby enabling control of perturbation of the samples. Accordingly, it is possible to localize a robot faster, with a smaller error range, than conventional MCL methods. The present invention can also solve a difficulty, where the temperature in the simulated annealing process is not quantitatively defined, by using a relationship among the temperature, the average local density, and the sample importance. Also, the importance of a sample is determined based on the confidence of a sample, using a sensor installed in the robot, thereby performing sampling more stably.
Embodiments of the present invention can be implemented through computer readable code/instructions, e.g., programs, in digital computer(s), e.g., a controller. The computer readable code can be in a medium, e.g., a computer readable recording medium. Examples of the computer readable recording medium include magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, or DVDs), and storage media such as carrier waves (e.g., transmission through the Internet), for example only.
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-2004-0020761 | Mar 2004 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
20050213431 | Wang et al. | Sep 2005 | A1 |
Number | Date | Country |
---|---|---|
5-27832 | Feb 1993 | JP |
11-249734 | Sep 1999 | JP |
Number | Date | Country | |
---|---|---|---|
20050213431 A1 | Sep 2005 | US |