Posture estimation device, control method, program, and storage media
The posture estimation device uses features perpendicular to the travel path to accurately estimate and correct the posture of measuring devices, enhancing vehicle position estimation and data accuracy by converting to a vehicle-based coordinate system.
Patent Information
- Application Number
- JP2024117034
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2038-08-31
AI Technical Summary
The data obtained from measuring devices like radars and cameras is in a coordinate system based on the device's attitude, requiring conversion to a vehicle-based coordinate system, and accurate detection of deviations in the measuring device's posture is necessary.
A posture estimation device that attaches to a moving body, using features perpendicular to the travel path to estimate the device's orientation, and a control method to calculate and correct the device's posture based on measurement points and reference directions.
Accurately estimates and corrects the posture of measuring devices, ensuring reliable vehicle position estimation and data accuracy by converting to a vehicle-based coordinate system.
Smart Images

Figure 2024150627000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for estimating the attitude of a measurement device. [Background technology]
[0002] Conventionally, there are known techniques for estimating a vehicle's own position based on measurement data from measurement devices such as radars and cameras. For example, Patent Document 1 discloses a technique for estimating a vehicle's own position by matching the output of a measurement sensor with position information of a feature registered in advance on a map. Patent Document 2 discloses a vehicle's own position estimation technique using a Kalman filter. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-257742 A [Patent Document 2] JP 2017-72422 A Summary of the Invention [Problem to be solved by the invention]
[0004] The data obtained from the measurement device is a value in a coordinate system based on the measurement device, and is dependent on the attitude of the measurement device relative to the vehicle, so it is necessary to convert it into a value in a coordinate system based on the vehicle. Therefore, if a deviation occurs in the attitude of the measurement device, it is necessary to accurately detect the deviation and reflect it in the data of the measurement device, or to correct the attitude of the measurement device.
[0005] The present invention has been made to solve the above-mentioned problems, and has as its main object to provide an attitude estimation device that can preferably estimate the mounting attitude of a measuring device attached to a moving body to the moving body. [Means for solving the problem]
[0006] The invention described in the claims is an attitude estimation device that has an acquisition means for acquiring a measurement point cloud measured by a measuring device attached to the moving body of a feature having a surface perpendicular to the traveling direction of the moving body's path or a surface perpendicular to the width direction of the path, and an estimation means for estimating the attachment attitude of the measuring device to the moving body based on the inclination of the vertical surface calculated from the measurement point cloud with respect to a coordinate system based on installation information of the measuring device.
[0007] The invention described in the claims is a control method executed by an attitude estimation device, and includes an acquisition step of acquiring a measurement point cloud measured by a measuring device attached to the moving body of a feature having a plane perpendicular to the traveling direction of the moving body's path or a plane perpendicular to the width direction of the path, and an estimation step of estimating the mounting attitude of the measuring device to the moving body based on the inclination of the vertical plane calculated from the measurement point cloud with respect to a coordinate system based on installation information of the measuring device.
[0008] The invention described in the claims is a program executed by a computer, which causes the computer to function as an acquisition means for acquiring a measurement point cloud measured by a measuring device attached to a moving body of a feature having a surface perpendicular to the traveling direction of the moving body's path or a surface perpendicular to the width direction of the path, and an estimation means for estimating the mounting attitude of the measuring device to the moving body based on the inclination of the vertical surface calculated from the measurement point cloud with respect to a coordinate system based on the installation information of the measuring device. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a schematic configuration diagram of a vehicle system. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of an in-vehicle device. [Diagram 3] FIG. 2 is a diagram showing the relationship between a vehicle coordinate system and a rider coordinate system represented by two-dimensional coordinates. [Figure 4] FIG. 2 is a diagram showing the relationship between a vehicle coordinate system and a rider coordinate system expressed by three-dimensional coordinates. [Diagram 5]1 shows an overhead view of the surroundings of a vehicle when the vehicle is traveling near a road sign that is a detection target feature when estimating the roll angle of the lidar. [Figure 6] This shows the positional relationship between the road sign and the target measurement point cloud when the measured surface of the road sign is viewed from the front. [Figure 7] 1 shows the target measurement point cloud and the extracted outer edge point cloud in the lidar coordinate system. [Figure 8] The approximate straight lines for each side of the quadrangle formed by the boundary points are shown. [Figure 9] 13 is a flowchart showing a procedure for roll angle estimation processing. [Figure 10] 1 shows an overhead view of the surroundings of a vehicle when the vehicle is traveling near a road sign that is a detection target feature when estimating the pitch angle of the lidar. [Figure 11] 10 is a flowchart showing a procedure for a pitch angle estimation process. [Figure 12] 1 shows an overhead view of the surroundings of a vehicle when the vehicle is traveling along a lane marking that is a detection target feature when estimating the yaw angle of the lidar. [Figure 13] FIG. 11 is a diagram showing the center point of a detection window by a circle. [Figure 14] The angle between the center line of the lane marking and the yaw direction reference angle calculated for each detection window is shown. [Figure 15] 10 is a flowchart showing a procedure for yaw angle estimation processing. [Figure 16] 10 is a flowchart showing a specific example of a process based on estimated values of a roll angle, a pitch angle, and a yaw angle. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] According to a preferred embodiment of the present invention, the posture estimation device includes an acquisition means for acquiring a measurement point cloud obtained by measuring features whose measurement surface is parallel to a road surface on which the mobile body travels and formed along the road surface by a measurement device attached to the mobile body, a calculation means for calculating a line on the measurement surface along the traveling direction of the mobile body based on the measurement point cloud, and an estimation means for estimating the mounting posture of the measurement device to the mobile body based on the direction of the line with respect to a direction that the measurement device is based on. With this aspect, the posture estimation device can suitably estimate the mounting posture of the measurement device to the mobile body based on a feature whose measurement surface is parallel to the road surface on which the mobile body travels and formed along the road surface.
[0011] In one aspect of the posture estimation device, the acquisition means recognizes the position of the feature based on feature information related to the feature, and acquires a measurement point cloud measured by the measurement device at the position as the measurement point cloud of the feature. With this aspect, the posture estimation device can grasp the position of a feature having a vertical plane along the travel path of the mobile body or a vertical plane along the width direction of the travel path, and suitably acquire the measurement point cloud of the feature.
[0012] In another aspect of the attitude estimation device, the estimation means estimates the attitude of the measurement device in the yaw direction based on an angle between the line and a reference line in the yaw direction of the measurement device. With this aspect, the attitude estimation device can preferably estimate the attitude of the measurement device in the yaw direction.
[0013] In another aspect of the attitude estimation device, the estimation means estimates the attitude of the measurement device in the yaw direction by averaging angles between the reference line and the multiple lines calculated by the calculation means based on the different measurement point groups. With this aspect, the attitude estimation device can more accurately estimate the attitude of the measurement device in the yaw direction.
[0014] In another aspect of the above-mentioned attitude estimation device, the calculation means calculates a plurality of points on the measurement surface along the traveling direction of the moving body based on the measurement point cloud, calculates the line from the plurality of points, and the estimation means estimates the attitude of the measurement device in the yaw direction by averaging the angles between the plurality of lines calculated by the calculation means based on the different measurement point clouds and the reference line based on the number of points used in calculating each of the lines. In this aspect, the attitude estimation device can more accurately estimate the attitude of the measurement device in the yaw direction by weighting that appropriately takes into account the accuracy of each of the calculated lines.
[0015] In a preferred example, the feature may be a dividing line or a curb provided on the road. In another preferred example, the measurement device may be an optical scanning device that scans light.
[0016] In another aspect of the above-mentioned posture estimation device, the reference direction is a direction that is regarded as the running direction of the moving body in the coordinate system of the measurement device when there is no deviation in the mounting posture, and when there is a deviation in the mounting posture, the reference direction indicates a direction different from the running direction of the moving body according to the deviation. With this aspect, the posture estimation device can suitably estimate the mounting posture of the measurement device to the moving body based on the calculated deviation of the reference direction with respect to a line on the measurement surface.
[0017] According to another preferred embodiment of the present invention, a control method is executed by an attitude estimation device, the control method comprising: an acquisition step of acquiring a measurement point cloud obtained by measuring features whose measurement surface is parallel to a road surface on which a moving body travels and that are formed along the road surface by a measuring device attached to the moving body, a calculation step of calculating a line on the measurement surface that is aligned with the traveling direction of the moving body based on the measurement point cloud, and an estimation step of estimating an attachment attitude of the measuring device to the moving body based on a direction of the line relative to a direction that the measuring device takes as a reference. By executing this control method, the attitude estimation device can suitably estimate the attachment attitude of the measuring device to the moving body.
[0018] According to another preferred embodiment of the present invention, a program executed by a computer causes the computer to function as an acquisition means for acquiring a cloud of measurement points obtained by measuring features formed along a road surface on which a moving body travels and whose measurement surface is parallel to the road surface on which the moving body travels, using a measurement device attached to the moving body, a calculation means for calculating a line on the measurement surface along the traveling direction of the moving body based on the measurement point cloud, and an estimation means for estimating the mounting orientation of the measurement device to the moving body based on the direction of the line relative to a direction that the measurement device uses as a reference. By executing this program, the computer can preferably estimate the mounting orientation of the measurement device to the moving body. Preferably, the program is stored in a storage medium. EXAMPLES
[0019] Preferred embodiments of the present invention will now be described with reference to the drawings.
[0020] [Schematic configuration] Fig. 1 is a schematic configuration diagram of a vehicle system according to the present embodiment. The vehicle system shown in Fig. 1 includes an on-board device 1 that controls driving assistance for the vehicle, and a group of sensors including a Lidar (Light Detection and Ranging, or Laser Illuminated Detection and Ranging) 2, a gyro sensor 3, an acceleration sensor 4, and a GPS receiver 5.
[0021] The vehicle-mounted device 1 is electrically connected to a group of sensors, such as a lidar 2, a gyro sensor 3, an acceleration sensor 4, and a GPS receiver 5, and acquires output data from these sensors. The vehicle-mounted device 1 also stores a map database (DB: DataBase) 10 that stores road data and feature information on features provided near roads. The vehicle-mounted device 1 estimates the position of the vehicle based on the above-mentioned output data and the map DB 10, and performs control related to vehicle driving assistance such as automatic driving control based on the position estimation result. The vehicle-mounted device 1 also estimates the attitude of the lidar 2 based on the output of the lidar 2, etc. The vehicle-mounted device 1 then performs processing such as correcting each measurement value of the point cloud data output by the lidar 2 based on the estimation result. The vehicle-mounted device 1 is an example of an "attitude estimation device" in the present invention.
[0022] The lidar 2 emits a pulsed laser in a predetermined angular range in the horizontal and vertical directions to discretely measure the distance to an object existing in the external world and generate three-dimensional point cloud information indicating the position of the object. In this case, the lidar 2 has an irradiation unit that irradiates a laser beam while changing the irradiation direction, a light receiving unit that receives reflected light (scattered light) of the irradiated laser beam, and an output unit that outputs scan data based on a light receiving signal output by the light receiving unit. The scan data is generated based on the irradiation direction corresponding to the laser beam received by the light receiving unit and the distance to the object in the irradiation direction of the laser beam specified based on the above-mentioned light receiving signal, and is supplied to the vehicle-mounted device 1. The lidar 2 is an example of a "measurement device" in the present invention.
[0023] 2 is a block diagram showing the functional configuration of the vehicle-mounted device 1. The vehicle-mounted device 1 mainly includes an interface 11, a storage unit 12, an input unit 14, a control unit 15, and an information output unit 16. These elements are connected to each other via a bus line.
[0024] The interface 11 acquires output data from sensors such as the lidar 2, the gyro sensor 3, the acceleration sensor 4, and the GPS receiver 5, and supplies the data to the control unit 15. The interface 11 also supplies signals related to vehicle travel control generated by the control unit 15 to an electronic control unit (ECU) of the vehicle.
[0025] The storage unit 12 stores a program executed by the control unit 15 and information required for the control unit 15 to execute a predetermined process. In this embodiment, the storage unit 12 has a map DB 10 and lidar installation information IL. The map DB 10 is a database including, for example, road data, facility data, and feature data around the road. The road data includes lane network data for route search, road shape data, traffic law data, and the like. The feature data includes information (for example, position information and type information) on signs such as road signs, road markings such as stop lines, road dividing lines such as white lines, structures along the road, and the like. The feature data may also include highly accurate point cloud information of features to be used for vehicle position estimation. In addition, the map DB may store various data required for position estimation.
[0026] The rider installation information IL is information on the relative attitude and position of the rider 2 with respect to the vehicle at a certain reference time (for example, when there is no attitude deviation, such as immediately after the alignment adjustment of the rider 2). In this embodiment, the attitude of the rider 2, etc. is represented by a roll angle, a pitch angle, and a yaw angle (i.e., Euler angles). The rider installation information IL may be updated based on the estimation result when an estimation process of the attitude of the rider 2, which will be described later, is executed.
[0027] The input unit 14 is a button, a touch panel, a remote controller, a voice input device, etc. for a user to operate, and accepts inputs specifying a destination for route search, inputs specifying on / off of autonomous driving, etc. The information output unit 16 is, for example, a display, a speaker, etc. that perform output based on the control of the control unit 15.
[0028] The control unit 15 includes a CPU that executes a program and controls the entire in-vehicle device 1. The control unit 15 estimates the vehicle position based on the output signals of each sensor supplied from the interface 11 and the map DB 10, and performs control related to vehicle driving assistance including automatic driving control based on the estimation result of the vehicle position. At this time, when the control unit 15 uses the output data of the LIDAR 2, it converts the measurement data output by the LIDAR 2 from a coordinate system based on the LIDAR 2 to a coordinate system based on the vehicle (hereinafter referred to as a "reference coordinate system") based on the attitude and position included in the installation information of the LIDAR 2 recorded in the LIDAR installation information IL. Furthermore, in this embodiment, the control unit 15 estimates the current (i.e., processing reference time) attitude of the LIDAR 2 with respect to the vehicle, calculates the amount of change with respect to the attitude recorded in the LIDAR installation information IL, and corrects the measurement data output by the LIDAR 2 based on the amount of change. As a result, even if a deviation occurs in the attitude of the LIDAR 2, the control unit 15 corrects the measurement data output by the LIDAR 2 so as not to be affected by the deviation. The control unit 15 is an example of a "computer" that executes a program in the present invention.
[0029] [Coordinate System Transformation] The three-dimensional coordinates indicated by each measurement point of the three-dimensional point cloud data acquired by the LIDAR 2 are expressed in a coordinate system based on the position and attitude of the LIDAR 2 (also called the "LIDAR coordinate system"), and need to be converted into a coordinate system based on the position and attitude of the vehicle (also called the "vehicle coordinate system"). Here, the conversion between the LIDAR coordinate system and the vehicle coordinate system will be described.
[0030] FIG. 3 is a diagram showing the relationship between the vehicle coordinate system and the rider coordinate system expressed by two-dimensional coordinates. Here, the vehicle coordinate system has a coordinate axis "x" along the traveling direction of the vehicle, with the center of the vehicle as the origin. b ” and the coordinate axis along the side of the vehicle, “y b The rider coordinate system has a coordinate axis "x L " and the coordinate axis "y L "
[0031] Here, the yaw angle of the rider 2 relative to the vehicle coordinate system is defined as "L ψ ", and the position of Rider 2 is [L x , L y ] T Then, the measurement point [x b (k), y b (k)] T is the rotation matrix "C ψ " is calculated by the following equation (1) using the coordinates [x L (k), y L (k)] T is converted to.
[0032]
number
[0033]
number
[0034] The roll angle of LIDAR 2 relative to the vehicle coordinate system is defined as "L φ " and pitch angle "L θ " and yaw angle "L ψ " and the coordinate axis x of rider 2 b The position in "L x ", coordinate axis y bThe position in "L y ", coordinate axis z b The position in "L z ", then the measurement point [x b (k), y b (k), z b (k)] T are the rotation matrices "C φ ", "C θ ", "C ψ The coordinates of the lidar coordinate system [x L (k), y L (k), z L (k)] T is converted to.
[0035]
number
[0036]
number
[0037] [Roll angle estimation] First, the roll angle L of Rider 2 φThe vehicle-mounted device 1 regards a square (rectangular) road sign having a vertical surface with respect to the traveling direction of the road (i.e., the front side with respect to the road) as a target feature to be detected by the LIDAR 2 (also called a "detection target feature Ftag"), and calculates the inclination of the road sign based on the measurement point cloud measured by the LIDAR 2, thereby estimating the roll angle L of the LIDAR 2. φ Estimate.
[0038] Fig. 5 shows an overhead view of the periphery of a vehicle when the vehicle travels near a road sign 22 that is a detection target feature Ftag when estimating the roll angle of the LIDAR 2. In Fig. 5, a dashed circle 20 indicates a range in which the LIDAR 2 can detect features (also referred to as the "LIDAR detection range"), and a dashed frame 21 indicates a detection window for detecting the road sign 22 that is the detection target feature Ftag.
[0039] In this case, the vehicle-mounted device 1 recognizes that a rectangular road sign 22 having a surface perpendicular to the traveling direction of the road is present within the lidar detection range by referring to the map DB 10, and sets a detection window shown in the dashed frame 21 based on feature data related to the road sign 22. In this case, the vehicle-mounted device 1 pre-stores, for example, type information of a road sign that is a detection target feature Ftag, and judges whether or not a road sign of a type indicated by the type information is present within the lidar detection range by referring to the feature data in the map DB 10. Note that, if the feature data in the map DB 10 includes information on the size and / or shape of the feature, the vehicle-mounted device 1 may determine the size and / or shape of the detection window based on the information on the size and / or shape of the road sign 22 that is the detection target feature Ftag. Then, the vehicle-mounted device 1 extracts, from among the measurement point clouds measured by the lidar 2, the measurement point cloud (also referred to as the "target measurement point cloud Ptag") that is present within the set detection window as the measurement point cloud of the road sign 22.
[0040] 6(A) to (C) show the positional relationship between the target measurement point group Ptag and the scanning line 23 of the laser light by the lidar 2 (i.e., a line connecting the irradiated points of the laser light in time series) when the measurement surface of the road sign 22 is viewed from the front.φ ,L θ ,L Ψ Here, FIG. 6A shows the relationship between the target measurement point group Ptag and the scanning line 23 of the lidar 2 when there is no deviation in the roll direction of the lidar 2, and FIGS. 6B and 6C show the relationship between the target measurement point group Ptag and the scanning line 23 of the lidar 2 when there is no deviation in the roll direction of the lidar 2, and φ 6B shows the relationship between the target measurement point group Ptag and the scanning line 23 of the lidar 2 when b -z b FIG. 6(C) shows the relationship between the target measurement point group Ptag and the scanning line 23 of the lidar 2 in the plane. b '-z b 1 shows the relationship between the target measurement point group Ptag and the scanning line 23 of the LIDAR 2 in the plane. For convenience of explanation, when there is no posture shift of the LIDAR 2, the longitudinal direction of the road sign 22 is y b The axis is assumed to be parallel and the vehicle is assumed to be on a flat road.
[0041] As shown in Fig. 6(A), when there is no deviation in the roll angle of the LIDAR 2, the LIDAR 2 performs scanning parallel to the lateral direction (i.e., the horizontal direction or the longitudinal direction) of the road sign 22. In this case, the number of points in the longitudinal direction of the target measurement point cloud Ptag is the same (6 in Fig. 6(A)) regardless of the position in the lateral direction.
[0042] On the other hand, when there is a deviation in the roll angle of the LIDAR 2, the scanning line is inclined obliquely with respect to the road sign 22. Here, the longitudinal direction of the road sign 22 is not inclined with respect to the vehicle, and the scanning line of the LIDAR 2 is inclined with respect to the vehicle, so when observed in the vehicle coordinate system, as shown in FIG. b The axis is parallel to the longitudinal direction of the road sign 22, and the scanning line of the lidar 2 is y b On the other hand, when observed in the reference coordinate system, as shown in Figure 6(C), b The ' axis and the scanning line of the lidar 2 are parallel to each other, and the longitudinal direction of the road sign 22 is y b 'Tilts against the axis.
[0043] Next, the processing after extraction of the target measurement point group Ptag will be described. First, the vehicle-mounted device 1 judges the received light intensity for each measurement point of the target measurement point group Ptag using a predetermined threshold, and excludes measurement points corresponding to received light intensities below the predetermined threshold from the target measurement point group Ptag. Then, the vehicle-mounted device 1 extracts a point group constituting the outer edge (also called the "outer edge point group Pout") from the target measurement point group Ptag after the exclusion processing based on the received light intensity. For example, the vehicle-mounted device 1 extracts measurement points of the target measurement point group Ptag that have no adjacent measurement points in at least one of the directions of up, down, left, and right as the outer edge point group Pout.
[0044] Fig. 7(A) shows the target measurement point cloud Ptag in the lidar coordinate system, and Fig. 7(B) shows the target measurement point cloud Ptag after excluding measurement points corresponding to light receiving intensities below a predetermined threshold. Fig. 7(C) shows the outer edge point cloud Pout extracted from the target measurement point cloud Ptag shown in Fig. 7(B). As shown in Figs. 7(A) and (B), among the measurement points shown in Fig. 7(A), measurement points that are partially missing due to only a portion of the laser light being reflected have light receiving intensities below a predetermined threshold and are excluded from the target measurement point cloud Ptag. As shown in Figs. 7(B) and (C), measurement points that do not have adjacent measurement points in at least one of the directions, up, down, left, and right, are extracted as the outer edge point cloud Pout.
[0045] Next, the vehicle-mounted device 1 calculates the inclination of the longitudinal direction of the road sign 22 from the outer edge point group Pout. Since the outer edge point group Pout forms a quadrangle, the outer edge point group Pout is classified for each side of the quadrangle, and the inclination of an approximate straight line for each side is calculated from the outer edge point group Pout classified for each side by a regression analysis method such as the least squares method.
[0046] FIG. 8(A) shows a diagram in which the outer boundary point group Pout that forms the top side of a quadrangle is extracted and a straight line is drawn using the least squares method. FIG. 8(B) shows a diagram in which the outer boundary point group Pout that forms the bottom side of a quadrangle is extracted and a straight line is drawn using the least squares method. FIG. 8(C) shows a diagram in which the outer boundary point group Pout that forms the left side of a quadrangle is extracted and a straight line is drawn using the least squares method. FIG. 8(D) shows a diagram in which the outer boundary point group Pout that forms the right side of a quadrangle is extracted and a straight line is drawn using the least squares method.
[0047] In this case, the vehicle-mounted device 1 calculates each straight line shown in FIG. 8(A) to (D) and calculates the y b The vehicle-mounted device 1 calculates the inclinations "φ1" to "φ4" relative to the axis. Then, as shown in the following formula (5), the vehicle-mounted device 1 calculates the average of these inclinations "φ1" to "φ4" as the inclination "φ" of the road sign 22.
[0048]
number
[0049] Preferably, when calculating the inclination φ, the vehicle-mounted device 1 may weight each of the inclinations φ1 to φ4 based on the number of the outer edge points Pout constituting each side of the quadrangle. In this case, assuming that the number of the outer edge points Pout constituting the top side of the quadrangle is "n1", the number of the outer edge points Pout constituting the bottom side of the quadrangle is "n2", the number of the outer edge points Pout constituting the left side of the quadrangle is "n3", and the number of the outer edge points Pout constituting the right side of the quadrangle is "n4", the vehicle-mounted device 1 calculates the inclination φ by performing a weighted average based on the following formula (6).
[0050]
number
[0051]
number
[0052]
number
[0053]
number
[0054] Preferably, taking into consideration the possibility that the road sign 22, which is the detection target feature Ftag, is tilted with respect to the horizontal direction, measurement errors, etc., the vehicle-mounted device 1 determines the roll angle L of the lidar 2. φ It is advisable to perform the calculation of for many road signs that are the detection target features Ftag and average them. In this way, the vehicle-mounted device 1 can estimate the likely roll direction inclination L of the lidar 2. φ can be suitably calculated.
[0055] In addition, since the roll angle φ0 of the vehicle body can be considered to be 0° on average, by lengthening the averaging time described above, it becomes unnecessary to acquire the roll angle φ0 of the vehicle body. For example, when N sufficiently large tilt angles φ are acquired, the vehicle-mounted device 1 can obtain the roll angle L φ may be determined by the following equation (10):
[0056]
number
[0057] FIG. 9 is a flowchart showing the procedure of the roll angle estimation process.
[0058] First, the vehicle-mounted device 1 refers to the map DB 10 and sets a detection window for the detection target feature Ftag around the vehicle (step S101). In this case, the vehicle-mounted device 1 selects a rectangular road sign having a perpendicular surface to the traveling direction of the road as the detection target feature Ftag, and identifies the above-mentioned road sign existing within a predetermined distance from the current position from the map DB 10. Then, the vehicle-mounted device 1 sets the detection window by acquiring position information and the like related to the identified road sign from the map DB 10.
[0059] Next, the vehicle-mounted device 1 acquires the measurement point cloud of the lidar 2 within the detection window set in step S101 as a point cloud of the detection target feature Ftag (i.e., the target measurement point cloud Ptag) (step S102).Then, the vehicle-mounted device 1 extracts an outer edge point cloud Pout that forms the outer edge of these point clouds from the target measurement point cloud Ptag acquired in step S102 (step S103).
[0060] Then, the vehicle-mounted device 1 calculates the lateral gradient φ of the outer edge point group Pout extracted in step S103 (step S104). In this case, as described with reference to Figs. 8(A) to (D), the vehicle-mounted device 1 obtains gradients φ1 to φ4 of lines corresponding to each side from the points corresponding to each side of the quadrangle formed by the outer edge point group Pout, and calculates the gradient φ by using any one of the formulas (5) to (8).
[0061] Thereafter, the vehicle-mounted device 1 averages the tilt φ and / or performs differential processing with the roll angle φ0 of the vehicle body to obtain the roll angle L φ In the above-mentioned averaging process, the vehicle-mounted device 1 executes the processes of steps S101 to S104 for a plurality of detection target features Ftag to obtain a plurality of inclinations φ, and calculates the average value of the obtained plurality of inclinations φ as the inclination L φ It is calculated as follows.
[0062] [Pitch angle estimation] Next, the pitch angle L of Rider 2 θ The vehicle-mounted device 1 regards a rectangular road sign having a surface perpendicular to the width direction of the road (i.e., a surface oriented horizontally to the road) as a detection target feature Ftag, and estimates the pitch angle of the LIDAR 2 by calculating the inclination of the road sign based on the measurement point cloud output by the LIDAR 2.
[0063] Fig. 10 shows an overhead view of the periphery of a vehicle when the vehicle travels near a road sign 24 that is a detection target feature Ftag when estimating the pitch angle of the LIDAR 2. In Fig. 10, a dashed circle 20 indicates the LIDAR detection range in which the LIDAR 2 can detect features, and a dashed frame 21 indicates a detection window set for the road sign 24 that is the detection target feature Ftag.
[0064] In this case, the vehicle-mounted device 1 recognizes that a rectangular road sign 24 having a surface perpendicular to the width direction of the road is present within the lidar detection range shown in the dashed circle 20 by referring to the map DB 10, and sets a detection window shown in the dashed frame 21 based on position information and the like related to the road sign 24. In this case, the vehicle-mounted device 1 pre-stores, for example, type information and the like of a road sign that is to be the detection target feature Ftag, and determines whether or not a road sign of the type indicated by the type information is present within the lidar detection range by referring to the feature data in the map DB 10. Then, the vehicle-mounted device 1 extracts, from the measurement point clouds output by the lidar 2, the measurement point cloud that is present within the set detection window as the target measurement point cloud Ptag.
[0065] Next, the vehicle-mounted device 1 estimates the pitch angle of the rider 2 by executing a process similar to the roll angle estimation method on the extracted target measurement point group Ptag.
[0066] Specifically, first, the vehicle-mounted device 1 judges the received light intensity for each measurement point of the target measurement point group Ptag using a predetermined threshold, and excludes measurement points corresponding to received light intensities equal to or less than the predetermined threshold from the target measurement point group Ptag. Then, the vehicle-mounted device 1 extracts an outer edge point group Pout that constitutes the outer edge from the target measurement point group Ptag after the exclusion process based on the received light intensity. Next, the vehicle-mounted device 1 calculates the slopes "θ1" to "θ4" of the approximation lines of each side of the quadrangle constituted by the outer edge point group Pout using a regression analysis method such as the least squares method. Then, the vehicle-mounted device 1 calculates the slope "θ" of the road sign 22 by performing an averaging process based on the slopes θ1 to θ4. Note that, similar to equations (6) to (8), the vehicle-mounted device 1 calculates the number n1 to n4 of point groups that constitute each side of the quadrangle and the vertical interval I V and horizontal spacing I H The inclination θ may be calculated by a weighted average taking into account at least one of the above.
[0067] In addition, the vehicle-mounted device 1 calculates the pitch angle "θ0" of the vehicle body based on the outputs of the gyro sensor 3 and the acceleration sensor 4, and calculates the pitch angle L of the rider 2 by taking the difference from the inclination θ. θIn this case, the vehicle-mounted device 1 calculates the tilt L of the rider 2 in the pitch direction based on the following formula (11): θ Calculate.
[0068]
number
[0069]
number
[0070] FIG. 11 is a flowchart showing the procedure of the pitch angle estimation process.
[0071] First, the vehicle-mounted device 1 refers to the map DB 10 and sets a detection window for the detection target feature Ftag around the vehicle (step S201). In this case, the vehicle-mounted device 1 selects a rectangular road sign having a surface perpendicular to the width direction of the road as the detection target feature Ftag, and identifies the above-mentioned road sign existing within a predetermined distance from the current position from the map DB 10. Then, the vehicle-mounted device 1 sets the detection window by acquiring position information and the like related to the identified road sign from the map DB 10.
[0072] Next, the vehicle-mounted device 1 acquires the measurement point cloud of the lidar 2 within the detection window set in step S201 as a point cloud of the detection target feature Ftag (i.e., the target measurement point cloud Ptag) (step S202).Then, the vehicle-mounted device 1 extracts an outer edge point cloud Pout that forms the outer edge of the point cloud from the point cloud of the detection target feature Ftag acquired in step S202 (step S203).
[0073] Then, the vehicle-mounted device 1 calculates the inclination θ of the longitudinal direction of the outer edge point group Pout extracted in step S203 (step S204). After that, the vehicle-mounted device 1 calculates the inclination L of the rider 2 in the pitch direction by averaging the inclination θ and / or by subtracting the inclination θ from the pitch angle θ0 of the vehicle body. θ In the above-mentioned averaging process, the vehicle-mounted device 1 executes the processes of steps S201 to S204 for a plurality of target measurement point groups Ptag to calculate a plurality of inclinations θ, and calculates the average value of these inclinations L. θ It is calculated as follows.
[0074] [Yaw angle estimation] Next, the yaw angle L of Rider 2 ψ The vehicle-mounted device 1 regards a lane marking such as a white line as a detection target feature Ftag, and calculates the direction of the center line of the lane marking based on a group of measurement points measured by the lidar 2, thereby estimating the yaw angle L of the lidar 2. ψ Estimate.
[0075] FIG. 12 shows an overhead view of the area around the vehicle when the vehicle is traveling along a lane marking that is a detection target feature Ftag when estimating the yaw angle of the LIDAR 2. In this example, a continuous line 30, which is a continuous lane marking, exists on the left side of the vehicle, and a broken line 31, which is a lane marking that exists intermittently, exists on the right side of the vehicle. The arrow 25 indicates the reference direction in the yaw direction when no deviation occurs in the LIDAR 2 in the yaw direction, and corresponds to the coordinate axis "x" of the LIDAR 2. L " to the yaw angle L of Rider 2 Ψ The coordinate axis "x" is aligned along the vehicle's direction of travel. b That is, the yaw angle L of Rider 2 Ψindicates the yaw angle (also called the "yaw direction reference angle") that is regarded as the vehicle's traveling direction if no deviation occurs. On the other hand, the arrow 26 indicates the angle that is regarded as the vehicle's traveling direction if the rider 2 is not displaced in the yaw direction by ΔL. Ψ If the yaw direction reference angle is not corrected, it will not match the vehicle's running direction. The yaw direction reference angle is stored in advance in the storage unit 12, for example.
[0076] In this case, for example, the map DB 10 contains lane marking information indicating discrete coordinate positions of the continuous line 30 and discrete coordinate positions of the dashed line 31. The vehicle-mounted device 1 then refers to this lane marking information, extracts the closest coordinate position from a position a predetermined distance (e.g., 5 m) away from the vehicle in each of the left front, left rear, right front, and right rear directions of the vehicle, and sets a rectangular area centered on the extracted coordinate position as a detection window indicated by dashed frame 21A-21D.
[0077] Next, the vehicle-mounted device 1 extracts, as a target measurement point group Ptag, a point group that is on the road surface and has a reflection intensity equal to or greater than a predetermined threshold within the detection window from the measurement point group measured by the lidar 2. Then, the vehicle-mounted device 1 obtains the center point of the target measurement point group Ptag for each scanning line, and calculates a straight line (see arrows 27A to 27D) that passes through these center points for each detection window as the center line of the lane marking.
[0078] Fig. 13(A) is a diagram showing the center point of the detection window of dashed frame 21A by a circle, and Fig. 13(B) is a diagram showing the center point of the detection window of dashed frame 21B by a circle. Figs. 13(A) and (B) also clearly show scanning lines 28 of the laser light by the lidar 2. Note that, since the laser light of the lidar 2 that is incident on the lane marking is emitted in a downward diagonal direction, the intervals between the scanning lines become shorter as they approach the vehicle.
[0079] 13(A) and 13(B), the vehicle-mounted device 1 calculates a center point for each scanning line 28. The center point may be a position obtained by averaging the coordinate positions indicated by the measurement points for each scanning line 28, or may be a midpoint between the measurement points at the left and right ends of each scanning line 28, or may be a measurement point located midway on each scanning line 28. Then, the vehicle-mounted device 1 calculates the center line (see arrows 27A and 27B) of the lane markings for each detection window from the calculated center point using a regression analysis method such as the least squares method.
[0080] Then, the vehicle-mounted device 1 calculates the angles between the center lines of the lane lines calculated for each detection window and the yaw direction reference angle (see arrow 26 in FIG. 12) as inclinations "ψ1" to "ψ4." FIGS. 14(A) to (D) are diagrams showing the inclinations ψ1 to ψ4, respectively. As shown in FIGS. 14(A) to (D), the inclinations ψ1 to ψ4 correspond to the angles between the arrows 27A to 27D pointing to the center lines of the lane lines and the arrow 26 pointing to the yaw direction reference angle.
[0081] Then, the vehicle-mounted device 1 calculates the inclination ψ by averaging the inclinations ψ1 to ψ4 as shown in the following formula (13).
[0082]
number
[0083]
number
[0084] Next, the yaw angle L of Rider 2 is calculated from the inclination ψ. ψ A method of calculating the yaw angle of the vehicle body will be described below. Since lane lines and other dividing lines are drawn along the road, the yaw angle of the vehicle body can be considered to be almost constant (i.e., parallel to the road). Therefore, unlike the method of estimating the roll angle and pitch angle, the vehicle-mounted device 1 calculates the inclination ψ by the deviation ΔL of the yaw angle of the rider 2. ψ (i.e. "ΔL ψ However, during normal driving, lane changes and vehicle body sway within the lane occur. Therefore, the vehicle-mounted device 1 should execute a process to calculate the inclination of the center line for many lane markings and average them. This allows the vehicle-mounted device 1 to calculate the likely yaw angle deviation ΔL ψ For example, when N tilt angles ψ are acquired, the yaw angle L of the rider 2 can be calculated as ψ is expressed by the following equation (15).
[0085]
number
[0086] FIG. 15 is a flowchart showing the procedure of the yaw angle estimation process.
[0087] First, the vehicle-mounted device 1 sets one or more detection windows for the lane markings with reference to the map DB 10 (step S301). Then, the vehicle-mounted device 1 acquires the measurement points of the lidar 2 within the detection window set in step S301 as a point cloud of the lane markings (i.e., the target measurement point cloud Ptag) (step S302).
[0088] Then, the vehicle-mounted device 1 calculates the center line of the lane marking in each set detection window (step S303). In this case, the vehicle-mounted device 1 obtains the center point of the target measurement point group Ptag for each scan line of the lidar 2, and calculates the center line of the lane marking for each detection window from the center point based on the least squares method or the like. Then, the vehicle-mounted device 1 calculates the angle ψ between the yaw angle reference angle stored in advance in the storage unit 12 or the like and the center line of the lane marking (step S304). In this case, if two or more detection windows are set in step S301, the vehicle-mounted device 1 obtains the angle between the yaw angle reference angle and the center line of the lane marking for each detection window, and calculates the above-mentioned angle ψ by averaging these angles or averaging them weighted by the number of center points.
[0089] Then, the vehicle-mounted device 1 averages the multiple angles ψ calculated by executing steps S301 to S304 for different lane markings, and calculates the yaw angle L of the rider 2 based on the equation (15). ψ is calculated (step S305).
[0090] Here, a specific example of the process based on the estimated values of the roll angle, pitch angle, and yaw angle described above will be described. Fig. 16 is a flowchart showing a specific example of the process based on the estimated values of the roll angle, pitch angle, and yaw angle.
[0091] First, the vehicle-mounted device 1 executes the process of the flowchart of FIG. 9, FIG. 11, or FIG. 15 to obtain the roll angle L φ , pitch angle L θ , or yaw angle L ψ Then, the vehicle-mounted device 1 determines whether or not the roll angle L of the rider 2 has been calculated (step S401). φ , pitch angle L θ , or yaw angle L ψIf any of the above is calculated (step S401; Yes), it is determined whether the calculated angle has changed by a predetermined angle or more from the angle recorded in the LIDAR installation information IL (step S402). The above-mentioned threshold value is a threshold value for determining whether the measurement data of the LIDAR 2 can be used continuously by performing a correction process on the measurement data of the LIDAR 2 in step S404 described later, and is set in advance based on, for example, an experiment.
[0092] Then, if the calculated angle has changed from the angle recorded in the LIDAR installation information IL by a predetermined angle or more (step S402; Yes), the vehicle-mounted device 1 stops using the output data of the target LIDAR 2 (i.e., use for obstacle detection, vehicle position estimation, etc.), and outputs a warning to the effect that realignment of the target LIDAR 2 is necessary via the information output unit 16 (step S403). This reliably prevents a decrease in safety, etc., caused by using measurement data of a LIDAR 2 whose attitude / position has shifted significantly due to an accident, etc.
[0093] On the other hand, if the calculated angle has not changed by a predetermined angle or more from the angle recorded in the LIDAR installation information IL (step S402; No), the vehicle-mounted device 1 corrects each measurement value of the point cloud data output by the LIDAR 2 based on the amount of change in the calculated angle from the angle recorded in the LIDAR installation information IL (step S404). In this case, the vehicle-mounted device 1 stores, for example, a map or the like indicating the amount of correction of the measurement value with respect to the amount of change described above, and corrects the measurement value described above by referring to the map or the like. Also, the measurement value may be corrected by using a value of a predetermined ratio of the amount of change as the amount of correction of the measurement value.
[0094] As described above, the vehicle-mounted device 1 in this embodiment acquires a target measurement point cloud Ptag obtained by measuring road signs having a surface perpendicular to the traveling direction of the vehicle's roadway or a surface perpendicular to the width direction of the roadway by the lidar 2 attached to the vehicle. The vehicle-mounted device 1 then estimates the mounting attitude of the lidar 2 to the vehicle based on the inclination of the longitudinal direction of the road sign relative to a coordinate system based on the installation information of the lidar 2, which is calculated from the target measurement point cloud Ptag. This allows the vehicle-mounted device 1 to accurately estimate the mounting attitude of the lidar 2 to the vehicle in the roll direction and pitch direction.
[0095] As described above, the vehicle-mounted device 1 in this embodiment acquires a measurement point cloud obtained by measuring the lane markings by the lidar 2 attached to the vehicle, and calculates the center line of the lane markings along the vehicle's traveling direction based on the measurement point cloud. The vehicle-mounted device 1 then estimates the mounting attitude of the lidar 2 to the vehicle based on the direction of the center line of the lane markings relative to the yaw direction reference angle based on the lidar 2. This allows the vehicle-mounted device 1 to suitably estimate the mounting attitude of the lidar 2 to the vehicle in the yaw direction.
[0096] [Variations] Preferred modified examples of the embodiment will be described below. The following modified examples may be applied to the embodiment in combination.
[0097] (Variation 1) In the description of step S303 in Figures 13 and 15, the vehicle-mounted device 1 calculates the center line of the lane line by calculating the center point of the lane line in the width direction within the detection window. Alternatively, the vehicle-mounted device 1 may extract the right end point or the left end point of the scanning line within the detection window and calculate a straight line passing through the right end or the left end of the lane line. This also allows the vehicle-mounted device 1 to suitably identify a line that is parallel to the road and calculate the angle ψ.
[0098] (Variation 2) In the yaw angle estimation process described in Fig. 12 to Fig. 15, the vehicle-mounted device 1 regards the section line as the detection target feature Ftag. Alternatively, or in addition, the vehicle-mounted device 1 may regard a curb or the like as the detection target feature Ftag. In this way, the vehicle-mounted device 1 may execute the yaw angle estimation process described in Fig. 12 to Fig. 15 by regarding, as the detection target feature Ftag, not only the section line but also any feature whose measurement surface is parallel to the traveling road surface and is formed along the traveling road surface.
[0099] (Variation 3) In step S404 of FIG. 16, instead of correcting each measurement value of the point cloud data output by the LIDAR 2, the vehicle-mounted device 1 may convert each measurement value of the point cloud data output by the LIDAR 2 into the vehicle coordinate system based on the roll angle, pitch angle, and yaw angle calculated by the processing of the flowchart of FIG. 9, FIG. 11, or FIG. 15.
[0100] In this case, the vehicle-mounted device 1 calculates the roll angle L φ , pitch angle L θ , yaw angle L ψ Using the above, each measurement value of the point cloud data output by the LIDAR 2 may be converted from the LIDAR coordinate system to the vehicle body coordinate system based on the equation (4), and vehicle position estimation, automatic driving control, and the like may be performed based on the converted data.
[0101] In another example, when each rider 2 is equipped with an adjustment mechanism such as an actuator for correcting the posture of each rider 2, the vehicle-mounted device 1 may perform control to drive the adjustment mechanism to correct the posture of the rider 2 by an amount corresponding to a deviation from the angle recorded in the rider installation information IL, instead of processing step S404 in FIG. 16.
[0102] (Variation 4) The configuration of the vehicle system shown in Fig. 1 is one example, and the configuration of a vehicle system to which the present invention can be applied is not limited to the configuration shown in Fig. 1. For example, instead of having an on-board device 1, the vehicle system may have an electronic control device of the vehicle execute the processes shown in Fig. 9, Fig. 11, Fig. 15, Fig. 16, etc. In this case, the LIDAR installation information IL is stored in, for example, a storage unit in the vehicle, and the electronic control device of the vehicle is configured to be able to receive output data of various sensors such as the LIDAR 2.
[0103] (Variation 5) The vehicle system may include a plurality of riders 2. In this case, the vehicle-mounted device 1 estimates the roll angle, pitch angle, and yaw angle of each rider 2 by executing the processes of the flowcharts of Figures 9, 11, and 15 for each rider 2. [Explanation of symbols]
[0104] 1 On-vehicle device 2. Rider 3 Gyro sensor 4. Acceleration Sensor 5 GPS receiver 10 Map DB
Claims
1. an acquisition means for acquiring a cloud of measurement points obtained by measuring features having a surface perpendicular to a direction of travel of a travel path of a moving body or a surface perpendicular to a width direction of the travel path by a measuring device attached to the moving body; an estimation means for estimating an attachment attitude of the measurement device to the moving body based on an inclination of the vertical plane with respect to a coordinate system based on installation information of the measurement device, the inclination being calculated from the measurement point cloud; A posture estimation device having the following configuration.
2. The attitude estimation device according to claim 1 , wherein the acquisition means recognizes the position of the feature based on feature information about the feature, and acquires a measurement point cloud measured by the measurement device at that position as the measurement point cloud of the feature.
3. The estimation means includes: estimating an attitude of the measurement device in a roll direction based on the inclination calculated from a measurement point cloud of a feature having a surface perpendicular to a traveling direction of the travel path; 3. The attitude estimation device according to claim 1, further comprising: estimating an attitude of the measurement device in a pitch direction based on the inclination calculated from a cloud of measurement points of a feature having a surface perpendicular to a width direction of the road.
4. 4. The posture estimation device according to claim 1, wherein the feature is a road sign provided on the travel route.
5. 5. The attitude estimation device according to claim 1, wherein the estimation means extracts an outer edge point cloud that forms an edge of the measurement point cloud, and calculates an inclination of the feature on the ground based on the outer edge point cloud.
6. the vertical surface is rectangular; The attitude estimation device according to claim 5 , wherein the estimation means calculates the inclination of the feature by calculating an inclination corresponding to each side of the rectangle from the outer point cloud.
7. The attitude estimation device according to claim 6 , wherein the inclination of the feature is calculated by weighting the inclination corresponding to each of the sides based on at least one of the number of points constituting each of the sides and the interval between the points.
8. A control method executed by a posture estimation device, comprising: an acquisition step of acquiring a cloud of measurement points obtained by measuring features having a surface perpendicular to the direction of travel of the travel path of the moving body or a surface perpendicular to the width direction of the travel path by a measuring device attached to the moving body; an estimation step of estimating an attachment attitude of the measurement device to the moving body based on an inclination of the vertical plane with respect to a coordinate system based on installation information of the measurement device, the inclination being calculated from the measurement point cloud; The control method includes:
9. A program executed by a computer, an acquisition means for acquiring a cloud of measurement points obtained by measuring features having a surface perpendicular to a direction of travel of a travel path of a moving body or a surface perpendicular to a width direction of the travel path by a measuring device attached to the moving body; an estimation means for estimating an attachment attitude of the measuring device to the moving body based on an inclination of the vertical plane with respect to a coordinate system based on installation information of the measuring device, the inclination being calculated from the group of measurement points; A program for causing the computer to function as a
10. A storage medium storing the program according to claim 9.
Citation Information
Patent Citations
Calibration device and calibration method of range image sensor
JP2009204532A
Own vehicle positioning system
JP2010151829A
Measuring vehicle, and road feature measuring system
JP2011196916A
Laser measurement method, laser measurement marker and coordinate calculation program
JP2016206178A
Control device and control method
JP2017111683A
Cited By
Method and system for estimating position and posture of object
JP2026019975A
