Autonomous vehicle and control device for autonomous vehicle
By grouping and prioritizing map data based on imaging conditions, the accuracy and processing time of self-position estimation in autonomous vehicles are improved, addressing the inefficiencies of using all map data in image matching.
Patent Information
- Application Number
- JP2021177751
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-10-29
AI Technical Summary
The processing time for image matching in autonomous vehicles is prolonged when all map data is used, and this can lead to a reduction in the accuracy of self-position estimation due to differing imaging environments.
The map data is divided into groups based on imaging conditions, with a priority order setting process that rearranges data to preferentially use map data similar to the current imaging environment, reducing the number of data points compared and optimizing the image matching process.
This approach improves the accuracy of self-position estimation while reducing processing time by focusing on map data with similar imaging environments, thus enhancing the efficiency of the image matching process.
Smart Images

Figure 0007574780000001 
Figure 0007574780000002 
Figure 0007574780000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an autonomous vehicle and a control device for an autonomous vehicle. [Background technology]
[0002] The autonomous vehicle described in Patent Document 1 includes a camera, a storage device, and a control device. The camera captures images at predetermined time intervals. The storage device stores map data. The map data is data that associates map image data with location information.
[0003] The control device estimates the self-position of the autonomous vehicle at predetermined time intervals. When estimating the self-position, the control device acquires image data from a camera. The control device performs an image matching process that compares the acquired image data with map image data stored in a storage device. Through this image matching process, the control device identifies map image data that corresponds to the image data. The control device estimates the self-position from the relative position between the identified map image data and the image data, and the relative angle between the identified map image data and the image data. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] U.S. Patent No. 8,725,413 Summary of the Invention [Problem to be solved by the invention]
[0005] However, if map image data of all map data stored in a storage device is used in the image matching process, the processing time of the image matching process will be long. In order to shorten this processing time, a method of reducing the number of map image data used can be considered. In this method, the map data is rearranged in order of proximity to the location information a predetermined time before the image matching process is executed. The image matching process is performed on only a predetermined number of map data, starting from the map data located at the top of the rearrangement order.
[0006] However, even if the map data is rearranged, the imaging environment of the image data may differ from the imaging environment of the map image data to be compared with the image data, which may result in a decrease in the accuracy of estimating the self-location of the autonomous vehicle. [Means for solving the problem]
[0007] The autonomous vehicle that solves the above problem is an autonomous vehicle that travels while estimating its own position, and includes a camera that captures images at predetermined time intervals, a storage device in which a plurality of map data in which previously captured map image data is associated with position information is stored, an acquisition unit that acquires image data from the camera, a self-position estimation unit that executes an image matching process at the predetermined time intervals to identify the map image data corresponding to the image data by comparing the map image data with the image data, and executes a self-position estimation process to estimate the self-position from the identified relative position between the map image data and the image data and the relative angle between the identified map image data and the image data, and a processing device that executes a process to estimate the self-position of the autonomous vehicle, and the plurality of map data are divided into a plurality of groups according to the state of an image-captured subject, and the processing device executes a process to estimate the self-position of the autonomous vehicle. The method executes a data sorting process which is a process of sorting map data in a predetermined sorting order; a determination process which, if a predetermined condition is satisfied after the data sorting process, compares the image data with the map image data contained in each of the multiple groups, and determines as a specific group the group containing the map image data that is most similar to the image data; and a priority setting process which further sorts the multiple map data sorted by the data sorting process so that the map data belonging to the specific group is used preferentially in the image matching process. After the priority setting process, the image matching process targets only a predetermined number of the map data from the top of the sorting order, and compares the map image data with the image data in order from the top of the sorting order to determine the map image data corresponding to the image data.
[0008] According to this, the identification process can identify map data that is similar to the imaging environment of the image data used in the image matching process. The priority setting process further rearranges the map data after the data sorting process using the similarity of the image data to the imaging environment as a judgment criterion. This makes it easier to compare the image data with map image data of the imaging environment that is most similar to the imaging environment of the image data in the image matching process. This improves the estimation accuracy of the self-position of the autonomous vehicle.
[0009] In addition, the image matching process is performed only on a predetermined number of map data items rearranged in the data sorting process. This allows the processing time of the image matching process to be shorter than when all map image data and image data are compared. This improves the estimation accuracy of the vehicle's own position while shortening the processing time of the image matching process.
[0010] In the autonomous vehicle described above, in the data sorting process, the predetermined sorting order may be an order of proximity to the position information when the image matching process was previously performed.
[0011] A control device for an autonomous vehicle that solves the above problem is a control device that controls an autonomous vehicle that travels while estimating its own position, and includes an acquisition unit that acquires image data from a camera that captures images at predetermined time intervals, and a self-position estimation unit that executes an image matching process at the predetermined time intervals to identify the map image data that corresponds to the image data by comparing the map image data included in a plurality of map data in which position information is associated with the captured map image data, and executes a self-position estimation process to estimate the self-position from the identified map image data, a relative position between the identified map image data and the image data, and a relative angle between the identified map image data and the image data, and the plurality of map data are divided into a plurality of groups according to the state of an object to be captured, and the control device sorts the plurality of map data in a predetermined sorting order. a data sorting process in which the image data is sorted by the map image data included in each of the plurality of groups, and if a predetermined condition is satisfied after the data sorting process, a determination process in which the image data is compared with the map image data included in each of the plurality of groups, and the group including the map image data that is most similar to the image data is determined as a specific group; and a priority setting process in which the plurality of map data sorted by the data sorting process are further sorted such that the map data belonging to the specific group is used preferentially in the image matching process. After the priority setting process, the image matching process targets only a predetermined number of the map data from the top of the sorting order, and compares the map image data with the image data in order from the top of the sorting order to determine the map image data that corresponds to the image data.
[0012] According to this, the identification process can identify map data that is similar to the imaging environment of the image data used in the image matching process. The priority setting process further rearranges the map data after the data sorting process using the similarity of the image data to the imaging environment as a judgment criterion. This makes it easier to compare the image data with map image data of the imaging environment that is most similar to the imaging environment of the image data in the image matching process. This improves the estimation accuracy of the self-position of the autonomous vehicle.
[0013] In addition, the image matching process is performed only on a predetermined number of map data items rearranged in the data sorting process. This allows the processing time of the image matching process to be shorter than when all map image data and image data are compared. This improves the estimation accuracy of the vehicle's own position while shortening the processing time of the image matching process. Effect of the Invention
[0014] According to this invention, the processing time of the image matching process is shortened and the estimation accuracy of the self-position is improved. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a side view showing an autonomous vehicle. [Diagram 2] FIG. 1 is a block diagram showing the configuration of an autonomous vehicle. [Diagram 3] 1 is a flowchart showing a process executed by an autonomous vehicle. [Figure 4] FIG. [Diagram 5] FIG. 13 is a diagram illustrating a map extraction process. [Figure 6] FIG. 13 is a diagram illustrating a data alignment process. [Figure 7] FIG. [Figure 8] FIG. 13 is a diagram illustrating a priority setting process. [Figure 9] FIG. 13 is a diagram illustrating an image matching process. [Figure 10] FIG. 13 is a diagram illustrating a self-position estimation process. [Figure 11] 13 is a flowchart in a modified example. [Figure 12] 13 is a flowchart in a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, an embodiment of an autonomous vehicle and a control device for the autonomous vehicle will be described with reference to FIGS. <Configuration of an autonomous vehicle> As shown in Fig. 1 and Fig. 2, the autonomous vehicle 10 includes a vehicle body 11, drive wheels 21, and steering wheels 31. The autonomous vehicle 10 includes a travel motor driver 22, a travel motor 23, a steering motor driver 32, and a steering motor 33. The autonomous vehicle 10 includes a camera 41, a lighting device 51, a positioning device 61, a control device 81, and an auxiliary storage device 71. The autonomous vehicle 10 may be a passenger car or an industrial vehicle. Industrial vehicles include forklifts, towing tractors, and unmanned guided vehicles.
[0017] The traveling motor 23 is a motor for rotating the drive wheels 21. The traveling motor driver 22 drives the traveling motor 23 in response to a command from the control device 81. The driving of the traveling motor 23 rotates the drive wheels 21, causing the autonomous vehicle 10 to travel. The steering motor 33 is a motor for steering the steering wheels 31. The steering motor driver 32 drives the steering motor 33 in response to a command from the control device 81. The driving of the steering motor 33 causes the steering wheels 31 to be steered, causing the autonomous vehicle 10 to turn.
[0018] <Camera configuration> The camera 41 is a digital camera. The camera 41 has an imaging element. Examples of the imaging element include a charge coupled device (CCD) image sensor and a complementary metal oxide semiconductor (CMOS) image sensor. Examples of the camera 41 include an RGB camera, an infrared camera, a grayscale camera, and a visible light camera.
[0019] The camera 41 generates image data by capturing an image at predetermined time intervals. This image data is digital data of the image captured by the camera 41. The predetermined time interval is, for example, 0.1 seconds.
[0020] The camera 41 is disposed so as to capture an image of the road surface Sr. The camera 41 is provided at the bottom of the vehicle body 11 facing in the vertical direction. The camera 41 is provided so that the optical axis of the camera 41 extends in the vertical direction. The state in which the camera 41 faces in the vertical direction allows for errors due to the mounting accuracy of the camera 41. In other words, the camera 41 may be mounted so as to face in a direction slightly deviated from the vertical direction.
[0021] It can be said that the camera 41 generates image data showing an image captured of the road surface Sr as an imaging target. One example of the image data is circular image data IM1 shown in FIG. 4. The image data IM1 shows a feature B of the road surface Sr. The feature of the road surface Sr is, for example, the unevenness of the road surface Sr. FIG. 4 shows a schematic diagram of the feature B of the road surface Sr. Note that the feature B of the road surface Sr shown in FIG. 4 changes depending on the position where the autonomous vehicle 10 is traveling.
[0022] <Lighting equipment configuration> The lighting device 51 is disposed to illuminate the road surface Sr. The lighting device 51 illuminates the range of the road surface Sr that is imaged by the camera 41. The lighting device 51 is provided at the bottom of the vehicle body 11 facing downward. For example, a light-emitting diode can be used as the lighting device 51.
[0023] <Configuration of positioning device> The positioning device 61 has a satellite navigation device 62 and an inertial measurement device 63. The satellite navigation device 62 measures a position using satellite signals transmitted from GNSS (Global Navigation Satellite System) satellites. The inertial measurement device 63 includes a gyro sensor and an acceleration sensor. The positioning device 61 can acquire position information of the autonomous vehicle 10. The position information can be calculated, for example, from the longitude and latitude acquired using the satellite navigation device 62 and the self-movement amount of the autonomous vehicle 10 calculated using the inertial measurement device 63.
[0024] <Configuration of auxiliary storage device> The auxiliary storage device 71 stores information that can be read by the control device 81. Examples of the auxiliary storage device 71 include a hard disk drive, a solid state drive, and a flash memory.
[0025] The auxiliary storage device 71 stores multiple map data M1. The map data M1 associates map image data of a road surface Sr captured in advance with position information. The position information includes coordinate information and orientation information. The coordinate information is coordinates of a map coordinate system, which is a coordinate system that represents an absolute position. The map coordinate system may be an orthogonal coordinate system or a geographic coordinate system. The orientation information is information that indicates the inclination with respect to the coordinate axes of the map coordinate system. The auxiliary storage device 71 is a storage device in which multiple map data M1 are stored.
[0026] <Configuration of a control device for an autonomous vehicle> The control device 81 includes a processor 82 and a storage unit 83. The processor 82 may be, for example, a central processing unit (CPU), a graphics processing unit (GPU), and a digital signal processor (DSP). The storage unit 83 includes a random access memory (RAM) and a read only memory (ROM). The storage unit 83 stores program codes or instructions configured to cause the processor 82 to execute processes. The storage unit 83, i.e., the computer-readable medium, includes any available medium accessible by a general-purpose or special-purpose computer. The control device 81 may be configured by a hardware circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The control device 81, which is a processing circuit, may include one or more processors operating according to a computer program, one or more hardware circuits such as an ASIC or an FPGA, or a combination thereof.
[0027] The control device 81 includes an acquisition unit 84, a map creation unit 85, and a self-position estimation unit 86. The acquisition unit 84, the map creation unit 85, and the self-position estimation unit 86 are functional elements that function when the control device 81 executes a predetermined program. Note that the autonomous vehicle 10 may include the acquisition unit 84, the map creation unit 85, and the self-position estimation unit 86 as devices separate from the control device 81.
[0028] The acquisition unit 84 acquires image data from the camera 41. The acquisition unit 84 outputs the acquired image data to the map creation unit 85. The map creation unit 85 executes a map creation process. The map creation process is a process of creating map data M1 stored in the auxiliary storage device 71 in advance. The map data M1 can be obtained, for example, by driving the autonomous vehicle 10 in advance in a place where the autonomous vehicle 10 is expected to drive. A plurality of pieces of map data M1 are created by driving the autonomous vehicle 10 a plurality of times in the place where the autonomous vehicle 10 is expected to drive. A plurality of pieces of map data M1 are created for each state of the road surface Sr in the place. The state of the road surface Sr is, for example, the uneven state of the road surface Sr when it is raining, the uneven state of the road surface Sr when it is sunny, the state of the road surface Sr when foreign objects are scattered, etc.
[0029] The map creation unit 85 acquires image data from the camera 41 via the acquisition unit 84. As an example, the following description will be given assuming that image data IM1 shown in FIG. 4 has been acquired. The map creation unit 85 acquires semicircular map image data IM11 by cutting out a part of the image data IM1. The size of the map image data IM11 cut out from the image data IM1 and the position of the map image data IM11 cut out from the image data IM1 can be set arbitrarily.
[0030] The map creation unit 85 associates the map image data IM11 with the time when the image data IM1 was acquired and the position information. The position information is information acquired by the positioning device 61 at the time when the image data IM1 was acquired. The map creation unit 85 associates the position information with the coordinate CP1. The coordinate CP1 is a coordinate representing the optical axis position of the camera 41 in a coordinate system representing the pixel position of the map image data IM11. The coordinate system representing the pixel position of the map image data IM11 is an image coordinate system. The image coordinate system is a two-axis orthogonal coordinate system representing the pixel position of the image data IM1. The pixel position of the image data IM1 can be expressed, for example, by a coordinate representing the horizontal position of the pixel and a coordinate representing the vertical position of the pixel. Since the map image data IM11 is a part of the image data IM1 cut out, the pixel position of the map image data IM11 can be expressed in the image coordinate system. In the image coordinate system, the coordinate CP1 coincides with the center coordinate of the image data IM1 before the map image data IM11 is cut out. Since the map image data IM11 has a semicircular shape, the coordinate located at the midpoint of the chord is the coordinate CP1.
[0031] The map creation unit 85 associates a pixel scale with the map image data IM11. The pixel scale is the actual size of one pixel. The map creation unit 85 associates an image number with the map image data IM11. An image number is assigned individually for each image capture time and each map image data IM11. The map creation unit 85 creates map data M1 by associating the map image data IM11 with the location information, pixel scale, image capture time, and image number.
[0032] 5, all of the map data M1 created by the map creation unit 85 is stored in the auxiliary storage device 71. All of the map data M1 stored in the auxiliary storage device 71 is divided into a plurality of groups G1, G2, ... Gn for each state of the road surface Sr. Each of the plurality of groups G1, G2, ... Gn includes a plurality of map data M1.
[0033] The control device 81 controls the travel motor driver 22 and the steering motor driver 32 while estimating the self-position of the autonomous vehicle 10 using the above-mentioned map data M1. The control device 81 controls the autonomous vehicle 10 to drive the autonomous vehicle 10 to the target position. In this way, the autonomous vehicle 10 drives while estimating its own position. The target position may be set by a user of the autonomous vehicle 10 or may be set by a higher-level control device of the autonomous vehicle 10.
[0034] <Processing performed by the control device> The control device 81 is a processing device that executes processing for estimating the self-position of the autonomous vehicle 10.
[0035] As shown in FIG. 3, the control device 81 executes an image data acquisition process S1, an image process S2, and a map data extraction process S3. The control device 81 executes a data sorting process S4, a determination process S5, a priority setting process S6, and a specification process S7. The control device 81 executes an image matching process S8 and a self-position estimation process S9. In this embodiment, each of the processes S1 to S9 is a process for estimating the self-position of the autonomous vehicle 10. Each of the processes S1 to S9 is executed within a predetermined time period during which the camera 41 captures an image. Each of the processes S1 to S9 is a routine executed within a predetermined time period. Each of the processes S1, S2, S3, S4, S5, S6, S8, and S9 is always executed within the predetermined time period, but the specification process S7 is executed only when a predetermined condition is satisfied in the process of the determination process S5. The image matching process S8 and the self-position estimation process S9 are executed by the self-position estimation unit 86.
[0036] The self-position estimation unit 86 may execute the data alignment process S4, the determination process S5, the priority setting process S6, and the identification process S7. The control device 81 may include functional elements for executing the data alignment process S4, the determination process S5, the priority setting process S6, and the identification process S7 in addition to the self-position estimation unit 86. The autonomous vehicle 10 may include functional elements for executing the data alignment process S4, the determination process S5, the priority setting process S6, and the identification process S7 as a device separate from the control device 81. In the case where the autonomous vehicle 10 includes functional elements for executing each of the processes S4, S5, S6, and S7 as a device separate from the control device 81, the control device 81 and the separate device become processing devices.
[0037] Consider a case where the self-position estimation unit 86 is a device separate from the control device 81 in the autonomous vehicle 10, and the functional elements that execute each of the processes S4, S5, S6, and S7 are a device separate from the control device 81. In this case, a device having the function of the self-position estimation unit 86 and a device having the function of executing each of the processes S4, S5, S6, and S7 may be a processing device. Also, a device having the function of executing each of the processes S4, S5, S6, and S7 may be a processing device. When a device having the function of executing each of the processes S4, S5, S6, and S7 is a processing device for estimating the self-position of the autonomous vehicle 10. When a device having the function of executing each of the processes S4, S5, S6, and S7 is a processing device, the processing result of the processing device is output to a device having the function of the self-position estimation unit 86. Then, the self-position estimation unit 86 executes each of the processes S8 and S9 based on the processing result.
[0038] The routines executed by the control device 81 will now be described. In the image data acquisition process S1, the control device 81 acquires image data from the camera 41 by the acquisition unit 84. In the following description, it is assumed that the image data IM2 shown in Fig. 4 is acquired in the image data acquisition process S1. Note that the image data IM2 shown in Fig. 4 appears to be the same as the image data IM1 described above, but the position of the feature B is different. After executing the image data acquisition process S1, the control device 81 executes the image processing S2.
[0039] As shown in FIG. 4, in image processing S2, the control device 81 acquires cropped image data IM12 by cropping a part of image data IM2. The control device 81 acquires cropped image data IM12 by cropping the same range as map image data IM11 from image data IM2. The pixel positions of the cropped image data IM12 can be expressed by coordinates in an image coordinate system. The pixel positions of the map image data IM11 and the pixel positions of the cropped image data IM12 can be expressed in the same coordinate system. For example, the coordinate CP1 representing the midpoint of the chord of the map image data IM11 and the coordinate CP2 representing the midpoint of the chord of the cropped image data IM12 can be expressed by the same coordinates. After executing image processing S2, the control device 81 executes map data extraction processing S3.
[0040] As shown in Fig. 3, in the map data extraction process S3, the control device 81 extracts only a prescribed number of map data M1 from all the map data M1 stored in the auxiliary storage device 71. The prescribed number is a number that is confirmed in advance as including multiple pieces of map data M1 in each of the groups G1, G2, ... Gn. The prescribed number is less than the total number of map data M1 stored in the auxiliary storage device 71. After executing the map data extraction process S3, the control device 81 executes a data sorting process S4. Note that all the map data M1 in the auxiliary storage device 71 may be extracted in the map data extraction process S3.
[0041] As shown in FIG. 6, the data sorting process S4 is a process of sorting a plurality of map data M1 in a predetermined sorting order. In the data sorting process S4, the control device 81 sorts the extracted map data M1 in a predetermined sorting order. The predetermined sorting order is the order of closest distance to the position information when the image matching process S8 in the routine before this routine is executed. In other words, in the data sorting process, the predetermined sorting order is the order of closest distance to the position information when the previous image matching process S8 was executed. In the following description, the "routine before this routine is executed" will be referred to as the "previous routine".
[0042] Specifically, in the data sorting process S4, the control device 81 compares the distance between the first coordinate information and the second coordinate information. The first coordinate information is coordinate information included in the position information in the previous routine. The second coordinate information is coordinate information included in the position information associated with the map image data IM11 of the extracted map data M1. The control device 81 sorts the map data M1 according to the distance between the first coordinate information and the second coordinate information. The map data M1 closer to the top of the sorting order contains second coordinate information whose distance to the first coordinate information is smaller. After executing the data sorting process S4, the control device 81 executes the determination process S5.
[0043] In the judgment process S5, the control device 81 judges whether or not a predetermined condition is satisfied. In this embodiment, the predetermined condition is that the autonomous vehicle 10 and the control device 81 are at startup, and that the number of matches in the image matching process S8 executed in the previous routine is equal to or less than a threshold. The autonomous vehicle 10 and the control device 81 are at startup when the autonomous vehicle 10 and the control device 81 execute a routine for the first time after startup.
[0044] If it is determined in the judgment process S5 that the predetermined condition is not satisfied (judgment process S5: NO), the process proceeds to the priority setting process S6. If it is determined in the judgment process S5 that the predetermined condition is satisfied (judgment process S5: YES), the process proceeds to the identification process S7.
[0045] As shown in FIG. 7, in the identification process S7, the control device 81 compares the image data IM2 with the map image data IM11 included in the extracted prescribed number of map data M1. In the identification process S7, the control device 81 compares the image data IM2 with the map image data IM11 included in each of the extracted groups G1, G2, ... Gn. In this embodiment, the control device 81 matches the cut-out image data IM12 used in this routine with the map image data IM11 included in the extracted prescribed number of map data M1. Note that the map image data IM11 having the feature B as shown in FIG. 7 is, for example, data included in the second group G2. All the extracted map image data IM11 are data in which the position of the feature B is different.
[0046] The control device 81 extracts feature points from the cropped image data IM12. The control device 81 describes the feature amounts of the feature points. Examples of the feature amounts include feature amount vectors and brightness values. The control device 81 extracts feature points from the extracted map image data IM11 and describes the feature amounts.
[0047] The control device 81 matches the feature points and feature amounts obtained from the cut-out image data IM12 with the feature points and feature amounts obtained from the extracted map image data IM11. The above-mentioned matching can be performed using a feature amount descriptor. Examples of the feature amount descriptor include ORB (Oriented FAST and Rotated BRIEF), SIFT (Scale-Invariant Feature Transform), and SURF (Speeded Up Robust Features).
[0048] The control device 81 searches for pairs of feature points whose feature quantities are similar between the cut-out image data IM12 and the extracted map image data IM11. The control device 81 identifies the map image data IM11 that has the most pairs of feature points with the cut-out image data IM12, that is, the most matches. By performing matching in this manner, it is possible to identify map image data IM11 in which the patterns of the cut-out image data IM12 and feature B match or are similar.
[0049] 7, the feature B included in the cut-out image data IM12 matches the feature B included in the map image data IM11 included in the second group G2. Therefore, the control device 81 identifies one of the map image data IM11 included in the second group G2 as the data most similar to the image data IM2.
[0050] The control device 81 identifies the group including the map image data IM11 identified in the identification process S7 as a specific group. As can be seen from Fig. 7, in the identification process S7, the second group G2 is identified as the specific group. After storing the specific group in the memory unit 83, the control device 81 executes the priority order setting process S6.
[0051] As shown in FIGS. 6 and 8, in the priority setting process S6, the control device 81 rearranges the map data M1 rearranged in the data sorting process S4 into a rearrangement order based on the result of the identification process S7.
[0052] In the priority setting process S6 executed after the determination process S5 is judged as YES, the control device 81 rearranges the map data M1 rearranged by the data sorting process S4 in the rearrangement order by referring to the result of the specific process S7 executed in this routine from the memory unit 83.
[0053] In the priority setting process S6 executed after judging NO in the judgment process S5, the control device 81 rearranges the map data M1 rearranged in the data sorting process S4 in the rearrangement order by referring to the result of the specific process S7 executed in the previous routine from the memory unit 83.
[0054] The sorting order based on the result of the identification process S7 means that the map data M1 belonging to the specific group identified in the identification process S7 is placed at the top of the sorting order. In the priority setting process S6, the control device 81 sorts the map data M1 belonging to the second group G2 from a predetermined number of map data M1 from the top of the sorting order to the top of the sorting order. In this embodiment, the predetermined number is "4". The predetermined number is set by confirming in advance that when the map data M1 is viewed from the top of the sorting order after the data sorting process S4, map image data IM11 of the same imaging environment as the imaging environment of the image data IM2 is always included. After executing the priority setting process S6, the control device 81 executes the image matching process S8. The predetermined number may be changed as appropriate.
[0055] 9, the control device 81 executes an image matching process S8 on only a predetermined number of map data M1 from the top of the sorting order after the priority setting process S6. In the image matching process S8, the control device 81 matches the map image data IM11 and the cut-out image data IM12 in order from the top of the sorting order. The matching method is the same as the matching method executed in the identification process S7.
[0056] In the image matching process S8, the control device 81 identifies map image data IM11 in which the number of pairs of feature points with the cut-out image data IM12 is equal to or greater than a threshold. In other words, in the image matching process S8, the control device 81 identifies map image data IM11 in which the number of matches with the cut-out image data IM12 is equal to or greater than a threshold. When the number of pairs becomes equal to or greater than the threshold, the control device 81 identifies the map image data IM11 in which the number of pairs becomes equal to or greater than the threshold as the map image data IM11 corresponding to the image data IM2. The image matching process S8 is a process for identifying the map image data IM11 corresponding to the image data IM2 by comparing the map image data IM11 and the image data IM2 in order from the top of the sorting order.
[0057] In this embodiment, in the image matching process S8, the map data M1 belonging to the second group G2, which is a specific group, is used preferentially over the map data M1 belonging to the other groups G1, G3, ... Gn. For this reason, the priority setting process S6 is a process for further rearranging the multiple map data M1 rearranged by the data sorting process S4 so that the map data M1 belonging to the specific group is used preferentially in the image matching process S8. In the image matching process S8, the number of matches between the features of the cut-out image data IM12 and the features of the specified map image data IM11 is stored in the storage unit 83.
[0058] The number of matches stored in the memory unit 83 is used in the determination process S5 in the next routine. In the determination process S5, if the number of matches is equal to or less than the threshold, this indicates that the imaging environment of the cropped image data IM12 used in the previous image matching process S8 is different from the imaging environment of the identified map image data IM11. The threshold used in the determination process S5 is a numerical value indicating that the imaging environment of the image data IM2 is different from the imaging environment of the map image data IM11 identified in the previous image matching process S8.
[0059] 9, the feature B included in the cut-out image data IM12 matches the feature B included in the map image data IM11 included in the second group G2. Therefore, the control device 81 specifies one of the map image data IM11 included in the second group G2 as the map image data IM11 corresponding to the image data IM2. After executing the image matching process S8, the control device 81 executes the self-position estimation process S9.
[0060] 10, in the self-position estimation process S9, the control device 81 estimates the self-position based on the map image data IM11 identified in the image matching process S8. The self-position includes the coordinates of the autonomous vehicle 10 in the map coordinate system and the attitude of the autonomous vehicle 10.
[0061] The control device 81 calculates the relative position between the map image data IM11 and the cut-out image data IM12 specified in the image matching process S8. The relative position between the specified map image data IM11 and the cut-out image data IM12 can also be said to be the relative position between the specified map image data IM11 and the image data IM2.
[0062] FIG. 10 shows the relative positions of the identified map image data IM11 and the cut-out image data IM12. In this embodiment, when the identified map image data IM11 and the cut-out image data IM12 are superimposed so that their feature points overlap, the coordinates CP1 and CP2 are separated by a distance L. The distance L is a dimension in the image coordinate system. The control device 81 converts the distance L in the image coordinate system into a distance in the map coordinate system using a pixel scale associated with the identified map image data IM11. The control device 81 regards the distance converted into the map coordinate system as the relative position between the identified map image data IM11 and the cut-out image data IM12.
[0063] The control device 81 calculates the relative angle between the map image data IM11 and the cut-out image data IM12 identified in the image matching process S8. The relative angle between the identified map image data IM11 and the cut-out image data IM12 can also be said to be the relative angle between the identified map image data IM11 and the image data IM2.
[0064] The relative angle between the identified map image data IM11 and the cut-out image data IM12 is the deviation angle between the identified map image data IM11 and the cut-out image data IM12. A difference occurs in the attitude of the autonomous vehicle 10 between the time when the identified map image data IM11 is acquired and the time when the cut-out image data IM12 is acquired. Due to the difference in the attitude of the autonomous vehicle 10, the cut-out image data IM12 becomes the identified map image data IM11 rotated. The deviation angle caused by this rotation is the relative angle between the identified map image data IM11 and the cut-out image data IM12. Note that in this embodiment, the feature points of the identified map image data IM11 and the feature points of the cut-out image data IM12 match. For this reason, FIG. 10 shows an example in which the relative angle is "0".
[0065] The control device 81 estimates its own position based on the position information, relative position, and relative angle associated with the identified map image data IM11. The control device 81 shifts the coordinate information associated with the identified map image data IM11 by the coordinates corresponding to the relative position. The control device 81 shifts the orientation information associated with the identified map image data IM11 by the relative angle. The control device 81 regards the coordinates and attitude in the map coordinate system obtained as a result as its own position. After executing the self-position estimation process S9, the control device 81 ends the process.
[0066] <Action of this embodiment> The operation of this embodiment will now be described. In the identification process S7, map data M1 similar to the imaging environment of image data IM2 used in the image matching process S8 can be identified. In the priority setting process S6, the map data M1 after the data sorting process S4 is further sorted using the similarity to the imaging environment of the image data IM2 as a judgment criterion. This makes it easier to compare the image data IM2 with the map image data IM11 of the imaging environment most similar to the imaging environment of the image data IM2 in the image matching process S8.
[0067] Moreover, the image matching process S8 is executed only on the predetermined number of map data M1 rearranged in the data sorting process S4, so the processing time of the image matching process S8 is shorter than when all map image data IM11 and image data IM2 are compared.
[0068] <Effects of this embodiment> The effects of this embodiment will be described. (1) By executing the identification process S7 and the priority setting process S6, the map image data IM11 of the imaging environment most similar to the imaging environment of the image data IM2 is used in the image matching process S8. This improves the estimation accuracy of the self-location of the autonomous vehicle 10. Also, since it is not necessary to use all of the map image data IM11 in the image matching process S8, the processing time of the image matching process S8 is shortened. Therefore, the estimation accuracy of the self-location is improved while shortening the processing time of the image matching process S8.
[0069] (2) In the map data extraction process S3, a specified number of map data M1 are extracted. As a result, it is not necessary to use all of the map image data IM11 stored in the auxiliary storage device 71 in the identification process S7. This shortens not only the processing time of the image matching process S8 but also the processing time of the routine executed by the autonomous vehicle 10.
[0070] (3) The frequency with which the determination process S7 is executed can be reduced by the determination process S5, thereby reducing the processing load on the control device 81. <Example of change> This embodiment can be modified as follows: This embodiment and the following modifications can be combined with each other to the extent that there is no technical contradiction.
[0071] In the identification process S7, the second group G2 is identified as the identified group, but this is not limited to the above. If a group including map image data IM11 captured in the same imaging environment as the image data IM2 is identified, the first group G1 may be the identified group. The group identified in the identification process S7 is changed as appropriate depending on the imaging environment of the image data IM2.
[0072] In the priority order setting process S6, the map data M1 belonging to the second group G2 among a predetermined number of map data M1 from the top of the sorting order in the map data M1 sorted in the data sorting process S4 may be sorted to second from the top in the sorting order. In the priority order setting process S6, the map data M1 belonging to a specific group among a predetermined number of map data M1 from the top of the sorting order in the map data M1 sorted in the data sorting process S4 may be sorted to a position closer to the top of the sorting order.
[0073] The map data M1 belonging to the specific group may be rearranged in the priority setting process S6 to be third from the top of the rearrangement order after the data sorting process S4. If the predetermined number is changed to "5", the map data M1 belonging to the specific group may be rearranged in the priority setting process S6 to be fourth from the top of the rearrangement order after the data sorting process S4. That is, the priority setting process S6 may be a process of rearranging the map data M1 belonging to the specific group among the predetermined number of map data M1 from the top of the rearrangement order to be higher than before the priority setting process S6 was executed. In other words, the priority setting process S6 may be a process of further rearranging the multiple map data M1 rearranged by the data sorting process S4 so that the map data M1 belonging to the specific group is preferentially used in the image matching process S8.
[0074] In this embodiment, in the map data M1 rearranged by the data sorting process S4, only one map data M1 belonging to a specific group is present within the predetermined number from the top of the rearrangement order, but this is not limited to this. For example, the predetermined number may be determined so that there are multiple map data M1 belonging to a specific group within the predetermined number from the top of the rearrangement order. In this case, in the priority setting process S6, it is preferable to rearrange all of the map data M1 belonging to a specific group that is included in the predetermined number to a higher position than before the priority setting process S6 was executed.
[0075] The specified number may be any number as long as it does not match the number of all map data M1 stored in the auxiliary storage device 71. As a result of this change, it is possible that the predetermined number of map data M1 after the data sorting process S4 does not include map image data IM11 captured in the same imaging environment as the imaging environment in which the image data IM2 was captured. In this case, the map data extraction process S3 may be repeated until the predetermined number of map data M1 includes map image data IM11 captured in the same imaging environment as the imaging environment in which the image data IM2 was captured.
[0076] The map image data IM11 does not have to be data extracted from the image data IM1. The map image data IM11 may be circular data. With this change, the image process S2 for extracting the image data IM2 and obtaining the extracted image data IM12 may be omitted from the routine. In this case, the identification process S7 and the image matching process S8 match the circular map image data IM11 with the image data IM2. That is, the identification process S7 and the image matching process S8 may directly compare the circular map image data IM11 with the image data IM2.
[0077] The position information only needs to be associated with coordinates that represent the optical axis position of the camera 41 in the image coordinate system, and does not need to be included in the map image data IM11. In other words, the coordinates that represent the optical axis position of the camera 41 in the image coordinate system may be outside the range of the map image data IM11.
[0078] The storage device in which the map data M1 is stored may be the storage unit 83. The coordinate system representing the pixel positions of the map image data IM11 and the coordinate system representing the pixel positions of the image data IM2 may be different coordinate systems.
[0079] Control device 81 does not have to include map creation unit 85. Control device 81 does not have to have a function for creating map data M1. For example, when there are multiple autonomous vehicles 10, map data M1 may be created by one autonomous vehicle 10, and this map data M1 may be duplicated and used by the remaining autonomous vehicles 10.
[0080] In this embodiment, the camera 41 may be provided at a position other than the bottom of the vehicle body 11 as long as it faces vertically. Although the object captured by the camera 41 is the road surface Sr in the above embodiment, this is not limiting. The object captured by the camera 41 may be changed to a structure or the like that may exist around the autonomous vehicle 10. In this case, the camera 41 may be positioned facing forward or backward of the autonomous vehicle 10, for example. The multiple map data M1 stored in the storage device are created, for example, for each state of the structure as the object captured. The state of the structure is, for example, the uneven state of the exterior wall of the structure when it is raining, the uneven state of the exterior wall of the structure when it is sunny, the position of equipment attached to the exterior wall of the structure, etc.
[0081] In this embodiment, each of the processes S1 to S9 is a routine executed within a predetermined time, but this is not limiting. For example, each of the processes S1 to S7 may be a routine executed within a predetermined time. In this case, each of the processes S8 and S9 is changed so as to be executed during a routine executed next to this routine. However, the image matching process S8 is executed only once after one routine. In other words, the image matching process S8 is executed only once for the image data captured by the camera 41. In other words, the image matching process S8 is executed at predetermined time intervals.
[0082] The data sorting process S4 may be a process of appropriately sorting the map data M1 having the map image data IM11 included in a predetermined range, centered on the position information in the previous routine, to a position close to the top of the sorting order.
[0083] As shown in FIG. 11, a second determination process S10 and a determination process S11 may be added after the self-position estimation process S9 is executed. In the second determination process S10, the control device 81 determines whether the number of matches stored in the memory unit 83 in the image matching process S8 is equal to or less than a threshold. The threshold used in the second determination process S10 is the same as the threshold used in the determination process S5. If the second determination process S10 is determined as YES, the process proceeds to the determination process S11. If the second determination process S10 is determined as NO, the routine is terminated. The determination process S11 is the same process as the determination process S7.
[0084] By executing the identification process S11 after the image matching process S8 in this routine, the identified group can be quickly updated even if an event occurs in which the imaging environment changes before and after the image matching process S8 is executed.
[0085] In determination process S5, the predetermined condition may be, for example, every time a predetermined time has elapsed since autonomous vehicle 10 and control device 81 are started. Also, in determination process S5, the predetermined condition may be, for example, every time autonomous vehicle 10 travels a predetermined specified distance. In other words, the predetermined condition may be set to periodically check for changes in the environment in which autonomous vehicle 10 is traveling.
[0086] As shown in FIG. 12, the routine executed by the control device 81 may be modified so that the image matching process S8 is executed after the data alignment process S4, and the processes S5, S6, and S7 are executed after the image matching process S8.
[0087] The image matching process S8, which is executed for the first time in this routine, is changed so that it is executed after the data sorting process S4 and only targets a predetermined number of map data M1 from the top of the sorting order. After the image matching process S8 is executed, the determination process S5 is executed.
[0088] If the determination result in the determination process S5 is NO, the process is changed to proceed to the self-position estimation process S9. If the determination result in the determination process S5 is YES, the process is changed to execute the identification process S7 and the priority setting process S6, and then execute the image matching process S8 again.
[0089] In this routine, when the second image matching process S8 is executed after the priority setting process S6, the condition that "autonomous vehicle 10 and control device 81 are at startup" is omitted from the predetermined conditions. [Explanation of symbols]
[0090] 10...autonomous vehicle, 41...camera, 71...auxiliary storage device, 81...control device for autonomous vehicle, 84...acquisition unit, 86...self-position estimation unit, M1...map data, IM1, IM2...image data, IM11...map image data, IM12...cut-out image data, S4...data alignment process, S7...identification process, S6...priority setting process, S8...image matching process, S9...self-position estimation process, G1, G2, ...Gn...group.
Claims
1. An autonomous vehicle that travels while estimating its own position, A camera that captures images at predetermined intervals; a storage device in which a plurality of map data in which previously captured map image data is associated with location information is stored; An acquisition unit that acquires image data from the camera; a self-location estimation unit that executes an image matching process for identifying the map image data corresponding to the image data by comparing the map image data with the image data at every predetermined time, and executes a self-location estimation process for estimating a self-location from a relative position between the identified map image data and the image data and a relative angle between the identified map image data and the image data; A processing device that executes a process for estimating a self-position of the autonomous vehicle, The plurality of map data are divided into a plurality of groups according to the state of an imaging object, The processing device includes: a data sorting process for sorting the plurality of map data in a predetermined sorting order; a process of comparing the image data with the map image data included in each of the groups when a predetermined condition is satisfied after the data sorting process, and identifying the group including the map image data that is most similar to the image data as a specific group; a priority order setting process for further sorting the plurality of map data sorted by the data sorting process so that the map data belonging to the specific group is used preferentially in the image matching process; The image matching process, after the priority setting process, targets only a predetermined number of the map data from the top of the sorting order, and compares the map image data with the image data in order from the top of the sorting order to identify the map image data corresponding to the image data. Autonomous vehicles.
2. In the data sorting process, the predetermined sorting order is an order of proximity to the position information when the image matching process was previously performed. The autonomous vehicle of claim 1 .
3. A control device for controlling an autonomous vehicle that travels while estimating its own position, an acquisition unit that acquires image data from a camera that captures images at predetermined time intervals; a self-location estimation unit that executes an image matching process at the predetermined time to identify map image data corresponding to the image data by comparing the map image data included in a plurality of map data in which position information is associated with the map image data captured in advance with the map image data, and executes a self-location estimation process to estimate a self-location from the identified map image data, a relative position between the identified map image data and the image data, and a relative angle between the identified map image data and the image data, The plurality of map data are divided into a plurality of groups according to the state of an imaging object, The control device includes: a data sorting process for sorting the plurality of map data in a predetermined sorting order; a process of comparing the image data with the map image data included in each of the groups when a predetermined condition is satisfied after the data sorting process, and identifying the group including the map image data that is most similar to the image data as a specific group; a priority order setting process for further sorting the plurality of map data sorted by the data sorting process so that the map data belonging to the specific group is used preferentially in the image matching process; The image matching process, after the priority setting process, targets only a predetermined number of the map data from the top of the sorting order, and compares the map image data with the image data in order from the top of the sorting order to identify the map image data corresponding to the image data. Autonomous vehicle control device.
Citation Information
Patent Citations
Positioning map generation system and positioning map generation method
JP2011243050A
Location and motion estimation using ground imaging sensor
US8725413B2
