Aerial view image generating device, aerial view image generating system, and automatic parking device
Patent Information
- Application Number
- JP2020119895
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-07-13
- Publication Date
- 2024-08-22
- Estimated Expiration
- 2040-07-13
Smart Images

Figure 0007538640000009 
Figure 0007538640000004 
Figure 0007538640000021
Abstract
Description
[Technical field]
[0001] The present invention relates to an overhead image generating device, an overhead image generating system, and an automatic parking device. [Background technology]
[0002] Conventionally, automatic parking has been known as one form of automatic driving. Automatic parking is automatic driving limited to parking lots, and substitutes for the driver's parking operation, monitoring of the vehicle's surroundings, and prevention of collisions with pedestrians, vehicles, etc. As one method for realizing automatic parking, a method is known in which a map is self-generated, and the vehicle's position is identified on the self-generated map to perform automatic parking (see, for example, Patent Document 1). Maps used for such purposes include landmarks that estimate the vehicle's position, and map images (bird's-eye images) generated by converting camera images, etc., into a bird's-eye view. It is desirable for the amount of map information data to be as small as possible. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP2012-18170A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, a dense 3D point cloud acquired by a 3D information acquisition sensor such as LiDAR is associated with color and brightness information acquired by a camera or the like, and the 3D point cloud is converted to a bird's-eye view to generate a map image. This method requires a sensor that can acquire a point cloud with sufficient density, and the amount of data increases because the data is stored with color and brightness information linked to the 3D information.
[0005] The present invention has been made in consideration of the above circumstances, and has an object to generate an overhead image with a reduced amount of data. [Means for solving the problem]
[0006] In order to solve the above problem, the bird's-eye view image generating device of the present invention includes a data acquisition unit that acquires sensor data from a sensor mounted on a vehicle, and a vehicle speed control unit that uses the sensor data acquired by the data acquisition unit to control the vehicle speed. Distance traveled and converting a viewpoint of the captured image into an overhead viewpoint using a captured image of the surroundings of the vehicle included in the sensor data acquired by the data acquisition unit. The converted images are then stitched together in time series along the vehicle's travel trajectory. A bird's-eye view image is generated, and the generated bird's-eye view image Regarding the overhead view image, the information on the amount of turning indicated by the sensor data of the steering angle sensor of the vehicle is not taken into consideration, and only the moving distance of the vehicle calculated by the moving distance calculation unit is taken into consideration. a linear overhead image generating unit that generates a linear overhead image by converting the shape of the linear overhead image into a linear shape; Distance traveled by said vehicle and a predetermined vehicle speed Distance traveled a linear overhead image generating unit that generates a linear overhead image and a moving amount-based turning amount calculation unit that calculates a turning amount of the vehicle for each of the linear overhead images; Distance traveled a storage unit for storing the linear overhead image and information indicating the amount of turning for each of the predetermined Distance traveled and an overhead image reconstructing unit that reconstructs the overhead image using the amount of rotation for each of the shots. Effect of the Invention
[0007] According to the present invention, it is possible to generate an overhead image with a reduced amount of data. [Brief description of the drawings]
[0008] [Figure 1] FIG. 2 is a block diagram showing a configuration of an in-vehicle device. [Diagram 2] FIG. 1 is a diagram illustrating an example of a point cloud map. [Diagram 3] 4 is a block diagram showing a configuration of an overhead image generating unit. FIG. [Figure 4] FIG. 13 is a diagram showing an example of an overhead image. [Diagram 5] FIG. 13 is a diagram showing an example of a linear overhead image. [Figure 6]11A and 11B are diagrams illustrating divided linear overhead images stored in a non-volatile storage unit. [Figure 7] 11A and 11B are diagrams illustrating divided linear overhead images stored in a non-volatile storage unit. [Figure 8] A diagram showing the operating modes of the automatic parking device and the conditions for changing the operating modes. [Figure 9] 13 is a flowchart showing an operation of a linear overhead image generating unit. [Figure 10] 10 is a flowchart showing the operation of a distance-based turning angle generating unit. [Figure 11] 13 is a flowchart showing the operation of an overhead image reconstructing unit. [Figure 12] 11 is a flowchart showing the operation of the automatic parking device when the operation mode is a map storage mode. [Figure 13] 11 is a flowchart showing the operation of the automatic parking device when the operation mode is a self-position estimation mode. [Figure 14] 10 is a flowchart showing details of a self-position estimation process. [Figure 15] 13 is a flowchart showing a detailed operation of selecting local surrounding information. [Figure 16] 13 is a flowchart showing a detailed procedure of a matching process. [Figure 17] 10 is a flowchart showing an operation in an automatic parking mode. [Figure 18] FIG. 1 is a plan view showing an example of a parking lot. [Figure 19] FIG. 1 is a diagram showing point cloud data. [Figure 20] FIG. 1 is a diagram showing point cloud data. [Figure 21] 1 is a diagram showing a driving trajectory in a parking lot and local surrounding information obtained by a vehicle driving in the parking lot. FIG. [Figure 22] FIG. 13 is a diagram showing a matching result of the matching process. [Figure 23] FIG. 2A is a diagram showing the current position of a vehicle, and FIG. 2B is a diagram showing point cloud data detected at the current position. [Figure 24]FIG. 13 is a diagram showing a matching result between point cloud data of parking lot data and point cloud data of local surrounding information. [Diagram 25] 13 is a diagram illustrating a relationship between the point cloud data of the local surrounding information and the point cloud data of the parking lot data when the point cloud data of the local surrounding information is moved by an integer multiple of the width of the parking space. FIG. [Figure 26] FIG. 1 is a system configuration diagram of an overhead image generating system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] [1. Configuration of the in-vehicle device] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of the in-vehicle device 10. As shown in FIG. The in-vehicle device 10 is a device mounted on the vehicle 1, and includes an external sensor group 20, a navigation device 30, a vehicle sensor group 40, a vehicle control device 50, a steering device 51, a drive device 53, a braking device 55, a communication device 60, an input device 70, a display device 80, and an automatic parking device 100. The automatic parking device 100 is connected to the external sensor group 20, the navigation device 30, the vehicle sensor group 40, and the vehicle control device 50 via a communication bus 5. For the communication bus 5, a bus compatible with standards such as CAN (Controller Area Network: registered trademark), LIN (Local Interconnect Network), and in-vehicle Ethernet (registered trademark) is adopted.
[0010] The group of external sensors 20 includes a radar 21 , a sonar 23 and a camera 25 .
[0011] The radar 21 and sonar 23 each emit radio waves or sound waves of a specific wavelength, and measure the time it takes for the emitted radio waves or sound waves to receive the reflected waves reflected by an obstacle outside the vehicle 1. The radar 21 and sonar 23 measure the position and direction of the obstacle, the distance to the obstacle, etc. based on the measured time. The radar 21 and sonar 23 measure the obstacle as a point cloud, and output measurement data indicating the measurement results to the automatic parking device 100.
[0012] The cameras 25 are installed, for example, at the front, rear, right side, and left side of the vehicle 1. Each camera 25 includes an image sensor such as a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS), and a data processing circuit that generates an image based on the light receiving state of the image sensor. The angle of view of the cameras 25 is adjusted so that the four cameras 25 can capture images of a 360° range centered on the vehicle 1. Each camera 25 captures a preset capture range at a predetermined frame rate to generate a captured image. Each camera 25 outputs the captured image generated by capturing to the automatic parking device 100.
[0013] The navigation device 30 includes a GNSS receiver 31 that receives a Global Navigation Satellite System (GNSS) signal. The navigation device 30 calculates the latitude and longitude indicating the current position of the vehicle 1 based on the GNSS signal received by the GNSS receiver 31. The navigation device 30 also includes a storage unit 33. The storage unit 33 is a non-volatile storage device, and stores a road map 35. The road map 35 includes information on a road connection structure and latitudes and longitudes corresponding to road positions.
[0014] The navigation device 30 calculates the latitude and longitude and Degree Based on a road map 35 including the above, the latitude and longitude of the road position on which the vehicle 1 will travel are calculated. The latitude and longitude calculated by the navigation device 30 do not need to be highly accurate and may include an error of, for example, about several meters to 10 meters. The navigation device 30 outputs the calculated latitude and longitude to the automatic parking device 100 as positioning data.
[0015] The vehicle sensor group 40 is mounted on the vehicle 1 and includes a plurality of sensors that detect the traveling state of the vehicle 1. In this embodiment, the vehicle sensor group 40 includes a vehicle speed sensor 41 that detects the speed of the vehicle 1 and a steering angle sensor 43 that detects the steering angle of the steering wheel of the vehicle 1, but may include other sensors such as a brake sensor and a shift position sensor.
[0016] The vehicle control device 50 is, for example, a computer device such as an ECU (Electronic Control Unit), and is a device that controls the steering device 51, the drive device 53, and the braking device 55 mounted on the vehicle 1. The vehicle control device 50 is connected to the steering device 51, the drive device 53, and the braking device 55. The vehicle control device 50 controls the steering device 51, the drive device 53, and the braking device 55 according to control information input from the automatic parking device 100, and causes the vehicle 1 to travel automatically. The vehicle control device 50 corresponds to the automatic parking unit of the present invention.
[0017] The communication device 60 performs wireless communication with an external device, and transmits and receives data to and from the external device. The external device includes, for example, a portable terminal carried by the user. For example, when the user is outside the vehicle 1, the communication device 60 performs data communication with the portable terminal to transmit and receive information. The communication device 60 is not limited to communicating with the user's portable terminal. The communication device 60 corresponds to a communication unit of the present invention.
[0018] The input device 70 functions as a reception unit that receives user operations. The input device 70 of this embodiment includes a response button 71 and an automatic parking button 73 as hardware buttons. The response button 71 is a button that receives user operations on the display of the display device 70, and includes a button for inputting a positive operation and a button for inputting a negative operation. The automatic parking button 73 is a button that causes the automatic parking device 100 to start automatic parking. When the response button 71 or the automatic parking button 73 is operated, the input device 70 outputs an operation signal corresponding to the operated button to the automatic parking device 100. The automatic parking device 100 determines whether the response button 71 or the automatic parking button 73 has been operated based on the input operation signal.
[0019] The display device 70 includes a display panel such as a liquid crystal display, and displays an image based on the display data generated by the automatic parking device 100 on the display panel. The display device 70 may also be configured to include a touch panel. The touch panel includes a touch sensor that detects a touch operation on the display panel. The touch panel outputs coordinate information indicating the coordinates of the touch panel touched by the touch operation to the automatic parking device 100. The response button 71 and the automatic parking button 73 may also be displayed on the touch panel, and when coordinate information corresponding to the display positions of these buttons is input, the automatic parking device 100 may determine that the corresponding button has been operated.
[0020] The automatic parking device 100 includes an interface 101, a read only memory (ROM) 110, a random access memory (RAM) 120, a non-volatile storage unit 130, and a processor 150. Hereinafter, the interface 101 will be referred to as I / F101.
[0021] The interface 101 is connected to the external sensors 20, the navigation device 30, the vehicle sensors 40, and the vehicle control device 50 via the communication bus 5, and performs data communication with these sensors and devices.
[0022] ROM 110 is a read-only memory, and stores a computer program executed by processor 150. ROM 110 also stores internal parameters of camera 25, such as the focal length and image sensor size, and external parameters indicating the mounting position and mounting attitude of camera 25 on vehicle 1.
[0023] The RAM 120 functions as a main memory device of the automatic parking device 100, and stores the computer program executed by the processor 150, data processed when the processor 150 executes the computer program, and data of the processing result. The RAM 120 also stores the local surrounding information 121 and the outlier list 123.
[0024] In the local surrounding information 121, coordinates of points constituting a landmark detected by the automatic parking device 100 in a position estimation mode 230 described later are registered. A landmark is an object having characteristics that can be identified by a sensor such as the radar 21, the sonar 23, the camera 25, etc., and includes, for example, a parking space formed on the road surface, and obstacles such as pillars and walls in a parking lot that impede the travel of the vehicle 1. The coordinates of points constituting a landmark are based on the position and orientation of the vehicle 1 when the registration of the local surrounding information 121 is started, and are, for example, a coordinate system with the position of the vehicle 1 as the origin, the traveling direction of the vehicle 1 as the Y axis, and the right of the traveling direction as the X axis. This coordinate system is hereinafter referred to as a "local coordinate system". The local coordinate system corresponds to the second coordinate system of the present invention.
[0025] The outlier list 123 is a list in which information on points to be excluded is registered among the coordinates of points registered as the local surrounding information 121. The outlier list 123 is updated by the automatic parking device 100 as appropriate.
[0026] The non-volatile storage unit 130 is configured with a non-volatile memory such as a flash memory, and stores a linear overhead image 131, distance-based turning angle information 133, a point cloud map 135, a sensor error database 137, and an environment database 139.
[0027] The linear overhead image 131 is an overhead image generated based on images captured by the cameras 25 installed in front, behind, on the left side, and on the right side of the vehicle 1. In detail, the linear overhead image 131 is an overhead image generated by ignoring information on the amount of turning obtained from the steering angle sensor 43 and reflecting information on the amount of movement (movement distance) of the vehicle 1 obtained from the sensor data of the vehicle speed sensor 41.
[0028] The distance-specific turning angle information 133 has a table in which the moving distance of the vehicle 1 calculated based on the sensor data of the vehicle speed sensor 41 and the turning amount calculated based on the sensor data of the steering angle sensor 43 are registered in association with each other. When the automatic parking device 100 transitions to a map storage mode 220 described later, a recording coordinate system is set, and recording of the sensor data of the external sensor group 20 is started, the moving distance of the vehicle 1 and the turning amount for each moving distance are associated and registered in the table. The recording coordinate system is, for example, a coordinate system in which the position of the vehicle 1 when the automatic parking device 100 transitions to the map storage mode 220 and starts recording the sensor data is set as the origin (0, 0), the traveling direction (attitude) of the vehicle 1 at the start of recording is set as the Y axis, and the rightward direction of the vehicle 1 at the start of recording is set as the X axis.
[0029] Data related to parking lots (hereinafter referred to as parking lot data) is registered in the point cloud map 135. The parking lot data includes coordinate information indicating the parking position in the parking lot, coordinate information indicating the positions of landmarks, and coordinate information indicating the driving route traveled by the vehicle 1 when the map data was created.
[0030] Fig. 2 is a diagram showing an example of the point cloud map 135. The point cloud map 135 shown in Fig. 2 shows an example in which two parking lot data are registered. The parking lot data registers position information of a parking position 1351, a landmark 1352, and a driving route 1353. The position information includes information indicating a relative position and information indicating an absolute position. The information indicating the relative position is coordinate information based on a predetermined position, and the information indicating the absolute position is latitude and longitude.
[0031] For example, if the parking position 1351 is a rectangle, the coordinate information of the parking position 1351 is recorded as the coordinates of the four vertices of this rectangular area. However, the parking position 1351 is not limited to a rectangle and may be a polygon other than a rectangle or an ellipse. The coordinate information of the landmark 1352 indicates the coordinates on a two-dimensional plane of the group of points that make up the landmark. The coordinate information indicating the travel route 1353 indicates the travel route traveled by the vehicle 1 when the coordinates of the parking position 1351 and the landmark 1352 were recorded.
[0032] The coordinate information registered in the point cloud map 135 is coordinates in a coordinate system specific to each parking lot data. The coordinate system specific to each parking lot data registered in the point cloud map 135 is called the parking lot coordinate system. The parking lot coordinate system is a coordinate system in which, for example, the origin is the coordinate indicating the position of the vehicle 1 at the start of recording of the measurement data measured by the external sensor group 20, the traveling direction of the vehicle 1 at the start of recording is the Y axis, and the rightward direction of the vehicle 1 at the start of recording is the X axis. The parking lot coordinate system corresponds to the first coordinate system of the present invention.
[0033] The sensor error database 137 registers data on errors included when the position of the vehicle 1 is estimated based on the sensor data of the vehicle sensor group 40. More specifically, data on errors included when the position of the vehicle 1 is estimated by known dead reckoning while the vehicle 1 is driven at a preset vehicle speed and turning radius is registered. Data indicating the allowable error for each road width when the position of the vehicle 1 is estimated by the known dead reckoning is registered in the environment database 139. The sensor error database 137 and the environment database 139 are used as materials for determining whether or not the point cloud map 135 can be used for estimating the position of the vehicle 1 and for generating the subsequent movement route of the vehicle 1.
[0034] The processor 150 is an arithmetic processing device including a central processing unit (CPU) and a micro processing unit (MPU). The processor 150 executes a computer program to control each part of the in-vehicle device 10. The processor 150 may be configured by a single processor or may be configured by multiple processors. The processor 150 may be configured by a system on chip (SoC) integrated with a part or all of the ROM 110, the RAM 120, and the non-volatile storage unit 130, or other circuits. The processor 150 may be configured by a combination of a CPU that executes a program and a digital signal processor (DSP) that executes a predetermined arithmetic processing. Furthermore, all of the functions of the processor 150 may be implemented in hardware, or may be configured by using a programmable device.
[0035] The processor 150 includes, as functional blocks, a data acquisition unit 151, a landmark positioning unit 152, a point cloud data verification unit 153, a parking lot data registration unit 154, an overhead image generation unit 155, a position estimation unit 156, a parking path generation unit 157, a control information generation unit 158, a display control unit 159, and a mode switching unit 160. These blocks represent functions realized by the processor 150 executing an instruction set of a computer program and performing data calculations and control.
[0036] The sensor data output by the external sensor group 20 and the vehicle sensor group 40 is input to the data acquisition unit 151. The data acquisition unit 151 stores the input sensor data in the non-volatile storage unit .
[0037] The landmark positioning unit 152 executes landmark positioning to obtain point cloud data indicating the positions of the points constituting the landmarks. As described above, landmarks are pillars and walls of a parking lot, parking spaces with white lines painted on the road surface of the parking lot, and the like, which have characteristics that can be identified by sensors such as the radar 21, the sonar 23, and the camera 25. In this embodiment, the landmarks do not include moving objects such as other vehicles and people.
[0038] The landmark positioning unit 152 reads out sensor data of the radar 21 and sonar 23, and images captured by the camera 25 from the non-volatile storage unit 130. The landmark positioning unit 152 acquires point cloud data indicating the landmark to be detected based on the read sensor data.
[0039] Next, a method for detecting a parking space as a landmark from a captured image will be described. The landmark positioning unit 152 extracts edges included in the input photographed image by filtering using a filter such as a Sobel filter. Next, the landmark positioning unit 152 extracts pairs of edges, for example, a rising edge that is a change from white to black and a falling edge that is a change from black to white. Then, the landmark positioning unit 152 judges whether or not the interval between the pairs is within a first set range that is set in advance. The first set range is set to a range in which it can be judged that the interval between the pairs is approximately equal to the thickness of the white line that constitutes the parking space. If the interval between the extracted pairs is within the first set range, the landmark positioning unit 152 sets the detected pair as a candidate for the parking space.
[0040] The landmark positioning unit 152 detects multiple parking space candidates by the same process, and detects these parking space candidates as parking spaces when the interval between the parking space candidates is within a second preset range. The second preset range is set to a range that the interval between the white lines constituting the parking space can be.
[0041] Furthermore, the landmark positioning unit 152 detects road paint other than parking spaces by the following process. First, the landmark positioning unit 152 extracts edges from the input photographed image by filter processing using a filter such as a Sobel filter. The landmark positioning unit 152 searches for pixels whose edge strength is greater than a preset value and whose edges are spaced a predetermined distance apart that corresponds to the width of a white line, and extracts the edges contained in the photographed image.
[0042] Next, the landmark positioning unit 152 detects vehicles and people from the captured image by known template matching, and excludes the detected moving objects such as vehicles and people from the edges extracted by the filter process. The landmark positioning unit 152 also reads out internal parameters and external parameters from the ROM 110, and calculates the positional relationship between the object in the captured image and the camera 25 using these read out parameters. Next, the landmark positioning unit 152 tracks the object in the continuously captured captured images to calculate the relative speed difference between the vehicle 1 and the object. Then, if the vehicle speed of the vehicle 1 obtained by the sensor data of the vehicle speed sensor 41 and the steering angle sensor 43 does not match the speed difference with the object, the landmark positioning unit 152 determines that the object is a moving object, and excludes information about the moving object from the measurement result.
[0043] The landmark positioning unit 152 registers, in the point cloud map 135, the point cloud data indicating the detected parking position 1351, the point cloud data indicating the landmarks, and the point cloud data indicating the driving route.
[0044] The point cloud data verification unit 153 verifies whether the point cloud data acquired by the landmark positioning unit 152 is usable as parking lot data, triggered by the vehicle 1 moving into a parking position and activating the handbrake. The point cloud data verification unit 153 verifies whether or not the point cloud data acquired by the landmark positioning unit 152 is data that can be used for estimating the self-position of the vehicle 1 and for generating a movement path for subsequent automatic parking, etc. If the point cloud data cannot be used for estimating the self-position, etc., an attempt to perform automatic parking using the point cloud data will fail, and the purpose of this is to prevent this.
[0045] The point cloud data verification unit 153 verifies the point cloud data based on two verification conditions. The first verification condition is the local validity of the point cloud data, and the second verification condition is the distance that can be traveled using autonomous navigation alone.
[0046] The point cloud data verification unit 153 determines the local validity of the point cloud data from the density and shape of the point cloud in a certain surrounding area at positions at predetermined intervals on the travel path along which the vehicle 1 has traveled in order to acquire the point cloud data. For example, if the density of the point cloud data existing in a certain surrounding area of the vehicle 1 is equal to or greater than a preset threshold value and there is no identical point cloud distribution pattern within the certain surrounding area of the vehicle 1, the point cloud data verification unit 153 determines that the local validity of the point cloud data is satisfied.
[0047] Next, we will explain the second verification condition, the distance that can be traveled using autonomous navigation alone. The point cloud data verification unit 153 divides the travel path traveled by the vehicle 1 into predetermined intervals in order to acquire point cloud data. The point cloud data verification unit 153 calculates the distance that can be traveled by autonomous navigation only for each divided section, and stores the calculated distance in the RAM 120. The point cloud data verification unit 153 refers to the sensor error database 137 and the environment database 139, and determines that even if there is a section where the local feasibility of the point cloud data does not hold, if the amount of error generated by the autonomous navigation in that section is sufficiently small and within the allowable error, the point cloud data verification unit 153 determines that the point cloud map 135 cannot be used as parking lot data. Furthermore, if the travel route includes a section where the local feasibility does not hold and the error in the autonomous navigation is larger than the allowable error, the point cloud data verification unit 153 determines that the point cloud map 135 cannot be used.
[0048] The parking lot data registration unit 154 determines whether the point cloud data that the point cloud data verification unit 153 has determined can be used as parking lot data should be integrated (merged) with parking lot data already registered in the point cloud map 135, or registered as new parking lot data. The parking lot data registration unit 154 calculates the point cloud coincidence rate between the target point cloud data and the point cloud data included in the parking lot data already registered in the point cloud map 135, and determines whether to integrate the target point cloud data into the registered parking lot data or register it as new parking lot data. The parking lot data registration unit 154 integrates the point cloud data into the parking lot data or registers it as new parking lot data according to the determination result.
[0049] [2. Configuration of the overhead image generating unit and linear overhead image] 3 is a block diagram showing the configuration of the overhead image generating unit 155. The overhead image generating unit 155 corresponds to the overhead image generating device of the present invention. The overhead image generating section 155 includes a movement amount calculating section 155A, a linear overhead image generating section 155B, a distance-based rotation angle generating section 155C, and an overhead image reconstructing section 155D.
[0050] The movement amount calculation unit 155A receives sensor data from the vehicle speed sensor 41. The movement amount calculation unit 155A calculates the movement distance traveled by the vehicle 1 based on the input sensor data. When the operation mode of the automatic parking device 100 transitions to the map storage mode 220, a recording coordinate system is set, and recording of sensor data from the external sensor group 20 begins, the movement amount calculation unit 155A calculates the movement distance of the vehicle 1 based on the input sensor data from the vehicle speed sensor 41.
[0051] The straight overhead image generating unit 155B generates the straight overhead image 131 using the image captured by the camera 25 and the movement distance of the vehicle 1 calculated by the movement amount calculating unit 155A. In general, an overhead image is generated by converting an image captured by camera 25 into an overhead viewpoint image, which is a viewpoint looking down on the ground from above vehicle 1, by software-based viewpoint conversion using external parameters read from ROM 110, and then connecting the converted images in chronological order along the travel path of vehicle 1. At this time, linear overhead image generating unit 155B generates linear overhead image 131 by considering only the travel distance of vehicle 1 calculated by travel distance calculating unit 155A, without considering information on the amount of turning indicated by the sensor data of steering angle sensor 43. In other words, linear overhead image 131 is an image obtained by linearly extending overhead image 200.
[0052] Fig. 4 is a diagram showing an example of an overhead image, and Fig. 5 is a diagram showing an example of a linear overhead image 131. The linear overhead image 131 shown in Fig. 5 is a map image generated without considering information on the amount of turning, so that it is possible to reduce data of a useless area 201 caused by turning or the like shown in Fig. 4. Comparing the overhead image 200 and the straight-line overhead image 131, the amount of data for the overhead image 200 may increase dramatically when the vehicle 1 turns, whereas the straight-line overhead image 131 has the characteristic that the amount of data increases proportionally according to the distance traveled by the vehicle 1.
[0053] The distance-based turning angle generating unit 155C corresponds to the moving amount-based turning amount calculating unit of the present invention. The moving distance of the vehicle 1 calculated by the moving amount calculating unit 155A and the sensor data of the steering angle sensor 43 are input to the distance-based turning angle generating unit 155C. The distance-based turning angle generating unit 155C generates the distance-based turning angle information 133 by registering the input moving distance and the turning amount indicated by the sensor data in a table in association with each other. When the automatic parking device 100 transitions to the map storage mode 220, a recording coordinate system is set, and recording of the sensor data of the external sensor group 20 is started, the distance-based turning angle generating unit 155C registers the moving distance of the vehicle 1 in the recording coordinate system and the turning amount for each moving distance in the table in association with each other, and generates the distance-based turning angle information 133.
[0054] The linear overhead image 131 generated by the linear overhead image generating unit 155B and the distance-based turning angle information 133 generated by the distance-based turning angle generating unit 155C are stored in the nonvolatile storage unit 130. By storing the linear overhead image 131 in the nonvolatile storage unit 130 instead of the overhead image 200, the hierarchical structure of a multi-storey parking lot or the like can be represented in a two-dimensional image, and the use of the linear overhead image 131 makes it possible to generate the overhead image 200 even for a multi-storey parking lot.
[0055] In addition, if the sensor data of the vehicle speed sensor 41 or the steering angle sensor 43 contains errors, when the vehicle 1 makes one full rotation and returns to the same place, the image may overlap with another place on the overhead image 200, instead of what should be the same place. Even if the sensor data of the vehicle speed sensor 41 or the steering angle sensor 43 contains errors, the overhead image 200 generated based on the linear overhead image 131 and the distance-based turning angle information 133 will not erroneously overlap, and damage to the overhead image 200 can be reduced.
[0056] Another advantage is that it is possible to easily correct the shape of the overhead image using correction information on the vehicle behavior.
[0057] 6 and 7 are diagrams showing divided linear overhead images 131 stored in non-volatile storage unit 130. FIG. Moreover, the linear overhead image 131 may be divided into a predetermined amount of data or distance as shown in FIG. 6 or FIG. 7 and stored in the non-volatile storage unit 130. In FIG. FIG. 6 shows a case where two divided straight-line overhead images 131A and 131B are stored in different storage areas of the non-volatile storage unit . 7 shows a case where the horizontal axis of the storage area of non-volatile storage unit 130 is the X axis and the vertical axis is the Y axis, and linear overhead image 131A and linear overhead image 131B, which are divided by a preset data amount or distance, are stored with the coordinate value (X1) in the X-axis direction of the storage area aligned. Figure 7 shows13 shows a case where a linear overhead image 131 is folded over at a preset data amount and stored in a storage area of the non-volatile storage unit 130. By dividing the linear overhead image 131 into multiple parts and storing them in the non-volatile memory unit 130, when the overhead image reconstruction unit 155D reads out the linear overhead image 131, it can read out only the necessary parts by referring to them, thereby reducing the processing load on the processor 150. Furthermore, when the linear overhead image 131 is stored in the non-volatile storage unit 130, the linear overhead image 131 may be compressed by a known image compression method.
[0058] The overhead image reconstructing unit 155D reads out the linear overhead image 131 and the distance-based rotation angle information 133 from the non-volatile storage unit 130. The overhead image reconstructing unit 155D may be configured to directly receive the linear overhead image 131 generated by the linear overhead image 131 and the distance-based rotation angle information 133 generated by the distance-based rotation angle generating unit 155C. The overhead image reconstructing section 155D reconstructs the overhead image 200 shown in FIG. 4 using the acquired linear overhead image 131 and the distance-based rotation angle information 133.
[0059] Furthermore, when the overhead image reconstruction unit 155D reads out the distance-based turning angle information 133 from the non-volatile storage unit 130, the overhead image reconstruction unit 155D may correct the read out distance-based turning angle information 133 using sensor data from other sensors or correction information. The sensor data from other sensors and correction information include, for example, a signal received from a sensor installed on the roadside of a road, the latitude and longitude of the vehicle 1 calculated based on a GNSS signal received by the GNSS receiver 31 of the navigation device 30, and an image captured by the camera 25. The overhead image reconstruction unit 155D corrects the distance-based turning angle information 133 using the sensor data from other sensors and correction information, thereby improving the accuracy of the distance-based turning angle information 133 and increasing the accuracy of the overhead image 200 reconstructed by the overhead image reconstruction unit 155D.
[0060] Returning to FIG. 1, the functional blocks of the processor 150 will be further described. The position estimation unit 156 starts operation when the operation mode of the automatic parking device 100 transitions to the position estimation mode 230. When point cloud data in the vicinity of the current position of the vehicle 1 is registered in the point cloud map 135, the position estimation unit 156 estimates the position of the vehicle 1 in the parking lot coordinate system based on the point cloud map 135. The position estimation unit 156 compares the sensor data of the external sensor group 20 with the information of the point cloud map 135 to estimate the current position of the vehicle 1.
[0061] The parking path generation unit 157 generates, by a known method, a parking path from the position of the vehicle 1 calculated by the position estimation unit 156 to the parking position registered in the point cloud map 135. The parking path generation unit 157 outputs the generated parking path to the control information generation unit 158.
[0062] The control information generating unit 158 generates control information for controlling the traveling of the vehicle 1 based on the parking path generated by the parking path generating unit 157. This control information is information for causing the vehicle 1 to travel along the parking path, and includes information for controlling steering, driving, and braking.
[0063] When the point cloud data verification unit 153 determines that the point cloud data can be used as a map, the display control unit 159 causes the display device 80 to display a message saying, "Do you want to store the area around this driving route as a map?" When the user presses the response button 71, the display control unit 159 registers the point cloud data as parking lot data in the point cloud map 135 and ends the map storage mode 220. In addition, when the point cloud data verification unit 153 determines that the point cloud data cannot be used as a map, the display control unit 159 causes the display device 80 to display a message saying, "The map lacks necessary information. If you wish to automatically park here, please drive along the same route again."
[0064] The mode switching unit 160 changes the operation mode of the automatic parking device 100. The operation modes of the automatic parking device 100 include a normal driving mode 210, a map storage mode 220, a position estimation mode 230, an automatic parking mode 240, and a give-up mode 250.
[0065] [3. Operation Mode of Automatic Parking Device 100] FIG. 8 is a diagram showing the operation modes provided in the automatic parking device 100 and the conditions for changing the operation modes. The normal driving mode 210 is a normal driving mode. When the operation mode of the automatic parking device 100 is the normal driving mode, the automatic parking device 100 does not detect point cloud data of a point cloud that constitutes a landmark, nor estimate the position of the vehicle 1 based on the point cloud map 135. When the automatic parking device 100 is in the normal driving mode, it determines whether or not the conditions for transitioning to the map storage mode 220 or the position estimation mode 230 are met.
[0066] The map storage mode 220 is a mode in which, if the point cloud data of the parking position and its vicinity is not registered in the point cloud map 135, the point cloud data of the point cloud constituting the landmark is detected based on the sensor data of the external sensor group 20, and the detected point cloud data is registered in the point cloud map 135. When the operation mode is the map storage mode 220, the automatic parking device 100 detects information on white lines and obstacles painted on the road surface of the parking lot, information on the parking position, driving route, etc., based on the sensor data of the external sensor group 20. The automatic parking device 100 registers the detected information in the point cloud map 135.
[0067] When the automatic parking device 100 transitions to the map storage mode 220, it secures a temporary recording area in the RAM 120. The automatic parking device 100 repeats the following process until the map storage mode 220 ends or transitions to another mode. That is, the automatic parking device 100 detects a point cloud constituting landmarks present around the vehicle 1 based on the sensor data input from the external sensor group 20. The automatic parking device 100 also calculates the amount and direction of movement of the vehicle 1 from the previous image capture by the camera 25 to the current image capture. Then, the automatic parking device 100 excludes point cloud data corresponding to people or moving objects from the detected point cloud data based on the amount and direction of movement of the vehicle 1.
[0068] Furthermore, the automatic parking device 100 registers the latitude and longitude indicating the position of the vehicle 1 input from the navigation device 30 together with the point cloud data in the point cloud map 135. The automatic parking device 100 repeats this process. The coordinates indicated by the point cloud data are recorded as coordinate values of a recording coordinate system. The "recording coordinate system" is treated as coordinate values of a coordinate system in which, for example, the position of the vehicle 1 when recording starts is set as the origin (0, 0), the traveling direction (posture) of the vehicle 1 when recording starts is set as the Y axis, and the rightward direction of the vehicle 1 when recording starts is set as the X axis. Therefore, even if a point cloud is recorded in the same parking lot, the recording coordinate system set according to the position and posture of the vehicle 1 when recording starts is different, so that the point clouds constituting the landmarks are recorded at different coordinates.
[0069] The position estimation mode 230 is a mode for calculating the position of the vehicle 1 in the parking lot coordinate system based on the point cloud map 135 when point cloud data of the vicinity of the current position of the vehicle 1 is registered in the point cloud map 135. The automatic parking device 100 compares the sensor data of the external sensor group 20 with the information of the point cloud map 135 to estimate the current position of the vehicle 1. The automatic parking device 100 detects white lines and obstacles existing around the vehicle 1 based on the sensor data of the external sensor group 20, and compares it with the point cloud map 135 to estimate the current position.
[0070] The automatic parking mode 240 is a mode in which, when the automatic parking button 73 is pressed by the user, a parking route for parking the vehicle 1 in a parking position is generated based on the position of the vehicle 1 calculated by the position estimation mode 230 and the parking position, and the vehicle 1 is moved according to the generated parking route and parked in the parking position. The automatic parking device 100 parks the vehicle 1 in a parking position stored in the point cloud map 135 based on the current position of the vehicle 1 estimated in the position estimation mode 230 and the estimation results of the current position of the vehicle 1 which are continuously performed even in the automatic parking mode 240.
[0071] The give-up mode 250 is a mode used when the automatic parking button 73 is pressed by the user and the position of the vehicle 1 cannot be estimated by the position estimation mode 230. In this case, similar to the normal driving mode 210, point cloud data is not collected, and the position of the vehicle 1 is not estimated as in the position estimation mode 230.
[0072] The mode switching unit 160 compares the latitude and longitude of the parking position with the latitude and longitude indicating the current position of the vehicle 1 input from the navigation device 30, and changes the operation mode. If point cloud data in the vicinity of the point where the vehicle 1 is currently traveling is not registered in the point cloud map 135, the mode switching unit 160 shifts the operation mode to the map storage mode 220. In addition, if point cloud data in the vicinity of the point where the vehicle 1 is currently traveling is registered in the point cloud map 135, the mode switching unit 160 shifts the operation mode to the position estimation mode 230.
[0073] When the operation mode of the automatic parking device 100 is the map storage mode 220, the mode switching unit 160 compares the latitude and longitude of the parking position with the latitude and longitude information indicating the current position of the vehicle 1 acquired from the navigation device 30, and if the vehicle 1 is located outside a certain range centered on the parking position, changes the operation mode to the normal driving mode 210. In addition, if the vehicle 1 enters a section in which point cloud data has been registered in the point cloud map 135 midway, the mode switching unit 160 changes the operation mode to the position estimation mode 230.
[0074] In addition, to determine whether or not the vehicle 1 has entered a section for which point cloud data has been registered in the point cloud map 135, the automatic parking device 100 compares the latitude and longitude indicating the current position of the vehicle 1 with the latitude and longitude of a landmark registered in the point cloud map 135, and if there is a landmark within a preset distance from the latitude and longitude indicating the current position of the vehicle 1, it determines that the vehicle 1 has entered a section for which point cloud data has been registered in the point cloud map 135. In addition, if there is no landmark within a preset distance from the latitude and longitude indicating the current position of the vehicle 1, the automatic parking device 100 determines that the vehicle 1 has not entered a section for which point cloud data has been registered in the point cloud map 135.
[0075] When the operation mode of the automatic parking device 100 is in the position estimation mode 230, the mode switching unit 160 compares the latitude and longitude of the vehicle 1 acquired from the navigation device 30 with the latitude and longitude of the parking position registered in the point cloud map 135, and when the vehicle 1 goes out of a certain range centered on the parking position, changes the operation mode to the normal driving mode 210. In addition, when the vehicle 1 enters an unregistered section of the point cloud map 135 midway, the mode switching unit 160 changes the operation mode to the map storage mode 220. Moreover, the mode switching unit 160 changes the operation mode to the automatic parking mode 240 only when the estimation of the position of the vehicle 1 has been successful in the position estimation mode 230, the vehicle 1 is located within a predetermined range from the parking position, and the user is pressing the automatic parking button 73. That is, with the user's approval, automatic parking is executed to automatically park the vehicle 1 at the parking position. Moreover, when the estimation of the position of the vehicle 1 has failed in the position estimation mode 230, the mode switching unit 160 transitions to the give-up mode 250.
[0076] [4. Operation of Linear Overhead Image Generator 155B] FIG. 9 is a flowchart showing the operation of the linear overhead image generating section 155B. The operation of the linear overhead image generating unit 155B will be described with reference to FIG. First, the linear overhead image generating unit 155B executes an overhead conversion process (step S1). The linear overhead image generating unit 155B acquires images captured by the camera 25 from the RAM 120. The camera 25 captures images of the surroundings of the vehicle 1 at a predetermined capture interval to generate captured images, and outputs the generated captured images to the automatic parking device 100. The automatic parking device 100 stores the input captured images in the RAM 120. The linear overhead image generating unit 155B performs viewpoint conversion calculations in a software manner, and converts the captured images acquired from the RAM 120 into overhead images of a viewpoint looking down on the ground from above the vehicle 1.
[0077] The viewpoint conversion calculation uses external parameters that indicate the installation information of camera 25 stored in ROM 110 and external parameters that indicate the optical information inside camera 25. This overhead view conversion process can be realized by known technology if there is an image captured by camera 25 and the external parameters.
[0078] Next, the linear overhead image generating unit 155B determines the coordinates of a linear map onto which the overhead image calculated in step S1 is projected (step S2). That is, it determines the coordinates of a linear map (hereinafter, referred to as a linear map) to which the coordinates of the overhead image correspond. The linear overhead image 131 generated by the linear overhead image generating unit 155B is an image in which the overhead image is extended linearly while ignoring information related to turning, as shown in FIG. 5. The linear overhead image generating unit 155B calculates the coordinates of the linear map to which the coordinates of the overhead image correspond, using the travel distance of the vehicle 1 calculated by the travel distance calculating unit 155A based on the sensor data of the vehicle speed sensor 41.
[0079] Next, the linear overhead image generating unit 155B projects the color and brightness information of the overhead image generated in step S1 onto the linear map according to the coordinates associated in step S2 to generate a linear overhead image 131 (step S3). Depending on the coordinates of the linear map onto which the color and brightness information of the overhead image is projected, there may be an overlapping portion between the overhead image obtained at the previous time and the overhead image obtained at the current time. However, the linear overhead image generating unit 155B appropriately integrates the overhead image generated at the previous time and the overhead image generated at the current time by a blending process or the like to generate the linear overhead image 131. The linear overhead image generating unit 155B stores the generated linear overhead image 131 in the non-volatile storage unit 130.
[0080] [5. Operation of distance-based turning angle generation unit 155C] FIG. 10 is a flowchart showing the operation of the distance-based turning angle generating unit 155C. The operation of the distance-based turning angle generating unit 155C will be described with reference to the flowchart shown in FIG. The distance-based turning angle generating unit 155C first determines the coordinates of the straight line map to which the coordinates of the overhead image correspond (step S11), similar to the process executed by the linear overhead image generating unit 155B in step S2. The distance-based turning angle generating unit 155C calculates the coordinates of the straight line map to which the coordinates of the overhead image correspond, using the travel distance of the vehicle 1 calculated by the travel distance calculating unit 155A based on the sensor data of the vehicle speed sensor 41.
[0081] Next, the distance-based turning angle generating unit 155C executes a turning angle storage process (step S12). The distance-based turning angle generating unit 155C calculates the difference between the amount of turning indicated by the sensor data of the steering angle sensor 43 measured at the previous time and the amount of turning indicated by the sensor data of the steering angle sensor 43 measured at the current time. The distance-based turning angle generating unit 155C registers the calculated amount of turning in a table in association with coordinates on a linear map according to the coordinates associated in step S2. The coordinates on the linear map correspond to the travel distance of the vehicle 1, and the amount of turning and the travel distance of the vehicle 1 are registered in association with each other in the table.
[0082] [6. Operation of the overhead image reconstruction unit 155D] FIG. 11 is a flowchart showing the operation of the overhead image reconstructing section 155D. The operation of the overhead image reconstructing unit 155D will be described with reference to FIG. First, the overhead image reconstructing unit 155D reads out the linear overhead image 131 from the non-volatile storage unit 130 (step S21), and further reads out the distance-based turning angle information 133 (step S22).
[0083] Next, the overhead image reconstruction unit 155D executes a map coordinate conversion process (step S23) using the read linear overhead image 131 and the distance-based turning angle information 133. The overhead image reconstruction unit 155D calculates the coordinates of the linear overhead image 131 that correspond to the coordinates of the target overhead image 200 using the moving distance and turning amount of the vehicle 1 included in the distance-based turning angle information 133. By calculating the coordinates of the linear overhead image 131 that correspond to the coordinates of the overhead image 200, it is possible to prevent missing pixel values at the coordinates of the overhead image 200. Next, the overhead image reconstructing unit 155D projects the color and brightness information of each coordinate of the linear overhead image 131 according to the coordinate calculated in step S23 onto the corresponding coordinate of the overhead image 200 (step S24). As a result, the overhead image reconstructing unit 155D constructs the overhead image 200 shown in FIG.
[0084] [7. Operation of the automatic parking device in map storage mode] FIG. 12 is a flowchart showing the operation of the automatic parking device 100 when the operation mode is the map storage mode 220. The operation of the automatic parking device 100 when the operation mode is the map storage mode 220 will be described with reference to the flowchart shown in FIG. Each step of the flowchart shown in Fig. 12 is executed by the processor 150 of the automatic parking device 100. In more detail, each step of the flowchart shown in Fig. 12 is a process executed under the control of the data acquisition unit 151, the landmark positioning unit 152, the point cloud data verification unit 153, the parking lot data registration unit 154, and the overhead image generation unit 155 of the processor 150. 。
[0085] First, the automatic parking device 100 judges whether the operation mode has transitioned to the map storage mode 220 (step T1). If the operation mode has transitioned to the map storage mode 220 (step T1 / YES), the automatic parking device 100 proceeds to the processing of step T2, and if the operation mode has not transitioned to the map storage mode 220 (step T1 / NO), the automatic parking device 100 remains at the judgment of step T1.
[0086] When the automatic parking device 100 transitions to the map storage mode 220 (step T1 / YES), it executes an initialization process of the RAM 120 and secures a new storage area in the RAM 120 (step T2). The automatic parking device 100 stores point cloud data detected by landmark positioning, latitude and longitude indicating the current position of the vehicle 1, and the like in the secured storage area of the RAM 120.
[0087] Next, the automatic parking device 100 executes landmark positioning (step T3). Specifically, the automatic parking device 100 detects point cloud data of a point cloud constituting the landmark based on the image captured by the camera 25 and the sensor data of the radar 21 and sonar 23. The coordinates of the point cloud data detected here are coordinates of the recording coordinate system. Next, the automatic parking device 100 links the detected point cloud data to the latitude and longitude input from the navigation device 30 (step T4).
[0088] Next, the automatic parking device 100 obtains the amount of movement of the vehicle 1 from the previous image capture by the camera 25 to the current image capture, and updates the current position of the vehicle 1 in the recording coordinate system (step T5). For example, the automatic parking device 100 estimates the amount of movement of the vehicle 1 from a change in the position of a subject on the road surface in the image captured by the camera 25. Furthermore, if the navigation device 30 is equipped with a high-precision GNSS receiver with small error, the automatic parking device 100 may estimate the amount of movement of the vehicle 1 using the latitude and longitude input from the navigation device 30.
[0089] Next, the automatic parking device 100 stores the point cloud data indicating the positions of the landmarks detected by the landmark positioning in step T3 in the RAM 120 as coordinates of the recording coordinate system (step T6).
[0090] Next, the automatic parking device 100 generates the overhead image 200 by the overhead image generating unit 155 (step T7). More specifically, the overhead image generating unit 155 generates the straight-line overhead image 131 and the distance-based turning angle information 133 based on the image captured by the camera 25 and the sensor data of the vehicle speed sensor 41. Next, the overhead image generating unit 155 generates the overhead image 200 based on the generated straight-line overhead image 131 and the distance-based turning angle information 133.
[0091] After generating the overhead image 200, the automatic parking device 100 displays the generated overhead image 200 on the display device 80 (step T8). When displaying the overhead image 200 on the display device 80, the automatic parking device 100 may superimpose the point cloud data detected by the landmark positioning in step T3 on the overhead image 200. The automatic parking device 100 displays the point cloud data at a position on the overhead image 200 that corresponds to the position of the landmark.
[0092] Next, the automatic parking device 100 judges whether or not a signal notifying that the side brake has been operated has been input from the vehicle control device 50 (step T9). If a signal notifying that the side brake has been operated has not been input from the vehicle control device 50 (step T9 / NO), the automatic parking device 100 returns to step T3 and performs landmark positioning again.
[0093] Furthermore, when a signal notifying that the side brake has been operated is input from the vehicle control device 50 (step T9 / YES), the automatic parking device 100 determines whether or not the operation of the response button 71 has been accepted (step T10). The automatic parking device 100 determines whether or not an operation signal corresponding to the operation of the response button 71 has been input, and determines whether or not the response button 71 has been operated. If the response button 71 is not operated even after a predetermined time has elapsed (step T10 / NO), the automatic parking device 100 returns to the processing of step T3 and performs landmark positioning again.
[0094] Furthermore, when an operation signal corresponding to the operation of the response button 71 is input (step T10 / YES), the automatic parking device 100 judges whether the point cloud data is valid as a map (step T11). The automatic parking device 100 judges whether the above-mentioned two verification conditions are satisfied, and judges whether the point cloud data is valid as a map. The automatic parking device 100 stores the judgment result of the validity of the point cloud data as a map in the RAM 120.
[0095] Next, the automatic parking device 100 acquires latitude and longitude information indicating the current position of the vehicle 1 input from the navigation device 30, and stores the coordinates of the four corners of the vehicle 1 as the parking position, i.e., the current position of the vehicle 1, in the RAM 120 (step T12). The coordinates of the four corners are coordinates of the recording coordinate system.
[0096] Next, the automatic parking device 100 judges whether parking lot data of latitude and longitude approximately matching the latitude and longitude acquired in step T12 is registered in the point cloud map 135 (step T13). If parking lot data of latitude and longitude approximately matching the acquired latitude and longitude is not registered in the point cloud map 135 (step T13 / NO), the automatic parking device 100 registers the point cloud data stored in the RAM 120, the latitude and longitude acquired in step T12, and the coordinates indicating the parking position as new parking lot data in the point cloud map 135 (step T19). Furthermore, the automatic parking device 100 stores the linear overhead image 131 generated in step T7 and the distance-specific turning angle information 133 in the non-volatile storage unit 130 (step T19). In addition, when the automatic parking device 100 divides the linear overhead image 131 and stores it in the non-volatile memory unit 130, it divides the linear overhead image 131 at a predetermined fixed distance or a predetermined amount of data, and stores each of the divided linear overhead images 131 in the non-volatile memory unit 130.
[0097] Furthermore, when parking lot data with latitude and longitude that approximately match the latitude and longitude acquired in step T12 is registered in the point cloud map 135 (step T13 / YES), the automatic parking device 100 converts the recorded coordinate system, which is the coordinate system of the point cloud data stored in RAM 120, into the coordinate system of the point cloud data of the target parking lot data, based on the parking position that is the current position of the vehicle 1. The target parking lot data is parking lot data with latitude and longitude that approximately match the latitude and longitude acquired in step T12. The automatic parking device 100 derives a coordinate conversion equation that converts the coordinates of the recorded coordinate system into the coordinates of the parking lot coordinate system so that the parking position included in the target parking lot data matches the parking position stored in RAM 120 in step T12 (step T14).
[0098] Next, the automatic parking device 100 uses the coordinate transformation equation derived in step T14 to transform the coordinate system of the landmark point cloud data stored in RAM 120 into the parking lot coordinate system, which is the coordinate system of the target parking lot data (step T15).
[0099] Next, the automatic parking device 100 calculates the point cloud matching rate IB between the point cloud data stored in the RAM 120 and the point cloud data of the target parking lot data (step T16). The point cloud matching rate IB is calculated by the following formula (1). IB=2×Din / (D1+D2)...Equation (1)
[0100] In the above formula (1), "Din" is the number of points whose distance between each point of the point cloud data converted in step T15 and each point of the point cloud data of the target parking lot data is within a predetermined distance. Also, in formula (1), "D1" is the number of data of the point cloud data stored in RAM 120, i.e., the number of points, and "D2" is the number of data of the point cloud data of the target parking lot data, i.e., the number of points.
[0101] Next, the automatic parking device 100 judges whether the point cloud matching rate IB obtained in step T16 is greater than a preset threshold value (step T17). If the point cloud matching rate IB is greater than the threshold value (step T17 / YES), the automatic parking device 100 executes a merge process. Specifically, the automatic parking device 100 adds the point cloud data that has been coordinate-converted in step T15 to the target parking lot data.
[0102] Furthermore, if the point cloud matching rate IB is equal to or lower than the threshold value (step T17 / NO), the automatic parking device 100 registers the point cloud data stored in the RAM 120, the latitude and longitude acquired in step T12, and the coordinates indicating the parking position as new parking lot data in the point cloud map 135 (step T19). Furthermore, the automatic parking device 100 stores the linear overhead image 131 generated in step T7 and the distance-specific turning angle information 133 in the non-volatile storage unit 130 (step T19).
[0103] [8. Operation of the automatic parking device in position estimation mode] FIG. 13 is a flowchart showing the operation of the automatic parking device 100 when the operation mode is the position estimation mode 230. The operation of the automatic parking device 100 in the position estimation mode 230 will be described with reference to the flowchart shown in Fig. 13. Each step of the flowchart shown in Fig. 13 is executed by the processor 150 of the automatic parking device 100. More specifically, each step of the flowchart shown in Fig. 13 is a process executed under the control of the position estimation unit 156 of the processor 150.
[0104] When the automatic parking device 100 determines that the vehicle 1 has moved to the vicinity of the registered point and that parking lot data around the registered point has been registered in the point cloud map 135, it transitions to the position estimation mode 230. First, the automatic parking device 100 acquires latitude and longitude information input from the navigation device 30 (step T31). Next, the automatic parking device 100 detects parking lot data included in the point cloud map 135 that has latitude and longitude that approximately match the latitude and longitude of the current position of the vehicle 1 acquired in step T31 and includes point cloud data whose validity as a map is valid (valid) (step T32).
[0105] If the automatic parking device 100 is unable to detect parking lot data (step T32 / NO), it returns to the processing of step T31 and acquires the latitude and longitude information input from the navigation device 30. If the automatic parking device 100 is able to detect parking lot data (step T32 / YES), it executes initialization processing of the RAM 120 (step T33) and initializes the local surrounding information 121 stored in the RAM 120 and the current position of the vehicle 1. If previous information is stored in the RAM 120, the automatic parking device 100 erases this information and sets a new coordinate system. The coordinate system set here is called the local coordinate system.
[0106] Next, the automatic parking device 100 sets a local coordinate system based on the position and attitude (azimuth) of the vehicle 1 when the initialization process is executed (step T34). For example, the automatic parking device 100 sets the position of the vehicle 1 when the RAM 120 is initialized as the origin of the local coordinate system, and sets the X-axis and Y-axis according to the orientation of the vehicle 1 when the initialization process is executed. In addition, the initialization of the current position of the vehicle 1 sets the current position of the vehicle 1 to the origin (0, 0).
[0107] Next, the automatic parking device 100 executes a self-position estimation process (step T35). The self-position estimation process is a process for estimating the position of the vehicle 1 in the parking lot coordinate system. Details of this process will be described with reference to the flowchart of FIG.
[0108] Next, the automatic parking device 100 judges whether or not the self-position has been estimated by the self-position estimation process of step T35 (step T36). If the automatic parking device 100 is unable to estimate its own position (step T36 / NO), it returns to step T35 and executes the self-position estimation process again. If the automatic parking device 100 is able to estimate its own position (step T36 / YES), it displays the overhead image 200 and the self-position estimation result on the map on the display device 80 (step T37).
[0109] Next, the automatic parking device 100 determines whether the self-position estimated by the self-position estimation process in step T35 is within a range of a preset distance (N [m]) from the parking position in the parking lot data detected in step T51 (step T38). N is any natural number. If the estimated self-position is not within the preset distance from the parking position in the parking lot data (step T38 / NO), the automatic parking device 100 returns to the process of step T35.
[0110] Furthermore, if the automatic parking device 100 estimates its own position within a preset distance from the parking position in the parking lot data (step T38 / YES), it displays on the display device 80 that automatic parking is possible (step T39). Then, the automatic parking device 100 determines whether or not it has received a pressing operation of the automatic parking button 73 (step T40). If the automatic parking device 100 has not received a pressing operation of the automatic parking button 73 (step T40 / NO), it returns to the processing of step T39.
[0111] Furthermore, when the automatic parking device 100 receives a pressing operation of the automatic parking button 73 (step T40 / YES), it transitions to the automatic parking mode 240 and executes the automatic parking process (step T41). Details of the automatic parking process will be described with reference to the flowchart shown in FIG.
[0112] FIG. 14 is a flowchart showing the details of the self-position estimation process in step T35. The self-location estimation process will be described in detail with reference to FIG. The processing of steps T351 to T354 shown in Fig. 14 is almost the same as the processing of steps T3 to T6 described in Fig. 12. Therefore, detailed description of steps T351 to T354 will be omitted. However, step T354 differs from step T6 in that when the point cloud data is stored in RAM 120, the point cloud data is stored as local surrounding information 121.
[0113] After storing the point cloud data in the RAM 120 as the local surrounding information 121, the automatic parking device 100 selects the local surrounding information 121 (step T355). The automatic parking device 100 selects point cloud data to be used for the matching process to be executed in the next step T356 from the point cloud data included in the local surrounding information 121. lawThere are cases where matching processing cannot be performed due to an accumulated error in the current position of the vehicle 1 estimated by navigation or the like, and the overall shape differs from the point cloud map 135. By performing a selection process of the local surrounding information 121, a point cloud with a small shape error and within a range where matching is possible is adaptively selected.
[0114] Next, the automatic parking device 100 executes a matching process (step T356). In this matching process, a coordinate conversion formula for converting the coordinates of the local coordinate system into the coordinates of the parking lot coordinate system is obtained based on the correspondence between the parking lot coordinate system and the local coordinate system. The details of the matching process will be described in detail with reference to the flowchart of FIG.
[0115] Next, the automatic parking device 100 calculates coordinates in the parking lot coordinate system indicating its own position (step T357). The automatic parking device 100 converts the coordinates in the local coordinate system indicating the current position of the vehicle 1 into coordinates in the parking lot coordinate system using the coordinates in the local coordinate system indicating the current position of the vehicle 1 included in the local surrounding information 121 updated in step T353 and the coordinate conversion formula obtained in step T355. The automatic parking device 100 sets the converted coordinates in the parking lot coordinate system as its own position.
[0116] Next, the automatic parking apparatus 100 executes a self-diagnosis to determine the reliability of the self-position calculated in step T357 (step T358). The automatic parking apparatus 100 executes the self-diagnosis based on, for example, the following three indexes.
[0117] The first index is the error between the amount of movement of the vehicle 1 estimated by a known dead reckoning technique using the outputs of the vehicle speed sensor 41 and the steering angle sensor 43, and the amount of movement during a predetermined period estimated by self-location estimation. If the difference between the estimated amount of movement of the vehicle 1 and the amount of movement during a predetermined period estimated by self-location estimation is greater than a preset threshold, the automatic parking device 100 determines that the reliability is low.
[0118] The second index is the amount of error between corresponding points calculated during the matching process. If the amount of error is greater than a preset threshold, the automatic parking device 100 determines that the reliability is low.
[0119] The third index is the result of the determination as to whether or not there is a similar solution. The automatic parking device 100 performs the determination as to whether or not there is a similar solution. When searching for a similar solution by, for example, translating the obtained solution by the width of the parking space, if there are a similar number of points with a corresponding point error within a certain range, the reliability is determined to be low. Furthermore, the automatic parking device 100 determines that the self-position has been estimated if the reliability is not determined to be low in all of these three indexes.
[0120] FIG. 15 is a flow chart showing the detailed operation of selecting local surrounding information in step T355 shown in FIG. The selection of local surrounding information will be described in detail with reference to the flowchart shown in FIG. First, the automatic parking device 100 calculates the movement trajectory of the vehicle 1 using the estimated movement amount in step T353 (step T3551). The automatic parking device 100 changes the coordinates indicating the current position of the vehicle 1 based on the estimated movement amount, and calculates the trajectory generated by interpolating between the changed coordinates as the movement trajectory.
[0121] Next, the automatic parking apparatus 100 calculates an effective range (step T3552). The automatic parking apparatus 100 calculates a range of the point cloud data included in the local surrounding information 121 that has small shape error and can be used for the matching process.
[0122] This effective range is determined based on the length and shape of the movement trajectory of the vehicle 1 calculated in step T3551. The point cloud data included in the local surrounding information 121 is more likely to have an estimation error in the amount of movement as the movement distance of the vehicle 1 increases and as the amount of turning of the vehicle 1 increases. Conversely, if there is too little point cloud data, matching processing becomes difficult. For this reason, the automatic parking device 100 acquires point cloud data in a range going back along the trajectory for a minimum distance D [m] that is preset from the current position. After that, the automatic parking device 100 accumulates the amount of change in the angle of the tangent of the movement trajectory, and acquires a point cloud around the movement trajectory up to the point where the angle changes to a preset angle threshold θ [deg] or more. For the movement trajectory, a point cloud in a preset range X [m] × Y [m] centered on the movement trajectory is set as the effective range of the point cloud of the local surrounding information. In other words, the effective range has a shape that follows the obtained movement trajectory.
[0123] Next, the automatic parking device 100 acquires point cloud data of the point cloud within the effective range calculated in step T3552 as point cloud data of the local surrounding information 121 (step T3553).
[0124] FIG. 16 is a flow chart showing the detailed procedure of the matching process in step T356 of FIG. The matching process will be described in detail with reference to the flowchart shown in FIG.
[0125] First, automatic parking device 100 refers to outlier list 123 stored in RAM 120 and temporarily excludes points registered in outlier list 123 from the point cloud included in local surrounding information 121 as targets for processing. The scope of application is steps T3563 to T3573 in the flowchart shown in Fig. 16, and in step T3574, points included in outlier list 123 are also targeted. Furthermore, when the flowchart shown in Fig. 16 is executed for the first time, the processing of steps T3561 to T3564 cannot be executed, so processing starts from step T3570.
[0126] Next, the automatic parking device 100 converts the coordinate system of the point cloud data indicating the coordinates of the points constituting the landmarks detected by the landmark positioning in step T351 into coordinates of the parking lot coordinate system (step T3562). The automatic parking device 100 converts the coordinates of the point cloud data of the points constituting the landmarks into coordinates of the parking lot coordinate system using the coordinate conversion formula calculated the previous time the matching process was executed.
[0127] Next, the automatic parking device 100 calculates the instantaneous match degree IC (step T3563). The instantaneous match degree IC is calculated by the following Equation 2. IC = DIin / DIall Equation (2)
[0128] In the above formula (2), "DIin" is the number of points among the point cloud data converted into the parking lot coordinate system in step T3562, whose distance to a point registered as parking lot data in the point cloud map 135 is equal to or less than a preset threshold. Also, in formula (2), "DIall" is the number of point clouds detected by the landmark positioning in step T351.
[0129] Next, the automatic parking apparatus 100 compares the instantaneous coincidence score IC calculated in step T3563 with a threshold value (step T3564). If the instantaneous coincidence score IC is equal to or less than the threshold value (step T3564 / NO), the automatic parking apparatus 100 detects point cloud data having periodic features from the point cloud data included in the parking lot data (step T3565). For example, the automatic parking apparatus 100 detects point cloud data corresponding to parking spaces. Since parking spaces are painted on the road surface with a predetermined thickness, an interval corresponding to the thickness of the white line is detected as a periodic feature.
[0130] Next, the automatic parking apparatus 100 determines whether or not point cloud data having periodic characteristics has been detected (step T3566). If the automatic parking apparatus 100 has not detected point cloud data having periodic characteristics (step T3566 / NO), it proceeds to processing of step T3570. If the automatic parking apparatus 100 has detected point cloud data having periodic characteristics (step T3566 / YES), it detects the period of the detected point cloud data (step T3567). Specifically, the automatic parking apparatus 100 calculates the width of the parking space.
[0131] Next, the automatic parking device 100 calculates the overall degree of agreement IW by changing the coordinate transformation formula in multiple ways based on the coordinate transformation formula calculated the previous time the matching process of step T356 was executed (step T3568). The coordinate transformation formula is changed in multiple ways so that the position of the point cloud data is shifted by an integer multiple of the period detected in step T3567. The overall degree of agreement IW is calculated by the following formula 3. IW = DWin / DWall Equation (3)
[0132] In the above formula (3), "DWin" is the number of points whose distance to a point registered as parking lot data in the point cloud map 135 is equal to or less than a preset threshold value among the point cloud data converted into coordinates of the parking lot coordinate system using the coordinate conversion formula in step T3562. Also, in formula (3), "DWall" is the number of points detected in the landmark positioning in step T351.
[0133] Next, the automatic parking device 100 stores in the RAM 120 the coordinate transformation formula that gives the maximum overall match degree IW among the overall match degrees IW calculated in step T3568 (step T3569).
[0134] If the determination in step T3564 is a positive determination (step T3564 / YES), if the determination in step T3566 is a negative determination (step T3566 / NO), or if the processing of step T3569 is completed, the automatic parking apparatus 100 performs correspondence of the point cloud data (step T3570). The automatic parking apparatus 100 performs correspondence of the point cloud data of the parking lot data registered in the point cloud map 135 with the point cloud data of the local surrounding information 121.
[0135] When the automatic parking device 100 performs matching of point cloud data in step T3570 following the judgment in step T3564 or the processing of step T3569, the point cloud data of the local surrounding information 121 uses values that have been coordinate-transformed using a coordinate transformation formula recorded in RAM 120. If a positive judgment is made in step T3564 and the processing of step T3570 is then performed, the automatic parking device 100 uses values transformed by using the coordinate transformation equation calculated the last time the matching processing of step T356 was performed. On the other hand, when matching of point cloud data is performed in step T3570 following the processing in step T3566, The automatic parking device 100 includes: In step T3569, the coordinate conversion equation stored in the RAM 120 is used to convert the coordinates.
[0136] Next, the automatic parking apparatus 100 changes the coordinate transformation formula so that the error of the corresponding points is minimized (step T3571). For example, the automatic parking apparatus 100 changes the coordinate transformation formula so that the sum of the distance index between the points associated in step T3570 is minimized. The sum of the absolute distance values can be used as the sum of the distance index between the points associated.
[0137] Next, the automatic parking apparatus 100 judges whether the error has converged (step T3572). If the error has not converged (step T3572 / NO), the automatic parking apparatus 100 returns to the processing of step T3570. If the error has converged (step T3572 / YES), the automatic parking apparatus 100 stores the coordinate transformation formula changed by the processing of step T3571 in the RAM 120 (step T3573).
[0138] Next, the automatic parking apparatus 100 updates the outlier list 123 (step T3574). First, the automatic parking apparatus 100 clears the existing outlier list 123 stored in the RAM 120. Next, the automatic parking apparatus 100 converts the coordinates of the point cloud data of the local surrounding information 121 into coordinates of the parking lot coordinate system using the coordinate conversion formula stored in step T3573. Next, the automatic parking apparatus 100 calculates the distance between a point constituting the point cloud data of the local surrounding information 121 and a point of the point cloud data included in the parking lot data to which this point corresponds, that is, the Euclidean distance. The automatic parking apparatus 100 performs this process for all points constituting the point cloud data of the local surrounding information 121.
[0139] Next, if the calculated distance is longer than a preset distance, the automatic parking device 100 adds the point of the local surrounding information 121 to the outlier list 123. However, at this time, a further condition for adding the point to the outlier list 123 may be that the point is located at a spatial edge. A spatial edge is a point that is far from other points, such as a point acquired when recording starts. The outlier list 123 is updated by the above process.
[0140] The above-mentioned matching process in step T3570, the process of minimizing the error in step T3571, and the process of determining whether the error has converged in step T3572 can utilize the ICP (Iterative Closest Point) algorithm, which is a known point cloud matching technique.
[0141] [9. Operation of the automatic parking device in automatic parking mode] Fig. 17 is a flowchart showing the operation of the automatic parking mode 240 in step T41 shown in Fig. 13. The operation of the automatic parking device 100 in the automatic parking mode 240 will be described with reference to the flowchart shown in Fig. 17. The automatic parking device 100 changes the operation mode from the position estimation mode 230 to the automatic parking mode 240 only when the automatic parking device 100 has succeeded in estimating the self-position of the vehicle 1, the estimated position of the vehicle 1 is within a predetermined range from the parking position, and the automatic parking button 73 is pressed by the user. In other words, the automatic parking mode 240 is implemented with the user's approval.
[0142] First, the automatic parking device 100 executes a self-position estimation process (step T411). The automatic parking device 100 estimates the coordinates in the parking lot coordinate system indicating the position of the vehicle 1. The details of step T411 are the same as those of step T35, and have already been explained in detail in the flowchart shown in FIG. 14, so an explanation thereof will be omitted.
[0143] Next, the automatic parking device 100 generates a parking route from the position estimated in step T411 to the parking position registered in the point cloud map 135 by a known route generation method (step T412).
[0144] Next, automatic parking device 100 displays overhead image 200, the position of vehicle 1 estimated in step T411, and the driving route generated in step T412 on display device 80 (step T413). The position of vehicle 1 is updated at regular intervals, and the movement of vehicle 1 on overhead image 200 is displayed.
[0145] Next, the automatic parking device 100 generates control information corresponding to the parking path generated in step T412, and outputs the generated control information to the vehicle control device 50. The vehicle control device 50 controls the steering device 51, the drive device 53, and the brake device 55 according to the control information input from the automatic parking device 100 (step T414). As a result, the vehicle 1 moves to the parking position along the parking path. During this time, the vehicle control device 50 continues to control the steering device 51, the drive device 53, and the brake device 55 only while the automatic parking button 73 is pressed. In addition, when the automatic parking device 100 detects a person or another vehicle from an image captured by the camera 25, etc., it operates the brake device 55 to stop the vehicle 1 from traveling.
[0146] Next, the automatic parking device 100 estimates the position of the vehicle 1 in the same manner as in step T411 (step T415), and determines whether the vehicle 1 has arrived at the parking position (step T416). If the vehicle 1 has not arrived at the parking position (step T416 / NO), the automatic parking device 100 returns to the process of step T414. If the vehicle 1 has arrived at the parking position (step T416 / YES), the automatic parking device 100 ends this process.
[0147] [10. Explanation of specific examples] FIG. 18 is a plan view showing an example of a parking lot 900. A parking lot 900 shown in FIG. 18 is installed adjacent to a building 800. A passageway 903 is provided in the parking lot 900. This passageway 903 is composed of a passageway 903A arranged along the left side surface 801 of the building 800 as viewed in the drawing, and a passageway 903B arranged along the upper surface 803 of the building 800 as viewed in the drawing. Parking positions 905 of the parking lot 900 are arranged along these passageways 903A and 907b, on both sides of the passageways 903A and 907b. In addition, an entrance / exit 901 for the parking lot 900 is provided at the end of the passageway 903A opposite to the end connected to the passageway 903B. The triangular shape shown in Fig. 18 represents a vehicle 1. The vehicle 1 is outside the parking lot 900, and the vehicle 1 is facing in the direction of entering the parking lot 900. Among the multiple parking positions 905, the parking position 905 shown by hatching indicates the target parking position 907. Note that in Fig. 18, the parking frames that define the parking position 905 and landmarks other than the building 800 are omitted from the illustration.
[0148] When the automatic parking device 100 transitions to the map storage mode 220 near the entrance / exit 901 of the parking lot 900, it starts landmark positioning. The automatic parking device 100 stores in the RAM 120 point cloud data indicating a point cloud corresponding to the parking space of the parking position 905 detected by the landmark positioning. When the operation mode is the map storage mode 220, the automatic parking device 100 repeats the above-mentioned process until the parking brake is applied and the response button 71 is pressed.
[0149] Fig. 19 is a diagram showing point cloud data 915A. In particular, Fig. 19 is a diagram showing point cloud data 915A obtained as a result of landmark positioning in the parking lot 900 shown in Fig. 18, aligned with the parking position 905 in the parking lot 900 shown in Fig. 18. The solid-line rectangular shape in FIG. 19 visualizes the point cloud data 915A detected by the landmark positioning. Also, in FIG. 19, the dashed-line rectangular shape indicates the point cloud data 915B that could not be detected by the landmark positioning. The radar 21, sonar 23, and camera 25 mounted on the vehicle 1 have a limited sensing range. Therefore, when the position of the vehicle 1 is near the entrance / exit 901 of the parking lot 900, only the point cloud data 915A indicating the parking frames that define the parking positions 905 near the entrance / exit 901 of the parking lot 900 is detected. When the vehicle 1 enters the parking lot 900 and travels along the passage 903, the point cloud data 915A corresponding to the entire parking positions 905 of the parking lot 900 can be detected.
[0150] FIG. 20 is a diagram showing the point cloud data 915A. 20A is data that has already been registered as parking lot data in the point cloud map 135. The point cloud data 915A shown in Fig. 20A is data obtained when the vehicle 1 travels on the right side of the road 903 and reaches the parking position 907. 20(B) shows point cloud data 915A newly obtained when the vehicle 1 travels through the parking lot 900. The point cloud data 915A shown in Fig. 20(B) is data obtained when the vehicle 1 travels on the left side of the road 903 and reaches the parking position 907. 20(A) shows that the vehicle 1 traveled on the right side of the passage 903, and therefore point cloud data indicating the parking position 905 provided on the left side of the passage 903 cannot be acquired. Also, in the point cloud data shown in FIG. 20(B) shows that the vehicle 1 traveled on the left side of the passage 903, and therefore point cloud data indicating the parking position 905 provided on the right side of the passage 903 cannot be acquired.
[0151] 20(B) is tilted compared to the point cloud data 915A shown in Fig. 20(A) because the attitude of the vehicle 1 was not directly facing the parking lot 900 when the mode was switched to the map storage mode 220. The attitude (azimuth) of the vehicle 1 not directly facing the parking lot 900 refers to a state in which the vehicle length direction of the vehicle 1 is not approximately parallel to the road 903A.
[0152] 18, the parking brake is applied, and the response button 71 is pressed, the automatic parking device 100 acquires the latitude and longitude indicating the current position of the vehicle 1 from the navigation device 30. In addition, the automatic parking device 100 stores the coordinates of the four corners of the vehicle 1 in the recording coordinate system in the RAM 120.
[0153] The automatic parking device 100 judges whether or not the latitude and longitude that approximately match the latitude and longitude of the current position acquired from the navigation device 30 are registered as parking lot data in the point cloud map 135. If the latitude and longitude that approximately match the latitude and longitude acquired from the navigation device 30 are not registered in the point cloud map 135, the automatic parking device 100 registers the point cloud data stored in the RAM 120 in the point cloud map 135 as new parking lot data.
[0154] In addition, when the latitude and longitude that approximately match the latitude and longitude of the current location are registered as parking lot data in the point cloud map 135, the automatic parking device 100 performs coordinate conversion based on the parking space that defines the parking position 905, and calculates the point cloud match rate IB. When the point cloud coincidence rate IB is greater than a preset threshold value, the automatic parking device 100 integrates the point cloud data 915A shown in Fig. 20(B) with the point cloud data 915A shown in Fig. 20(A). Through this integration, the point cloud data 915A indicating the parking position 905 on the left side of the passage 903A, which is not included in the point cloud data 915A shown in Fig. 20(A), is registered as parking lot data. In addition, the point cloud data 915A indicating the parking position 905 on the right side of the passage 903A, which has already been registered as parking lot data, has an increased number of data registered as the point cloud data 915A, and the density of the point cloud data 915A increases.
[0155] Next, the matching process executed in the position estimation mode 230 will be specifically described. FIG. 21 is a diagram showing a travel path 910 in a parking lot 900 and local surrounding information 121 obtained by the vehicle 1 traveling in the parking lot 900. It is assumed that point cloud data 915A of all parking positions 905 provided in a parking lot 900 shown in FIG. 21 is data stored in the RAM 120 as the local surrounding information 121. More specifically, the point cloud data 915A is data detected from images captured by the camera 25 before the vehicle 1 reaches the position of the vehicle 1 shown in FIG. 21, and is data obtained by converting the coordinate system from the local coordinate system to the parking lot coordinate system.
[0156] 21 shows a travel trajectory 910 of the vehicle 1. When the vehicle 1 advances from the passage 903A shown in FIG. 18 to the passage 903B, the vehicle 1 turns right, causing a turning error due to the right turn. As a result, the shape of the point cloud data 915A registered as the local surrounding information 121 changes, and even if the parking lot data registered in the point cloud map 135 is matched with the point cloud data 915A of the local surrounding information 121 as it is, they do not match.
[0157] A traveling trajectory 910 shown in FIG. 21 includes a valid trajectory 912 and a trajectory 911 other than the valid trajectory 912. The valid trajectory 912 is a trajectory from a point where the vehicle 1 starts turning right to the position of the vehicle 1 shown in FIG. 21. Correct matching can be performed by using point cloud data 915A that falls within a predetermined range with the valid trajectory 912 as the center for matching. FIG. 22 shows a matching result when point cloud data 915A that falls within a predetermined range with the valid trajectory 912 as the center is used for matching processing. The point cloud data 915A shown by the dashed line in FIG. 22 matches the parking frame that defines the parking position 905 shown by the solid line.
[0158] FIG. 23(A) shows the current position of the vehicle 1, and FIG. 23(B) shows point cloud data 915A detected at the current position. More specifically, Fig. 23(B) shows a visualized state in which point cloud data 915A detected from an image captured by camera 25 when vehicle 1 is located at the position shown in Fig. 23(A) is converted into parking lot coordinates. For comparison, vehicle 1 is also shown in Fig. 23. As shown in Fig. 23, on the left side of vehicle 1, point cloud data 915A indicating parking position 905 exists without interruption, and on the right side of vehicle 1, point cloud data 915A indicating parking position 905 exists only on the near side.
[0159] FIG. 24 is a diagram showing a matching result between the point cloud data 925 registered as parking lot data in the point cloud map 135 and the point cloud data 915A stored in the RAM 120 as the local surrounding information 121. As shown in FIG. 24, an error is included in either the point cloud data 925 registered as parking lot data in the point cloud map 135 or the local surrounding information 121, and point cloud data 915A of the local surrounding information 121 present on the right side of the vehicle 1 is shifted from the point cloud data 925. When the instantaneous degree of match IC is calculated in this state, the instantaneous degree of match IC becomes a low value due to the shift of the point cloud data 915A on the right side of the vehicle 1. If the automatic parking device 100 determines that the instantaneous coincidence IC is smaller than the threshold value, it calculates the width of the parking space using the point cloud data 925 registered as parking lot data in the point cloud map 135, and moves the point cloud data 915A of the local surrounding information 121 by an integer multiple of the calculated width of the parking space to calculate the overall coincidence IW.
[0160] FIG. 25 is a diagram showing the relationship between the point cloud data 915A stored in the RAM 120 as the local surrounding information 121 and the point cloud data 925 when the point cloud data 915A is moved by an integral multiple of the width of the parking space. FIG. 25A is a diagram showing the positional relationship between point cloud data 915A and point cloud data 925 before point cloud data 915A is moved. FIG. 25B is a diagram showing the positional relationship between the point cloud data 915A and the point cloud data 925 when the point cloud data 915A is moved upward as viewed in the drawing by +1 times the width of the parking space. FIG. 25C is a diagram showing the positional relationship between the point cloud data 915A and the point cloud data 925 when the point cloud data 915A is moved downward as viewed in the drawing by −1 times the width of the parking space.
[0161] The point cloud data 915A shown in FIG. 25(B) has been moved upward by one parking space width, and the deviation between the point cloud data 915A and the point cloud data 925 has increased. For this reason, the overall agreement IW in FIG. 25(B) is greater than before the point cloud data 915A shown in FIG. 25(A) was moved. Get bigger . The point cloud data 915A shown in Fig. 25(C) has been moved upward by one parking space width, and the point cloud data 915A approximately matches the point cloud data 925. For this reason, the overall degree of match IW in Fig. 25(C) is smaller than that before the point cloud data 915A shown in Fig. 25(A) was moved. In this way, the amount of movement of the point cloud data 915A is determined based on the overall degree of coincidence IW, and the coordinate transformation formula corresponding to the determined amount of movement is stored in the RAM 120. This makes it possible to improve the estimation accuracy of the self-position.
[0162] As described above, the automatic parking device 100 of this embodiment includes a movement amount calculation unit 155A, a straight-line overhead image generation unit 155B, a distance-based turning angle generation unit 155C, an overhead image reconstruction unit 155D, and a non-volatile memory unit 130. The movement amount calculation unit 155A calculates the movement distance of the vehicle 1 using the sensor data of the vehicle speed sensor 41. The linear overhead image generating unit 155B generates an overhead image 200 by converting the viewpoint of the captured image into an overhead viewpoint using an image captured by the camera 25 capturing an image of the surroundings of the vehicle, and generates a linear overhead image 131 by converting the shape of the generated overhead image into a linear shape. The distance-specific turning angle generation unit 155C calculates distance-specific turning angle information 133 indicating the turning angle of the vehicle 1 for each specified travel distance using the amount of turning of the vehicle 1 indicated by the sensor data of the steering angle sensor 43 and the travel distance calculated by the travel amount calculation unit 155A. The non-volatile storage unit 130 stores a linear overhead image 131 and distance-based turning angle information 133. The overhead image reconstructing section 155D reconstructs the overhead image 200 using the linear overhead image 131 and the distance-based rotation angle information 133. In this manner, the automatic parking device 100 of this embodiment stores in the non-volatile storage unit 130 the linear overhead image 131 obtained by converting the shape of the overhead image into a linear shape, and the distance-based turning angle information 133 indicating the turning angle of the vehicle 1 for each travel distance, and when generating the overhead image 200, generates the overhead image 200 based on the linear overhead image 131 and the distance-based turning angle information 133. This makes it possible to reduce the amount of data for the overhead image 200. Since the amount of data of the linear overhead image 131 is smaller than that of the overhead image 200, the amount of data stored in the non-volatile memory unit 130 can be significantly reduced compared to the case where the overhead image 200 is stored in the non-volatile memory unit 130. Furthermore, by storing the linear overhead image 131 in the non-volatile memory unit 130, even a parking lot with a hierarchical structure, such as a multi-story parking lot, can be represented in a two-dimensional image, and by using the linear overhead image 131, it is possible to generate an overhead image 200 even for a multi-story parking lot. Furthermore, if the sensor data contains an error, when the vehicle makes a full circle and returns to the same place, the image on the overhead image 200 may overlap with another place due to the error, even if the sensor data contains an error, and therefore the overhead image 200 will not be erroneously overlapped, and damage to the overhead image 200 can be reduced.
[0163] FIG. 26 is a system configuration diagram of an overhead image generating system 300. As shown in FIG. The overhead image generating system 300 includes an in-vehicle device 10 mounted on a vehicle 1 and a server device 350 connected via a network 310. The in-vehicle device 10 includes an automatic parking device 100. When the automatic parking device 100 transitions to the map storage mode 220, it generates parking lot data in accordance with the procedure shown in the flowchart of Fig. 12, and uploads the generated parking lot data and identification information of the automatic parking device 100 to the server device 350 via the communication device 60.
[0164] The server device 350 includes a storage device that stores the point cloud map 135 in which the parking lot data received from the automatic parking device 100 is registered. The server device 350 stores the point cloud map 135 in the storage device in association with the identification information of the automatic parking device 100. When the server device 350 receives the parking lot data from the automatic parking device 100, it searches the point cloud map 135 corresponding to the received identification information, and registers the parking lot data in the searched point cloud map 135.
[0165] When the automatic parking device 100 transitions to the position estimation mode 230, it transmits the latitude and longitude obtained from the navigation device 30 and the identification information of the automatic parking device 100 to the server device 350 via the communication device 60. The server device 350 refers to the point cloud map 135 corresponding to the received identification information, and acquires parking lot data of latitude and longitude that approximately matches the received latitude and longitude. The server device 350 downloads the acquired parking lot data to the corresponding automatic parking device 100. When the automatic parking device 100 receives the parking lot data from the server device 350, it estimates the position of the vehicle 1 according to the procedure shown in FIG. 13 and performs automatic parking.
[0166] The above-described embodiment is merely an example of one aspect of the present invention, and any modification and application can be made without departing from the gist of the present invention. For example, the above-described embodiment can be modified as follows. (1) The storage device that stores the sensor error database 137 and the environmental database 139 may be an auxiliary storage device such as a hard disk drive, or may be stored in a server device or the like external to the in-vehicle device 10. (2) The automatic parking device 100 does not need to receive sensing results from the vehicle speed sensor 41 and the steering angle sensor 43. In this case, the automatic parking device 100 estimates the movement of the vehicle 1 using images captured by the camera 25. The automatic parking device 100 calculates the positional relationship between the subject and the camera 25 using internal parameters and external parameters stored in the ROM 110. Then, the automatic parking device 100 estimates the amount and direction of movement of the vehicle 1 by tracking the subject in multiple captured images.
[0167] (2) The point cloud map 135 and the local surrounding information 121 may be stored as three-dimensional information in the non-volatile storage unit 130. The three-dimensional point cloud information may be projected onto a two-dimensional plane to be compared with other point clouds in two dimensions, or may be compared with other three-dimensional information. In this case, the automatic parking device 100 can obtain a three-dimensional point cloud of a stationary three-dimensional object by using the amount of movement of the vehicle 1 calculated based on the sensor data input from the vehicle speed sensor 41 and the steering angle sensor 43, and multiple captured images input from the camera 25, using a known motion stereo technology, or information obtained by correcting the motion estimation portion thereof using an internal sensor or a positioning sensor.
[0168] (3) The automatic parking device 100 may proceed to step T3565 if a negative judgment is made several times in succession in step T3564 in FIG. 16, rather than proceeding to step T3565 if a negative judgment is made only once.
[0169] (5) Instead of the determination in step T3564 in Fig. 16, the automatic parking apparatus 100 may determine whether the proportion of points determined to be outliers among the point cloud data included in the local surrounding information 121 is greater than a predetermined threshold. If the proportion of points determined to be outliers is greater than the threshold, the automatic parking apparatus 100 proceeds to step T3565, and if the proportion of points determined to be outliers is equal to or less than the threshold, the automatic parking apparatus 100 proceeds to step T3570. Furthermore, in addition to the determination in step T3564 in Fig. 16, if the proportion of points determined to be outliers is greater than the threshold, the automatic parking apparatus 100 may proceed to step ST3565.
[0170] (6) The automatic parking device 100 may perform in advance the processes of steps T3565 and T3567 in Fig. 16. Furthermore, the results of the processes may be stored in the RAM 120 or the non-volatile storage unit 130.
[0171] (7) The automatic parking device 100 may receive operation commands from the user not only from the input device 70 provided inside the vehicle 1, but also from the communication device 60. For example, the communication device 60 may communicate with a mobile terminal carried by the user, and the user may operate the mobile terminal, causing the automatic parking device 100 to perform the same operation as when the automatic parking button 73 is pressed. In this case, the automatic parking device 100 can perform automatic parking not only when the user is inside the vehicle 1, but also after the user has exited the vehicle.
[0172] (8) The automatic parking device 100 may park the vehicle at a position specified by the user, not just at a parking position registered in the point cloud map 135. The user may specify a parking position by, for example, having the automatic parking device 100 display candidate parking positions on the display device 80 and having the user select one of the candidates using the input device 70.
[0173] (9) The automatic parking device 100 may receive the point cloud map 135 from outside via the communication device 60, or may transmit the created point cloud map 135 to outside via the communication device 60. In addition, the automatic parking device 100 may transmit and receive the point cloud map 135 to another automatic parking device 100 mounted on another vehicle, or may be a device managed by an organization that manages parking lots.
[0174] (10) The in-vehicle device 10 may include a portable terminal instead of the navigation device 30, and may record the identification information of the base station with which the portable terminal communicates instead of the latitude and longitude. This is because the communication range of a base station is limited to about several hundred meters, and therefore, if the communication is performed with the same base station, there is a high possibility that the parking lot is the same.
[0175] (11) The periodic features included in parking lot data are not limited to parking spaces. For example, multiple straight lines that make up a crosswalk, which is a type of road paint, are also periodic features. In addition, if parking lot data is composed of information on obstacles such as walls acquired by a laser radar or the like, regularly-spaced pillars are also periodic features.
[0176] (12) In the above embodiment, other vehicles and people, which are moving bodies, are not included in the landmarks, but moving bodies may be included in the landmarks. In that case, landmarks that are moving bodies and landmarks other than moving bodies may be stored in a distinguishable manner.
[0177] (13) In the map storage mode 220, the automatic parking device 100 may identify the detected landmarks and record the identification results of each landmark together with the point cloud map 135. For identifying the landmarks, shape information and color information of the landmark obtained from the captured image, and further, three-dimensional shape information of the landmark obtained by a known motion stereo technique are used. The landmarks are identified as, for example, parking spaces, road paint other than parking spaces, curbs, guard rails, walls, and the like. Furthermore, the automatic parking device 100 may include other vehicles and people, which are moving bodies, in the landmarks and record the identification results together with the point cloud map 135 in the same way as other landmarks. In this case, the other vehicles and people may be identified and recorded together as a "moving body", or the other vehicles and people may be identified and recorded individually.
[0178] In addition, the processing units in the flowcharts shown in Figures 9 to 17 are divided according to the main processing content in order to make it easier to understand the processing of the automatic parking device 100, and the present invention is not limited by the manner in which the processing units are divided or their names. In addition, the processing of the automatic parking device 100 can be divided into more processing units depending on the processing content, or one processing unit can be divided so as to include more processes. In addition, the processing order of the above flowchart is not limited to the example shown in the figure.
[0179] In addition, when the information processing method of the present invention is realized by a computer, the program executed by the computer can be configured in the form of a recording medium or a transmission medium for transmitting the program. The recording medium can be a magnetic or optical recording medium or a semiconductor memory device. Specifically, the recording medium can be a flexible disk, a hard disk drive (HDD), a compact disk read only memory (CD-ROM), a DVD, a Blu-ray (registered trademark) disc, or a magneto-optical disk. In addition, the recording medium can be a portable or fixed recording medium such as a flash memory or a card-type recording medium. In addition, the recording medium can be a non-volatile storage device such as a RAM, a ROM, or a HDD, which is an internal storage device provided in the display device. [Explanation of symbols]
[0180] 1 vehicle 5. Communication Bus 10 Onboard equipment 20 External sensors 21 Radar 23. Sonar 25 Camera 30 Navigation devices 31 GNSS receiver 33 Storage section 35 Road Map 40 Vehicle Sensor Group 41 Vehicle speed sensor 43 Steering Angle Sensor 50 Vehicle control device 51 Steering Gear 53 Drive unit 55 Braking device 60 Communication Equipment 70 Input Device 71 Reply button 73 Automatic parking button 100 Automatic parking system 101 Interface 110 ROM 120 RAM 121 Local Area Information 123 Outlier 130 Non-volatile memory unit 131 Linear overhead image 133 Turning angle information by distance 135 Point Cloud Map 137 Sensor Error Database 139 Environmental Database 150 processors 151 Data Acquisition Section 152 Landmark Positioning Unit 153 Point Cloud Data Verification Department 154 Parking Lot Data Registration Section 155 Bird's-eye view image generation unit 155A Travel amount calculation section 155B Linear overhead image generation unit 155C Distance-based turning angle generation unit 155D Bird's-eye view image reconstruction unit 156 Position estimation part 157 Parking route generation unit 158 Control Information Generation Unit 160 Mode switching section 200 aerial images 201 areas 210 Normal driving mode 220 Map storage mode 230 Position Estimation Mode 240 Automatic Parking Mode 250 Give Up Mode 800 Buildings 801 Left side 803 Top surface 900 Parking 901 Entrance / Exit 903, 903A, 903B traffic route 905 Parking Area 907 Parking Position 910 Driving Track 912 Effective Trajectory 915A, 915B point cloud data 925 point cloud data 1351 Parking Location 1352 Landmark 1353 Travel route
Claims
1. a data acquisition unit that acquires sensor data from a sensor mounted on the vehicle; a movement amount calculation unit that calculates a movement distance of the vehicle using the sensor data acquired by the data acquisition unit; a linear overhead image generating unit that converts a viewpoint of the captured image into an overhead viewpoint by using captured images of the surroundings of the vehicle included in the sensor data acquired by the data acquiring unit, and generates an overhead image by connecting the converted captured images in time series along a travel trajectory of the vehicle, and generates a linear overhead image by converting a shape of the generated overhead image into a linear shape by considering only the moving distance of the vehicle calculated by the moving amount calculating unit, without considering information on a turning amount indicated by sensor data of a steering angle sensor of the vehicle; a movement amount-based turning amount calculation unit that calculates a turning amount of the vehicle for each predetermined moving distance of the vehicle by using the sensor data indicating the turning amount of the vehicle acquired by the data acquisition unit and the moving distance of the vehicle calculated by the moving amount calculation unit; A storage unit that stores the linear overhead image generated by the linear overhead image generation unit and information indicating the amount of turning for each of the predetermined movement distances calculated by the amount-of-turning-by-movement-amount calculation unit; an overhead image reconstructing unit that reconstructs the overhead image using the linear overhead image and the amount of rotation for each of the predetermined movement distances.
2. 2. The overhead image generating device according to claim 1, wherein the linear overhead image generating unit determines linear coordinates on a map to which each coordinate of the overhead image corresponds, taking into consideration only the moving distance of the vehicle calculated by the moving amount calculating unit, without taking into consideration information on the amount of turning indicated by sensor data of a steering angle sensor of the vehicle, and projects pixel values of the corresponding coordinates of the overhead image onto the determined linear coordinates on the map to generate the linear overhead image.
3. 3. The overhead image generating device according to claim 1, wherein the storage unit stores the linear overhead image by dividing it into a predetermined data amount or distance.
4. The overhead image generating device according to claim 3, characterized in that the overhead image reconstructing unit reads out a portion of the linear overhead image and information indicating the amount of rotation for each of the specified moving distances from the memory unit, and reconstructs the overhead image based on the read linear overhead image and the amount of rotation for each of the specified moving distances.
5. An overhead image generating system including an overhead image generating device that generates an overhead image and a server device. The overhead image generating device comprises: a data acquisition unit that acquires sensor data from a sensor mounted on the vehicle; a movement amount calculation unit that calculates a movement distance of the vehicle using the sensor data acquired by the data acquisition unit; a linear overhead image generating unit that converts a viewpoint of the captured image into an overhead viewpoint by using captured images of the surroundings of the vehicle included in the sensor data acquired by the data acquiring unit, and generates an overhead image by connecting the converted images in time series along a travel trajectory of the vehicle, and generates a linear overhead image by converting a shape of the generated overhead image into a linear shape by considering only the moving distance of the vehicle calculated by the moving amount calculating unit, without considering information on a turning amount indicated by sensor data of a steering angle sensor of the vehicle; a movement amount-based turning amount calculation unit that calculates a turning amount of the vehicle for each predetermined moving distance of the vehicle by using the sensor data indicating the turning amount of the vehicle acquired by the data acquisition unit and the moving distance of the vehicle calculated by the moving amount calculation unit; a communication unit that transmits to the server device the linear overhead image generated by the linear overhead image generation unit and information indicating the amount of turning for each of the predetermined moving distances calculated by the amount-of-turning-by-movement-amount calculation unit; the server device stores the linear overhead image received from the overhead image generating device and information indicating a turning amount for each predetermined moving distance; The overhead image generating system is characterized by the above.
6. The overhead image generating system of claim 5, characterized in that the communication unit of the overhead image generating device includes an overhead image reconstructing unit that reconstructs the overhead image based on the linear overhead image received from the server device and information on the amount of rotation for each specified travel distance.
7. An automatic parking device comprising the overhead image generating device according to claim 1, the storage unit stores point cloud data indicating coordinates in a first coordinate system of a point cloud representing a part of an object existing around the vehicle in association with positioning data indicating latitude and longitude; a landmark positioning unit that generates local surroundings information including a position of the vehicle in a second coordinate system and a plurality of coordinates in the second coordinate system of a point cloud that represents a part of an object, based on the sensor data acquired by the data acquisition unit and the movement distance calculated by the movement amount calculation unit; and a position estimation unit that estimates a relationship between the first coordinate system and the second coordinate system based on the point cloud data and the local surrounding information, and estimates a position of the vehicle in the first coordinate system; a display control unit that causes a display device to display the overhead image reconstructed by the overhead image reconstruction unit of the overhead image generating device, with the position of the vehicle estimated by the position estimation unit superimposed on the overhead image; an automatic parking unit that drives the vehicle based on the point cloud data and the position of the vehicle estimated by the position estimation unit, and moves the vehicle to a preset parking position in the first coordinate system; Equipped with the first coordinate system is a two-dimensional coordinate system based on a position of the vehicle when the data acquisition unit starts acquiring the sensor data; An automatic parking device characterized in that the second coordinate system is a two-dimensional coordinate system based on the position of the vehicle when the landmark positioning unit started generating the local surrounding information.
Citation Information
Patent Citations
Drive assisting method and drive assisting device
JP2007269060A
Parking support method and parking support apparatus
JP2008132882A
Overhead image generation device, map data generation system, and method and program for generating overhead image for overhead image generation device
JP2012018170A
Parking position detection system, and automatic parking system using the same
JP2017147629A
On-board processing device
JP2018112506A
