Parking assistance device, parking assistance method, and parking assistance program

The parking assistance system addresses the challenge of poor lighting conditions by using odometry and image comparison to estimate vehicle position and orientation with reduced computational resources, enhancing the accuracy and efficiency of automatic parking.

WO2024195864A1PCT designated stage expired Publication Date: 2024-09-26AISIN CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/011409
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2024-03-22
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing parking assistance systems struggle to accurately estimate the position and orientation of a vehicle within a parking space in environments with poor lighting conditions, as they rely on feature point detection methods that require significant computational resources, such as semantic segmentation.

Method used

A parking assistance system that utilizes an odometry information acquisition unit, a road surface area identification unit, and a position/orientation estimating section to calculate relative position and orientation information by comparing images from different vehicle positions, employing a homography matrix decomposition based on pixel luminance values to estimate the vehicle's position and orientation with reduced computational burden.

Benefits of technology

Enables accurate estimation of the vehicle's position and orientation within a parking space in poor lighting conditions with lower computational requirements compared to traditional methods, facilitating efficient automatic parking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024011409_26092024_PF_FP
    Figure JP2024011409_26092024_PF_FP
Patent Text Reader

Abstract

A parking assistance device 10 comprises: an odometry information acquisition unit 30 that acquires odometry information indicating the location change amount and the orientation change amount of a vehicle between a parking space and a first location; a road surface region identification unit 32 that, on the basis of the odometry information, identifies a road surface region of the parking space in a first image captured from the first location; and a location and orientation estimation unit 34 that, by comparing a road surface region in a second image captured from a second location and the road surface region in the first image, calculates relative location and orientation information indicating the location change amount and the orientation change amount of the vehicle between the first location and the second location, and outputs location and orientation estimation information indicating the location and orientation of the vehicle with respect to the parking space when the vehicle is located at the second location on the basis of the odometry information and the relative location and orientation information.
Need to check novelty before this filing date? Find Prior Art

Description

Parking assistance device, parking assistance method, and parking assistance program

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

[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 JP 2021-062718 A includes a camera attached to the vehicle to capture images of the area around 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 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 the vehicle has completed parking in the parking lot. The control means is also configured to register information regarding feature points in an image of the parking lot taken 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.

[0004] In the parking assistance device described above, in an environment with good lighting conditions, feature points (e.g., corners of an object or pattern) are detected from images, and the feature points are associated between images using brightness patterns around the feature points, thereby estimating 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.

[0005] If the area in the image where the plane is reflected can be identified, the position and orientation of the vehicle can be estimated. Methods for identifying the area where the plane is reflected, such as semantic segmentation, require a large amount of calculation.

[0006] The technology of the present disclosure has been made in consideration of the above 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.

[0007] 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 positional 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 positional 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 outside the parking space different from the first position 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.

[0008] A second aspect of the technology disclosed herein is a parking assistance device according to the first aspect, wherein the position and orientation 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 orientation information by decomposing the homography matrix.

[0009] 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.

[0010] A fourth aspect of the technology disclosed herein is a parking assistance method including: an odometry information acquisition step of acquiring odometry information indicating a positional 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 positional 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 outside the parking space different from the first position 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.

[0011] A fifth aspect of the technique of the present disclosure is a parking assistance program that causes a computer to execute the following steps: an odometry information acquisition step of acquiring odometry information indicating a positional 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 positional 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 outside the parking space different from the first position 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] According to the technology of the present disclosure, the position and orientation of a vehicle relative to a parking space can be estimated in an environment with poor lighting conditions with a smaller amount of calculation compared to methods such as semantic segmentation.

[0013] 1 is a block diagram showing an example of the configuration of a parking assistance system according to an embodiment; FIG. 2 is a block diagram showing an example of the functional configuration of a parking assistance device according to an embodiment; FIG. 3 is a plan view showing an example of the positional relationship between a parking space and a first position outside the parking space; FIG. 4 is a diagram showing an example of a first image captured by an in-vehicle camera from the first position; FIG. 5 is a plan view showing the positional relationship between the camera coordinate systems of each in-vehicle camera and the vehicle coordinate system; FIG. 6 is a diagram showing an example of the positional relationship between an image coordinate system in a first image and each endpoint of a road surface area; FIG. 7 is a plan view showing an example of the positional relationship between a parking space, the first position, and a second position; FIG. 8 is a diagram showing an example of a second image captured by an in-vehicle camera from the second position; FIG. 9 is a flowchart showing an example of the flow of parking assistance processing according to an embodiment; FIG. 10 is a flowchart showing an example of the flow of homography matrix optimal value calculation processing according to an embodiment;

[0014] An example of an embodiment of the technology of the present disclosure will be described in detail below with reference to the drawings. Note that components and processes that perform the same operations, actions, and functions are given the same reference numerals throughout the drawings, and duplicated descriptions may be omitted as appropriate. Each drawing is merely a schematic illustration to allow a sufficient understanding of the technology of the present disclosure. Therefore, the technology of the present disclosure is not limited to the illustrated examples. Furthermore, 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.

[0015] 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.

[0016] The on-board camera 22 is installed on the vehicle 40 and captures images of the surroundings of the vehicle 40. The on-board camera 22 may be installed in any location on the vehicle 40 as long as it is capable of capturing images of the road surface. The on-board camera 22 may be, for example, a monocular camera, but is not limited thereto and may also be a stereo camera or the like.

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

[0018] The wheel speed sensor 20 measures the wheel speed of a wheel 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. Furthermore, if the vehicle 40 is a vehicle equipped with a drive motor such as a hybrid vehicle, the wheel speed sensor 20 may be an encoder provided on the drive motor.

[0019] 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.

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

[0021] 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 storage unit 15, and an external interface (external I / F) 16.

[0022] The CPU 11, ROM 12, RAM 13, and 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 can communicate with the CPU 11 via the I / O 14.

[0023] The 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 part of a main control unit that controls the overall operation of the parking assistance device 10.

[0024] For example, an integrated circuit such as an LSI (Large Scale Integration) or an IC (Integrated Circuit) chip set may be used for some or all of the blocks of the control unit. Also, each block may have its own individual circuit, or a circuit in which some or all of the blocks are integrated may be used. Also, the blocks may be provided integrally, or some of the blocks may be provided separately. Furthermore, a portion of each of the blocks may be provided separately. Integration of the control unit is not limited to an LSI, and a dedicated circuit or a general-purpose processor may also be used.

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

[0026] The parking assistance program 15A may be pre-installed in the parking assistance device 10, for example. Alternatively, the parking assistance program 15A may be stored in a non-volatile storage medium or distributed via a network and implemented by being appropriately installed in the parking assistance device 10. 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.

[0027] The external I / F 16 is an interface for communicatively connecting to each of a wheel speed sensor 20, a steering angle sensor 21, and an in-vehicle camera 22.

[0028] 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.

[0029] 2 is a block diagram showing an example of the 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.

[0030] 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. Furthermore, the vehicle 40 may be manually driven by a driver or automatically driven by an automatic driving system.

[0031] 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.

[0032] 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 attitude of the vehicle 40 between the parking space P0 and the first position P1.

[0033] The odometry information is calculated by dividing 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 p The 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

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

[0035] Here, the sampling period is represented by T [s], and various state quantities at the k-th sampling are represented by (k). As an example, the case of leaving a parking space will be described below. When k = 0, the vehicle 40 is parked in the parking space P0.

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

[0037] The steering wheel angle θ measured by the steering angle sensor 21 h (k) [rad] to obtain the steering gear ratio G s Using this, the front wheel steering angle θ f (k) [rad] is calculated using the following formula:

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

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

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

[0041] 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 )

[0042] 4 is a diagram showing an example of a first image 51 captured by the in-vehicle camera 22 from the first position P1. The road surface area identification unit 32 acquires the first image 51 captured by the in-vehicle 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.

[0043] 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 taken by any of the multiple on-board cameras 22 mounted on the vehicle 40 (i.e., four on-board cameras 22 installed on the front, rear, left and right sides of the vehicle body).

[0044] FIG. 5 shows the camera coordinate system (X c -Z c coordinate system) and vehicle coordinate system (X ν -Y ν 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 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 relative position and relative orientation of 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 calculation, such as semantic segmentation, it is possible to reduce calculation resources and lower costs.

[0045] The calculation formula for the road surface area A in the first image 51 will be explained below. ν [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 p The four end points of the road surface area A in the coordinate system are defined as end points P 1 , P 2 , P 3 , P 4 In this case, the end point P 1 , P 2 , P 3 , P 4 Each position of the vector p 1_p , p 2_p , p 3_p , p 4_p where T represents transposition.

[0046] Vehicle coordinate system (X ν -Y ν The position of the end point Pi (i = 1, 2, 3, 4) in the coordinate system is expressed as a vector p i_ν Then, the vector p i_ν is calculated using the following formula:

[0047] FIG. 6 shows the image coordinate system (u-ν coordinate system) in the first image 51 and the respective end points P 1 , P 2 , P 3 , P 4 5 is a diagram showing an example of the positional relationship between the first image 51 and 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 (for 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. Each end point P of the road surface area A in the first image 51 1 , P 2 , P 3 , P 4 The position of (U p1 , ν p1 ), (U p2 , ν p2 ), (U p3 , νp3 ), (U p4 , ν p4 )

[0048] P i_ν = [x i_ν , y i_ν , 0] T From the above, each end point P 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 where f is the focal length of the vehicle-mounted camera 22, and (c x , c y ) are the center coordinates of the first image 51, and T 11 ~T 34 are extrinsic parameter matrices, all of which are known.

[0049] 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 outside the parking space P0 that is different from the first position P1 and is an arbitrary position. As an example, the second position P2 is a position on the opposite side of the parking space P0 from 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.

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

[0051] Next, the position and orientation estimation unit 34 calculates relative position and orientation information indicating the amount of change in position and 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) is based on the origin (x νd , y νd , θ νd Hereinafter, the relative position and orientation information will be referred to as the relative position and orientation information (x νd , y νd , θ νd ) is sometimes referred to as

[0052] Specifically, the position and orientation estimation unit 34 calculates 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 region A in the first image 51 and the luminance values ​​of pixels included in the road surface region A in the second image 52. For example, the homography matrix between the first image 51 and the second image 52 is determined by searching for an area where the deviation between the luminance values ​​of pixels included in the road surface region A in the first image 51 and the luminance values ​​of pixels included in the road surface region A in the second image 52 is minimum. Note that homography refers to projecting one plane onto another plane using a projective transformation.

[0053] 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 on-board 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 on-board 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 obtaining relative position and orientation information (x νd , y νd , θ νd ) is required.

[0054] 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. νd , y νd , θ νd ) is calculated using the brightness values ​​of the pixels contained in the road surface area A in the first image 51 and the second image 52, 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.

[0055] Position and orientation estimation information (x ν1 , y ν1 , θ ν1 The calculation formula for the homography matrix G between the first image 51 and the second image 52 is explained below. 0 is set to a 3x3 identity matrix, and the optimal value of the homography matrix G 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:

[0056] where K is the internal parameter matrix of the vehicle-mounted 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).

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

[0058] 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:

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

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

[0061] The parking control unit 36 ​​calculates the position and attitude estimation information (x ν1 , y ν1 , θ ν1 ) and controls the vehicle 40 to park from the second position P2 into the parking space P0. 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 the vehicle 40 can be automatically parked from the second position P2 into the parking space P0.

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

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

[0064] 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.

[0065] In step S10, the CPU 11 calculates the odometry information (x) calculated based on 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. ν0 , y ν0 , θ ν0 ) from the storage unit 15. Step S10 is an example of an odometry information acquisition step according to the technique of the present disclosure.

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

[0067] In step S14, when the CPU 11 automatically parks the vehicle 40 to be parked 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.

[0068] 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.

[0069] 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 S14 is an example of a position and orientation estimation step according to the technique of the present disclosure.

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

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

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

[0073] 10 is a flowchart showing an example of the flow of the homography matrix optimum value calculation process according to this embodiment. 1 , P 2 , P 3 , P 4 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 above equation. Although not shown in the figure, the end points P 1 , P 2 , P 3 , P 4 A number i (i=1, 2 to n) is assigned to all pixels within the road surface area A defined by

[0074] In step S40, the CPU 11 * (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 are calculated.

[0075] Specifically, the brightness gradient matrix J I* is image I * It is calculated from the brightness (values ​​of 0 to 255) of each pixel in the tracking area by the following formula.

[0076]

[0077] However, J I*i (i = 1, 2 to n) is expressed by the following formula: J 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.

[0078] Jacobian matrix J W is image I * It is calculated from the coordinates of each pixel in the tracking area by the following formula.

[0079]

[0080] However, the coordinates of each pixel in the tracking area are expressed by the following equation.

[0081]

[0082] At this time, J Wi is expressed by the following equation:

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

[0084] Here, [A i ] v is a 9-by-1 vector that is permuted row by row, as expressed by the following equation:

[0085] In step S42, the CPU 11 sets the estimated value G^ (^ is directly above G, the same applies below) of the homography matrix to the initial value G 0 (identity matrix) and the number of iterations is n ite Substitute 1 for

[0086] 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.

[0087] Specifically, the CPU 11 calculates the coordinates in the image I using the following formula.

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

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

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

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

[0092] Specifically, the CPU 11 calculates the parameter x using the following formula.

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

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

[0095] 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:

[0096] In step S48, the CPU 11 updates the estimated value G^ of the homography matrix using the following equation.

[0097]

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

[0099] In step S50, the CPU 11 determines whether the termination condition is met, i.e., whether iteration is necessary. If it is determined that the termination condition is met, i.e., that iteration is not necessary (if the determination is affirmative), the process proceeds to step S52. If it is determined that the termination condition is not met, i.e., that iteration is necessary (if the determination is negative), the process returns to step S44 and the process is repeated.

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

[0101]

[0102] Here, the upper limit of the number of iterations is n max (for example, 100), and the threshold value for determining convergence is ε (for example, 10 -5 )

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

[0104] 1<n ite <n max In the case of y prev -y curr If ε is exceeded, it is determined that 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 number of iterations 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.

[0105] n ite = n max If so, the process proceeds to step S52.

[0106] In step S52, the CPU 11 calculates the estimated value G^ of the homography matrix by adjusting the optimal value GOPT and the process ends.

[0107] As described above in detail, according to this embodiment, the CPU 11 calculates the odometry information (x ν0 , y ν0 , θ ν0 ) and calculates the road surface area A of the parking space P0 in the first image 51 captured by the in-vehicle camera 22 from the first position P1 using odometry information (x ν0 , y ν0 , θ ν0 Therefore, the identification is 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 above, thereby reducing calculation resources and lowering costs.

[0108] Furthermore, the CPU 11 compares the road surface area A in the second image 52 captured by the in-vehicle camera 22 from the second position P2 outside the parking space P0 with the road surface area A in the first image 51, thereby obtaining relative position and orientation information (x νd , y νd , θ νd Here, for 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 decomposes the homography matrix to calculate the relative position and orientation information (x νd , y νd , θ νd ) is calculated.

[0109] Then, the CPU 11 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 Therefore, the relative position and orientation information (x νd , y νd , θ νd ) is calculated using the brightness values ​​of the pixels contained in the road surface area A in the first image 51 and the second image 52, 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.

[0110] Furthermore, the CPU 11 calculates the position and orientation estimation information (x ν1 , y ν1 , θ ν1 ) and controls the vehicle 40 to park from the second position P2 into the parking space P0. Therefore, 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, and the vehicle 40 can be automatically parked from the second position P2 into the parking space P0.

[0111] In the above embodiment, for 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 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.

[0112] 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 acquire 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.

[0113] Furthermore, in the above embodiment, the term "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).

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

[0115] The parking assistance device according to the embodiment has been described above. 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.

[0116] Furthermore, the configuration of the parking assistance device described in the above embodiment is merely an example, and may be changed depending on the situation without departing from the spirit of the invention.

[0117] The processing 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 processing order may be rearranged, without departing from the spirit of the invention.

[0118] 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.

[0119] All documents, patent applications, and technical standards described herein are incorporated by reference herein to the same extent as if each individual document, patent application, and technical standard was specifically and individually indicated to be incorporated by reference. In addition, the disclosure of Japanese Patent Application No. 2023-045962, filed March 22, 2023, is incorporated by reference in its entirety herein.

Claims

1. A parking assistance device comprising: an odometry information acquisition unit that acquires odometry information indicating an amount of change in position and an amount of change in attitude 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 taken 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 an amount of change in position and an amount of change in attitude of the vehicle between the first position and the second position by comparing the road surface area in a second image taken 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 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.

2. The parking assistance device of claim 1, wherein the position and orientation 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 orientation information by decomposing the homography matrix.

3. The parking assistance device according to claim 1 or 2, further comprising a parking control unit that performs control to park the vehicle from the second position into the parking space based on the position and attitude estimation information.

4. A parking assistance method comprising: an odometry information acquisition step of acquiring odometry information indicating an amount of change in position and an amount of change in attitude 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 taken 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 an amount of change in position and an amount of change in attitude of the vehicle between the first position and the second position by comparing the road surface area in a second image taken 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.

5. A parking assistance program for causing a computer to execute the following steps: an odometry information acquisition step for acquiring odometry information indicating an amount of change in position and an amount of change in attitude of a vehicle between a parking space and a first position outside the parking space; a road surface area identification step for identifying a road surface area of ​​the parking space in a first image taken 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 for calculating relative position and attitude information indicating an amount of change in position and an amount of change in attitude of the vehicle between the first position and the second position by comparing the road surface area in a second image taken 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.

Citation Information

Patent Citations

  • Parking assisting device, parking assisting device part, parking assisting method and parking assisting program

    JP2008174000A

  • Vehicle Automatic Parking System and Method

    JP2020500767A

  • Travel support apparatus

    JP2022167124A

  • Vehicle environment imaging systems and methods

    US20180157267A1

  • System for assisting parking a vehicle and method for the same

    US20210162985A1