Method for detecting a boundary of a traffic lane
Patent Information
- Application Number
- EP2022801084
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-14
- Filing Date
- 2022-10-10
- Publication Date
- 2024-08-21
AI Technical Summary
Current methods for detecting traffic lane limits in autonomous vehicles are prone to false positives, which can lead to harmful consequences such as poor vehicle orientation or untimely braking, due to the complexity and uncertainty in data from sensors like cameras, radars, and lidars, and existing combinations with cartographic data are insufficient in avoiding false positives.
A method that uses environmental detection means on board the vehicle to detect traffic lane limits by defining limits with polynomial functions, determining vectors based on cartographic and vehicle data, calculating Mahalanobis distances, and classifying detections as true or false positives to improve accuracy.
This method effectively reduces false positive detections and enhances the determination of vehicle position on a road by using Mahalanobis distances to differentiate between true and false positives, improving the reliability of autonomous vehicle navigation.
Smart Images

Figure 1.1
Abstract
Description
[0001] Description
[0002] Title of the invention: Method for detecting a limit of a traffic lane
[0003] Technical field of the invention
[0004] The invention relates to the field of methods for detecting traffic lane boundaries for motor vehicles. The invention also relates to the field of methods for determining the position of a vehicle on a road. Finally, the invention relates to a motor vehicle equipped with means for implementing such methods.
[0005] State of the prior art
[0006] Lane boundary detection plays a key role in the development of autonomous vehicles. Correct detection is necessary to build an accurate representation of the vehicle's environment and to make appropriate vehicle control decisions. In particular, a false detection of a lane boundary, commonly referred to as a "false positive," can have adverse consequences such as incorrect vehicle orientation or untimely braking maneuvers.
[0007] Traffic lane boundaries can take many forms, such as painted lines on the ground, road surface boundaries, barriers, sidewalks, etc. Detecting these boundaries is therefore particularly complex. To detect these boundaries, environmental detection means such as cameras, radars, or lidars are traditionally used. Although these detection means are increasingly sophisticated, the data they provide sometimes contain uncertainties or errors. The complexity of detection means, which are generally based on neural networks, makes understanding or analyzing false positives particularly difficult. Such flaws limit the deployment of autonomous vehicles.
[0008] To improve the detection of traffic lane boundaries, methods are known that consist of combining data received by environmental detection means with map data. Document US20210004017A1 discloses an example of such a method. However, the known methods are still insufficiently effective. In particular, they do not always make it possible to avoid the detection of false positives.
[0009] Presentation of the invention
[0010] A first object of the invention is a method for detecting a limit of a traffic lane for a motor vehicle making it possible to avoid the detection of false positives.
[0011] A second object of the invention is a detection method making it possible to improve the determination of the position of a vehicle on a given road.
[0012] Summary of the invention
[0013] The invention relates to a method for detecting a limit of a traffic lane for a motor vehicle, the method comprising:
[0014] - a step of detecting said limit by a means of detecting the environment of the vehicle, said detection means being on board the vehicle, the limit detected by the detection means being defined by a function, in particular a polynomial function,
[0015] - a step of determining a plurality of first vectors characterizing said limit, the first vectors being determined on the basis of cartographic data and on the basis of data on the current position and orientation of the vehicle,
[0016] - a step of determining data relating to the uncertainty of each of the first vectors,
[0017] - a step of determining a plurality of second vectors characterizing said limit, each second vector being determined by an orthogonal projection of a first vector onto said function,
[0018] - a step of determining data relating to the uncertainty of each of the second vectors,
[0019] - a step of calculating Mahalanobis distances between each first vector and each second vector resulting from the orthogonal projection of the first vector considered, each Mahalanobis distance being calculated as a function of the data relating to the uncertainty of each first vector and each second vector considered,
[0020] - a step of classifying the limit detected by the detection means as a true positive or a false positive based on the Mahalanobis distances previously calculated.
[0021] The first vectors and the second vectors can be formulated in the same reference frame linked to the vehicle.
[0022] Each first vector can include:
[0023] - a first component equal to a distance from an origin of the first vector considered to the vehicle, along a longitudinal axis of the vehicle,
[0024] - a second component equal to a distance from the origin of the first vector considered to the vehicle, along a transverse axis of the vehicle,
[0025] - a third component characterizing the orientation of a tangent to said limit at the origin of the first vector, and each second vector may comprise:
[0026] - a first component equal to a distance from an origin of the second vector considered to the vehicle, along a longitudinal axis of the vehicle,
[0027] - a second component equal to a distance from the origin of the second vector considered to the vehicle, along a transverse axis of the vehicle,
[0028] - a third component characterizing the orientation of a tangent to said limit at the origin of the second vector,
[0029] Each first vector can be determined so that its origin is within a range of the detection means.
[0030] The uncertainty data for each of the first vectors can be calculated based on current vehicle positioning and orientation uncertainty values and on map data uncertainty values.
[0031] The uncertainty data of each of the second vectors can be calculated by the detection means.
[0032] The detection method may comprise a step of calculating the maximum Mahalanobis distance among the Mahalanobis distances calculated between each first vector and each second vector resulting from the orthogonal projection of the first vector considered, the step of classifying the second traffic lane boundary as true positive or false positive being carried out as a function of the maximum Mahalanobis distance calculated.
[0033] The invention also relates to a method for detecting a plurality of traffic lane boundaries for a motor vehicle, the method comprising:
[0034] - a step of detecting a first set of traffic lane limits by a means of detecting the environment of the vehicle, said detection means being on board the vehicle,
[0035] - a step of detecting a second set of traffic lane limits from cartographic data and data on the current position and orientation of the vehicle,
[0036] - a step of calculating a Mahalanobis distance matrix between each limit of the first set and each limit of the second set, each element of the matrix being equal to the maximum Mahalanobis distance calculated by implementing the method of detecting a limit as defined previously with a limit of the first set of limits and a limit of the second set of limits,
[0037] - a step of classifying the limits of the first set into true positive or false positive using the Mahalanobis distance matrix, by implementing an algorithm for determining the nearest neighbor on the Mahalanobis distance matrix.
[0038] The method for detecting a plurality of boundaries may include a step of comparing a type of each boundary of the first set with a type of each boundary of the second set, and in the step of calculating the Mahalanobis distance matrix, only the elements of the matrix satisfying a comparison of the types may be calculated.
[0039] The invention also relates to a method for determining the position of a vehicle on a road, the method comprising:
[0040] - a step of determining at least two vehicle positioning hypotheses, then, for each vehicle positioning hypothesis:
[0041] - the implementation of the method for detecting a plurality of limits as defined previously,
[0042] - a step of calculating a precision index based on the number of true positives and false positives determined, then:
[0043] - a step of selecting a positioning hypothesis by comparing the precision indices calculated for the different hypotheses.
[0044] The invention also relates to a computer program product comprising program code instructions recorded on a computer-readable medium for implementing the steps of the methods as defined above. The invention also relates to a computer-readable data recording medium on which is recorded a computer program comprising program code instructions for implementing the methods as defined above.
[0045] The invention also relates to a motor vehicle comprising a means for detecting the environment of the vehicle, a means for geolocating the vehicle, a means for determining the orientation of the vehicle, a memory or a means for accessing a memory in which cartographic data are recorded, and a calculation unit equipped with a data recording medium as defined previously.
[0046] Presentation of figures
[0047] Figure 1 is a schematic view of a motor vehicle according to one embodiment of the invention.
[0048] Figure 2 is a first schematic top view of the vehicle on a road comprising two traffic lanes, on which are represented the limits of a traffic lane as detected by a detection means on board the vehicle.
[0049] Figure 3 is a block diagram of a method for detecting a limit of a traffic lane according to one embodiment of the invention.
[0050] Figure 4 is a second schematic top view of the vehicle, showing the boundaries of the traffic lane as determined using map data.
[0051] Figure 5 is a third schematic top view of the vehicle, on which are represented, by vector modeling, the limits of the traffic lane as detected by the detection means on board the vehicle.
[0052] Figure 6 is a block diagram of a method for detecting a plurality of traffic lane boundaries according to one embodiment of the invention.
[0053] Figure 7 is a schematic top view of the vehicle on a road comprising five traffic lanes.
[0054] Figure 8 is a block diagram of a method for determining the position of a vehicle on a road according to one embodiment of the invention.
[0055] Figure 9 is a graph representing the time evolution of a precision index calculated for three vehicle positioning hypotheses.
[0056] Detailed description
[0057] Figure 1 schematically illustrates a motor vehicle 1 according to one embodiment of the invention. The vehicle 1 can be of any type. In particular, it can be, for example, a private vehicle, a utility vehicle, a truck or a bus. The vehicle 1 comprises a computing unit 2 to which are connected a means 3 for detecting the environment of the vehicle, a geolocation means 4, a means for determining the orientation of the vehicle 5, and a memory 6 in which cartographic data are recorded. The detection means 3 can be, for example, a camera, a radar or a lidar. The detection means 3 can also be formed by the association of one or more cameras, radars or lidars. It is capable of detecting objects present in the environment of the vehicle such as, for example, boundary lines painted on the ground, barriers, sidewalks or even any other form of boundary materializing the edges of a traffic lane.Advantageously, the detection means 3 is an intelligent detection means, that is to say that it is capable of interpreting the signals that it perceives and of transmitting to the calculation unit data resulting from a first processing of these signals.
[0058] The geolocation means 4 is capable of providing information on the geographical position of the vehicle 1, such as GPS coordinates. It may, for example, comprise a GPS sensor. The means for determining the orientation of the vehicle 5 is capable of providing data relating to the orientation of the vehicle around an axis perpendicular to the plane on which the vehicle rests. To simplify the description, it is considered that the vehicle rests on horizontal ground. The means for determining the orientation of the vehicle 5 is therefore capable of providing data relating to the orientation of the vehicle around a vertical axis. The data relating to the orientation of the vehicle may be equal to or established as a function of a heading, or azimuth, followed by the vehicle. This data may be provided, for example, by a GPS sensor, a gyroscope or even by a compass on board the vehicle.
[0059] The memory 6 is a data recording medium in which high-definition cartographic data are stored. This cartographic data includes information on the positioning and orientation of the limits of the traffic lanes in a given territory. Each limit of a traffic lane can in particular be stored in the form of a plurality of vectors, the composition of which will be detailed later. The cartographic data can in particular be presented in the form of the ADASISv3 standard. Alternatively, the memory 6 could be external to the vehicle 1, the vehicle then comprising a means of accessing this memory, such as for example a means of communication of the 4G or 5G type. The memory 6 can also be integrated into the computing unit 2.
[0060] The calculation unit 2 comprises in particular a memory 7 and a microprocessor 8. The memory 7 is a data recording medium on which is recorded a computer program comprising program code instructions for implementing a limit detection method according to one embodiment of the invention. The microprocessor 8 is capable of executing said computer program.
[0061] The detection means 3, the location means 4 and the means for determining the orientation of the vehicle 5 are sensors embedded in the vehicle. They are capable of providing information with a given uncertainty, or in other words with a given resolution. Similarly, the cartographic data recorded in the memory 6 have a given uncertainty. The uncertainty therefore characterizes the precision of the information transmitted. These uncertainties are quantifiable. They can be presented in the form of a covariance matrix specific to each piece of information provided by the different sensors or specific to each piece of cartographic data. Advantageously, and as will be explained later, these uncertainty values are used in the detection method to achieve better detection of said limits. Subsequently, the uncertainty associated with each piece of information is assumed to be unbiased and obeying a Gaussian type law.
[0062] In Figure 2, vehicle 1 is shown on a road comprising two traffic lanes VCl and VC2. The first traffic lane VCl is delimited on either side by two boundaries L1 and L2. In this case, the two boundaries L1, L2 are respectively a continuous line and a dotted line, both painted on the ground. Alternatively, these two boundaries could be of a different nature, such as, for example, a barrier, a sidewalk or a road edge. The second traffic lane VC2 is adjacent to the first traffic lane VCl and delimited by the boundaries L2 and L3.
[0063] A first reference frame is defined, called the global reference frame, fixed relative to the traffic lanes and independent of vehicle 1. This first reference frame is formed by axes XI and Yl. Axis XI can, for example, be oriented along the North-South axis and axis Yl can be oriented along the East-West axis. A second reference frame is also defined, called the vehicle reference frame, integral with vehicle 1 and formed by axes X2 and Y2. Axis X2 corresponds to the longitudinal axis of the vehicle (i.e. the axis along which the vehicle is traveling in a straight line). Axis Y2 corresponds to the transverse axis of the vehicle and is perpendicular to longitudinal axis X2.
[0064] The detection means 3 comprises a certain range, represented schematically by a dotted line ZP at the front of the vehicle. The range of the detection means is in particular delimited by a minimum longitudinal range Xmin and a maximum longitudinal range Xmax. In certain cases, the minimum longitudinal range can be considered equal to zero. The maximum range Xmax can be for example of the order of a few tens of meters or a few hundred meters.
[0065] Figure 3 is a block diagram illustrating the different steps of a PI method for detecting a traffic lane boundary according to one embodiment of the invention. As we will see later, this method can be implemented to detect any number of traffic lane boundaries. To simplify the description, we first explain the implementation of the detection method to detect a single boundary, for example the boundary L2 shown in Figure 2.
[0066] The detection method aims to verify whether the detection of a limit by the detection means 3 corresponds to a true positive (i.e. the detected limit is indeed actually existing) or to a false positive (i.e. the detected limit results from a misinterpretation of the signals received by the detection means 3 and does not correspond to any real limit). The different steps of a particular embodiment of this method are now described.
[0067] In a first step E1, the detection means 3 detects the portion of a limit included in its range. It provides, to the calculation unit 2 according to a pre-established frequency, digital data characterizing the detected limit. The limit is characterized by a function of type y = f(x) defined by the detection means 3. In particular, this function is a polynomial function, in particular a third-degree polynomial function. Alternatively, the function could be a polynomial function of a different degree, or even any other mathematical function.
[0068] For each limit Mi detected by the detection means 3, these digital data can be transmitted in the following form: Or :
[0069] - cO, cl, c2 and c3 are the coefficients of the third degree polynomial function P(x)
[0070] - Xmin and Xmax are the minimum and maximum longitudinal range of the detection means 3,
[0071] - M£P is a covariance matrix representing the detection uncertainty of the limit L2 of the detection means 3, and
[0072] -Mtype is data representative of the nature or type of boundary detected (among which may be for example lines painted on the ground, barriers, sidewalks, etc.)
[0073] Each limit is thus defined in the vehicle reference frame by a curve y = P(x), with:
[0074] The polynomial function P(x) characterizes the shape of the limit considered. This function is defined for any value x between Xmin and Xmax. At a given instant, a limit detected by the detection means 3 is therefore characterized by four coefficients of a polynomial function. Such a way of representing a limit makes it possible to reduce the quantity of data exchanged between the detection means 3 and the calculation unit 2, compared to a model where all the points belonging to a limit would be transmitted to the calculation unit 2.
[0075] The covariance matrix M£P can be expressed in the following form: where oxx, ocOcO, odd, oc2c2, oc3c3 are standard deviation parameters.
[0076] In Figure 2, three curved lines M1, M2 and M3 represent the representation of each of the limits L1, L2 and L3 as calculated by the detection means 3. For the line M2, the uncertainty associated with the detection of the limit L2 is schematically represented by a zone Z1. The zone Z1 indicates an area in which the limit L2 is probably located. When the limit L2 is well recognized by the detection means 3 (for example, when the line painted on the ground is well contrasted and visibility is good), the zone Z1 can be particularly tight around the line M2. On the contrary, when the limit L2 is poorly recognized by the detection means 3 (for example, when the line painted on the ground is poorly contrasted and / or when visibility is poor), the zone Z1 can be particularly wide around the line M2. Of course, such zones could also be represented for the lines M1 and M3.
[0077] In a second step E2, the geolocation means 4 and the means for determining the orientation of the vehicle 5 respectively determine the position and the current orientation of the vehicle 1, in the global reference frame. They provide digital data to the calculation unit 2 according to a pre-established frequency. These digital data can be represented in the following form: Or :
[0078] - OxM designates the position of the vehicle along the XI axis in the global reference frame,
[0079] - OyM denotes the position of the vehicle along the Y1 axis in the global reference frame, and
[0080] - O0M designates the orientation of the vehicle in the global reference frame.
[0081] In a third step E3, the measurement uncertainty of the geolocation means 4 and of the means for determining the orientation of the vehicle 5 is determined. This uncertainty can be quantified by the geolocation means 4 and the means for determining the orientation of the vehicle 5 and transmitted to the calculation unit 2. This uncertainty can for example depend on the quality of the GPS signal received by the geolocation means 4, or on any other factor likely to influence the operation of the geolocation means 4 and / or of the means for determining the orientation of the vehicle 5. Alternatively, this uncertainty could also be calculated by the calculation unit 2 or be set to a predetermined value. This uncertainty can be expressed in the form of a covariance matrix O£M of dimension 3x3 and whose form is as follows:
[0082] In a fourth step E4, a plurality of first MXi vectors characteristic of a boundary are determined from cartographic data and from data on the current position and orientation of the vehicle. Advantageously, all of the first MXi vectors determined are circumscribed to a given perimeter around the vehicle. This perimeter, also called e-horizon or electronic horizon, may correspond to the range of the detection means 3. It is therefore understood that the first vectors come from the cartographic database and circumscribed to an area defined by the current position and orientation of the vehicle.
[0083] In a fifth step E5, data relating to the uncertainty of each of the first MXi vectors are determined. More precisely, the memory 6 provides the calculation unit 2 with digital data on the different limits present in a given perimeter around the vehicle. The memory 6 containing the cartographic data can be seen as a sensor embedded in the vehicle and providing information with a given precision. Each limit is defined by a set of first MXi vectors. The cartographic data therefore provides discrete information to define each of the limits. Each MLI limit present in a perimeter around the vehicle can be defined in the following form: Or :
[0084] - MXi=l...Ni denotes the set of first vectors expressed in the vehicle reference frame and belonging to the MLI limit,
[0085] - Var(OXi=l...Ni) denotes a set of covariance matrices Var(OXi) expressed in the global reference frame, the covariance matrices Var(OXi) representing the uncertainty associated with the position and orientation of each of the vectors MXi, and
[0086] - Ltype is data representative of the nature or type of limit detected.
[0087] Each of the first MXi vectors can be expressed, in the vehicle frame of reference, in the following form: Or :
[0088] - Mxi denotes the coordinate along the X2 axis of the origin of the MXi vector. This is the distance to the vehicle from a given point on a boundary as defined by the map data, along the longitudinal axis X2 of the vehicle,
[0089] - Myi denotes the coordinate along the Y2 axis of the origin of the vector MXi. This is the distance to the vehicle from the given point along the transverse axis Y2 of the vehicle, and
[0090] - Mhi denotes the orientation of the vector MXi in the vehicle reference frame. It characterizes the orientation of the tangent to the limit considered at the given point.
[0091] Each covariance matrix Var(OXi) in the set of covariance matrices Var(OXi=l...Ni) is a 3x3 matrix and can be expressed in the following form:
[0092] These matrices represent the uncertainty associated with the cartographic data for each MXi vector. This uncertainty may arise from the means used to produce the cartographic data. The data characterizing the uncertainty of the cartographic data are also stored in memory 6.
[0093] Advantageously, the first vectors MXi are formulated in the vehicle reference frame and the covariance matrices Var(OXi) characterizing the uncertainty of the first vectors MXi are formulated in the global reference frame. Since the cartographic data initially available in the memory 6 are formulated in the global reference frame, the fourth step E4 advantageously comprises a sub-step E41 for calculating the first vectors in the vehicle reference frame from the first vectors expressed in the global reference frame. During this sub-step, each first vector MXi is calculated as a function of the data on the position and orientation of the vehicle determined in step E2. The following formula can in particular be used: Or :
[0094] - MRo denotes a rotation matrix,
[0095] - Oxi denotes the coordinate along the XI axis of the origin of the MXi vector expressed in the global reference frame,
[0096] - Oyi denotes the coordinate along the Y1 axis of the origin of the vector MXi expressed in the global reference frame, and
[0097] - Ohi denotes the orientation of the MXi vector expressed in the global reference frame.
[0098] The rotation matrix MRo can be expressed as follows: where 0 = O0M and denotes the orientation of the vehicle in the global reference frame.
[0099] Similarly, the fifth step E5 includes a sub-step E51 for calculating all the covariance matrices Var(OXi) in the vehicle reference system. This calculation can be carried out using the following formula: Or :
[0100] -Var(MXi) denotes a covariance matrix characterizing the uncertainty associated with the position and orientation of the vector MXi, in the vehicle reference frame,
[0101] - 6MXi / 60X6 denotes a Jacobian matrix defined below, - O^M is the covariance matrix characterizing the measurement uncertainty of the geolocation means 4 and of the means for determining the orientation of the vehicle 5, as defined previously, and
[0102] -Var(OXi) denotes the covariance matrix representing the uncertainty associated with the position and orientation of the vector MXi, in the global reference frame.
[0103] The Jacobian matrix ÔMXi / 60X6 can be defined by the following formula: Or :
[0104] - 0 = O0M and designates the orientation of the vehicle in the global reference frame
[0105] - Mxi denotes the coordinate along the X2 axis of the origin of the MXi vector expressed in the vehicle reference frame, and
[0106] - Myi designates the coordinate along the Y2 axis of the origin of the MXi vector expressed in the vehicle reference frame.
[0107] Finally, at this stage of the detection process, we have on the one hand a vector model of a limit from the cartographic data. The limit is characterized by a set of first vectors MXi expressed in the vehicle reference frame. We also have data characterizing the uncertainty of this set of first vectors. This uncertainty is also expressed in the vehicle reference frame. Figure 4 schematically illustrates the limits ML1, ML2 and ML3 from the cartographic data and defined by an implementation of the fourth step E4 for each of the limits LI, L2 and L3. The origin of each vector MXi is identified by a point belonging to the limits ML1, ML2 and ML3. In particular, for each vector MXi characterizing the limit L2, we have represented by zones Z2 the uncertainty on the position of the origin of the vectors MXi.The modeling of the limits by the cartographic data is a discrete modeling, that is to say that the limits are defined by a finite set of vectors. On the other hand, we have a continuous modeling of the limits by means of the detection means 3. Indeed, the limits being expressed are the form of a function of type y = f(x), they are defined at any point included in the range of the detection means 3. To compare these two models, we proceed to a discretization of the continuous modeling of the limits resulting from the detection means 3.
[0108] In a sixth step E6, a plurality of second vectors Fj characteristic of the limit as identified by the detection means 3 are determined. Each second vector Fj is determined by an orthogonal projection of a vector MXi from the set of first vectors, onto the function y = P(x) defined previously. In other words, each second vector Fj is determined so that its origin belongs to the function y=P(x), and that the straight line passing through the origin of the vector Fj and through the origin of the vector MXi is perpendicular to the function y = P(x), and that the orientation of the vector Fj is equal to the orientation of a tangent to the function y = Px) at the origin of the vector Fj. As a remark, the function y=P(x) generally has radii of curvature large enough for there to exist a single orthogonal projection of the vector MXi onto the function y = P(x).In the very rare hypothesis where there are several possible orthogonal projections of the vector MXi onto the function y = P(x), one can arbitrarily use one of these projections, for example the first projection found, that is to say that the search for an orthogonal projection would be stopped as soon as one is found.
[0109] Thus, the modeling of the limit as detected by the detection means 3 is discretized. A discretization of this modeling consists of representing each limit not by a function (which is defined at any point between Xmin and Xmax) but by a finite set of vectors Fj. Each vector Fj locally characterizes a limit with the coordinates of a point of the limit in the vehicle reference frame and a component characterizing the orientation of the limit considered at this point. For a given limit, the vector Fj can therefore be expressed, in the vehicle reference frame, in the following manner: Or :
[0110] - xj denotes the coordinate along the X2 axis of a given point of a limit detected by the detection means 3. It is therefore the distance from the given point to the vehicle along the longitudinal axis X2 of the vehicle.
[0111] - P(xj) denotes the coordinate along the Y2 axis of the given point. It is therefore the distance from the given point to the vehicle along the transverse Y2 axis of the vehicle.
[0112] - a rcta n(P'(xj)) denotes the arc-tangent function of the derivative of the function (Px) at the point considered. This component characterizes the orientation of the tangent to the curve y = P(x) at the point considered.
[0113] Figure 5 shows an example of discretization of lines Ml, M2 and M3. Each line Ml, M2 or M3 is represented by a set of vectors Fj whose origin is a point with coordinates (x(j), P(x(j)) in the vehicle frame of reference and whose orientation is equal to arctan(P'(xj)).
[0114] In a seventh step E7, the uncertainty associated with each of the second vectors Fj is determined. Indeed, the uncertainty of the detection means 3 with regard to the detection of each of the limits can also be discretized. For each vector F(j), the measurement uncertainty can be calculated by the following formula: or: - m£F denotes a covariance matrix of dimension 3x3,
[0115] - yj = P(xj),
[0116] - 0j = arctan(P'(xj)),
[0117] - 6Fj / 6Mi denotes a partial derivative of the vector Fj, in particular the Jacobian matrix of the vector Fj, a function of the variables xj, cO, cl, c2, c3 and
[0118] - M£P is the covariance matrix representing the measurement uncertainty of the detection means 3, previously described.
[0119] In Figure 5, for each vector Fj characterizing the limit L2, the uncertainty in the position of the origin of the vectors Fj is represented by zones Zll, and the uncertainty in the orientation of the vectors Fj is represented by zones Z12. Due to the uncertainty in the orientation of the vehicle, the uncertainty in the vectors Fj furthest from the vehicle is greater. Zones Zll and Z12 are therefore larger as we move away from the vehicle.
[0120] In an eighth step E8, the Mahalanobis distances are calculated between each first vector MXi and each second vector Fj resulting from the orthogonal projection of the first vector MXi considered. The calculation of a Mahalanobis distance is based not only on the components of the vectors MXi and Fj but also on the data relating to the uncertainty of these two vectors. The Mahalanobis distance between the vectors Fj and MXi can be calculated using the following formula: Or :
[0121] - MXi denotes a vector among the set of first vectors,
[0122] - Fj denotes the vector of the set of second vectors resulting from the orthogonal projection of the first vector MXi on the function y = P(x),
[0123] - m£F is the covariance matrix characterizing the uncertainty of the vector Fj,
[0124] - Var(MXi) is the covariance matrix characterizing the uncertainty of the vector MXi.
[0125] The Mahalanobis distance thus calculated is a value representative of the similarity between the vector Fj and the vector MXi. This Mahalanobis distance can be calculated for each vector MXi whose origin is located within the range of the detection means 3.
[0126] In a ninth step E9, the maximum Mahalanobis distance is calculated among the Mahalanobis distances calculated between each first vector of the same limit and each second vector associated with the first vector considered. This maximum value is an indicator of the similarity between a limit as detected by the detection means 3 and a limit as identified in the cartographic data. The lower the maximum value, the closer the limit as detected by the detection means 3 will be considered to be to the limit as identified in the cartographic data. The Mahalanobis distance between a limit as detected by the detection means 3 and a limit as identified in the cartographic data can be defined as equal to this maximum value.
[0127] In a tenth step E10, the limit of the traffic lane as detected by the detection means 3 is classified as true positive or false positive depending on the maximum distance calculated during step E9. For this purpose, it is possible, for example, to compare the previously calculated maximum value with a predefined threshold, determined during a calibration phase of the method.
[0128] Alternatively, the classification of the traffic lane boundary as true positive or false positive as detected by the detection means 3 could be based on other indicators, themselves based on the set of Mahalonis distances previously calculated. For example, one could compare an average value or a minimum value of the set of Mahalanobis distances calculated between the vectors MXi and Fj with threshold. However, a comparison of the maximum value is simple to implement and allows a reliable classification as true positive or false positive.
[0129] In relation to Figure 6, an embodiment of a method P2 for detecting a plurality of traffic lane boundaries is now described. The method P2 comprises a step E01 for detecting a first set of traffic lane boundaries from data provided by a vehicle detection means, and a step E02 for detecting a second set of traffic lane boundaries from cartographic data and data on the current position and orientation of the vehicle. Steps E01 and E02 are executed prior to implementing the method PI as described previously.
[0130] According to a first variant embodiment of the invention, the method PI as defined by steps E1 to E10 can be executed for each possible pair formed by a limit of the first set and by a limit of the second set. If there is a number NI of limits detected by the detection means 3 and a number M1 of limits identified in the cartographic data, the method PI is repeated a number of times equal to NI x M1. Such a variant may require particularly significant computing resources.
[0131] According to a second more advantageous embodiment of the invention, the detection method may comprise a step E03 of comparing a type of boundary detected by the detection means 3 with a type of boundary identified in the cartographic data. The method is then implemented only to calculate the Mahalanobis distance between boundaries of the same type, and possibly between a boundary of any type and a boundary of unknown type. For example, the detection means may detect three boundaries M1, M2 and M3 respectively of the "line painted on the ground" type, of unknown type and of barrier type. At the same time, the cartographic data may identify three boundaries ML1, ML2 and ML3 respectively of the "line painted on the ground" type, of unknown type, and of "barrier" type. In this case, the method will be implemented to calculate the Mahalanobis distance between the following pairs of boundaries:
[0132] - Ml, ML1
[0133] - Ml, ML2
[0134] - M2, ML1
[0135] - M2, ML2 - M2, ML3
[0136] - M3, ML2
[0137] - M3, ML3
[0138] The method will not be implemented to calculate the Mahalanobis distance between the following limit pairs:
[0139] - Ml, ML3
[0140] - M3, ML1
[0141] The implementation of this comparison step therefore makes it possible to reduce the quantity of calculations executed by calculation unit 2.
[0142] Then, in an eleventh step E11, the PI method as defined by steps E1 to E10 is implemented for each identified pair of limits and leads to the determination of a maximum Mahalanobis distance for each of these pairs. Then, in a twelfth step E12, a matrix of Mahalanobis distances is calculated between each limit of the first set and each limit of the second set, each element of the matrix being equal to the maximum Mahalanobis distance calculated by the implementation of the PI method with a limit of the first set of limits and a limit of the second set of limits. Of course, assuming that step E03 of comparing the types of limits is carried out beforehand, only the elements of the matrix satisfying the comparison of the types as explained above are calculated.
[0143] Then, in a thirteenth step E13, the limits of the second set are classified as true positive or false positive by means of the Mahalanobis distance matrix, by implementing an algorithm for determining the nearest neighbor to the Mahalanobis distance matrix. Such an algorithm is also commonly referred to by the Anglicism "Global Neighborhood Neighborhood (GNN)". It makes it possible to obtain the best possible association between a limit of the second set and a limit of the first set. If it is impossible to associate a limit of the first set with a limit of the second set, it can be deduced that the limit of the first set corresponds to a false positive, that is to say that it results from a false detection carried out by the detection means 3.
[0144] Figure 7 illustrates the results of an implementation of the method P2 on a road comprising five parallel traffic lanes. The vehicle 1 is positioned on the central traffic lane. The detection means 3 detects four boundaries M1, M2, M3 and M4, represented in solid lines in Figure 7. Three boundaries M1, M2 and M3 have a rectilinear appearance while the fourth boundary M4 has a curved appearance. For each boundary, the zones Z11 representing the uncertainties in the position of the origin of the vectors Fj have been represented by a circle or an oval. Furthermore, the cartographic data leads to the identification of eight boundaries ML1 to ML8, represented in dotted lines in Figure 7. The method P2 is then implemented for detecting a plurality of traffic lane boundaries. Following the execution of the nearest neighbor determination algorithm, the boundaries M1, M2 and M3 are then associated respectively with the boundaries ML3, ML4 and ML5.None of the boundaries defined by the map data can be associated with the M4 boundary, so the latter is correctly classified as a false positive.
[0145] The method for detecting a plurality of traffic lane boundaries can also be used in a method P3 for determining the position of a vehicle on a road. An embodiment of such a method is illustrated in Figure 8.
[0146] In a first step E21, at least two hypotheses of vehicle positioning are determined. For example, if we assume that vehicle 1 is on a road, such as a motorway, comprising three parallel traffic lanes, a first hypothesis H1 consists of assuming that vehicle 1 is positioned on the rightmost traffic lane. A second hypothesis H2 consists of assuming that vehicle 1 is positioned on the central traffic lane. A third hypothesis H3 consists of assuming that vehicle 1 is positioned on the leftmost traffic lane.
[0147] Then, in a second step E22, the method P2 for detecting a plurality of traffic lane boundaries described above is implemented for each positioning hypothesis H1, H2, H3 of the vehicle. During successive implementations of the method P2, the current position of the vehicle determined by the geolocation means 4 is modified so as to position the vehicle according to each of the positioning hypotheses. In this case, the current position of the vehicle determined is corrected so as to position the vehicle successively in the center of the right traffic lane, then in the center of the central traffic lane, then in the center of the left traffic lane. This correction can be carried out by applying an offset to the component Myi, corresponding to the coordinate along the Y2 axis of the origin of each vector MXi.
[0148] Then, in a third step E23, a precision index is calculated based on the number of true positives and false positives determined for each hypothesis H1, H2, H3. For example, the precision index can be calculated using the following formula: Or :
[0149] - Precision (t, t+5) denotes the precision index calculated over a five-second time window,
[0150] - TP denotes the number of true positives calculated over the five-second time window, and
[0151] - FP denotes the number of false positives calculated over the five-second time window.
[0152] Figure 9 represents the evolution of the precision index for each of the hypotheses H1, H2 and H3. We observe that the precision index associated with hypothesis H1 is globally higher than the precision index associated with hypothesis H2 and which is itself globally higher than the precision index associated with hypothesis H3. It is thus possible to discriminate between the different hypotheses. Thus, in a fourth step E24, we select a positioning hypothesis by comparing the precision indices calculated for the different hypotheses. To this end, we can, for example, retain the hypothesis whose precision index has the highest average value over a given time window, i.e. hypothesis H1 according to the example in Figure 9. We can thus determine on which traffic lane the vehicle is actually traveling.This information can be used in autonomous vehicle control systems or even in navigation systems.
[0153] The invention provides a method for detecting one or more boundaries of a traffic lane, enabling the detection of false positives to be identified by the environment detection means on board the vehicle. This detection method can advantageously be implemented in a method for determining the position of a vehicle on a road in order to determine the position of the vehicle more reliably.
[0154] As a note, the enumeration terms such as first, second, etc. are only intended to distinguish the different steps of the process. These terms do not characterize an order relationship between the different steps, which can be carried out in any order provided that the necessary input data are available. The block diagrams shown in Figures 3, 6 and 8 indicate by arrows a possible order between the different steps. However, a different order could be envisaged by a person skilled in the art to achieve the same results. The processes described can be repeated indefinitely according to a predefined iteration frequency.
Claims
Claims Method (PI) for detecting a boundary (L1, L2, L3) of a traffic lane (VC1, VC2) for a motor vehicle (1), characterized in that it comprises: - a step (E1) of detecting said limit by a detection means (3) of the vehicle's environment, said detection means being carried in the vehicle, the limit detected by the detection means being defined by a function, in particular a polynomial function, - a step (E4) of determining a plurality of first vectors (MXi) characterizing said limit, the first vectors being determined on the basis of cartographic data and on the basis of the current position and orientation of the vehicle, - a step (E5) for determining data relating to the uncertainty of each of the first vectors, - a step (E6) of determining a plurality of second vectors (Fj) characterizing said limit, each second vector being determined by an orthogonal projection of a first vector onto said function, - a step (E7) for determining data relating to the uncertainty of each of the second vectors, - a step (E8) of calculating Mahalanobis distances between each first vector and each second vector resulting from the orthogonal projection of the first vector considered, each Mahalanobis distance being calculated based on the data relating to the uncertainty of each first vector and each second vector considered, - a step (E10) of classifying the limit detected by the detection means as true positive or false positive based on the previously calculated Mahalanobis distances. A detection method (PI) according to the preceding claim, characterized in that the first and second vectors are formulated in the same vehicle-linked reference frame. A detection method (PI) according to any one of the preceding claims, characterized in that each first vector comprises: - a first component equal to a distance from an origin of the first vector considered to the vehicle, along a longitudinal axis of the vehicle, - a second component equal to a distance from the origin of the first vector considered to the vehicle, along a transverse axis of the vehicle, - a third component characterizing the orientation of a tangent to said limit at the origin of the first vector, and in that each second vector comprises: - a first component equal to a distance from an origin of the second vector considered to the vehicle, along a longitudinal axis of the vehicle, - a second component equal to a distance from the origin of the second vector considered to the vehicle, along a transverse axis of the vehicle, - a third component characterizing the orientation of a tangent to said boundary at the origin of the second vector. Detection method (PI) according to any one of the preceding claims, characterized in that each first vector is determined such that its origin lies within a range (ZP) of the detection means (3). Detection method (PI) according to any one of the preceding claims, characterized in that: - the data relating to the uncertainty of each of the first vectors are calculated based on uncertainty values of the vehicle's current positioning and orientation and based on uncertainty values of the map data, and / or in that - The data relating to the uncertainty of each of the second vectors are calculated by the detection means (3). Detection method (PI) according to any one of the preceding claims, characterized in that it comprises a step (E9) of calculating the maximum Mahalanobis distance among the Mahalanobis distances calculated between each first vector and each second vector resulting from the orthogonal projection of the first vector considered, the step (E10) of classifying the second lane boundary as true positive or false positive being carried out according to the maximum calculated Mahalanobis distance. Method (P2) of detecting a plurality of lane boundaries (L1, L2, L3) for a motor vehicle (1), characterized in that it comprises: - a step (E01) of detecting a first set of traffic lane boundaries by a means of detecting the vehicle's environment, said detection means being carried in the vehicle, - a step (E02) for detecting a second set of traffic lane boundaries from map data and data on the vehicle's current position and orientation, - a step (E12) of calculating a Mahalanobis distance matrix between each limit of the first set and each limit of the second set, each element of the matrix being equal to the maximum Mahalanobis distance calculated by implementing the detection method (PI) according to the preceding claim with a limit of the first set of limits and a limit of the second set of limits, - a step (E13) of classifying the boundaries of the first set as true positive or false positive using the Mahalanobis distance matrix, by implementing a nearest neighbor determination algorithm on the Mahalanobis distance matrix. A detection method (P2) according to the preceding claim, characterized in that it comprises a step (E03) of comparing one type of each boundary of the first set with one type of each boundary of the second set, and in that, during the step (E12) of calculating the Mahalanobis distance matrix, only the elements of the matrix satisfying A comparison of the types is calculated. Method (P3) for determining the position of a vehicle (1) on a road, characterized in that it comprises: - a step (E21) of determining at least two hypotheses (H1, H2, H3) for the positioning of the vehicle, then, for each hypothesis of vehicle positioning: - the implementation of the detection method (P2) according to claim 7 or 8, - a step (E23) of calculating a precision index based on the number of true positives and false positives determined, then: - a step (E24) of selecting a positioning hypothesis by comparing the accuracy indices calculated for the different hypotheses. Product: computer program comprising program code instructions recorded on a computer-readable medium for implementing the steps of the process according to any one of the preceding claims when said program is running on a computer. Data storage medium (7), computer-readable, on which is recorded a computer program comprising program code instructions for implementing a process according to any one of claims 1 to 9.Motor vehicle (1), characterized in that it comprises a means for detecting the environment of the vehicle, a means for geolocating the vehicle (4), a means for determining the orientation of the vehicle (5), a memory (6) or a means for accessing a memory in which map data are recorded, and a computing unit (2) equipped with a data recording medium (7) according to the preceding claim.
