Parking support device, parking support method and parking support program

The parking assistance system uses odometry and pixel brightness-based homography to estimate vehicle position and orientation in low-light conditions, addressing the computational challenges of existing technologies and enabling automatic parking.

JP2024135335APending Publication Date: 2024-10-04KK TOYOTA CHUO KENKYUSHO +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023045962
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing parking assistance devices struggle to accurately estimate the position and orientation of a vehicle relative to a parking space in environments with poor lighting conditions, such as outdoor parking lots at night, due to the difficulty in detecting feature points and relying on methods like semantic segmentation that require significant computational resources.

Method used

A parking assistance system that utilizes odometry information to identify the road surface area in images captured by an on-vehicle camera, calculates a homography matrix based on pixel brightness values, and decomposes this matrix to estimate the vehicle's position and orientation relative to the parking space, reducing computational requirements.

Benefits of technology

Enables accurate estimation of vehicle position and orientation in poor lighting conditions with reduced computational load, allowing for automatic parking in environments where traditional methods fail.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135335000001_ABST
    Figure 2024135335000001_ABST
Patent Text Reader

Abstract

To estimate a position and attitude of a vehicle relative to a parking space with a smaller calculation amount in comparison to methods such as semantic segmentation in an environment with a poor lighting condition.SOLUTION: A parking support device 10 includes: an odometry information acquisition unit 30 which acquires odometry information indicating a position change amount and an attitude change amount of a vehicle between the parking space and the first position; a road surface area specification unit 32 which specifies a road surface area of the parking space in the first image taken from the first position on the basis of the odometry information; and a position and attitude estimation unit 34 which calculates relative position attitude information indicating the position change amount and attitude change amount of the vehicle between the first position and the second position by comparing the road surface area in the second image taken from the second position with the road surface area in the first image, and outputs position and attitude estimation information indicating the position and attitude of the vehicle relative to the parking space when the vehicle is located at the second position on the basis of the odometry information and the relative position attitude information.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a parking assistance device, a parking assistance method, and a parking assistance program. [Background technology]

[0002] For example, the following technology is known as a parking assistance device that provides assistance when parking a vehicle. That is, the parking assistance device described in Patent Document 1 includes a camera attached to the vehicle to capture an image of the surroundings of the vehicle, and a control means that acquires information about the parking lot based on an image of the parking lot where the vehicle is to be parked captured by the camera, registers the information as parking lot information, and automatically parks the vehicle in the parking lot using the parking lot information.

[0003] The control means is configured to acquire and register parking lot information when the vehicle is stopped near the entrance of the parking lot, and to acquire and register parking lot information when parking of the vehicle in the parking lot is completed. The control means is also configured to register information regarding feature points in an image of the parking lot captured by the camera as parking lot information. This parking assistance device is said to be able to accurately grasp the positional relationship between the vehicle and the parking lot when the vehicle is automatically driven to park in the parking lot. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-062718 Summary of the Invention [Problem to be solved by the invention]

[0005] In the parking assistance device described in Patent Document 1, in an environment with good lighting conditions, feature points (e.g., corners of objects or patterns) are detected from an image, and the feature points are associated between images using the brightness patterns around the feature points, making it possible to estimate the position and orientation of the vehicle relative to the parking space. However, in an environment with poor lighting conditions, such as an outdoor parking lot at night, there are many mismatches of feature points, making it difficult to accurately estimate the position and orientation of the vehicle.

[0006] If the area in the image where the plane is reflected can be identified, the position and orientation of the vehicle can be estimated. There are methods such as semantic segmentation to identify the area where the plane is reflected, but these methods require a large amount of calculation.

[0007] The technology disclosed herein has been made in consideration of the above-mentioned circumstances, and aims to provide a parking assistance device, a parking assistance method, and a parking assistance program that can estimate the position and orientation of a vehicle relative to a parking space in an environment with poor lighting conditions with less calculation effort than methods such as semantic segmentation. [Means for solving the problem]

[0008] A first aspect of the technology disclosed herein is a parking assistance device including: an odometry information acquisition unit that acquires odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area identification unit that identifies a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; and a position and attitude estimation unit that calculates relative position and attitude information indicating a position change amount and an attitude change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the on-board camera from a second position different from the first position outside the parking space with the road surface area in the first image, and outputs position and attitude estimation information indicating a position and attitude of the vehicle with respect to the parking space when the vehicle is located at the second position based on the odometry information and the relative position and attitude information.

[0009] A second aspect of the technology disclosed herein is a parking assistance device according to the first aspect, wherein the position and attitude estimation unit calculates a homography matrix between the first image and the second image based on the luminance values ​​of pixels included in the road surface area in the first image and the luminance values ​​of pixels included in the road surface area in the second image, and calculates the relative position and attitude information by decomposing the homography matrix.

[0010] A third aspect of the technology of the present disclosure is a parking assistance device according to the first or second aspect, which includes a parking control unit that controls the vehicle to be parked in the parking space from the second position based on the position and attitude estimation information.

[0011] A fourth aspect of the technique disclosed herein is a parking assistance method including: an odometry information acquisition step of acquiring odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area identification step of identifying a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; and a position and attitude estimation step of calculating relative position and attitude information indicating a position change amount and an attitude change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the on-board camera from a second position different from the first position outside the parking space with the road surface area in the first image, and outputting position and attitude estimation information indicating a position and attitude of the vehicle with respect to the parking space when the vehicle is located at the second position based on the odometry information and the relative position and attitude information.

[0012] A fifth aspect of the technique disclosed herein is a parking assistance program for causing a computer to execute the following steps: an odometry information acquisition step of acquiring odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area identification step of identifying a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; and a position and attitude estimation step of calculating relative position and attitude information indicating a position change amount and an attitude change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the on-board camera from a second position different from the first position outside the parking space with the road surface area in the first image, and outputting position and attitude estimation information indicating the position and attitude of the vehicle with respect to the parking space when the vehicle is located at the second position based on the odometry information and the relative position and attitude information. Effect of the Invention

[0013] According to the technology disclosed herein, the position and orientation of a vehicle relative to a parking space can be estimated in environments with poor lighting conditions with less calculation effort than methods such as semantic segmentation. [Brief description of the drawings]

[0014] [Figure 1] 1 is a block diagram showing an example of a configuration of a parking assistance system according to an embodiment. [Diagram 2] 1 is a block diagram showing an example of a functional configuration of a parking assistance device according to an embodiment. [Diagram 3] 1 is a plan view showing an example of a positional relationship between a parking space and a first position outside the parking space. FIG. [Figure 4] 4 is a diagram showing an example of a first image captured by an in-vehicle camera from a first position. FIG. [Diagram 5] 2 is a plan view showing the positional relationship between the camera coordinate system of each vehicle-mounted camera and the vehicle coordinate system. FIG. [Figure 6] 4 is a diagram showing an example of the positional relationship between an image coordinate system and each end point of a road surface area in a first image. FIG. [Figure 7] 4 is a plan view showing an example of the positional relationship between a parking space, a first position, and a second position. FIG. [Figure 8] 13 is a diagram showing an example of a second image captured by the vehicle-mounted camera from a second position. FIG. [Figure 9] 5 is a flowchart showing an example of a flow of a parking assistance process according to the embodiment. [Figure 10] 10 is a flowchart showing an example of the flow of a homography matrix optimal value calculation process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an example of a mode for implementing the technology of the present disclosure will be described in detail with reference to the drawings. Note that components and processes that perform the same operation, action, and function may be given the same reference numerals throughout all the drawings, and duplicated descriptions may be omitted as appropriate. Each drawing is merely shown in a schematic manner to allow a sufficient understanding of the technology of the present disclosure. Therefore, the technology of the present disclosure is not limited to only the illustrated examples. In addition, in this embodiment, descriptions of configurations that are not directly related to the technology of the present disclosure or well-known configurations may be omitted.

[0016] 1 is a block diagram showing an example of the configuration of a parking assistance system 100 according to this embodiment. The parking assistance system 100 according to this embodiment is mounted on a vehicle 40. The vehicle 40 may be any vehicle, such as a passenger car. The parking assistance system 100 is a system that provides assistance when parking the vehicle 40, and includes a parking assistance device 10, a wheel speed sensor 20, a steering angle sensor 21, and an on-board camera 22.

[0017] The on-board camera 22 is installed on the vehicle 40 and captures the surroundings of the vehicle 40. The on-board camera 22 may be installed in a state in which it can capture an image of the road surface, and the installation location on the vehicle 40 is not particularly limited. For example, a monocular camera is applied to the on-board camera 22, but the present invention is not limited thereto, and a stereo camera or the like may also be used.

[0018] The vehicle-mounted camera 22 is disposed, for example, such that the optical axis of the vehicle-mounted camera 22 faces slightly downward from the horizontal direction. The vehicle-mounted camera 22 is communicably connected to the parking assistance device 10, and transmits captured images to the parking assistance device 10. The vehicle 40 may be equipped with one vehicle-mounted camera 22 or multiple vehicle-mounted cameras 22. An example in which multiple vehicle-mounted cameras 22 (for example, four vehicle-mounted cameras 22 installed on the front, rear, left and right sides of the vehicle body) are equipped on the vehicle 40 will be described below.

[0019] The wheel speed sensor 20 measures the wheel speed of the wheels provided on the vehicle 40. The wheel speed sensor 20 transmits data of the measured wheel speed to the parking assistance device 10. An encoder provided on the wheel may be used as the wheel speed sensor 20. In addition, if the vehicle 40 is a vehicle equipped with a drive motor such as a hybrid vehicle, an encoder provided on the drive motor may be used as the wheel speed sensor 20.

[0020] The steering angle sensor 21 measures the steering angle of the vehicle 40. The steering angle sensor 21 transmits data of the measured steering angle to the parking assistance device 10.

[0021] The parking assistance device 10 may be realized by a part of an ECU (Electronic Control Unit), which is a vehicle control computer, or may be realized by an on-board computer separate from the ECU.

[0022] The parking assistance device 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an input / output interface (I / O) 14, a memory unit 15, and an external interface (external I / F) 16.

[0023] The CPU 11, the ROM 12, the RAM 13, and the I / O 14 are connected to each other via a bus. The I / O 14 is connected to various functional units including a storage unit 15 and an external I / F 16. These functional units are capable of communicating with the CPU 11 via the I / O 14.

[0024] A control unit is configured with the CPU 11, the ROM 12, the RAM 13, and the I / O 14. The control unit may be configured as a sub-control unit that controls part of the operation of the parking assistance device 10, or may be configured as a part of a main control unit that controls the overall operation of the parking assistance device 10.

[0025] For example, integrated circuits such as LSI (Large Scale Integration) or IC (Integrated Circuit) chip sets may be used for some or all of the blocks of the control unit. Also, individual circuits may be used for the above blocks, or a circuit in which some or all of the blocks are integrated may be used. Also, the above blocks may be provided integrally, or some of the blocks may be provided separately. Also, a part of each of the above blocks may be provided separately. The integration of the control unit is not limited to LSI, and a dedicated circuit or a general-purpose processor may be used.

[0026] For example, a hard disk drive (HDD), a solid state drive (SSD), or a flash memory is used as the storage unit 15. A parking assistance program 15A according to the present embodiment is stored in the storage unit 15. The parking assistance program 15A may be stored in the ROM 12.

[0027] The parking assistance program 15A may be pre-installed in the parking assistance device 10, for example. The parking assistance program 15A may be stored in a non-volatile storage medium or distributed via a network and appropriately installed in the parking assistance device 10 to be realized. Examples of non-volatile storage media include a CD-ROM (Compact Disc Read Only Memory), a magneto-optical disk, a HDD, a DVD-ROM (Digital Versatile Disc Read Only Memory), a flash memory, and a memory card.

[0028] The external I / F 16 is an interface for connecting to each of a wheel speed sensor 20, a steering angle sensor 21, and an in-vehicle camera 22 so as to be able to communicate with each other.

[0029] The CPU 11 of the parking assistance device 10 according to this embodiment writes the parking assistance program 15A stored in the storage unit 15 into the RAM 13 and executes it, thereby functioning as each unit shown in FIG.

[0030] 2 is a block diagram showing an example of a functional configuration of the parking assistance device 10 according to this embodiment. The CPU 11 of the parking assistance device 10 according to this embodiment functions as an odometry information acquisition unit 30, a road surface area identification unit 32, a position and attitude estimation unit 34, and a parking control unit 36.

[0031] FIG. 3 is a plan view showing an example of the positional relationship between the parking space P0 and the first position P1. The first position P1 is a position outside the parking space P0, and is an arbitrary position. As an example, the first position P1 is a position near the exit of the parking space P0. The first position P1 may be a position when the vehicle 40 enters the parking space P0, or may be a position when the vehicle 40 leaves the parking space P0. In addition, the vehicle 40 may be driven manually by a driver or automatically by an automatic driving system.

[0032] The odometry information acquisition unit 30 acquires measurement values ​​measured by the wheel speed sensor 20 and the steering angle sensor 21 when the vehicle 40 moves between the parking space P0 and the first position P1, and acquires odometry information by calculating the odometry information based on the acquired measurement values.

[0033] The measurement values ​​of the wheel speed sensor 20 and the steering angle sensor 21 are an example of driving history information of the vehicle 40 obtained when the vehicle 40 moves between the parking space P0 and the first position P1. The odometry information is information that indicates the amount of change in position and the amount of change in attitude of the vehicle 40 between the parking space P0 and the first position P1.

[0034] The odometry information is calculated based on the parking space coordinate system (X p -Y p When the origin of the coordinate system is set, the position of the rear wheel center (x ν0 ,y ν0 ) and yaw angle θ ν0 where X p The Y axis is a coordinate axis extending in the front-rear direction of the vehicle 40 parked in the parking space P0, and pThe axis is a coordinate axis extending in the width direction of the vehicle 40 parked in the parking space P0. Hereinafter, the odometry information will be referred to as the odometry information (x ν0 ,y ν0 ,θ ν0 ) is sometimes referred to as

[0035] Odometry information (x ν0 ,y ν0 ,θ ν0 The calculation formula for (X p -Y p The position of the rear wheel center relative to the origin of the coordinate system is expressed as the vehicle position (x ν ,y ν )

[0036] Here, the sampling period is T [s], and various state quantities at the k-th sampling are represented by ·(k). Below, as an example, a case of leaving a parking lot will be described. At k=0, it is assumed that the vehicle 40 is parked in the parking space P0.

[0037] The wheel speed ω measured by the wheel speed sensor 20 t (k) [rad / s] gives the radius R of the wheel (tire). t Using this, the vehicle speed V(k) [m / s] is calculated using the following formula:

number

[0038] Steering wheel angle θ measured by the steering angle sensor 21 h (k) [rad] gives the steering gear ratio G s Using the above, the front wheel steering angle θ f (k) [rad] is calculated using the following formula:

number

[0039] Vehicle speed V(k) and front wheel steering angle θ f (k) Wheelbase L wb [m], yaw rate ω ν(k) [rad / s] is calculated using the following formula.

number

[0040] Yaw rate ω ν From (k), the yaw angle θ ν (k) [rad] is calculated using the following formula. ν (0)=0.

number

[0041] Vehicle speed V(k) and yaw angle θ ν From (k), the vehicle position (x ν (k),y ν (k)) is calculated by the following formula. Note that x ν (0)=0,y ν (0)=0.

number

[0042] When the vehicle 40 is located at the first position P1, the odometry information (x ν (k), y ν (k),θ ν (k)) is (x ν0 ,y ν0 ,θ ν0 )

[0043] 4 is a diagram showing an example of a first image 51 captured by the vehicle-mounted camera 22 from the first position P1. The road surface area identification unit 32 acquires the first image 51 captured by the vehicle-mounted camera 22 from the first position P1, and identifies the road surface area A of the parking space P0 in the acquired first image 51 based on odometry information (x ν0 ,y ν0 ,θ ν0 ) to identify the

[0044] Here, the road surface area A of the parking space P0 in the real space is treated as a rectangle determined by the overall length and width of the vehicle 40. The first image 51 may be an image captured by any of the multiple vehicle-mounted cameras 22 mounted on the vehicle 40 (i.e., four vehicle-mounted cameras 22 installed on the front, rear, left and right sides of the vehicle body).

[0045] FIG. 5 shows the camera coordinate system (X c -Z c coordinate system) and vehicle coordinate system (X ν -Y ν FIG. 1 is a plan view showing the positional relationship with the vehicle coordinate system (X ν -Y ν In the following description, the camera coordinate system (X c -Z c coordinate system), vehicle coordinate system (X ν -Y ν The relative position and orientation of the vehicle with respect to the vehicle coordinate system (X ν -Y ν coordinate system) relative to the camera coordinate system (X c -Z c coordinate system) and the odometry information (x ν0 ,y ν0 ,θ ν0 ) can be used to identify the road surface area A of the parking space P0 in the first image 51. In this way, by identifying the road surface area A in the first image 51 based on the odometry information without using a method that requires a large amount of calculations such as semantic segmentation, it is possible to reduce calculation resources and lower costs.

[0046] The calculation formula for the road surface area A in the first image 51 will be described below. Here, the total length of the vehicle 40 is L ν [m], total width W ν [m], the distance from the center of the rear wheel axle to the rear end of the vehicle is L r The parking lot coordinate system (X p -Y pIf the four end points of the road surface area A in the coordinate system are P1, P2, P3, and P4, the positions of the end points P1, P2, P3, and P4 are expressed by the following vector p 1_p , p 2_p , p 3_p , p 4_p It is expressed as follows, where T stands for transposition.

number

[0047] Vehicle coordinate system (X ν -Y ν The positions of the end points Pi (i = 1, 2, 3, 4) in the coordinate system are expressed as vector p i_ν Then, the vector p i_ν is calculated by the following formula:

number

[0048] FIG. 6 is a diagram showing an example of the positional relationship between the image coordinate system (u-ν coordinate system) in the first image 51 and each of the end points P1, P2, P3, and P4 of the road surface area A. The origin of the image coordinate system (u-ν coordinate system) is set to one of the multiple end points of the first image 51 (as an example, the upper left end point). The u coordinate axis is a coordinate axis extending in the horizontal direction of the first image 51, and the ν coordinate axis is a coordinate axis extending in the vertical direction of the first image 51. The positions of each of the end points P1, P2, P3, and P4 of the road surface area A in the first image 51 are expressed as (U p1 ,ν p1 ), (U p2 ,ν p2 ), (U p3 ,ν p3 ), (U p4 ,ν p4 )

[0049] P i_ν =[x i_ν ,y i_ν ,0] T From the above, each end point P in the image coordinate system (u-ν coordinate system) shown in Figure 6 i (i=1, 2, 3, 4) position (u pi ,ν pi) is the internal parameter matrix K of the vehicle-mounted camera 22 and the external parameter matrix T ext Here, f is the focal length of the vehicle-mounted camera 22, and (c x ,c y ) is the center coordinate of the first image 51, and T 11 ~T 34 are the external parameter matrices, all of which are known.

number

[0050] FIG. 7 is a plan view showing an example of the positional relationship between the parking space P0, the first position P1, and the second position P2. The second position P2 is, for example, a parking start position when the vehicle 40 is automatically parked in the parking space P0. The second position P2 is a position different from the first position P1 outside the parking space P0, and is an arbitrary position. As an example, the second position P2 is a position on the opposite side of the parking space P0 with respect to the first position P1. In other words, the first position P1 corresponds to a midway position between the second position P2 and the parking space P0.

[0051] 8 is a diagram showing an example of a second image 52 captured by the vehicle-mounted camera 22 from the second position P2. When the vehicle 40 is automatically parked from the second position P2 into the parking space P0, the position and attitude estimation unit 34 acquires the second image 52 captured by the vehicle-mounted camera 22 from the second position P2. The second image 52 may be an image captured by any of the multiple vehicle-mounted cameras 22 mounted on the vehicle 40 (i.e., four vehicle-mounted cameras 22 installed on the front, rear, left and right sides of the vehicle body). The second image 52 may also be an image captured by an vehicle-mounted camera 22 different from the vehicle-mounted camera 22 that captured the first image 51.

[0052] Next, the position and orientation estimation unit 34 calculates relative position and orientation information indicating the amount of change in position and the amount of change in orientation of the vehicle 40 between the first position P1 and the second position P2 by comparing the road surface area A in the second image 52 with the road surface area A in the first image 51. The relative position and orientation information is calculated based on the vehicle coordinate system (X ν -Y ν coordinate system) relative to the origin (x νd ,y νd ,θ νd In the following, the relative position and orientation information is expressed as the relative position and orientation information (x νd ,y νd ,θ νd ) is sometimes referred to as

[0053] Specifically, the position and orientation estimation unit 34 estimates the relative position and orientation information (x νd ,y νd ,θ νd ) is calculated as follows. First, the position and orientation estimation unit 34 calculates a homography matrix between the first image 51 and the second image 52 based on the luminance values ​​of pixels included in the road surface area A in the first image 51 and the luminance values ​​of pixels included in the road surface area A in the second image 52. For example, the homography matrix between the first image 51 and the second image 52 is obtained by searching for an area where the deviation between the luminance values ​​of pixels included in the road surface area A in the first image 51 and the luminance values ​​of pixels included in the road surface area A in the second image 52 is minimum. Note that homography refers to projecting one plane onto another plane using a projective transformation.

[0054] Next, the position and orientation estimation unit 34 decomposes the homography matrix to obtain relative position and orientation information (x νd ,y νd ,θ νd) is calculated. In this case, the position and orientation estimation unit 34 determines the relative position and relative orientation of the vehicle-mounted camera 22 between the first position P1 and the second position P2 by decomposing the homography matrix. Next, the position and orientation estimation unit 34 converts the relative position and relative orientation of the vehicle-mounted camera 22 between the first position P1 and the second position P2 into the relative position and relative orientation of the vehicle 40 using the relative position and relative orientation of the camera coordinate system with respect to the vehicle coordinate system, thereby deriving relative position and orientation information (x νd ,y νd ,θ νd ) is required.

[0055] Then, the position and orientation estimation unit 34 calculates the odometry information (x ν0 ,y ν0 ,θ ν0 ) and relative position and orientation information (x νd ,y νd ,θ νd ), position and attitude estimation information (x ν1 ,y ν1 ,θ ν1 ) is estimated and output. In this way, the relative position and orientation information (x νd ,y νd ,θ νd ), the brightness values ​​of the pixels contained in the road surface area A in the first image 51 and the second image 52 are used, so that the position and attitude of the vehicle 40 relative to the parking space P0 can be estimated even in an environment where the lighting conditions of the parking space P0 are poor.

[0056] Position and orientation estimation information (x ν1 ,y ν1 ,θ ν1 The calculation formula for the homography matrix G0 between the first image 51 and the second image 52 is explained below. First, the initial value G0 of the homography matrix between the first image 51 and the second image 52 is set to a unit matrix of 3 rows and 3 columns. opt The optimal value of the homography matrix G opt The calculation procedure for obtaining the optimal value G of the homography matrix will be described later with reference to FIG. opt is decomposed as follows:

number

[0057] Here, K is the internal parameter matrix of the on-board camera 22, and R est is the camera coordinate system (X c -Z c is a rotation matrix (estimated value) that represents the amount of change in the attitude of the vehicle-mounted camera 22 relative to the coordinate system, and t est is a translation vector (estimated value) representing the amount of change in position of the vehicle-mounted camera 22 relative to the camera coordinate system, and n est is the road surface normal vector (estimated value) with respect to the camera coordinate system, and h is the installation height of the vehicle-mounted camera 22 from the road surface (preliminary measured value).

[0058] In addition, the optimal value of the homography matrix G opt The decomposition method is disclosed in the following document. E. Malis, et al., “Deeper understanding of the homography decomposition for vision-based control,” Research Report, RR-6303, INRIA, 2007.

[0059] Next, the vehicle coordinate system (X ν -Y ν A rotation matrix R representing the amount of change in the attitude of the vehicle 40 relative to the coordinate system νd and a translation vector t representing the amount of change in position of the vehicle 40. νd is calculated by the following formula:

number

[0060] The vehicle coordinate system (X ν -Y ν The relative position and orientation information of the second position P2 expressed in the (x νd ,y νd ,θ νd ), the translation vector t νdThe first row and first column of νd and the translation vector t νd The second row and first column of νd Also, θ νd is calculated by the following formula, where R 12 is R νd is the first row and second column of R 22 is R νd is the second row, second column component of .

number

[0061] And the odometry information (x ν0 ,y ν0 ,θ ν0 ) and relative position and orientation information (x νd ,y νd ,θ νd ), the parking space P0 coordinate system (X p -Y p The position and orientation estimation information (x ν1 ,y ν1 ,θ ν1 ) is calculated using the following formula:

number

[0062] The parking control unit 36 ​​calculates the position and attitude estimation information (x ν1 ,y ν1 ,θ ν1 ) to control the vehicle 40 to be parked in the parking space P0 from the second position P2. In this case, even in an environment with poor lighting conditions, the position and attitude of the vehicle 40 relative to the parking space P0 can be estimated, so that the vehicle 40 can be automatically parked in the parking space P0 from the second position P2.

[0063] Next, the operation of the parking assistance device 10 according to this embodiment will be described.

[0064] FIG. 9 is a flowchart showing an example of the flow of the parking assistance process by the parking assistance program 15A according to this embodiment.

[0065] First, when the parking assistance device 10 receives an instruction to start the parking assistance process, the parking assistance program 15A is started by the CPU 11, and the following steps are executed.

[0066] In step S101, the CPU 11 acquires measurement values ​​measured by the wheel speed sensor 20 and the steering angle sensor 21 when the vehicle 40 moves between the parking space P0 and the first position P1, and calculates odometry information (x ν0 ,y ν0 ,θ ν0 ) is calculated to obtain the odometry information (x ν0 ,y ν0 ,θ ν0 Step S101 is an example of an odometry information acquiring step according to the technique of the present disclosure.

[0067] In step S102, the CPU 11 acquires a first image 51 captured from a first position P1 by the in-vehicle camera 22, and maps the road surface area A of the parking space P0 in the acquired first image 51 based on odometry information (x ν0 ,y ν0 ,θ ν0 ) Step S102 is an example of a road surface area specifying step according to the technique of the present disclosure.

[0068] In step S103, when the CPU 11 automatically parks the vehicle 40 from the second position P2 into the parking space P0, the CPU 11 acquires a second image 52 captured by the in-vehicle camera 22 from the second position P2. Next, the position and orientation estimation unit 34 compares the road surface area A in the second image 52 with the road surface area A in the first image 51 to obtain relative position and orientation information (x νd ,y νd ,θ νd ) is calculated.

[0069] Specifically, first, the position and orientation estimation unit 34 calculates a homography matrix between the first image 51 and the second image 52 based on the luminance values ​​of pixels included in the road surface area A in the first image 51 and the luminance values ​​of pixels included in the road surface area A in the second image 52. Next, the position and orientation estimation unit 34 decomposes the homography matrix to obtain relative position and orientation information (x νd ,y νd ,θ νd ) is calculated.

[0070] Then, the position and orientation estimation unit 34 calculates the odometry information (x ν0 ,y ν0 ,θ ν0 ) and relative position and orientation information (x νd ,y νd ,θ νd ), position and attitude estimation information (x ν1 ,y ν1 ,θ ν1 ) is estimated and output. Step S103 is an example of a position and orientation estimation step according to the technique of the present disclosure.

[0071] In step S104, the CPU 11 calculates the position and orientation estimation information (x ν1 ,y ν1 ,θ ν1 ) to control the vehicle 40 to park from the second position P2 into the parking space P0. Step S104 is an example of a parking control step according to the technique of the present disclosure.

[0072] The above-described method explained as the operation of the parking assistance device 10 according to the present embodiment is an example of a parking assistance method according to the technique of the present disclosure.

[0073] Next, the optimal value of the homography matrix G opt The calculation procedure for obtaining the above will be described.

[0074] Fig. 10 is a flowchart showing an example of the flow of homography matrix optimum value calculation processing according to this embodiment. Here, the number i (i = 1, 2 to n) is assigned to all pixels (the number of pixels is n) in the road surface area A defined by the end points P1, P2, P3, and P4 in the first image 51 shown in Fig. 6. Although not shown in particular, the number i (i = 1, 2 to n) is assigned to all pixels in the road surface area A defined by the end points P1, P2, P3, and P4 in the second image 52, similarly to the first image 51.

[0075] In step S40, the CPU 11 reads the image I * (synonymous with the first image 51), a tracking area (synonymous with the road surface area A in the first image 51) is specified, and a brightness gradient matrix J I* and the Jacobian matrix J W , J G And calculate.

[0076] Specifically, the brightness gradient matrix J I* Here is the image I * It is calculated from the brightness (value of 0 to 255) of each pixel in the tracking area using the following formula.

[0077]

number

[0078] However, J I*i (i=1, 2 to n) is expressed by the following formula: I*ui denotes the horizontal luminance gradient of the i-th pixel, and J I*vi indicates the vertical luminance gradient of the i-th pixel.

number

[0079] Jacobian matrix J W Here is the image I * The coordinates of each pixel in the tracking area are calculated using the following formula:

[0080]

number

[0081] The coordinates of each pixel in the tracking area are expressed by the following equation.

[0082]

number

[0083] At this time, J Wi is expressed by the following equation.

number

[0084] Jacobian matrix J G is a basis A of the Lie algebra i (i=1~8) is calculated using the following formula.

number

[0085] Here, [A i ] v is a 9-by-1 vector that is permuted row by row, as shown in the following formula:

number

[0086] In step S42, the CPU 11 substitutes an initial value G0 (a unit matrix) for the estimated value G^ (^ is directly above G, the same applies below) of the homography matrix, and performs iteration count n ite Assign 1 to .

[0087] In step S44, the CPU 11 calculates the luminance gradient matrix J of the tracking region in the image I (synonymous with the second image 52). I Calculate.

[0088] Specifically, the CPU 11 calculates the coordinates in the image I according to the following formula.

number

[0089] Here, the coordinate pi in the image I is expressed by the following equation.

number

[0090] Luminance gradient matrix J I is calculated from the brightness of each pixel in the tracking area in image I using the following formula:

number

[0091] However, J Ii is expressed by the following formula: J Iui denotes the horizontal luminance gradient of the i-th pixel, and J Ivi indicates the vertical luminance gradient of the i-th pixel.

number

[0092] In step S46, the CPU 11 calculates a parameter x (a vector of 8 rows and 1 column) of the homography matrix.

[0093] Specifically, the CPU 11 calculates the parameter x according to the following formula.

number

[0094] Here, J esm is the Jacobian matrix and is calculated by the following formula:

number

[0095] On the other hand, y is a luminance difference vector and is expressed by the following equation.

number

[0096] where yi is the luminance I of the i-th pixel in image I. i And, Image I * The brightness of the i-th pixel in i * It is calculated from the following formula:

number

[0097] In step S48, the CPU 11 updates the estimate value G^ of the homography matrix according to the following equation.

[0098]

number

[0099] Then, the CPU 11 sets the above G as a new G^.

[0100] In step S50, the CPU 11 judges whether the termination condition is satisfied, that is, whether iteration is necessary. If it is judged that the termination condition is satisfied, that is, that iteration is unnecessary (if the judgment is positive), the process proceeds to step S52, and if it is judged that the termination condition is not satisfied, that is, that iteration is necessary (if the judgment is negative), the process returns to step S44 and the process is repeated.

[0101] Specifically, the root mean square of the brightness difference this time is y curr Then, y curr is expressed by the following equation.

[0102]

number

[0103] Here, we set the upper limit of iterations to n max(e.g., 100), and the threshold for determining convergence is ε (e.g., 10 -5 )

[0104] n ite If =1, the root mean square of the previous luminance difference y prev , the root mean square of the brightness difference this time y curr is assigned, and the iteration count is n ite Then, 1 is added to the count value, and the process returns to step S44.

[0105] 1 <n ite <n max If y prev -y curr If ε is exceeded, it is determined that the convergence has not occurred, and the root mean square of the previous luminance difference y prev , the root mean square of the brightness difference this time y curr is assigned, and the iteration count is n ite Then, 1 is added to y, and the process returns to step S44. prev -y curr If ≦ε, it is determined that convergence has occurred, and the process proceeds to step S52.

[0106] n ite =n max If so, proceed to step S52.

[0107] In step S52, the CPU 11 calculates the homography matrix estimate Ĝ by adjusting the homography matrix estimate G OPT and the process ends.

[0108] As described above in detail, according to this embodiment, the CPU 11 calculates the odometry information (x ν0 ,y ν0 ,θ ν0 ), and the road surface area A of the parking space P0 in the first image 51 captured by the vehicle-mounted camera 22 from the first position P1 is calculated based on the odometry information (x ν0 ,y ν0 ,θ ν0) based on the odometry information (x ν0 ,y ν0 ,θ ν0 ), the road surface area A of the parking space P0 in the first image 51 can be identified based on the distance between the road surface area A and the parking space P0 in the first image 51, thereby reducing calculation resources and lowering costs.

[0109] In addition, the CPU 11 compares the road surface area A in the second image 52 captured by the vehicle-mounted camera 22 from the second position P2 outside the parking space P0 with the road surface area A in the first image 51, thereby deriving relative position and attitude information (x νd ,y νd ,θ νd Here, as an example, the CPU 11 calculates a homography matrix between the first image 51 and the second image 52 based on the luminance values ​​of pixels included in the road surface area A in the first image 51 and the luminance values ​​of pixels included in the road surface area A in the second image 52, and resolves the homography matrix to calculate relative position and orientation information (x νd ,y νd ,θ νd ) is calculated.

[0110] Then, the CPU 11 receives the odometry information (x ν0 ,y ν0 ,θ ν0 ) and relative position and orientation information (x νd ,y νd ,θ νd ), position and attitude estimation information (x ν1 ,y ν1 ,θ ν1 Therefore, the relative position and orientation information (x νd ,y νd ,θ νd), the brightness values ​​of the pixels contained in the road surface area A in the first image 51 and the second image 52 are used, so that the position and attitude of the vehicle 40 relative to the parking space P0 can be estimated even in an environment where the lighting conditions of the parking space P0 are poor.

[0111] In addition, the CPU 11 calculates the position and orientation estimation information (x ν1 ,y ν1 ,θ ν1 ) based on the vehicle position P2, the vehicle 40 is controlled to be parked in the parking space P0 from the second position P2. Therefore, even in an environment with poor lighting conditions, the position and attitude of the vehicle 40 with respect to the parking space P0 can be estimated, so that the vehicle 40 can be automatically parked in the parking space P0 from the second position P2.

[0112] In the above embodiment, the CPU 11 calculates a homography matrix between the first image 51 and the second image 52 based on the luminance values ​​of pixels included in the road surface area A in the first image 51 and the luminance values ​​of pixels included in the road surface area A in the second image 52, and decomposes the homography matrix to obtain relative position and orientation information (x νd ,y νd ,θ νd However, the CPU 11 may use a method other than the calculation method using the homography matrix to compare the road surface area A in the second image 52 with the road surface area A in the first image 51 to calculate the relative position and orientation information (x νd ,y νd ,θ νd ) may be calculated.

[0113] In the above embodiment, the CPU 11 acquires the measurement values ​​measured by the wheel speed sensor 20 and the steering angle sensor 21 when the vehicle 40 moves between the parking space P0 and the first position P1, and calculates odometry information (x ν0 ,y ν0 ,θ ν0 However, the CPU 11 may obtain measurement values ​​measured by a sensor installed at a location other than the vehicle 40, and calculate the odometry information (xν0 ,y ν0 ,θ ν0 The CPU 11 may also calculate the odometry information (x ν0 ,y ν0 ,θ ν0 ) may be obtained.

[0114] In addition, in the above embodiments, the processor refers to a processor in a broad sense, and may be a general-purpose processor such as a CPU, or may include a dedicated processor such as a GPU (Graphics Processing Unit), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array).

[0115] In addition, the operations of the processor in the above embodiments may be performed not only by one processor, but also by multiple processors located at physically separate locations working together. The order of the operations of the processor is not limited to the order described in the above embodiments, and may be changed as appropriate.

[0116] The parking assistance device according to the embodiment has been described above as an example. The embodiment may be in the form of a program for causing a computer to execute the functions of each unit of the parking assistance device. The embodiment may be in the form of a non-transitory storage medium that stores the program and is readable by a computer.

[0117] In addition, the configuration of the parking assistance device described in the above embodiment is merely an example, and may be modified according to the situation without departing from the spirit of the invention.

[0118] The process flow of the program described in the above embodiment is also an example. Therefore, in the above embodiment, unnecessary steps may be deleted, new steps may be added, or the process order may be changed without departing from the spirit of the invention.

[0119] In the above embodiment, the processing according to the embodiment is realized by a software configuration using a computer by executing a program, but the present invention is not limited to this. The embodiment may be realized by, for example, a hardware configuration or a combination of a hardware configuration and a software configuration. [Explanation of symbols]

[0120] 10 Parking assistance device 11 CPU 12 ROM 13 RAM 14 I / O 15 Storage section 15A Parking Assistance Program 16 External I / F 20 Wheel speed sensor 21 Steering angle sensor 22 In-vehicle camera 30 Odometry information acquisition unit 32 Road surface area identification part 34 Position and orientation estimation unit 36 Parking control unit 40 vehicles 51 1st image 52 2nd image 100 Parking Assist System P0 Parking space P1 1st position P2 2nd position A Road area

Claims

1. an odometry information acquisition unit that acquires odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area specifying unit that specifies a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; a position and orientation estimation unit that calculates relative position and orientation information indicating a position and orientation change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the vehicle-mounted camera from a second position outside the parking space, which is different from the first position, with the road surface area in the first image, and outputs position and orientation estimation information indicating the position and orientation of the vehicle with respect to the parking space when the vehicle is located at the second position, based on the odometry information and the relative position and orientation information; A parking assistance device comprising:

2. the position and orientation estimation unit calculates a homography matrix between the first image and the second image based on a luminance value of a pixel included in the road surface area in the first image and a luminance value of a pixel included in the road surface area in the second image, and calculates the relative position and orientation information by decomposing the homography matrix.

2. The parking assistance device according to claim 1.

3. a parking control unit that controls the vehicle to be parked in the parking space from the second position based on the position and attitude estimation information; 3. A parking assistance device according to claim 1 or 2.

4. an odometry information acquiring step of acquiring odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area specifying step of specifying a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; a position and orientation estimation step of calculating relative position and orientation information indicating a position and orientation change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the vehicle-mounted camera from a second position outside the parking space, which is different from the first position, with the road surface area in the first image, and outputting position and orientation estimation information indicating the position and orientation of the vehicle with respect to the parking space when the vehicle is located at the second position, based on the odometry information and the relative position and orientation information; A parking assistance method comprising:

5. an odometry information acquiring step of acquiring odometry information indicating a position change amount and an attitude change amount of a vehicle between a parking space and a first position outside the parking space; a road surface area specifying step of specifying a road surface area of ​​the parking space in a first image captured from the first position by an on-board camera mounted on the vehicle based on the odometry information; a position and orientation estimation step of calculating relative position and orientation information indicating a position and orientation change amount of the vehicle between the first position and the second position by comparing the road surface area in a second image captured by the vehicle-mounted camera from a second position outside the parking space, which is different from the first position, with the road surface area in the first image, and outputting position and orientation estimation information indicating the position and orientation of the vehicle with respect to the parking space when the vehicle is located at the second position, based on the odometry information and the relative position and orientation information; A parking assistance program for causing a computer to execute the above.

Citation Information

Patent Citations

  • Vehicle parking support device

    JP2021062718A