Map generation and self-location estimation device
The map generation/self-position estimation device addresses the challenge of generating accurate maps for autonomous driving by converting sensor data into map and self-position estimation data, calculating relative positions, and evaluating accuracy, thus enhancing self-position estimation without prior learning or sensor installations.
Patent Information
- Application Number
- JP2021081705
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-13
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2041-05-13
AI Technical Summary
Existing autonomous driving and driving support systems face challenges in generating accurate maps for public roads and residential areas, leading to large errors in self-position estimation without prior learning movements or sensor installations, which can cause system stoppages.
A map generation/self-position estimation device that converts data from external sensors into map and self-position estimation data, calculates the true value of relative positions, and evaluates estimation accuracy using a data allocation method, without prior learning or sensor installations.
Enables accurate self-position estimation using generated maps without prior learning or sensor installations, reducing errors and system stoppages in autonomous driving systems.
Smart Images

Figure 0007561683000001 
Figure 0007561683000002 
Figure 0007561683000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a map generation and self-location estimation device. [Background technology]
[0002] In order to expand the scope of application of the automatic driving / driving assistance system, it is important to obtain information from a map based on self-location estimation. However, while maps for automatic driving / driving assistance systems have been developed for expressways, there is no prospect of developing maps for general roads or residential areas such as around one's home. In response to this, there is a method in which a map consisting of data on surrounding objects and a driving route is generated by the vehicle itself during the first driving, and the vehicle's position and attitude are estimated on the generated map during subsequent driving. However, depending on the generated map, the error in self-location estimation becomes large, and the device cannot be used for the automatic driving / driving assistance system. In response to this, Patent Document 1 describes a self-location estimation device that includes a first self-location estimation unit, a second self-location estimation unit, an abnormality occurrence probability calculation formula storage unit, an abnormality occurrence probability calculation unit, and a final self-location estimation unit. The first self-location estimation unit updates the probability distribution of the state of the moving body to the latest state using at least the environmental map of the moving area and the "distance from the moving body to an object existing in the moving area" and the "orientation of the object relative to the moving body" observed in the current step, and estimates the first self-location based on the probability distribution of the latest state. The second self-location estimation unit estimates the second self-location by adding the moving distance and moving direction of the moving body from the previous step to the current step, acquired by odometry, to the final self-location of the moving body in the previous step estimated by the final self-location estimation unit. The abnormality occurrence probability calculation formula storage unit stores an abnormality occurrence probability calculation formula obtained by machine learning learning data acquired when the first self-location estimation unit estimated the first self-location during learning movement of the moving body. The abnormality occurrence probability calculation unit inputs a plurality of variables acquired when the first self-location estimation unit estimated the first self-location into the abnormality occurrence probability calculation formula during actual movement of the moving body to calculate the abnormality occurrence probability. The final self-location estimation unit determines the weighted average value calculated using the first self-location acquired from the first self-location estimation unit and the second self-location acquired from the second self-location estimation unit as the final self-location in the current step. The learning data includes a plurality of data correlating a plurality of variables acquired when the first self-location estimation unit estimates the first self-location during learning movement with a classification result when the first self-location estimation result at that time is classified as normal or abnormal.The weighting coefficient used in the final self-location estimator is a function of the anomaly occurrence probability obtained in the anomaly occurrence probability calculator. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6438354 Summary of the Invention [Problem to be solved by the invention]
[0004] In the invention described in Patent Document 1, the probability of anomaly occurrence in self-location estimation can be calculated by machine learning using learning data acquired during a prior learning movement. However, in application to an automatic driving / driving assistance system based on map generation / self-location estimation, there is a problem that prior learning movement is necessary. In addition, there is a problem that known objects must be installed in the environment and sensors must be added in order to acquire the true value of the self-location estimation during the learning movement. In addition, there is a problem that the probability of anomaly occurrence is calculated during self-location estimation. During the operation of an automatic driving / driving assistance system based on self-location estimation, it is desirable to judge anomalies and stop the system as little as possible. On the other hand, in map generation / self-location estimation, the generated map has a large effect on the accuracy of self-location estimation. Therefore, it is necessary to estimate the accuracy of self-location estimation using the generated map during map generation, which is the first run.
[0005] The present invention has been made in consideration of the above circumstances, and has an object to provide a map generation / self-location estimation device that can estimate the accuracy of self-location estimation using a generated map when generating a map, without prior learning movement, installation of known objects in the environment, or addition of sensors. [Means for solving the problem]
[0006] One representative map generation / self-location estimation device of the present invention includes a data allocation unit that allocates data acquired by an external sensor that measures the environment around the vehicle to map generation data and self-location estimation data, a map generation unit that generates a map based on the map generation data, and a self-location estimation unit that estimates a traveling position of the vehicle on the generated map based on the generated map generated by the map generation unit and the self-location estimation data, wherein the data allocation unit calculates a true value of a relative position between the map generation data and the self-location estimation data based on a data allocation method, and the map generation / self-location estimation device includes an accuracy evaluation unit that evaluates an error in self-location estimation from the true value of the relative position and the self-location estimation result calculated by the self-location estimation unit. Effect of the Invention
[0007] According to the present invention, it is possible to realize a map generation and self-location estimation device that can estimate the accuracy of self-location estimation using a generated map when generating a map, without prior learning movement, installation of known objects in the environment, or addition of sensors.
[0008] Problems, configurations and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]
[0009] [Figure 1] 1 is a block diagram showing the configuration of a map generation and self-location estimation device 100 according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of a true value 230 of a relative position between data. [Diagram 3] 4 is a diagram showing a process flow of data allocation for each measurement cycle of the external sensor 310. FIG. [Figure 4] 2 is a diagram showing an example of a true value 230 of a relative position between data in data allocation for each measurement cycle of the external sensor 310. FIG. [Diagram 5] 13 is a diagram showing an example of data allocation when a stereo camera 350 is used as an external sensor 310. FIG. [Figure 6]FIG. 1 is a diagram showing an example of an environment in which a vehicle travels. [Figure 7] FIG. 2 is a diagram showing an example of a generated map 240 generated by a map generating unit 120. [Figure 8] 2 is a diagram showing an example of a position and attitude 252 of the vehicle estimated by a self-position estimation unit 130. FIG. [Figure 9] FIG. 4 is a diagram showing an example of accuracy evaluation in the accuracy evaluation unit 140. [Figure 10] FIG. 13 is a block diagram showing the configuration of a map generation and self-location estimation device 500 according to a second embodiment. [Figure 11] FIG. 13 is a block diagram showing the configuration of a map generation and self-location estimation device 600 according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. In all the drawings for explaining the embodiments of the present invention, the same reference numerals are given to parts having the same functions, and the repeated description thereof may be omitted.
[0011] [First embodiment] A first embodiment of the map generation / self-location estimation device will be described below with reference to Figs. 1 to 9. The map generation / self-location estimation device is configured as a computer including a processor such as a CPU (Central Processing Unit), and memories such as a ROM (Read Only Memory), a RAM (Random Access Memory), and a HDD (Hard Disk Drive). Each function of the map generation / self-location estimation device is realized by the processor executing a program stored in the ROM. The RAM stores data including intermediate data of calculations performed by the program executed by the processor.
[0012] (Block configuration) 1 is a block diagram showing a configuration of a map generation / self-location estimation device 100 according to a first embodiment. The map generation / self-location estimation device 100 receives measurement data from a sensor group 300 (hereinafter, may be simply referred to as sensor 300). The map generation / self-location estimation device 100 includes a data allocation unit 110, a map generation unit 120, a self-location estimation unit 130, and an accuracy evaluation unit 140.
[0013] The map generation / self-position estimation device 100 generates a map consisting of a point cloud (a set of points obtained as a result of measuring objects around the vehicle) and the vehicle's traveling position from the output of the sensor 300, and stores it as a generated map.
[0014] The data allocation unit 110 allocates the output of the sensor 300 to map data (also referred to as map generation data) 210 and position estimation data (also referred to as self-position estimation data) 220. The data allocation unit 110 also calculates true values 230 of relative positions between the map data 210 and the position estimation data 220 based on the data allocation method. The map generation unit 120 generates a generated map 240 consisting of a point cloud and the vehicle's running position from the map data 210. The self-position estimation unit 130 estimates the position and orientation of the vehicle on the generated map by associating the position estimation data 220 with the generated map 240. The accuracy evaluation unit 140 evaluates the accuracy of the position and orientation of the vehicle on the generated map estimated by the self-position estimation unit 130 from the true values 230 of relative positions between the data.
[0015] (Sensor configuration) A description will be given of the configuration of the sensor 300 that inputs measurement data to the map generation / self-location estimation device 100. The sensor 300 is configured to include a plurality of sensors (310, 320) with different characteristics.
[0016] The external sensor 310 is a sensor mounted on a vehicle (the vehicle itself or the vehicle itself) and measures the environment around the vehicle. The external sensor 310 is, for example, a monocular camera, a stereo camera, LiDAR, a millimeter wave radar, a sonar, or the like, and measures the three-dimensional position of an object existing around the vehicle. When a monocular camera is used, the acquired data is an image, and the three-dimensional position cannot be acquired directly, but it is possible to measure the three-dimensional position by using multiple images using a known motion stereo method or the like. In addition, the three-dimensional positions of white lines, stop lines, crosswalks, etc. detected in the image may be estimated by assuming the shape of the road surface. Measurement results (external recognition data) of one or more arbitrary number of external sensors are input to the map generation / self-location estimation device 100.
[0017] The relative position sensor 320 is a sensor that outputs the relative position of the vehicle. However, like the external sensor 310, it includes a process of estimating the relative position of the vehicle from the measurement results of the sensor. Here, the relative position represents a position and attitude based on the position and attitude of the vehicle at a certain time. For example, the relative position sensor 320 may be a known wheel odometry method that estimates the relative movement of the vehicle from the steering angle of the vehicle and the amount of rotation of the tires. Also, it may be a known image odometry method or LiDAR odometry method that estimates the relative movement of the vehicle from the measurement results of the camera or LiDAR that is the external sensor 310.
[0018] It should be noted that the reference of the position and attitude of the vehicle can be set arbitrarily. In this embodiment, the reference of the position and attitude of the vehicle is the position and attitude of the external sensor 310. That is, the position and attitude of the vehicle and the position and attitude of the external sensor 310 are the same. Even when another location on the vehicle is used as the reference, the position and attitude of the external sensor 310 can be converted to the position and attitude of the vehicle at any timing of processing by using the mounting position and attitude of the external sensor 310 with respect to the reference position and attitude of the vehicle acquired by prior calibration. Therefore, no matter where the reference of the position and attitude of the vehicle is set, the present invention can be applied by appropriately converting the position and attitude.
[0019] Furthermore, when there are multiple external sensors 310, the position and orientation of any one of the external sensors 310 is used as the reference for the position and orientation of the vehicle. By using the positions and orientations between the multiple external sensors 310 acquired by prior calibration, the position and orientation of the reference external sensor 310 can be converted to the position and orientation of another external sensor 310 at any timing in the process.
[0020] (Map generation and self-location estimation device operation) 2 to 9, the contents of the processing in each section of the map generation / self-position estimation device 100 that receives measurement data from the sensor 300 as an input will be described.
[0021] (Data allocation unit operation) 2 to 5, the contents of the process in the data allocation unit 110 will be described. The data allocation unit 110 allocates the output of the sensor 300 to the map data 210 and the position estimation data 220. The data allocation unit 110 also calculates a true value 230 of the relative position between the map data 210 and the position estimation data 220 based on a data allocation method.
[0022] FIG. 2 is a diagram showing an example of a true value 230 of a relative position between data. The true value 230 of a relative position between data is defined by a set of the number of the position estimation data 220, the number of the map data 210, and the relative position and orientation. The number of the position estimation data 220 and the number of the map data 210 are numbers set for each measurement cycle of the external sensor 310. That is, each position estimation data 220 is associated with a certain map data 210. The relative position and orientation is a relative position and orientation between the position and orientation of the vehicle when the map data 210 is acquired and the position and orientation of the vehicle when the position estimation data 220 is acquired. When there are multiple external sensors 310, the data numbers are assigned so that it is possible to distinguish which external sensor 310 has acquired the data. For example, a data number xy is assigned to the y-th data acquired by the x-th external sensor 310.
[0023] The true value 230 of the relative position between data is calculated based on the data allocation method. The specific calculation method will be described later.
[0024] There are various possible methods for allocating data by the data allocation unit 110. In the following, a method of allocating data for each measurement cycle of the external sensor 310, a method of allocating data for each external sensor when multiple external sensors 310 are present, and a method of allocating data based on the data capacity of the generated map 240 will be described. However, the data allocation method is not limited to these. Also, multiple data allocation methods may be used in combination.
[0025] It is preferable that the data allocation unit 110 exclusively allocates the output of the sensor 300 to the map data 210 and the position estimation data 220. This is because the more the map generation unit 120 and the self-position estimation unit 130 use the same data, the more the accuracy estimated by the accuracy evaluation unit 140 improves compared to the accuracy of the self-position estimation during the next driving that is originally desired to be estimated.
[0026] (Data allocation for each measurement cycle of external sensors) FIG. 3 is a diagram showing a flow of processing for data allocation for each measurement period of the external sensor 310. In step S111, the number of measurements i of the external sensor 310 is initialized to 0, and the process proceeds to step S112. In step S112, information is acquired from the sensor 300, and the process proceeds to step S113. If the measurement periods of the external sensor 310 and the relative position sensor 320 do not match, the position and orientation of the vehicle at the measurement timing of the external sensor 310 is acquired by applying an interpolation process or the like to the data of the relative position sensor 320. In step S113, if the function f(i) is true, the process proceeds to step S114, and if false, the process proceeds to step S115. In step S114, the data of the sensor 300 with the number of measurements i is added to the map data 210, and the process proceeds to step S116. In step S115, the data of the sensor 300 with the number of measurements i is added to the position estimation data 220, and the process proceeds to step S116. In step S116, the number of measurements i is incremented by 1, and the process proceeds to step S112.
[0027] Here, function f(i) is an arbitrary function that receives the number of measurements i of the sensor 300 as input and returns a true / false value. For example, by setting function f(i) to a function that returns true when i is an even number and false when i is an odd number, data can be added alternately to map data 210 and position estimation data 220 for each measurement by sensor 300. Also, function f(i) may be a function that randomly returns true / false regardless of the number of measurements i.
[0028] Fig. 4 is a diagram showing an example of true value 230 of the relative position between data in data allocation for each measurement cycle of the external sensor 310. Fig. 4 shows a position and attitude 211 of the vehicle when data allocated to the map data 210 is acquired, a position and attitude 221 of the vehicle when data allocated to the position estimation data 220 is acquired, and a relative position and attitude 231 included in the true value 230 of the relative position between data. Fig. 4 also shows an example in which data is alternately allocated to the map data 210 and the position estimation data 220 by setting the function f(i) to a function that returns true when i is an even number and returns false when i is an odd number.
[0029] As described above, the true value 230 of the relative position between data is defined by a set of the number of the position estimation data 220, the number of the map data 210, and the relative position and orientation 231. For example, in data allocation for each measurement cycle of the external sensor 310, the map data 210 corresponding to each position estimation data 220 is set to the number of the map data 210 that is the newest when each position estimation data 220 is added. The relative position and orientation 231 is a relative position and orientation from the position and orientation of the vehicle when the map data 210 corresponding to each position estimation data 220 is acquired to the position and orientation of the vehicle when each position estimation data 220 is acquired, and is acquired by the relative position sensor 320. Note that although the relative position and orientation 231 acquired by the relative position sensor 320 includes an error, the error is small in a short distance and short time, so in this embodiment, the relative position and orientation 231 acquired by the relative position sensor 320 is set to be the true value.
[0030] Furthermore, the method of obtaining the map data 210 corresponding to each piece of position estimation data 220 is not limited to the above-mentioned method. For example, the map data 210 with the smallest relative position and orientation 231 (i.e., spatially closest) may be selected as the corresponding map data 210. In this case, although the corresponding map data 210 cannot be determined when each piece of position estimation data 220 is added, the relative position and orientation 231 acquired by the relative position sensor 320 is a short distance / short time, and the accuracy of the true value is improved.
[0031] (Data allocation per sensor) When there are multiple external sensors 310, the data allocation unit 110 may allocate data to each external sensor.
[0032] 5 is a diagram showing an example of data allocation when a stereo camera 350 is used as the external sensor 310. The stereo camera 350 is composed of a left camera and a right camera. The data allocation unit 110, for example, sets the data acquired by the left camera as map data 210 and the data acquired by the right camera as position estimation data 220. Normally, a stereo camera calculates distance by matching left and right images, but here, the stereo camera is treated as two monocular cameras with a known relative position and orientation between the sensors. Also, it is possible to change which camera is assigned to which data for each measurement cycle.
[0033] 5 shows a position and attitude 211 of the vehicle when data assigned to the map data 210 is acquired, a position and attitude 221 of the vehicle when data assigned to the position estimation data 220 is acquired, and a relative position and attitude 231 included in a true value 230 of the relative position between the data. Here, the position and attitude 211 of the vehicle when data assigned to the map data 210 is acquired is the position and attitude of the left camera, and the position and attitude 221 of the vehicle when data assigned to the position estimation data 220 is acquired is the position and attitude of the right camera. In addition, the map data 210 corresponding to each position estimation data 220 is data acquired at the same time. Therefore, the relative position and attitude 231 is the relative position and attitude between the left camera and the right camera, which is calculated by prior calibration in the stereo camera 350.
[0034] The external sensor 310 used for data allocation for each sensor is not limited to the stereo camera 350, and may be applied to any multiple external sensors 310. For example, a surroundings monitoring camera consisting of four cameras, a front camera, a rear camera, a left camera, and a right camera, may be used as the external sensor 310, and data acquired by the front camera and the left camera may be the map data 210, and data acquired by the rear camera and the right camera may be the position estimation data 220. Even in this case, if the map data 210 corresponding to each position estimation data 220 is data acquired at the same time, the relative position and orientation 231 becomes the position and orientation between the cameras calculated by prior calibration.
[0035] In addition, the external sensor 310 is not limited to a sensor consisting of multiple homogeneous sensors, such as the stereo camera 350 or a camera for monitoring surroundings, but a similar data allocation method can also be applied to a case where multiple heterogeneous sensors are used, such as a camera and LiDAR.
[0036] Furthermore, when the measurement timings of the multiple external sensors 310 do not match, it is possible to combine the process of allocating data for each measurement cycle of the external sensors 310. That is, when the position estimation data 220 is added, the newest map data 210 is set as the corresponding data, and the relative position and orientation 231 is calculated from the relative position and orientation acquired by the relative position sensor 320 and the relative position and orientation between the sensors calculated by prior calibration.
[0037] However, the relative position and orientation acquired by the relative position sensor 320 includes an error. Therefore, the data allocation unit 110 may use only the map data 210 and the position estimation data 220 acquired while the vehicle is stopped to calculate the true value 230 of the relative position between the data. By using only the data acquired while the vehicle is stopped, the influence of the difference in the measurement cycle of the external sensor 310 can be eliminated.
[0038] In data allocation for each sensor, if a data allocation method for the external sensor 310 is determined (fixedly) regardless of the number of measurements of the external sensor 310, since the installation positions of the external sensors 310 differ, it is possible to evaluate an error due to a difference in the driving position between the generated map 240 and the position estimation data 220. For example, if the left camera of the stereo camera 350 is assigned to the map data 210 and the right camera is assigned to the position estimation data 220, position estimation and accuracy evaluation are performed using data obtained by traveling to the right of the generated map 240 by the baseline length of the stereo camera 350. In other words, it is possible to estimate the influence of a difference in the driving route between the first map generation and the next or subsequent self-location estimation, which is an error factor in map generation and self-location estimation.
[0039] On the other hand, if the allocation of data to the external sensor 310 is changed (variably) depending on the number of measurements by the external sensor 310 (for example, an allocation of the left camera to map data 210 and the right camera to position estimation data 220, and an allocation of the left camera to position estimation data 220 and the right camera to map data 210 are performed for each measurement cycle, in other words, the camera assigned to the map data 210 and the camera assigned to the position estimation data 220 are alternately changed for each measurement cycle), the generated map 240 is generated using data from the external sensor 310 with different positions and orientations, so that it is possible to generate a generated map 240 with less deterioration in accuracy due to differences in the driving route during the next and subsequent driving periods.
[0040] (Data allocation based on the data capacity of the generated map) The data allocation unit 110 may allocate data based on the data capacity of the generated map 240 .
[0041] For example, the maximum data capacity that the map generating unit 120 can process in operation at a preset processing cycle can be determined from the processing of the map generating unit 120 and the performance of the hardware that mounts the map generating / self-location estimation device 100. Also, the data capacity required by the map generating unit 120 can be determined based on the maximum capacity of the generated map 240 that is determined from the performance of the hardware that mounts the map generating / self-location estimation device 100, the system specifications, and the capacity of the generated map 240 for the self-location estimation processing to operate at a preset processing cycle during the next driving.
[0042] Therefore, the data allocation unit 110 may allocate the maximum data capacity that the map generation unit 120 can process or (the data of) the data capacity required by the map generation unit 120 to the map data 210, and allocate the remaining data to the data for position estimation 220. By allocating data in this manner, sufficient data for generating the created map 240 is allocated, and the accuracy of self-position estimation using the created map 240 can be estimated using data that was not scheduled to be used, without degrading the created map 240.
[0043] Here, the amount of data acquired from the external sensor 310 varies depending on the surrounding environment, the driving environment, etc. Therefore, the ratio of data allocated by the data allocation unit 110 to the map data 210 and the position estimation data 220 varies depending on the environment.
[0044] Depending on the processing of the map generating unit 120, the map generating unit 120 may determine data to be used in the generated map 240 and data not to be used in the generated map 240. In such a case, all data may be once processed by the map generating unit 120 as map data 210, and data not used in the map generating unit 120 may be used as position estimation data 220.
[0045] (Map generation unit operation) Next, the contents of the processing in the map generating unit 120 will be described with reference to Fig. 6 and Fig. 7. The map generating unit 120 generates a generated map 240 consisting of a point cloud and a traveling position of the host vehicle from the map data 210. As described above, in this embodiment, the traveling position of the host vehicle is the position and orientation of the external sensor 310.
[0046] 6 is a diagram showing an example of an environment in which a vehicle has traveled. A vehicle 400 travels along a travel position (travel route) 401, and objects such as lane markings 402, buildings 403, trees 404, and utility poles 405 exist around the travel position 401.
[0047] Fig. 7 is a diagram showing an example of a generated map 240 generated by the map generating unit 120. Fig. 7 shows a generated map 240 generated by the map generating unit 120 in the environment shown in Fig. 6. The generated map 240 is made up of a point cloud 241 acquired by the external sensor 310 and a traveling position 242 acquired by the relative position sensor 320.
[0048] The point cloud 241 is a set of points obtained as a result of detecting (measuring) objects around the vehicle 400 by the external sensor 310 while the vehicle 400 is traveling.
[0049] The traveling position 242 is the position and orientation of the vehicle 400 at each time, acquired by the relative position sensor 320, with the position and orientation of the vehicle 400 at a certain time being taken as the origin of the coordinate system.
[0050] The point cloud 241 acquired by the external sensor 310 is acquired by converting the three-dimensional position of an object based on the external sensor 310 into the same coordinate system as the running position 242, using the running position 242 at the time when the external sensor 310 measured the point cloud. In other words, the point cloud 241 and the running position 242 are positions and position orientations in the same coordinate system.
[0051] In addition, the point cloud 241 and the running position 242 may be the position and the position and the orientation in a three-dimensional space, or may be the position and the position and the orientation in a two-dimensional space. When the three-dimensional space is used, it is possible to estimate the height and the pitch that cannot be expressed in the two-dimensional space. On the other hand, when the two-dimensional space is used, it is possible to reduce the data capacity of the generated map 240.
[0052] The map generating unit 120 may generate the generated map 240 by adding data for matching used by the self-position estimating unit 130 to the point cloud 241. For example, when a camera is used as the external sensor 310, a feature amount used for image matching may be added to each point of the point cloud 241. In this case, the point cloud 241 and the traveling position 242 may be acquired using a known SfM (Structure from Motion) method or Visual SLAM (Simultaneous Localization and Mapping) method that estimates the point cloud from an image and the position and orientation of the camera at the time of image capture. By using the SfM method or Visual SLAM method, it is possible to leave only points that are easy to match using feature amounts.
[0053] In addition, when the point cloud 241 is acquired by performing recognition processing of landmarks such as road markings, signals, and signs on the data acquired by the external sensor 310, the result of the recognition processing may be added to each point. For example, when a camera is used as the external sensor 310 and the positions of road markings and signs recognized from an image are made into a point cloud, the type of road marking and the type of sign may be stored together. Furthermore, for objects such as white lines that are better stored as lines rather than points, the parameters of the line may be stored as the generated map 240.
[0054] (Operation of self-location estimation unit) Next, the contents of the process in the self-position estimation unit 130 will be described with reference to Fig. 8. The self-position estimation unit 130 associates the position estimation data 220 with the created map 240, thereby estimating the position and orientation of the vehicle on the created map.
[0055] Fig. 8 is a diagram showing an example of the position and attitude 252 of the vehicle estimated by the self-position estimation unit 130. In Fig. 8, a point cloud 241 and a traveling position 242 represent data of a generated map 240. The self-position estimation unit 130 estimates the position and attitude 252 of the vehicle on these generated maps.
[0056] The self-location estimation unit 130 may use a known ICP (Iterative Closest Point) method or NDT (Normal Distributions Transform) method to associate the location estimation data 220 with the generated map 240. When the ICP method or NDT method is used, the self-location estimation unit 130 first generates a map (current map) consisting of a point cloud and a traveling position by applying the same processing to the location estimation data 220 as the map generation unit 120. Next, the self-location estimation unit 130 obtains the position and orientation between the generated map 240 and the current map by associating the point cloud 241 included in each map by the ICP method or the NDT method. By using the position and orientation between the generated map 240 and the current map, the position and orientation on the map can be converted to the position and orientation on the other map. Therefore, by using the position and orientation between the generated map 240 and the current map to convert the traveling position 242 included in the current map to the position and orientation on the generated map, the position and orientation 252 of the vehicle on the generated map can be obtained.
[0057] Furthermore, when data for association is stored in the generated map 240, the self-position estimation unit 130 may perform association using the data. For example, when image features are added to the point cloud 241 of the generated map 240, the self-position estimation unit 130 may associate image feature points included in the position estimation data 220 with the point cloud 241 included in the generated map 240 based on the image features. In this case, the position and attitude 252 of the vehicle on the generated map can be obtained from the positions of the feature points in the image and the position of the point cloud 241 by using a known solution method for the PnP (Perspective-n-Point) problem.
[0058] Furthermore, when the landmark recognition results are stored in the generated map 240, the self-position estimation unit 130 may estimate the vehicle position and attitude 252 using a known landmark matching method.
[0059] (Operation of the accuracy evaluation unit) Next, the contents of the processing in the accuracy evaluation unit 140 will be described with reference to Fig. 9. The accuracy evaluation unit 140 evaluates the accuracy of the position and attitude 252 of the vehicle on the generated map estimated by the self-position estimation unit 130 from the true value 230 of the relative position between data.
[0060] 9 is a diagram showing an example of accuracy evaluation in the accuracy evaluation unit 140. The accuracy evaluation unit 140 acquires the number of the corresponding map data 210 and the relative position and attitude 231 by referring to the true value 230 of the relative position between data for the position and attitude 252 of each vehicle estimated by the self-position estimation unit 130 (see FIG. 2, etc.). Next, the true position and attitude (driving position) 260 on the generated map is calculated from the position and attitude (driving position) 242 on the generated map 240 of the corresponding map data 210 and the relative position and attitude 231. Finally, the difference between the true position and attitude 260 and the position and attitude 252 estimated by the self-position estimation unit 130 is calculated as the error 261.
[0061] Here, the accuracy evaluation unit 140 can evaluate the self-location estimation accuracy using the generated map 240, regardless of the internal processing of the map generation unit 120 and the self-location estimation unit 130. Therefore, although the conditions under which the self-location estimation accuracy decreases vary depending on the processing used in the map generation unit 120 and the self-location estimation unit 130, the accuracy evaluation unit 140 can estimate the accuracy of self-location estimation using the generated map 240 in a unified manner without detecting the specific conditions depending on these processing.
[0062] (Map generation and self-location estimation device operation timing) Next, the operation timing of the map generation / self-location estimation device 100 will be described. The map generation / self-location estimation device 100 may operate online or offline. That is, the map generation / self-location estimation device 100 may execute the processing of each part for each input from the sensor 300, or may temporarily store all the input from the sensor 300 and operate only once using all the stored data when the driving for map generation is completed. When the map generation / self-location estimation device 100 operates online, a storage area for temporarily storing the input from the sensor 300 is not required, but since the accuracy of self-location estimation is evaluated using an incomplete generated map 240, there is a possibility that a difference occurs between the accuracy when the completed generated map 240 is used. On the other hand, when the map generation / self-location estimation device 100 operates offline, it is possible to evaluate the accuracy of self-location estimation using a completed generated map 240, but a storage area for temporarily storing all the input from the sensor 300 is required. Furthermore, when operating offline, the map generation and self-location estimation device 100 can be operated at a timing when other functions are not in operation and the processing load on the CPU is low, such as when the vehicle is parked or stopped.
[0063] Here, the map generation / self-location estimation device 100 can estimate the self-location estimation accuracy using the generated map 240 with high accuracy with a small amount of storage area by combining online operation and offline operation. Specifically, the data allocation unit 110 and the map generation unit 120 are operated online. Here, the location estimation data 220 allocated by the data allocation unit 110 is stored in the storage area for a preset period of t seconds. Then, the self-location estimation unit 130 performs self-location estimation using the stored location estimation data 220 from t seconds ago. By doing so, at each self-location estimation, the generated map 240 includes sections before and after each location estimation data 220. Therefore, the difference in the self-location estimation result can be reduced compared to the case where the generated map 240 generated using the last data is used. Also, it is only necessary to temporarily store the location estimation data 220 for t seconds, and the required storage area can be reduced compared to the case where all the output of the sensor 300 is stored. Note that the amount of (past) data to be stored may be determined by other indicators such as a traveled distance instead of time (t seconds).
[0064] (Action and effect) According to the above-described first embodiment, the following advantageous effects can be obtained.
[0065] (1) The map generation / self-location estimation device 100 includes a data allocation unit 110, a map generation unit 120, a self-location estimation unit 130, and an accuracy evaluation unit 140. The data allocation unit 110 allocates the output of a sensor 300 to map data 210 and position estimation data 220. The data allocation unit 110 also calculates a true value 230 of a relative position between the map data 210 and the position estimation data 220 based on a data allocation method (of the output of the sensor 300). The map generation unit 120 generates a generated map 240 consisting of a point cloud and a traveling position of the vehicle from the map data 210. The self-location estimation unit 130 estimates the position and attitude of the vehicle (traveling position or self-location) on the generated map by associating the position estimation data 220 with the generated map 240. The accuracy evaluation unit 140 evaluates the accuracy of the position and attitude (traveling position or self-position) of the vehicle on the generated map estimated by the self-position estimation unit 130 from the true value 230 of the relative position between the data (FIG. 1). Therefore, the accuracy of self-position estimation using the generated map 240 can be estimated at the time of map generation without prior travel, installation of a known object, or addition of a sensor. Also, the accuracy of self-position estimation using the generated map 240 can be estimated regardless of the processing used by the map generation unit 120 and the self-position estimation unit 130. Therefore, although the conditions under which the accuracy of self-position estimation decreases differ depending on the processing used by the map generation unit 120 and the self-position estimation unit 130, the accuracy of self-position estimation using the generated map 240 can be uniformly estimated without detecting the specific conditions depending on the processing.
[0066] (2) For each measurement cycle of the external sensor 310, the data allocation unit 110 allocates the data of the measurement cycle to either the map data 210 or the position estimation data 220 (FIG. 3). The data allocation unit 110 also calculates the true value 230 of the relative position between the data based on the relative movement amount of the vehicle acquired by the relative position sensor 320 (FIGS. 2 and 4). Therefore, even when there is only one external sensor 310, it is possible to estimate the accuracy of self-position estimation using the generated map 240.
[0067] (3) When calculating the true value 230 of the relative position between data, the data allocation unit 110 sets the number of the map data 210 corresponding to each piece of position estimation data 220 to the number of the most recent map data 210 when each piece of position estimation data 220 is added (FIGS. 2 and 4). In other words, when the data allocation unit 110 assigns data acquired by the external sensor 310 to the position estimation data 220, it sets the relative position and orientation between the most recent map data 210 and the position estimation data 220 as the true value 230 of the relative position between the data. Therefore, when each piece of self-position estimation data 220 is added, the corresponding map data 210 can be determined, making the process simple.
[0068] (4) When calculating the true value 230 of the relative position between data, the data allocation unit 110 sets the map data 210 corresponding to each of the position estimation data 220 as the map data 210 with the smallest relative position and orientation 231. In other words, the data allocation unit 110 selects the map data 210 with the smallest difference in relative position and orientation for each of the position estimation data 220, and sets the relative position and orientation between the position estimation data 220 and the map data 210 as the true value 230 of the relative position between the data. Therefore, the error in the relative position and orientation 231 acquired by the relative position sensor 320 is small, and the accuracy of self-position estimation using the generated map 240 can be estimated with high accuracy.
[0069] (5) When there are multiple external sensors 310, the data allocation unit 110 allocates data for each external sensor (data measured by each external sensor) to either the map data 210 or the position estimation data 220. The data allocation unit 110 also calculates true values 230 of relative positions between data based on the installation positions and orientations between the external sensors calculated by prior calibration (FIG. 5). Therefore, when there are multiple external sensors 310, the accuracy of self-position estimation using the generated map 240 can be estimated using highly accurate true values obtained by calibration.
[0070] (6) When there are multiple external sensors 310, the data allocation unit 110 fixedly allocates data for each external sensor to either the map data 210 or the position estimation data 220, regardless of the number of measurements (measurement period) of the external sensors 310 (FIG. 5). Therefore, since the positions and orientations of the external sensors 310 that measured the data for the map data 210 and the data for position estimation 220 are different, it is possible to estimate the self-position estimation error due to the difference between the generated map 240 and the traveling position at the time of self-position estimation.
[0071] (7) When there are multiple external sensors 310, the data allocation unit 110 variably allocates data for each external sensor to either the map data 210 or the position estimation data 220 depending on the number of measurements (measurement period) of the external sensors 310. Therefore, since the map data 210 includes data measured from multiple positions and orientations, it is possible to generate a generated map 240 in which errors due to differences between the generated map 240 and the traveling position at the time of self-position estimation are unlikely to occur.
[0072] (8) The data allocation unit 110 uses only the map data 210 and the position estimation data 220 acquired by each external sensor 310 while the vehicle is stopped to calculate the true value 230 of the relative position between the data. Therefore, it is possible to estimate the accuracy of self-position estimation using the generated map 240 while eliminating the influence of the difference in the measurement cycles of the multiple external sensors 310.
[0073] (9) The data allocation unit 110 allocates data from the external sensor 310 based on a preset maximum data capacity that the map generation unit 120 can process or a data capacity required by the map generation unit 120. Therefore, by allocating sufficient data for generating the generated map 240, it is possible to estimate the accuracy of self-location estimation using the generated map 240 using data that was not scheduled to be used, without degrading the generated map 240.
[0074] (10) The data allocation unit 110 exclusively allocates the map data 210 and the position estimation data 220 (FIGS. 3 to 5). In the present invention, the data may or may not be completely exclusive, but the data is preferably completely exclusive. Therefore, the accuracy of self-position estimation using the generated map 240 can be estimated with high accuracy.
[0075] (11) The map generation / self-location estimation device 100 operates the data allocation unit 110 and the map generation unit 120 online. The map generation / self-location estimation device 100 also temporarily stores the position estimation data 220, and the self-location estimation unit 130 estimates the position and attitude (traveling position) of the vehicle on the generated map 240 by using the generated map 240 generated by the map generation unit 120 and the temporarily stored past position estimation data 220. Therefore, since the accuracy is evaluated for the result of self-location estimation using the generated map 240 generated with the map data 210 before and after each position estimation data 220, the accuracy of self-location estimation using the generated map 240 can be estimated with high accuracy using a small storage area.
[0076] (Variation 1) In the above-described embodiment, the accuracy evaluation unit 140 calculates the difference between the true position and orientation 260 and the position and orientation 252 estimated by the self-position estimation unit 130 as the error 261 (FIG. 9). However, the method of evaluating the accuracy is not limited to this.
[0077] The accuracy evaluation unit 140 may calculate statistics such as the average and standard deviation of the error 261, and the distribution of the error 261. For that purpose, the data allocation unit 110 may prepare a plurality of sets of map data 210, position estimation data 220, and true values 230 of relative positions between data by changing the data allocation method.
[0078] For example, in data allocation for each measurement cycle of the external sensor 310, the data allocation unit 110 prepares multiple sets of data with different data allocation methods by using multiple different functions f(i) for data of the same sensor 300. Here, the function f(i) may be a function that returns a value randomly regardless of the number of measurements i of the external sensor 310.
[0079] Furthermore, the data allocation unit 110 may prepare multiple sets of data by changing the external sensor 310 to be assigned to the map data 210 and the position estimation data 220 in the data allocation for each external sensor. For example, when a stereo camera 350 is used, two sets of data may be prepared by performing an allocation in which the left camera is assigned to the map data 210 and the right camera is assigned to the position estimation data 220, and an allocation in which the left camera is assigned to the position estimation data 220 and the right camera is assigned to the map data 210. Furthermore, it may be randomly determined which of the left and right cameras is assigned to which data in each measurement period.
[0080] The map generating unit 120 and the self-location estimating unit 130 perform map generation and self-location estimation processing for each of the multiple sets of map data 210 and position estimation data 220. The accuracy evaluating unit 140 calculates errors 261 for the number of sets of data prepared by the data allocating unit 110, and calculates statistics such as the average and standard deviation of the errors 261 from the multiple errors 261, and the distribution of the errors 261.
[0081] According to the above-mentioned modified example 1, the following action and effect can be obtained. That is, the data allocation unit 110 prepares a set of a plurality of map data 210, position estimation data 220, and true value 230 of the relative position between the data by changing the data allocation method of the external sensor 310, and the map generation unit 120 and the self-position estimation unit 130 perform map generation and self-position estimation for each set of data. That is, the map generation unit 120 generates a generated map for each of the plurality of map data 210, and the self-position estimation unit 130 estimates the traveling position of the vehicle on each generated map using the plurality of generated maps and the position estimation data 220 corresponding to the plurality of generated maps. The accuracy evaluation unit 140 calculates statistics such as the average and standard deviation of the error 261 and the distribution of the error 261 from the error 261 of the self-position estimation result for each set of data. Therefore, a more advanced accuracy estimate such as the statistics and distribution of the error 261 can be obtained. In other words, the accuracy of self-location estimation using the generated map 240 can be robustly estimated.
[0082] (Variation 2) In the above-described embodiment, the data allocation unit 110 allocates the output of the sensor 300 to the map data 210 and the position estimation data 220. However, the processing of the data allocation unit 110 is not limited to this.
[0083] The data allocation unit 110 may add noise to the map data 210 and the position estimation data 220. For example, the data allocation unit 110 adds noise to the position of the point cloud acquired by the external sensor 310 and the relative position and orientation acquired by the relative position sensor 320. When a camera is used as the external sensor 310, noise may be added to an image acquired by the camera. Also, multiple sets of data with different noise levels may be prepared. The accuracy evaluation unit 140 evaluates the accuracy of each set of data.
[0084] According to the above-mentioned modified example 2, the following action and effect can be obtained. That is, the data allocation unit 110 adds noise to the map data 210 and the position estimation data 220. The accuracy evaluation unit 140 evaluates the accuracy of each set of data to which noise has been added. Therefore, the accuracy evaluation unit 140 can calculate the relationship between the magnitude of the noise and the self-location estimation error using the generated map 240. In other words, the accuracy evaluation unit 140 can evaluate the robustness against noise of the self-location estimation using the generated map 240. For example, even if the position estimation error is the same when noise is not added, it is considered that there are environments in which the error does not increase significantly even if noise is added, and environments in which the error increases significantly by adding noise. The accuracy evaluation unit 140 can estimate the magnitude of the influence of such noise. In addition, the accuracy evaluation unit 140 can determine which of the generated map 240 and the input data for self-location estimation has a greater influence on the accuracy by comparing the accuracy when noise is added only to the map data 210 and the accuracy when noise is added only to the position estimation data 220.
[0085] [Second embodiment] Hereinafter, a second embodiment of the map generation / self-location estimation device will be described with reference to FIG. 10. In the following description, the same components as those in the first embodiment are denoted with the same reference numerals, and differences will be mainly described. Points that are not particularly described are the same as those in the first embodiment. In this embodiment, the map generation / self-location estimation device is provided with a recording unit that records a map based on the error 261 calculated by the accuracy evaluation unit 140, in addition to the map generation / self-location estimation device 100 of the first embodiment.
[0086] (Block configuration) 10 is a block diagram showing a configuration of a map generation / self-location estimation device 500 according to the second embodiment. The map generation / self-location estimation device 500 includes a data allocation unit 110, a map generation unit 120, a self-location estimation unit 130, an accuracy evaluation unit 140, and a recording unit 550. The recording unit 550 records a recorded map 250 based on an error 261 calculated by the accuracy evaluation unit 140.
[0087] (Recording unit operation) The following describes the process performed by the recording unit 550. The recording unit 550 records the recorded map 250 based on the error 261 calculated by the accuracy evaluation unit 140.
[0088] For example, the recording unit 550 judges whether or not to record the entire created map 240. In this case, if the average or maximum value of the error 261 for each position estimation data 220 calculated by the accuracy evaluation unit 140 is less than a preset threshold, the recording unit 550 records the created map 240 as the recorded map 250, and if it is equal to or greater than the threshold, the recording unit 550 does not record the created map 240 as the recorded map 250.
[0089] In addition to the point cloud and driving position included in the created map 240, the error 261 calculated by the accuracy evaluation unit 140 may be recorded as a predicted error in the recorded map 250. Here, since the recorded map 250 does not include the position estimation data 220, when recording the predicted error, the number of the map data 210 used to calculate the error 261 and the predicted error are recorded together. In other words, the predicted error is recorded for each driving position included in the recorded map 250.
[0090] Furthermore, the recording unit 550 may record a part of the generated map 240 as the recorded map 250. For example, only a part (section) of the generated map 240 generated from the map data 210 where the error 261 calculated by the accuracy evaluation unit 140 is less than a preset threshold may be set as the recorded map 250. Furthermore, the generated map 240 may be divided into a plurality of small maps based on, for example, the travel distance, and the above-mentioned process may be applied to each divided map to determine whether to record it or not. In this way, when the error of self-location estimation using the generated map 240 is large only in a part of it, only the part (section) with a small error can be recorded as a recorded map and used the next time the vehicle travels.
[0091] Furthermore, the recording unit 550 may notify an HMI unit (not shown) connected to the map generation / self-location estimation device 500 of whether or not the recorded map 250 has been recorded. The HMI unit notifies the driver, using a display or a speaker, of whether or not the map has been recorded.
[0092] (Action and effect) According to the above-described second embodiment, the following advantageous effects can be obtained.
[0093] (1) The recording unit 550 records the created map 240 as the recorded map 250 based on the error 261 calculated by the accuracy evaluation unit 140 (FIG. 10). The recording unit 550 records the created map 240 as the recorded map 250 only when the average or maximum value of the error 261 for each position estimation data 220 calculated by the accuracy evaluation unit 140 is less than a preset threshold value, and does not record the created map 240 as the recorded map 250 when the average or maximum value is equal to or greater than the threshold value. Therefore, when the self-location estimation error using the created map 240 is expected to be large, the memory usage can be reduced by not recording the map. In addition, it is possible to prevent the automatic driving / driving assistance system from abnormal operation or stopping due to a large error in the self-location estimation using the created map 240 during the next driving.
[0094] (2) The recording unit 550 records a part of the created map 240 as the recorded map 250 based on the error 261 calculated by the accuracy evaluation unit 140. In other words, the recording unit 550 records only a part (section) of the created map 240 where the self-location estimation error 261 is smaller than a preset threshold value as the recorded map 250. Therefore, when the self-location estimation error using the created map 240 is large only in a part, only the part with the small error can be recorded as a recorded map and used the next time the vehicle travels.
[0095] (Variation 1) In the above-described embodiment, the recording unit 550 determines whether to record the entire or part of the generated map 240 based on the error 261 calculated by the accuracy evaluation unit 140. However, the processing of the recording unit 550 is not limited to this.
[0096] As in the first modification of the first embodiment, the data allocation unit 110 may prepare a plurality of sets of map data 210, position estimation data 220, and true values 230 of relative positions between the data by changing the data allocation method, and the accuracy evaluation unit 140 may calculate the error 261 for each set of data. In this case, the recording unit 550 may record, as the recorded map 250, the generated map 240 generated for the set having the smallest average, median, or maximum value of the error 261 based on the error 261 of each set.
[0097] The map generating unit 120 may generate a plurality of generated maps 240 from the same map data 210 by changing parameters (parameters for map generation) according to the process used for map generation. The self-location estimating unit 130 performs self-location estimation using each generated map 240 generated by the map generating unit 120, and outputs a self-location estimation result corresponding to each generated map 240. The self-location estimating unit 130 may calculate a plurality of self-location estimation results from the same generated map 240 and the same data for location estimation 220 by changing parameters (parameters for self-location estimation) according to the process used for self-location estimation. The accuracy evaluating unit 140 calculates an error 261 using a true value 230 of the relative position between corresponding data for the plurality of self-location estimation results output by the self-location estimating unit 130. The recording unit 550 may record the generated map 240 generated in the set having the smallest average, median, or maximum value of the error 261 as the recorded map 250. At this time, the parameters (map generation parameters, self-location estimation parameters) used by the map generation unit 120 and the self-location estimation unit 130 are also recorded in the recorded map 250. During the next driving, self-location estimation is performed using the parameters included in the recorded map 250.
[0098] Here, the parameters in the map generating unit 120 and the self-location estimating unit 130 include the selection of the external sensor 310 used for map generation and self-location estimation. In other words, when multiple external sensors 310 are present, an appropriate sensor that changes depending on the environment can be selected based on the error 261 calculated by the accuracy evaluating unit 140.
[0099] According to the above-mentioned first modification, the following advantageous effects can be obtained.
[0100] (1) The data allocation unit 110 prepares a plurality of sets of map data 210, position estimation data 220, and true values 230 of relative positions between the data by changing the data allocation method of the external sensor 310, and the map generation unit 120, the self-position estimation unit 130, and the accuracy evaluation unit 140 perform map generation, self-position estimation, and accuracy evaluation for each set of data. That is, the map generation unit 120 generates a generated map for each of the plurality of map data 210, and the self-position estimation unit 130 estimates the running position of the vehicle on each generated map using the plurality of generated maps and the position estimation data 220 corresponding to the plurality of generated maps. The accuracy evaluation unit 140 calculates the self-position estimation error 261 for each set of data. The recording unit 550 records the generated map 240 generated for the set with the smallest average, median, or maximum value of the error 261 as the recorded map 250. Therefore, the created map 240 that can realize highly accurate self-location estimation can be recorded as the recorded map 250.
[0101] (2) The map generating unit 120 and the self-location estimating unit 130 output a plurality of generated maps 240 and self-location estimation results by changing the parameters, and the accuracy evaluating unit 140 evaluates the accuracy of each self-location estimation result. That is, the map generating unit 120 generates a plurality of generated maps by changing the parameters for map generation, the self-location estimating unit 130 calculates a plurality of self-location estimation results by changing the parameters for self-location estimation for each of the plurality of generated maps, and the accuracy evaluating unit 140 calculates errors of the plurality of self-location estimates. The recording unit 550 records the generated map 240 generated in the combination with the smallest average, median, and maximum value of the error 261 and each parameter (map generating parameters, self-location estimation parameters) used by the map generating unit 120 and the self-location estimating unit 130 as the recorded map 250. Therefore, at the next time of traveling, the position and attitude of the vehicle can be estimated with high accuracy by performing self-location estimation using the map generated with parameters with a small error 261 and the parameters with a small error stored in the map.
[0102] (Variation 2) In the embodiment described above, the recording unit 550 records the recorded map 250 in the map generation / self-location estimation device 500 based on the error 261 calculated by the accuracy evaluation unit 140. However, the processing of the recording unit 550 is not limited to this.
[0103] The recording unit 550 may record the recorded map 250 in a server (not shown) connected to the map generation / self-location estimation device 500 via a network. In other words, a map generated by the vehicle traveling may be shared with other vehicles via the server.
[0104] Furthermore, when it is estimated that the accuracy of self-location estimation using the generated map 240 is low, the recording unit 550 may transmit information on the travel section of the vehicle to the server instead of the recorded map 250. Here, the information on the travel section is the latitude and longitude acquired by the GNSS, time, etc. By collecting information on the section where the accuracy of self-location estimation using the generated map 240 is low, the server can plan map generation using a dedicated measurement vehicle, for example.
[0105] According to the above-mentioned modified example 2, the following advantageous effects can be obtained.
[0106] (1) The recording unit 550 records the recorded map 250 in a server (not shown) connected to the map generating / self-location estimation device 500 via a network. When the average or maximum value of the error 261 for each position estimation data 220 calculated by the accuracy evaluation unit 140 is less than a preset threshold, the recording unit 550 records the created map 240 as the recorded map 250, and when the average or maximum value is equal to or greater than the threshold, the recording unit 550 does not record the created map 240 as the recorded map 250. Therefore, when the accuracy of self-location estimation using the created map 240 is estimated to be low, the recorded map 250 (created map 240) is not transmitted to the server, so that the amount of communication can be reduced. In addition, the server can select and distribute a map capable of highly accurate self-location estimation from among the recorded maps 250 received from the multiple map generating / self-location estimation devices 500 by using the prediction error included in the recorded map 250.
[0107] (2) When it is estimated that the accuracy of self-location estimation using the created map 240 is low, the recording unit 550 transmits information on the travel section of the vehicle to the server instead of the recorded map 250. That is, when the recording unit 550 does not record the created map 240 as the recorded map 250 based on an error in self-location estimation, the recording unit 550 transmits information on the travel section of the vehicle to the server. Therefore, by collecting information on the section where the accuracy of self-location estimation using the created map 240 is low, the server can plan map generation using a dedicated measurement vehicle, for example.
[0108] (Variation 3) In the embodiment described above, the map generation / self-location estimation device 500 records the recorded map 250 in the recording unit 550 based on the error 261 calculated by the accuracy evaluation unit 140. However, the operation of the map generation / self-location estimation device 500 is not limited to this.
[0109] The map generation / self-location estimation device 500 may further include a sensor abnormality determination unit (not shown) that determines whether the sensor 300 is abnormal based on the error 261 calculated by the accuracy evaluation unit 140.
[0110] For example, the sensor abnormality determination unit may determine that an abnormality has occurred in the sensor 300 if the recorded map 250 has not been recorded consecutively for a predetermined number of times or more, i.e., if it is determined that the accuracy of self-position estimation using the generated map 240 is low.
[0111] Furthermore, for example, in the case where there are multiple external sensors 310, the map generation / self-location estimation device 500 may perform data allocation for each measurement period for each external sensor in the data allocation unit 110, and may evaluate the accuracy of self-location estimation using the generated map 240 for each external sensor in the accuracy evaluation unit 140. If the error 261 differs significantly depending on the external sensor 310, the external sensor 310 with the larger error 261 may be determined to be abnormal.
[0112] Furthermore, for example, in the case where there are three or more external sensors 310, the map generation / self-location estimation device 500 may set an external sensor 310 that is not assigned to either the map data 210 or the position estimation data 220 when the data allocation unit 110 allocates data to each external sensor. The sensor abnormality determination unit may compare accuracy evaluation results for a plurality of sets, and when the accuracy when a specific sensor is not used is higher than the accuracy when the sensor is used, determine that the sensor is abnormal.
[0113] According to the above-described third modification, the following advantageous effects can be obtained. That is, the map generation / self-location estimation device 500 further includes a sensor anomaly determination unit that determines an anomaly of the sensor 300 based on the error 261 calculated by the accuracy evaluation unit 140. Therefore, an anomaly of the external sensor 310 can be determined.
[0114] [Third embodiment] Hereinafter, the third embodiment of the map generation / self-location estimation device will be described with reference to FIG. 11. In the following description, the same components as those in the first and second embodiments are denoted with the same reference numerals, and differences will be mainly described. Points that are not particularly described are the same as those in the first and second embodiments. In this embodiment, in addition to the map generation / self-location estimation device 500 of the second embodiment, the map generation / self-location estimation device is provided with a self-location estimation unit and a mode selection unit that operate when the vehicle travels again in the same place after recording the record map 250.
[0115] (Block configuration) 11 is a diagram showing a block configuration of a map generation / self-location estimation device 600 according to the third embodiment. The map generation / self-location estimation device 600 includes a data allocation unit 110, a map generation unit 120, a self-location estimation unit 130, an accuracy evaluation unit 140, a recording unit 550, and a mode selection unit 660. The mode selection unit 660 selects an operation mode of the map generation / self-location estimation device 600 and an operation mode permitted for an automatic driving / driving assistance system connected to the map generation / self-location estimation device 600.
[0116] The map generation / self-position estimation device 600 operates in a map generation mode and a position estimation mode. In the map generation mode, a map consisting of a point cloud (a set of points obtained as a result of measuring objects around the vehicle) and the vehicle's traveling position is generated from the output of the sensor 300, and saved as a recorded map 250. In the position estimation mode, the current position and orientation of the vehicle on the recorded map 250 is estimated from the output of the sensor 300 and the recorded map 250.
[0117] In the map generation mode, the data allocation unit 110, the map generation unit 120, the self-location estimation unit 130, the accuracy evaluation unit 140, and the recording unit 550 operate. The operation in the map generation mode is the same as that of the map generation / self-location estimation device 500 of the second embodiment.
[0118] In the position estimation mode, the self-position estimation unit 130 and the mode selection unit 660 operate. The operation of the self-position estimation unit 130 is the same as in the map generation mode. However, the recorded map 250 is input to the self-position estimation unit 130 instead of the generated map 240, and the output of the sensor 300 is input to the self-position estimation unit 130 instead of the position estimation data 220.
[0119] In this embodiment, the same (common) self-location estimation unit 130 operates in the map generation mode and the position estimation mode, but different (separate) self-location estimation units 130 may be prepared and operated in the map generation mode and the position estimation mode.
[0120] (Operation of mode selection section) The following describes the processing performed by the mode selection unit 660. The mode selection unit 660 selects an operation mode of the map generation / self-location estimation device 600 and an operation mode permitted for the automatic driving / driving assistance system connected to the map generation / self-location estimation device 600.
[0121] First, the mode selection unit 660 obtains a prediction error for the estimated result of the current position and orientation from the position and orientation of the host vehicle estimated by the self-position estimation unit 130 and the prediction error included in the recorded map 250. Specifically, the prediction error corresponding to the traveling position of the recorded map 250 that is closest to the position and orientation of the host vehicle estimated by the self-position estimation unit 130 is used as the prediction error of the current position and orientation.
[0122] Based on the calculated prediction error of the current position and orientation, the mode selection unit 660 determines the operation mode (map generation mode, position estimation mode) of the map generation / self-position estimation device 600. For example, when the prediction error of the current position and orientation is less than a preset threshold, the device continues to operate in the position estimation mode. On the other hand, when the prediction error of the current position and orientation is greater than or equal to the preset threshold, the mode is switched from the position estimation mode to the map generation mode. In other words, in a location where the prediction error is large, instead of operating the automatic driving / driving support system using the self-position estimation result, map generation by the driver's driving is performed as in the first-time driving.
[0123] Also, based on the calculated prediction error of the current position and orientation, the mode selection unit 660 selects the operation mode permitted for the automatic driving / driving support system connected to the map generation / self-position estimation device 600. For example, the smaller the prediction error of the current position and orientation, the higher the level of automatic driving operation is permitted for the automatic driving / driving support system. More specifically, for example, when the prediction error of the current position and orientation is less than a preset threshold x, hands-off automatic driving is permitted for the automatic driving / driving support system, and when the prediction error of the current position and orientation is greater than a preset threshold y (x < y), only an alarm is permitted for the automatic driving / driving support system.
[0124] (Operational effects) According to the third embodiment described above, the following operational effects can be obtained.
[0125] (1) The mode selection unit 660 determines the operation mode (map generation mode, position estimation mode) of the map generation / self-location estimation device 600 based on the calculated prediction error of the current position and orientation. That is, the recording unit 550 includes the self-location estimation error (prediction error) calculated by the accuracy evaluation unit 140 in the recorded map 250, and when the vehicle travels again through the section in which the recorded map 250 exists, the self-location estimation unit 130 estimates the position and orientation of the vehicle in the recorded map 250 from the data of the external sensor 310 and the recorded map 250. The mode selection unit 660 calculates the current prediction error from the position and orientation of the vehicle in the recorded map 250 estimated by the self-location estimation unit 130 and the self-location estimation error included in the recorded map 250. Then, the mode selection unit 660 selects the operation mode of the map generation / self-location estimation device 600 from the map generation mode and the position estimation mode based on the calculated current prediction error. Therefore, in locations where the prediction error is large, instead of operating an autonomous driving or driving assistance system that uses the self-location estimation results, map generation can be performed by the driver, just as it was during the first drive.
[0126] (2) The mode selection unit 660 selects an operation mode to be permitted for the automatic driving / driving assistance system connected to the map generation / self-location estimation device 600 based on the calculated prediction error of the current position and attitude. Therefore, it is possible to provide the driver with an appropriate automatic driving / driving assistance function according to the accuracy of the self-location estimation.
[0127] [summary] As described above, the map generation / self-location estimation device 100 according to the first embodiment includes a data allocation unit 110 that allocates data acquired by an external sensor that measures the environment around the vehicle to map generation data 210 and self-location estimation data 220, a map generation unit 120 that generates a map based on the map generation data 210, and a self-location estimation unit that estimates the traveling position of the vehicle on the generated map based on the generated map generated by the map generation unit 120 and the self-location estimation data 220. and a data allocation unit 130, wherein the data allocation unit 110 calculates a true value of a relative position between the map generation data 210 and the self-location estimation data 220 based on a data allocation method (of the data of the external sensor), and the map generation / self-location estimation device 100 includes an accuracy evaluation unit 140 that evaluates an error of the self-location estimation (performed by the self-location estimation unit 130) from the true value of the relative position and the self-location estimation result calculated by the self-location estimation unit 130.
[0128] In other words, the system includes a data allocation unit 110 that allocates the output of the sensor to map data 210 and position estimation data 220, and calculates a true value of the relative position between the map data 210 and the position estimation data 220 based on a data allocation method, a map generation unit 120 that generates a generated map consisting of a point cloud and the vehicle's traveling position from the map data 210, a self-position estimation unit 130 that estimates the position and attitude of the vehicle on the generated map by matching the position estimation data 220 with the generated map, and an accuracy evaluation unit 140 that evaluates the accuracy of the position and attitude of the vehicle on the generated map estimated by the self-position estimation unit 130 from the true value of the relative position between the data.
[0129] The map generation / self-location estimation device 500 of the second embodiment described above further includes a recording unit 550 that records the generated map as a recorded map based on the self-location estimation error calculated by the accuracy evaluation unit 140, and the recording unit 550 records the generated map as the recorded map only when the self-location estimation error is smaller than a preset threshold. Also, the recording unit 550 records only a section of the generated map where the self-location estimation error is smaller than a preset threshold as the recorded map.
[0130] In the map generation / self-location estimation device 600 of the third embodiment described above, the recording unit 550 includes the self-location estimation error calculated by the accuracy evaluation unit 140 in the recorded map, and when the vehicle travels again through a section in which the recorded map exists, the self-location estimation unit 130 estimates the position and orientation of the vehicle in the recorded map from the data of the external sensor and the recorded map, and the map generation / self-location estimation device 600 further includes a mode selection unit 660 that calculates a current prediction error from the position and orientation of the vehicle in the recorded map estimated by the self-location estimation unit 130 and the self-location estimation error included in the recorded map, and selects an operation mode of the map generation / self-location estimation device 600 from a map generation mode and a position estimation mode based on the current prediction error. Also, the mode selection unit 660 selects an operation mode to be allowed for an automatic driving / driving assistance system connected to the map generation / self-location estimation device 600 based on the current prediction error.
[0131] According to the present embodiment described above, it is possible to realize a map generation / self-location estimation device that can estimate the accuracy of self-location estimation using a generated map when generating a map, without prior learning movement, installation of known objects in the environment, or addition of sensors.
[0132] The present invention is not limited to the above-mentioned embodiment, and various modifications are included. For example, the above-mentioned embodiment has been described in detail to explain the present invention in an easy-to-understand manner, and is not necessarily limited to those having all the configurations described. Other aspects conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. In addition, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. In addition, it is possible to add, delete, or replace other configurations with respect to a part of the configuration of each embodiment. In addition, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be realized by hardware, for example, by designing them as integrated circuits. In addition, each of the above-mentioned configurations, functions, etc. may be realized by software by a processor interpreting and executing a program that realizes each function. Information such as a program, table, file, etc. that realizes each function can be placed in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD. [Explanation of symbols]
[0133] 100...map generation / self-position estimation device (first embodiment), 110...data allocation section, 120...map generation section, 130...self-position estimation section, 140...accuracy evaluation section, 210...map data, 220...position estimation data, 230...true value of relative position between data, 240...generated map, 250...recorded map, 300...sensor, 310...external sensor, 320...relative position sensor, 500...map generation / self-position estimation device (second embodiment), 550...recording section, 600...map generation / self-position estimation device (third embodiment), 660...mode selection section
Claims
1. a data allocation unit that allocates data acquired by an external sensor that measures the environment around the vehicle to data for map generation and data for self-position estimation; a map generating unit that generates a map based on the map generation data; a self-position estimation unit that estimates a traveling position of the vehicle on the generated map based on the generated map generated by the map generation unit and the self-position estimation data, the data allocation unit calculates a true value of a relative position between the map generation data and the self-location estimation data based on a data allocation method; The map generation / self-location estimation device is characterized in that it includes an accuracy evaluation unit that evaluates an error in self-location estimation based on the true value of the relative position and the self-location estimation result calculated by the self-location estimation unit.
2. 2. The map generation and self-location estimation device according to claim 1, The data allocation unit allocates data of each measurement cycle of the external sensor to either the map generation data or the self-position estimation data, and calculates a true value of the relative position using the amount of relative movement of the vehicle obtained by the sensor.
3. 3. A map generation and self-location estimation device according to claim 2, the data allocation unit, when allocating the data acquired by the external sensor to the self-location estimation data, sets a relative position and orientation between the latest map generation data and the self-location estimation data as a true value of the relative position. Or, the data allocation unit selects the map generation data that has the smallest difference in relative position and attitude for each of the self-position estimation data, and sets the relative position and attitude between the self-position estimation data and the map generation data as a true value of the relative position.
4. 2. The map generation and self-location estimation device according to claim 1, The external sensor includes a plurality of sensors, The map generation / self-position estimation device is characterized in that the data allocation unit allocates data measured by each external sensor to either the map generation data or the self-position estimation data, and calculates a true value of the relative position using an installation position and orientation between each of the external sensors calculated by prior calibration.
5. 5. A map generation and self-location estimation device according to claim 4, the data allocation unit fixedly allocates data of each of the external sensors to either the map generation data or the self-position estimation data regardless of a measurement cycle of each of the external sensors. Or, the data allocation unit variably allocates data of each of the external sensors to either the map generation data or the self-position estimation data for each measurement period of the external sensors; Or, The map generation / self-position estimation device, wherein the data allocation unit calculates the true value of the relative position using only the data acquired by each of the external sensors while the vehicle is stopped.
6. 2. The map generation and self-location estimation device according to claim 1, The data allocation unit allocates the data of the external sensor based on a maximum data capacity that the map generation unit can process or a data capacity required by the map generation unit, the data capacity being set in advance. Or, The map generation / self-location estimation device, wherein the data allocation unit exclusively allocates the map generation data and the self-location estimation data.
7. 2. The map generation and self-location estimation device according to claim 1, The data allocation unit and the map generation unit operate online; the self-position estimation unit estimates a traveling position of the vehicle on the generated map based on the generated map generated by the map generation unit and the past self-position estimation data temporarily stored; Or, the data allocation unit prepares a plurality of sets of the map generation data, the self-location estimation data, and the true value of the relative position, each set having a different data allocation method; the map generation unit generates the generated map for each of the plurality of map generation data; the self-position estimation unit estimates a traveling position of the vehicle on each of the generated maps by using a plurality of the generated maps and the self-position estimation data corresponding to the plurality of the generated maps; The accuracy evaluation unit calculates a statistic or a distribution of the self-location estimation error from the self-location estimation error for each set of data. Or, the data allocation unit adds noise to the map generation data and the self-location estimation data; The map generation / self-location estimation device is characterized in that the accuracy evaluation unit calculates a relationship between the magnitude of the noise and an error in the self-location estimation.
8. 2. The map generation and self-location estimation device according to claim 1, a recording unit that records the generated map as a recorded map based on the self-location estimation error calculated by the accuracy evaluation unit, The map generation / self-location estimation device, wherein the recording unit records the generated map as the recorded map only when an error in the self-location estimation is smaller than a preset threshold value.
9. 9. A map generation and self-location estimation device according to claim 8, The map generation / self-location estimation device, wherein the recording unit records, as the recorded map, only a section of the generated map in which the self-location estimation error is smaller than a preset threshold value.
10. 9. A map generation and self-location estimation device according to claim 8, the data allocation unit prepares a plurality of sets of the map generation data, the self-location estimation data, and the true value of the relative position, each set having a different data allocation method; the map generation unit generates the generated map for each of the plurality of map generation data; the self-position estimation unit estimates a traveling position of the vehicle on each of the generated maps by using a plurality of the generated maps and the self-position estimation data corresponding to the plurality of the generated maps; The accuracy evaluation unit calculates an error of the self-location estimation for each set of data, A map generation / self-location estimation device, characterized in that the recording unit records the generated map generated for the group with the smallest average, median, or maximum error of the self-location estimation as the recorded map.
11. The map generation and self-location estimation device according to claim 10, the map generation unit generates a plurality of the generated maps by changing map generation parameters; the self-location estimation unit calculates a plurality of self-location estimation results by changing a self-location estimation parameter for each of the plurality of generated maps; The accuracy evaluation unit calculates errors of the plurality of self-location estimations; The map generation / self-location estimation device is characterized in that the recording unit records, as the recorded map, the generated map generated for the set with the smallest average, median, or maximum value of the self-location estimation error, the map generation parameters used to generate the generated map, and the self-location estimation parameters used to calculate the self-location estimation result.
12. 9. A map generation and self-location estimation device according to claim 8, The recording unit records the recorded map in a server connected to the map generation / self-location estimation device via a network. Or, The recording unit records the recorded map in a server connected to the map generation / self-location estimation device via a network, and when the generated map is not recorded as the recorded map based on an error in the self-location estimation, transmits information regarding the traveling section of the vehicle to the server.
13. 2. The map generation and self-location estimation device according to claim 1, The map generation / self-location estimation device further comprises a sensor abnormality determination unit that determines an abnormality in the external sensor based on the error of the self-location estimation calculated by the accuracy evaluation unit.
14. 9. A map generation and self-location estimation device according to claim 8, The recording unit includes the self-location estimation error calculated by the accuracy evaluation unit in the recorded map, When the vehicle travels again through a section in which the recorded map exists, the self-position estimation unit estimates a position and attitude of the vehicle on the recorded map from the data of the external sensor and the recorded map; the map generation / self-location estimation device further comprising a mode selection unit that calculates a current prediction error from the position and attitude of the vehicle in the recorded map estimated by the self-location estimation unit and an error of the self-location estimation included in the recorded map, and selects an operation mode of the map generation / self-location estimation device from a map generation mode or a position estimation mode based on the current prediction error.
15. 15. A map generation and self-location estimation device according to claim 14, A map generation / self-location estimation device, characterized in that the mode selection unit selects an operating mode to be allowed for an automatic driving / driving assistance system connected to the map generation / self-location estimation device based on the current prediction error.
Citation Information
Patent Citations
Automatic separating / discharging device for paper
JP1989038354A
Self-position estimation apparatus
JP2019207177A
Information processing device
JP2019207214A
JPP6861916B
Method for generating a high precision map, apparatus and storage medium
US20190323843A1
