Self-location estimation device and mobile body

The self-position estimation device enhances accuracy and continuity by matching image features with a database using multiple data points and odometry, addressing issues of low accuracy and route deviations in mobile object positioning.

JP7555072B2Active Publication Date: 2024-09-24TOYOTA INDUSTRIES CORP +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020208504
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-09-24
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

Existing self-position estimation methods for mobile objects suffer from low accuracy and discontinuity in position estimation, leading to potential deviations from the intended route, especially when data is far from the set positions or environments change.

Method used

A self-position estimation device that matches features extracted from images with a database associating position information, using multiple data points to estimate the position, and includes an evaluation unit to ensure accuracy and continuity, switching to odometry when necessary.

Benefits of technology

Improves the continuity and accuracy of self-position estimation, providing robust travel support by reducing sudden changes and maintaining a consistent position estimate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007555072000014
    Figure 0007555072000014
  • Figure 0007555072000003
    Figure 0007555072000003
  • Figure 0007555072000001
    Figure 0007555072000001
Patent Text Reader

Abstract

To provide a self-position estimating device capable of improving continuity of self-position estimation results and supporting traveling of an appropriate mobile body, a mobile body, a self-position estimating method, and a self-position estimating program.SOLUTION: A self-position estimating unit 26 acquires a plurality of prior estimation positions of a mobile body 50 on the basis of a plurality of data corresponding to a plurality of position information among databases, and estimates the self-location from the plurality of prior estimation positions. This allows the self-position estimating unit 26 to suppress a rapid change of estimation results due to data switching and the like by estimating the self-location using the plurality of data. For this reason, continuity of self-position estimation results is improved, thereby making it possible to support traveling of an appropriate mobile body.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a self-location estimation device, a moving body, a self-location estimation method, and a self-location estimation program. [Background technology]

[0002] A conventional self-location estimation device is described in Patent Document 1. This self-location estimation device estimates its own location by using images acquired in advance and images acquired while the moving object is traveling. Since estimating the location from an image requires a long calculation time, this self-location estimation device uses a mechanical sensor (odometry) to complement the estimation result of the self-location during calculation. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-81008 A Summary of the Invention [Problem to be solved by the invention]

[0004] Here, the estimation accuracy of the self-location when it is estimated from the image is not always good. In this case, if the driving support of the moving body is performed using the estimation result of the self-location with low estimation accuracy, appropriate driving support cannot be performed, and the moving body may deviate from the route. In addition, a method may be adopted in which a database is prepared in advance for each position of the driving route, and the self-location is estimated using the data in the database while driving. However, in this method, if the self-location is estimated at a position away from the position where the data is set, the estimation accuracy may decrease. Furthermore, at a place where the data used for estimating the self-location is switched, the estimated self-location may suddenly change and become discontinuous.

[0005] Therefore, an object of the present invention is to provide a self-location estimation device, a moving body, a self-location estimation method, and a self-location estimation program that can improve the continuity of self-location estimation results and provide appropriate driving assistance for a moving body. [Means for solving the problem]

[0006] A self-location estimation device according to one embodiment of the present invention is a self-location estimation device for estimating the self-location of a moving body by matching features extracted from an acquired image with a database in which location information and features are previously associated, and includes an image acquisition unit that acquires an image, an extraction unit that extracts features from the image acquired by the image acquisition unit, and an estimation unit that estimates the self-location of the moving body by matching the features extracted by the extraction unit with the database, and the estimation unit acquires multiple pre-estimated positions of the moving body based on multiple data corresponding to multiple location information in the database, and estimates the self-location from the multiple pre-estimated positions.

[0007] The self-location estimation device is for estimating the self-location of a moving object by matching features extracted from an acquired image with a database in which location information and features are previously associated. Here, for example, the image acquisition unit may acquire an image at a position away from the position at which the data in the database was created. In such a case, the data used to estimate the self-location is switched to data of another position. Therefore, if the estimation unit estimates the self-location using only one piece of data, the estimated self-location may suddenly change. In response to this, the estimation unit acquires multiple pre-estimated positions of the moving object based on multiple pieces of data corresponding to multiple pieces of location information in the database, and estimates the self-location from the multiple pre-estimated positions. As a result, the estimation unit estimates the self-location using not only one piece of data but multiple pieces of data, thereby suppressing a sudden change in the estimation result due to switching of data, etc. As a result, the continuity of the estimation result of the self-location can be improved, and appropriate travel support for the moving object can be performed.

[0008] The estimation unit may select at least two pieces of data closest to the previously estimated self-location and estimate the self-location based on at least two selected pieces of data. This allows the estimation unit to estimate the self-location based on data present near the moving body, making it easier to match the features of the acquired image with the data, and improving the estimation accuracy.

[0009] The self-location estimation device may further include an evaluation unit that evaluates the estimation accuracy of the self-location, and the estimation unit may estimate the self-location using multiple pre-estimated locations when the evaluation by the evaluation unit is equal to or lower than a threshold. This allows the estimation unit to estimate the self-location using multiple data only at the necessary timing, thereby reducing the calculation load.

[0010] The estimation unit may calculate a matching rate with the data on which the pre-estimated position is based for each pre-estimated position, and perform estimation so that the final estimation result of the self-position is biased toward the pre-estimated position with a high matching rate. This allows the estimation unit to estimate the self-position in a state where data with a high matching rate is weighted, thereby improving the estimation accuracy.

[0011] A moving body according to the present invention includes the above-described self-location estimation device.

[0012] The self-location estimation method of the present invention is a self-location estimation method for estimating the self-location of a moving body by matching features extracted from an acquired image with a database in which location information and features are previously associated, and includes an image acquisition step of acquiring an image, an extraction step of extracting features from the image acquired in the image acquisition step, and an estimation step of estimating the self-location of the moving body by matching the features extracted in the extraction step with the database, and in the estimation step, multiple pre-estimated positions of the moving body are acquired based on multiple data corresponding to multiple location information in the database, and the self-location is estimated from the multiple pre-estimated positions.

[0013] The self-location estimation program of the present invention is a self-location estimation program for estimating the self-location of a moving body by matching features extracted from an acquired image with a database in which location information and features are previously associated, and causes a computer system to execute an image acquisition step of acquiring an image, an extraction step of extracting features from the image acquired in the image acquisition step, and an estimation step of estimating the self-location of the moving body by matching the features extracted in the extraction step with the database, and in the estimation step, multiple pre-estimated positions of the moving body are acquired based on multiple data corresponding to multiple location information in the database, and the self-location is estimated from the multiple pre-estimated positions.

[0014] According to these moving body, self-location estimation method, and self-location estimation program, it is possible to obtain the same effects as the self-location estimation device described above. Effect of the Invention

[0015] According to the present invention, it is possible to provide a self-location estimation device, a moving body, a self-location estimation method, and a self-location estimation program that can improve the continuity of self-location estimation results and provide appropriate driving assistance for a moving body. [Brief description of the drawings]

[0016] [Figure 1] 1 is a schematic diagram showing a self-location estimation system including a self-location estimation device according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a block configuration of a moving body including a self-position estimation device according to an embodiment of the present invention. [Diagram 3] FIG. 1 is a schematic diagram showing the state of a work site when a database is created. [Figure 4] 13 is a flowchart showing a method for creating a database. [Diagram 5] FIG. 13 is a diagram for explaining a method for extracting features. [Figure 6] FIG. 2 shows an image captured by a camera and extracted features. [Figure 7] FIG. 13 is a conceptual diagram showing a method for acquiring three-dimensional coordinates of a feature. [Figure 8] FIG. 2 is a schematic diagram showing a state in which a moving body performs automatic traveling. [Figure 9] FIG. 9 is a flowchart showing a method for estimating the self-location of a moving object. [Figure 10] 11 is a graph showing the relationship between the distance from a position corresponding to position information registered in a database and the estimation accuracy of the self-position. [Figure 11] FIG. 13 is a conceptual diagram showing a state when feature points are evaluated. [Figure 12] FIG. 2 is a conceptual diagram showing a driving support situation of a moving object on a driving route. [Figure 13] 1 is a flowchart showing a method for evaluating the estimation accuracy of a self-location and for supporting travel of a moving object using the evaluation result. [Figure 14] 4 is a conceptual diagram for explaining the content of self-position estimation by a self-position estimation unit. FIG. [Figure 15] 10 is a flowchart showing the contents of self-location estimation by a self-location estimating unit. [Figure 16] FIG. 13 is a diagram showing the results of an experiment in which the estimation result of the self-location was evaluated. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0018] 1 is a schematic diagram showing a self-location estimation system 100 including a self-location estimation device 1 according to this embodiment. As shown in FIG 1, the self-location estimation system 100 includes a self-location estimation device 1 provided in each of a plurality of moving objects 50, and a management unit 2.

[0019] In this embodiment, a forklift is exemplified as the moving body 50. FIG. 1 shows a state in which the forklift as the moving body 50 is loading and unloading cargo in a work area E (predetermined area) such as a warehouse or a factory. In the work area E, a plurality of shelves 60 are arranged. In addition, a passage 61 for the moving body 50 to pass through is formed between the shelves 60. The self-position estimation device 1 is a device that estimates the self-position of the moving body 50 in such a work area E. The self-position estimation device 1 estimates the self-position of the moving body 50 by matching features extracted from an acquired image with a database in which position information and features are previously associated. The moving body 50 can automatically travel in the work area E by using the self-position estimated by the self-position estimation device 1. The detailed configuration of the self-position estimation device 1 will be described later. The management unit 2 is a server that manages a plurality of moving bodies 50 in the work area E. The management unit 2 receives predetermined information from the multiple moving objects 50 and transmits predetermined information to the multiple moving objects 50 as necessary.

[0020] 2 is a block diagram showing the block configuration of a moving body 50 including a self-position estimation device 1 according to this embodiment. As shown in FIG. 2, the moving body 50 includes a running unit 11, a camera 12, and a control unit 20. The running unit 11 is a drive system such as a motor that generates a driving force for running the moving body 50. The camera 12 (image acquisition unit) is a device that acquires an image of the surroundings of the moving body 50. The camera 12 transmits the acquired image to the self-position estimation unit 26.

[0021] The control unit 20 includes an ECU [Electronic Control Unit] that manages the moving object 50. The ECU is an electronic control unit that includes a CPU [Central Processing Unit], a ROM [Read Only Memory], a RAM [Random Access Memory], a CAN [Controller Area Network] communication circuit, and the like. In the ECU, for example, a program stored in the ROM is loaded into the RAM, and the program loaded into the RAM is executed by the CPU, thereby realizing various functions. The control unit 20 includes a path planning unit 21, a command speed calculation unit 22, a communication unit 23, a storage unit 24, a self-position estimation unit 26 (extraction unit, estimation unit), an odometry calculation unit 27, a self-position determination unit 28, an evaluation unit 31, and a switching unit 32. Among these, the storage unit 24, the self-position estimation unit 26, the odometry calculation unit 27, the self-position determination unit 28, the evaluation unit 31, the switching unit 32, and the camera 12 constitute the self-position estimation device 1.

[0022] The route planning unit 21 plans a route along which the moving body 50 moves. The route planning unit 21 sets a starting position and a destination position in the work site E, and plans a route to the destination position. The route planning unit 21 transmits information on the planned route to the command speed calculation unit 22. The command speed calculation unit 22 calculates a command speed for the traveling unit 11, that is, a command rotation speed for the motor. The command speed calculation unit 22 calculates a command rotation speed based on the route transmitted from the route planning unit 21 and the self-position transmitted from the self-position determination unit 28. The communication unit 23 communicates with the traveling unit 11. The communication unit 23 transmits a control signal required for traveling to the traveling unit 11. The communication unit 23 acquires an encoder value from an encoder (not shown) and transmits the encoder value to the odometry calculation unit 27.

[0023] Next, each component of the self-location estimation device 1 will be described. The storage unit 24 stores a database necessary for self-location estimation. The database is a group of information that associates position information with features extracted from an image captured at the position in advance. The database has a plurality of data in which certain position information is associated with features. The storage unit 24 transmits the database to the self-location estimation unit 26.

[0024] The self-position estimation unit 26 extracts features from the image captured by the camera 12. The self-position estimation unit 26 also estimates the self-position of the moving object 50 by matching the features extracted from the image captured by the camera 12 with the database transmitted from the storage unit 24. The self-position estimation unit 26 transmits the estimated self-position to the self-position determination unit 28.

[0025] The odometry calculation unit 27 calculates the self-position by odometry based on the encoder value acquired from the communication unit 23. The odometry calculation unit 27 can acquire the self-position by simple calculation without relying on the image of the camera 12. The odometry calculation unit 27 transmits the self-position by odometry to the self-position determination unit 28. The self-position determination unit 28 comprehensively judges the self-position from the self-position estimation unit 26 and the self-position from the odometry calculation unit 27, and determines the self-position of the moving body 50. The self-position determination unit 28 determines the self-position by correcting the odometry error using the self-position estimation result from the self-position estimation unit 26 using the image, based on the self-position from the odometry calculation unit 27. The self-position determination unit 28 transmits the determined self-position to the command speed calculation unit 22.

[0026] Here, a method for creating a database will be described with reference to Figs. 3 to 6. The database is created in advance before the moving body 50 actually works in the work area E while estimating its own position. The database is created by acquiring images at important points in the work area E for driving, calculating information required for position estimation, storing the information in a database, and linking the database to a map of the work area E. The important points are, for example, positions numbered "1" to "12" in Fig. 3. In the following description, the position numbered "1" will be referred to as the "first important point". Other numbered positions will also be referred to as the "nth important point". Note that, in this description, the moving body 50 shown in Fig. 2 will be used to create the database. As described later, the self-position estimation unit 26 has a function of extracting features from an image and a function of matching images, so that the self-position estimation unit 26 performs various processes for creating the database. However, the equipment used for creating the database is not particularly limited, and any equipment capable of executing the following processes may be used.

[0027] FIG. 4 is a flowchart showing a method for creating a database. First, the camera 12 acquires one image to be included in the database, and acquires one image (or multiple images) of the surrounding area (step S10: image acquisition step). For example, when an image at a first important point is to be included in the database, the camera 12 acquires one image at the first important point, and acquires another image from near the first important point. Next, the self-position estimation unit 26 pre-processes the image so that features can be extracted (step S20). For example, the camera 12 may have a fisheye lens so that a wide range can be captured. In this case, since the object in the image is distorted, pre-processing is performed to adjust the image to a state closer to how it actually appears.

[0028] Next, the self-location estimation unit 26 extracts features from each of the two images (step S30: extraction step). Here, a method for extracting features from an image will be described with reference to FIG. 5. FIG. 5 is a diagram for explaining the method for extracting features. As shown in FIG. 5(a), the self-location estimation unit 26 compares the luminance of the judgment pixel X with that of the surrounding pixels (here, 16 pixels) to stratify them into three patterns: "bright", "dark", and "same". For example, the self-location estimation unit 26 judges surrounding pixels for which the relationship "judgment pixel (X)-surrounding pixel (i)>brightness threshold" holds as "bright", judges surrounding pixels for which the relationship "judgment pixel (X)-surrounding pixel (i)<brightness threshold" holds as "dark", and judges surrounding pixels for which the relationship "absolute value of (judgment pixel (X)-surrounding pixel (i))<brightness threshold" holds as "same".

[0029] Here, the self-position estimation unit 26 extracts the judgment pixel X as a feature in the image when the number of consecutive "light" or "dark" surrounding pixels is equal to or greater than the corner threshold. For example, when the corner threshold is set to "12", the judgment pixel X in FIG. 5(b) has 12 or more consecutive "light" surrounding pixels, so it is extracted as a feature. The judgment pixel X in FIG. 5(c) has only 11 consecutive "light" surrounding pixels, so it is discarded as not being a feature. As a result, as shown in FIG. 6, corners of structures such as shelves, floors, ceilings, and walls in the image PC are extracted as features (feature points FP). In addition, when luggage, installed objects, moving objects, etc. are captured in the image, the corners of these objects are also extracted as features.

[0030] In this specification, a pixel extracted as a feature may be referred to as a "feature point FP." Note that features in an image used for self-location estimation may be not only points, but also lines or a predetermined shape. In other words, a feature is not limited to a specific form as long as it is a part that can be extracted by image processing as a characteristic part in an image and can be matched with a part extracted in another image.

[0031] Returning to FIG. 4, the self-location estimation unit 26 matches the features of the two images (step S40). Then, the self-location estimation unit 26 performs three-dimensional reconstruction of the features and registers them as a database. In the database, the position information of the important point (the position where the image was acquired), the image coordinates of the features in the image, and the three-dimensional coordinates of the features are registered in an associated form. The position information also includes the attitude of the camera 12 at the time of shooting. For example, as shown in FIG. 7, in the image PC1 at the important point, the feature points G, R, and B are extracted and their image coordinates are specified. In addition, the position information of the location where the image PC1 was acquired is also specified. In the image PC2 acquired around the important point, the feature points G, R, and B are extracted and their image coordinates are specified. In addition, the position information of the location where the image PC2 was acquired is also specified. The positional relationship between the surrounding shooting positions and the important points is grasped by a method such as linking odometry values ​​or estimating from the image. The self-position estimation unit 26 matches the features of the image PC1 and the image PC2, thereby enabling the self-position estimation unit 26 to obtain the three-dimensional coordinates of the feature points G, R, and B in a triangulation manner.

[0032] Returning to Fig. 4, when the process of step S50 is completed, the database creation of one image is completed. The moving object 50 moves to the next important point, and an image is captured at that important point by the camera 12, and the process of Fig. 4 is performed again. In this manner, a database is created of images at all important points in the work area E. The created database is stored in the memory unit 24.

[0033] Next, with reference to FIG. 8 and FIG. 9, a method of automatic travel of the mobile body 50 and a method of estimating the self-position by the self-position estimating unit 26 for automatic travel will be described. For example, the mobile body 50 is assumed to automatically travel from the current position ST shown in FIG. 8 to the 8th important point, which is the target position GL. At this time, the self-position estimating unit 26 estimates where the mobile body 50 is currently located. As a result, the self-position determining unit 28 can determine that the current position ST is "2 m east from the 10th important point". Then, the route planning unit 21 plans a route of "48 m east to the 11th important point, 16 m north to the 8th important point". As a result, the mobile body performs automatic travel. Note that the number of pieces of data used by the self-position estimating unit 26 when estimating the self-position is not limited, and the self-position may be estimated using data of a plurality of positions as described later. However, here, in order to facilitate understanding of the contents, a case where the self-position is estimated using one piece of data will be described as an example. Note that a method of estimating the self-position using a plurality of pieces of data will be described later.

[0034] FIG. 9 is a flowchart showing a method for estimating the self-position of the moving object 50. The self-position estimation unit 26 executes the process shown in FIG. 9 to estimate the self-position of the moving object 50. As shown in FIG. 9, the self-position estimation unit 26 acquires an image of the moving object 50 from the camera 12 while the moving object 50 is moving (step S110: image acquisition step). For example, the camera 12 acquires an image at the current position ST near the 10th important point (see FIG. 8). Next, the self-position estimation unit 26 performs pre-processing of the image so that features can be extracted (step S120). Next, the self-position estimation unit 26 extracts features from the image while the moving object 50 is moving (step S130: extraction step). Note that in steps S120 and S130, the same process as in steps S20 and S30 in FIG. 4 is performed. As a result, when an image PC as shown in FIG. 6 is acquired, a feature point FP is acquired.

[0035] Next, the self-position estimation unit 26 matches the features extracted in step S130 with the features of the image in the database (step S140: estimation step), and then estimates the self-position of the moving object 50 (step S150: estimation step).

[0036] For example, when an image similar to the image PC shown in FIG. 6 is obtained while the moving body 50 is traveling, the self-location estimation unit 26 can extract a plurality of feature points FP similar to those in FIG. 6. Then, the self-location estimation unit 26 compares the feature points with the feature points in the image in the database. When the image PC shown in FIG. 6 is obtained at the 10th important point during database creation, and the plurality of feature points FP shown in FIG. 6 are extracted, the self-location estimation unit 26 can match the feature points extracted in step S130 with the feature points FP shown in FIG. 6. Note that, as a method of matching feature points with each other, for example, a method of calculating the feature amount descriptor of the feature points and matching the feature points with the smallest distance from among the feature points in the database can be mentioned, but the method is not particularly limited, and a known method may be used.

[0037] Here, if the location where the image was taken while traveling is shifted from the 10th important point, and the posture when the image was taken while traveling is shifted from the posture when the database was created, the image coordinates of the image and the feature point taken while traveling are slightly shifted from the image coordinates of the image PC and the feature point FP in FIG. 6. Therefore, in step S150, the self-location estimation unit 26 links the coordinates of any three feature points from the database to the three feature points of the image taken while traveling. Then, the self-location estimation unit 26 estimates the position and posture of the moving body 50 using a known three-point method technique. The three feature points used in step S150 are randomly selected from a large number of feature points present in the image.

[0038] Next, the evaluation unit 31 and the switching unit 32 shown in FIG. 2 will be described in detail. The evaluation unit 31 evaluates the estimation accuracy of the self-position estimation unit 26. Here, with reference to FIG. 10, the relationship between the distance from the position corresponding to the position information registered in the database and the estimation accuracy of the self-position will be described. The dots plotted on the line indicated as "driving" on the upper side of the graph in FIG. 10 indicate the positions corresponding to the position information registered in the database. The lower side of FIG. 10 shows a graph indicating the distance from the position corresponding to the position information registered in the database at each position in the traveling range of the moving body 50, and the error of the estimation result of the self-position. The graph shows the results of an experiment conducted in advance. The positions corresponding to the position information registered in the database are the positions of the above-mentioned "1st to 12th important points", and are the positions where the image was acquired in advance to create the database. The farther the shooting position during driving (i.e., the position where the self-position estimation is performed) is from each important point, the greater the change in the appearance of the image from that registered in the database. Therefore, as shown in FIG. 10, the greater the distance from each important point, the lower the estimation accuracy of the self-position estimation unit 26.

[0039] Specifically, the evaluation unit 31 evaluates the estimation accuracy based on matching between the features and the database. The evaluation unit 31 matches the feature points FP extracted by the self-location estimation unit 26 with the feature points FP of the image registered in the database. When the number of successful matches (or the matching success rate) is high, the evaluation unit 31 evaluates the estimation accuracy of the self-location estimation unit 26 as high, and when the number of successful matches (or the matching success rate) is low, the evaluation unit 31 evaluates the estimation accuracy of the self-location estimation unit 26 as low. The evaluation unit 31 sets a threshold value in advance for the number of successful matches (matching success rate), and evaluates the estimation accuracy as high when the number of successful matches (matching success rate) is equal to or higher than the threshold value. The threshold value may be a fixed value, or may be a value estimated from an image acquired in advance.

[0040] Specifically, as shown in FIG. 11(a), when self-location estimation is performed by the three-point method using feature points R, G, and B, the evaluation unit 31 automatically judges whether matching is successful for feature points FP other than the three feature points R, G, and B. As shown in FIG. 11(b), when judging whether matching is successful for feature points FP other than the three feature points R, G, and B, the feature point FP to be judged is indicated as "feature point FP1" in the image coordinates of the image PC1 of the database, and is indicated as "feature point FP2" in the image coordinates of the image PC2 during driving. The evaluation unit 31 reprojects the three-dimensional coordinate point of the feature point FP1 onto the image PC2. The reprojected feature point FP1 is indicated as "feature point FP2a" in the image coordinates of the image PC2. The evaluation unit 31 acquires the magnitude of the error between the feature point FP2a and the feature point FP1, and judges whether the error is equal to or smaller than a threshold value. If the error is equal to or smaller than the threshold, the evaluation unit 31 determines that the matching of the feature points FP related to the object to be judged is successful, and increments the count of the number of successful matches by 1. On the other hand, if the error is greater than the threshold, the evaluation unit 31 determines that the matching of the feature points FP related to the object to be judged is unsuccessful, and does not count it.

[0041] The switching unit 32 switches whether or not to use the estimation result of the self-position by the self-position estimation unit 26 for driving support based on the evaluation result by the evaluation unit 31. That is, when the estimation result is highly evaluated by the evaluation unit 31, the switching unit 32 causes the estimation result by the self-position estimation unit 26 to be used for driving support. Specifically, the switching unit 32 sets the self-position determination unit 28 to use the estimation result of the self-position estimation unit 26. As a result, the self-position determination unit 28 determines the self-position by correcting the odometry error using the self-position estimation result from the self-position estimation unit 26 using the image. On the other hand, when the estimation result is poorly evaluated by the evaluation unit 31, the switching unit 32 prevents the estimation result by the self-position estimation unit 26 from being used for driving support. That is, when the evaluation result by the evaluation unit 31 is poor, the switching unit 32 switches to driving support based only on the driving information from the driving unit 11 of the moving object 50. The driving information here is odometry based on the encoder value from the driving unit 11. Specifically, the switching unit 32 switches the setting so that the self-position determining unit 28 does not use the estimation result of the self-position estimating unit 26. As a result, the self-position determining unit 28 determines the self-position without using the self-position estimation result from the self-position estimating unit 26 using an image and without correcting the odometry error.

[0042] Fig. 12 is a conceptual diagram showing a driving support situation of a moving body 50 on a driving route. Dots plotted on the line marked "Driving" in Fig. 12 indicate positions (important points) corresponding to position information registered in the database. In an area E1 close to an important point, the moving body 50 drives with driving support by correcting odometry error using a self-position estimation result from the self-position estimation unit 26. On the other hand, in an area E2 far from an important point, the moving body 50 drives with driving support based only on odometry.

[0043] Next, a method for evaluating the estimation accuracy of the self-location and for supporting the traveling of a moving object using the evaluation result will be described with reference to Fig. 13. Fig. 13 is a flowchart showing a method for evaluating the estimation accuracy of the self-location and for supporting the traveling of a moving object using the evaluation result. This process is executed after the self-location estimation unit 26 estimates the self-location at a certain position on the traveling route.

[0044] First, the evaluation unit 31 evaluates the estimation accuracy of the self-location estimation by the self-location estimation unit 26 (step S210: evaluation step). The evaluation unit 31 performs the evaluation based on the number of successful matches (success rate) of the features extracted by the self-location estimation unit 26.

[0045] Next, the evaluation unit 31 judges whether or not the evaluation result in step S210 is high (step S220: evaluation step). If it is judged in step S220 that the evaluation is high, the switching unit 32 sets the estimation result by the self-position estimation unit 26 to be used in driving support (step S230: switching step). On the other hand, if it is judged in step S220 that the evaluation is low, the switching unit 32 sets the estimation result by the self-position estimation unit 26 not to be used in driving support, and sets that driving support is performed based only on odometry (step S240: switching step). With the above, the process shown in FIG. 13 ends.

[0046] Next, a configuration for the self-position estimation unit 26 to estimate a more appropriate self-position will be described with reference to Fig. 14 to Fig. 16. Fig. 14 is a conceptual diagram for explaining the content of self-position estimation by the self-position estimation unit 26. Fig. 15 is a flowchart showing the content of self-position estimation by the self-position estimation unit 26. Fig. 16 is a diagram showing the results of an experiment in which the estimation results of the self-position were evaluated.

[0047] In the above-described embodiment, the self-location estimation unit 26 estimates the self-location based on one piece of nearest data. In contrast, the self-location estimation unit 26 may estimate the self-location using a plurality of pieces of data. That is, the self-location estimation unit 26 acquires a plurality of pre-estimated positions of the mobile object 50 based on a plurality of pieces of data corresponding to a plurality of pieces of position information in the database. The self-location estimation unit 26 also estimates the self-location from the plurality of pre-estimated positions. The self-location estimation unit 26 selects at least two pieces of data nearest to the previously estimated self-location, and estimates the self-location based on at least the selected two pieces of data.

[0048] First, as shown in FIG. 15, the self-position estimation unit 26 selects a plurality of data to be matched (step S310: estimation step). Here, the self-position estimation unit 26 selects two nearest data to the previously estimated self-position. Specifically, as shown in FIG. 14(a), the database has a plurality of data corresponding to position information at each position on the travel route RL of the moving body 50. Since four data are set in FIG. 14(a), they are referred to as data DT1, DT2, DT3, and DT4. For example, when the self-position LP related to the previous estimation by the moving body 50 is between the position corresponding to the data DT1 and the position corresponding to the data DT2, the self-position estimation unit 26 selects the closest data D1 and the second closest data D2 as the data to be matched.

[0049] Next, as shown in FIG. 15, the self-location estimation unit 26 performs matching on the data selected in step S310 to obtain a plurality of pre-estimated locations (step S320: estimation step). The specific content of matching the features extracted from the image acquired by the moving body 50 at the current location with each piece of data is the same as the method of estimating the self-location in the description of FIG. 9. For example, in FIG. 14(a), the self-location estimation unit 26 performs matching with the data DT1 to obtain a pre-estimated location BP1. The self-location estimation unit 26 also performs matching with the data DT2 to obtain a pre-estimated location BP2. Since the data to be matched are different and the self-location estimated using each piece of data is slightly different from the actual self-location, the pre-estimated location BP1 and the pre-estimated location BP2 are set to different locations.

[0050] Next, as shown in FIG. 15, the self-location estimation unit 26 estimates the self-location from the multiple pre-estimated locations acquired in step S320 (step S330: estimation step). The self-location estimation unit 26 sets the self-location to an intermediate position between the multiple pre-estimated locations. At this time, the self-location estimation unit 26 calculates the matching rate with the data on which the pre-estimated location is based for each pre-estimated location. The matching rate is a value indicating the degree to which the pre-estimated location matches the original data, and a specific calculation method is not particularly limited as long as it can indicate the degree. Although not particularly limited, the matching rate is calculated by applying an arbitrary index such as the sum of deviations at each feature point when matching the feature point extracted in step S130 with the feature point FP shown in FIG. 6. In addition, the self-location estimation unit 26 performs estimation so that the final estimation result of the self-location is biased toward the pre-estimated location with a high matching rate. For example, when the matching rates of the two pre-estimated locations are equal (1:1 ratio), the self-location is set to the midpoint of the two pre-estimated locations. On the other hand, if the matching rate of one of the pre-estimated positions is high, the self-location moves closer to the one of the pre-estimated positions than the midpoint by an amount corresponding to that ratio.

[0051] Specifically, as shown in FIG. 14(b), the matching rate of the pre-estimated position BP1 with respect to the data DT1 is 90%, and the matching rate of the pre-estimated position BP2 with respect to the data DT2 is 50%. In this case, the matching rate of the pre-estimated position BP1 is 1.8 times higher than the matching rate of the pre-estimated position BP2. Therefore, the estimated self-position EP is set at a position closer to the pre-estimated position BP1 by the magnification than the midpoint between the pre-estimated position BP1 and the pre-estimated position BP2. As shown in FIG. 14(c), the matching rate of the pre-estimated position BP1 with respect to the data DT1 is 75%, and the matching rate of the pre-estimated position BP2 with respect to the data DT2 is 70%. In this case, there is almost no difference between the matching rate of the pre-estimated position BP1 and the matching rate of the pre-estimated position BP2. Therefore, the estimated self-position EP is set at a position almost the same as the midpoint between the pre-estimated position BP1 and the pre-estimated position BP2, although it is slightly closer to the pre-estimated position BP1. In addition, the specific calculation method of how to reflect the ratio of the matching rate in the bias of the self-location is not particularly limited, and any calculation method may be adopted, such as calculating the center of gravity in which the matching rate is regarded as weight. With the above, the process of estimating the self-location shown in FIG. 15 is completed.

[0052] In addition, the evaluation by the evaluation unit 31 may be involved in the estimation of the self-position using a plurality of data as described above. For example, in a normal state, the self-position estimation unit 26 may estimate the self-position using one piece of data, and when the estimation accuracy decreases, the self-position estimation using a plurality of data may be performed. That is, the evaluation unit 31 compares the estimation accuracy of the self-position using one piece of data with a threshold value. Then, when the evaluation by the evaluation unit 31 exceeds the threshold value, driving support using the self-position is performed. On the other hand, when the evaluation by the evaluation unit 31 becomes equal to or less than the threshold value, the self-position estimation unit 26 performs estimation of the self-position using the above-mentioned plurality of pre-estimated positions. In addition, a threshold value for evaluation may be set for the estimation accuracy of the self-position using a plurality of data. As a result, when it is evaluated that the estimation accuracy is low even when the self-position is estimated using a plurality of data, the driving support may be switched to driving support using odometry.

[0053] Next, the actions and effects of the self-location estimation device 1, the moving object 50, the self-location estimation method, and the self-location estimation program according to the present embodiment will be described.

[0054] The self-location estimation device 1 is for estimating the self-location of a moving object by matching features extracted from an acquired image with a database in which location information and features are previously associated. Here, for example, the camera 12 may acquire an image at a position away from the position at which the data in the database was created. In such a case, the data used to estimate the self-location is switched to data of a different position. Therefore, if the self-location estimation unit 26 estimates the self-location using only one piece of data, the estimated self-location may suddenly change.

[0055] For example, FIG. 16(a) shows a travel route RL along which a forklift equipped with a self-position estimation device 1 actually travels while estimating its own position. The black dots on the travel route indicate the positions where data is created. The forklift travels from a start point SP to a goal point GP. First, an experiment was conducted in which the forklift travels along the travel route RL while estimating its own position using only one piece of data, and the self-position estimated at each position was collected. Among these, FIG. 16(b) shows the estimation result of the self-position in the section surrounded by the virtual line. FIG. 16(b) shows the self-position estimation trajectory EL drawn by the estimated self-position. In the section, the data used is switched at the intermediate position CT between the data DT1 and the data DT2. That is, in the area closer to the data DT1 side than the intermediate position CT, the self-position is estimated based on the data DT1. On the other hand, in the area closer to the data DT2 side than the intermediate position CT, the self-position is estimated based on the data DT1. In addition, near the intermediate position CT, the distance from both data DT1 and DT2 is far, so the estimation accuracy is also reduced. As a result, at the intermediate position CT, the data used is switched, and the self-location estimation result changes suddenly. This causes the self-location estimation trajectory EL to be cut off and become discontinuous.

[0056] In response to this, the self-location estimation unit 26 acquires multiple pre-estimated locations of the mobile unit 50 based on multiple pieces of data corresponding to multiple pieces of location information in the database, and estimates the mobile unit's own location from the multiple pre-estimated locations. As a result, the self-location estimation unit 26 estimates the mobile unit's own location using multiple pieces of data, not just one piece of data, and can suppress a sudden change in the estimation result due to switching of data, etc. This improves the continuity of the estimation result of the self-location, and can provide appropriate travel support for the mobile unit.

[0057] In the case where the self-location is estimated using the two nearest data, an experiment was conducted in which the self-location estimation results were collected while the forklift traveled along the travel route RL shown in FIG. 16(a). The self-location estimation results for the section surrounded by the virtual line are shown in FIG. 16(c). In FIG. 16(c), the self-location is estimated based on the data DT1 and the data DT2 in both the area on the data DT1 side and the area on the data DT2 side of the intermediate position CT. That is, until the forklift travels from the position of the data DT1 to the position of the data DT2, the self-location estimation unit 26 can estimate the self-location using the data DT1 and DT2 without switching data on the way. In addition, by using the two data DT1 and DT2, the estimation accuracy can be improved compared to the case of using one data. Therefore, even at the intermediate position CT, the self-location estimation trajectory EL is uninterrupted and a continuous trajectory is drawn. Here, when the forklift moves beyond DT2, the next data is used instead of the data DT1. That is, although data switching occurs, in the vicinity of data DT2, data DT2 is present in a nearby position, so the self-location can be estimated with high accuracy. Therefore, even if data switching occurs, the estimation result of the self-location does not fluctuate significantly. From the above, it can be seen that the robustness can be improved and the continuity of the estimation result of the self-location can be improved. Note that, while the evaluation value of the estimation accuracy when estimating the self-location using one data when traveling along the travel route RL in FIG. 16(a) was 28 mm, it was possible to reduce it to 21 mm when two data were used. Note that the evaluation value is the variation in error when comparing the true value with the estimation result.

[0058] The self-location estimation unit 26 may select at least two pieces of data closest to the previously estimated self-location, and estimate the self-location based on at least the two selected pieces of data. This allows the self-location estimation unit 26 to estimate the self-location based on data present near the mobile unit 50, making it easier to match the features of the acquired image with the data, and improving the estimation accuracy.

[0059] The self-location estimation device 1 further includes an evaluation unit 31 that evaluates the estimation accuracy of the self-location, and the self-location estimation unit 26 may estimate the self-location using a plurality of pre-estimated locations when the evaluation by the evaluation unit 31 is equal to or lower than a threshold. This allows the self-location estimation unit 26 to estimate the self-location using a plurality of data only at the necessary timing, thereby reducing the computation load.

[0060] The self-location estimation unit 26 may calculate the matching rate with the data on which the pre-estimated location is based for each pre-estimated location, and perform estimation so that the final estimation result of the self-location is biased toward the pre-estimated location with a high matching rate. This allows the self-location estimation unit 26 to estimate the self-location in a state where data with a high matching rate is weighted, thereby improving the estimation accuracy.

[0061] The moving object 50 according to this embodiment includes the self-position estimation device 1 described above.

[0062] The self-location estimation method of this embodiment is a self-location estimation method for estimating the self-location of a moving body by matching features extracted from an acquired image with a database in which location information and features are previously associated, and includes an image acquisition step of acquiring an image, an extraction step of extracting features from the image acquired in the image acquisition step, and an estimation step of estimating the self-location of the moving body by matching the features extracted in the extraction step with the database, and in the estimation step, multiple pre-estimated positions of the moving body are acquired based on multiple data corresponding to multiple location information in the database, and the self-location is estimated from the multiple pre-estimated positions.

[0063] The self-location estimation program of the present invention is a self-location estimation program for estimating the self-location of a moving body by matching features extracted from an acquired image with a database in which location information and features are previously associated, and causes a computer system to execute an image acquisition step of acquiring an image, an extraction step of extracting features from the image acquired in the image acquisition step, and an estimation step of estimating the self-location of the moving body by matching the features extracted in the extraction step with the database, and in the estimation step, multiple pre-estimated positions of the moving body are acquired based on multiple data corresponding to multiple location information in the database, and the self-location is estimated from the multiple pre-estimated positions.

[0064] According to the moving body 50, the self-location estimation method, and the self-location estimation program, it is possible to obtain the same effects as those of the self-location estimation device described above.

[0065] The present invention is not limited to the above-described embodiments.

[0066] The self-location estimation device 1 may perform additional processing in addition to the above-described embodiment. For example, the evaluation unit 31 may evaluate how far away from the position corresponding to the position information registered in the database the estimation accuracy decreases. This makes it possible to increase the amount of position information registered in the database for areas where the estimation accuracy is likely to decrease. This processing may be performed particularly when creating the database shown in FIG. 4. This allows a large number of databases to be set by setting many important points for areas where the estimation accuracy is likely to decrease (for example, an environment where many objects are nearby). This allows the estimation accuracy to be improved. Also, for areas where the estimation accuracy is unlikely to decrease (for example, an open environment), it is possible to set fewer important points. This allows the data capacity to be reduced. This processing may be performed while the moving body 50 is traveling, and if necessary, important points may be increased later and a new database may be registered.

[0067] Furthermore, the evaluation unit 31 may set a position that is evaluated as having high estimation accuracy within the travel range of the moving body 50 as a position for alignment of the moving body 50. For example, when the moving body 50 loses sight of its own position, the moving body 50 can perform self-position estimation for all databases, and recognize the result that is evaluated as having the highest estimation accuracy (e.g., the highest number of successful matches) as its own position, and then return to traveling.

[0068] Furthermore, the evaluation unit 31 may evaluate the database itself based on the evaluation results at each position in the travel range of the mobile object 50. For example, if the evaluation of the estimation accuracy does not improve even when the mobile object 50 approaches a position corresponding to the position information registered in the database, there is a possibility that the database itself has failed to be created. Therefore, by the evaluation unit 31 evaluating the database itself, it becomes possible to take measures against the situation. For example, a warning may be issued to the administrator, or the database may be re-created. The evaluation of the database itself may be performed using images collected during prior teaching, or may be performed while the mobile object 50 is traveling.

[0069] The evaluation unit 31 may also evaluate the degree of deviation of the moving body 50 from the route based on the evaluation results at each position in the traveling range of the moving body 50. For example, if the evaluation of the estimation accuracy does not improve even when the moving body 50 approaches a position corresponding to the position information registered in the database, there is a possibility that the moving body 50 has deviated from the route itself. Therefore, by the evaluation unit 31 evaluating the degree of deviation of the moving body from the route, it becomes possible to take measures against the situation. In this case, the moving body 50 is stopped once, and self-location estimation is repeated in the stopped state. If the variation in the repeated calculation results is small, the self-location estimation device 1 considers the position estimation accuracy to be high and performs odometry correction. If the variation in the repeated calculation results is large, the self-location estimation device 1 considers that correction is difficult and issues a warning to the administrator.

[0070] In the above embodiment, all of the components of the self-location estimation device are included in the moving object 50. Alternatively, the management unit 2 may have a part of the functions of the self-location estimation device. [Explanation of symbols]

[0071] 1...self-position estimation device, 12...camera (image acquisition unit), 26...self-position estimation unit (extraction unit, estimation unit), 31...evaluation unit, 50...moving body.

Claims

1. A self-location estimation device for estimating a self-location of a moving object by matching a feature extracted from an acquired image with a database in which location information is previously associated with the feature, the device comprising: An image acquisition unit for acquiring the image; an extraction unit that extracts the features from the image acquired by the image acquisition unit; an estimation unit that estimates a self-location of the moving object by matching the features extracted by the extraction unit with the database, The estimation unit is acquiring a plurality of pre-estimated positions of the moving object based on a plurality of data corresponding to the plurality of position information in the database; Estimating the self-location from the plurality of pre-estimated locations; the estimation unit selects at least two pieces of data closest to a previously estimated self-location, and estimates the self-location by matching each of the at least two pieces of selected data with the features extracted from the image acquired by the one image acquisition unit; The estimation unit is calculating a matching rate with the data on which the pre-estimated position is based for each of the pre-estimated positions; A self-location estimation device that performs estimation such that a final estimation result of the self-location is biased toward the pre-estimated location with a high matching rate.

2. A moving object comprising the self-location estimation device according to claim 1.

Citation Information

Patent Citations

  • Autonomous mobile apparatus

    JP2014203144A

  • Self-position estimation device for train

    JP2015093532A

  • Control method of autonomous mobile apparatus

    JP2016024598A

  • Self position estimation device and mobile body with self position estimation device

    JP2016110576A

  • Self position estimation method

    JP2017083230A