The present invention relates to a method of determining the path of a vehicle along a two-dimensional plane intended to control the movement of the vehicle by means of a driver-assisting system, where the path interconnects an initial state and a terminal state and each of the states Zi=[xi, yi, ψi, ci] along the path is characterized by four state coordinates with xi and yi being the Cartesian coordinates of a point Pi, ψi being the direction angle of the tangent line, and ci being the curvature of the path at point Pi, and where the path is made up of a number of elementary paths meeting at junction points JPi such that the four state coordinates of state Zi are characterized by a continuous transition at the junction points JPi.
The prior art basically knows methods of determining a path of a vehicle steered along a two-dimensional plane. Both practical experience and technical literature present a variety of such methods of open loop and/or closed loop control of moving objects, motor vehicles, robots and so on by defining a nominal distance of a path to be traveled from which the path along a two-dimensional plane is systematically planned.
A typical example would be the path planning needed to maneuver a steered motor vehicle into a parking space with the aid of driver-assisting and parking assistant systems.
A fundamental objective of path planning is to construct a trajectory connecting two states (initial state and terminal state) of a moving object such as a motor vehicle.
A “state” as used herein is meant to be a vector comprising the geometrical coordinates of the motor vehicle as it moves along the plane, a direction angle of the tangent, and the curvature of the path. In this definition, the path is a part of the object trajectory or, more precisely, the projection of the trajectory onto the two-dimensional plane of movement. To say it more figuratively, the path is the line connecting all geometrical coordinates of the moving object.
There are thus four general coordinates that can characterize a state Zi in the aforementioned sense:
zi=[xi, yi, ψi, ci] (1)
As opposed to that, a coordinate point Pi is only defined by its geometric coordinates:
Pi=[xi, yi] (2)
where xi, yi are the Cartesian coordinates of every point of a Cartesian coordinate axis system. The above state vector Zi comprises ψi as the direction angle of the tangent and ci as the curvature of the path at point Pi.
A path connecting an initial state and a terminal state is normally made up of several elementary paths (or EPT for short) which, to simplify the model, are assumed to be of a uniform nature. This is to say that path planning solely works with elementary paths of the same kind.
In practice, path planning will be based around various types of elementary paths such as splines, polynomials, trigonometric functions or clothoids. A clothoid is a special type of plane curve that is marked by its curvature, c, changing in a linear manner.
The aforementioned elementary paths are mainly distinguished by their mathematical description. A feature that all elementary paths have in common is that they can be combined with straight and/or circular lines. In other words, straight and circular lines classify as special instances of tie elementary paths.
The path of a moving body is normally made up of a plurality of elementary paths that share the same junction points (abbreviating to JP). Thus, the junction points are special points of the path because each of them belongs to two adjoining elementary paths (EPT).
One special characteristic demanded of the paths by the system is that states must not change erratically along the entire course nor at the junction points. This is to say that the transition from one elementary path to an adjacent elementary path must be ensured to be continuous at the junction points of the standard path as well as both its first derivative (tangent) and its second derivative (curvature).
Thus, from the assumption that JP1 is a junction point of two elementary paths (EPT) of a length si each and the further assumption that
Equation (3) is the most crucial path planning constraint.
In technical applications such as the controlled maneuvering of a motor vehicle into or out of a parking space by means of a driver-assisting or parking assistant system, not only the constraints described by equation (3) but some further constraints must be met:
These introductory remarks illustrate the complexity of path planning, particularly if all requirements and constraints are to be met.
The prior art, for example DE 29 01 504 B1 or DE 19 84 222 Al, presents various solutions based on path planning procedures.
Initially, some basic solutions exclusively worked with arcs and straight lines as the elementary pains of combined paths. However, this approach fails to meet the constraint described by equation (3).
To be able to meet the condition of continuous state transitions as described by equation (3), the aforementioned elementary paths in the shape of arcs and straight lines are optionally supplemented with splines, trigonometric functions, polynomial functions or clothoids.
The prior art prefers to base its path planning on clothoids because they are closely related to the rules of movement of steered motor vehicles. Clothoids have the added benefit of the length of the path being minimized when an initial state is connected with a terminal state.
The following equation describes the four state coordinates of an object moving along a clothoid path:
In the equation, s is again the path length, c is the curvature of the clothoid, ψ is the track angle, and x and y are the Cartesian coordinates of a point on the path. The input variable of the state equation, i.e. parameter k, remains constant within a set section. It is often referred to as the “acuteness” of the clothoid.
Equation (4) shows that the state variables on an elementary clothoid path (ECPT) are always continuous functions with reference to s. Meeting the condition of continuous transitions at the junction points of a combined path remains to be a particular problem of path planning.
Using clothoids for path planning is discussed by a whole range of solution and approaches to solutions presented by the prior art as in Dubins: “On Curves of Minimal Length with a Constraint on Average Curvature, and with Prescribed Initial and Terminal Positions and Tangents”, American Journal of Mathematics, Vol. LXXIX, 1957, D497-516; Souères and Laumond: “Shortest Paths synthesys for a Car-Like Robot”, IEEE Trans. On Automatic Control, Vol. 41, No. 5, May 1996, p672-688.
However, the approaches to solutions presented by the prior art require very much computing power and are therefore of little use for practical applications.
An essential difficulty in the handling of clothoids is the fact a closed integration of equation (4) is not possible and that it would result in Fresnel's integrals.
German patent application DE 199 40 007 A1 describes how a series expansion of the cosine and sine functions results in the following approximate solution:
In this equation, the finite positive number N<∞ is the degree of the approximate polynomials.
Equation (5) thus presents the elementary clothoid path (ECPT) in the parametric form of polynomials x(s) and y(s).
Despite the fact that the resulting polynomial functions allow a numerical computation of the path, they still leave path planners with the difficulty of not being a suitable means of systematic and analytic path planning.
This is where the current invention comes in.
The present invention has the task of providing a method of the aforementioned type which allows the use of clothoids and which minimizes the required computing power such that systematic path planning can also be done analytically.
The invention achieves this aim by a method defined by the elements characterizing claim 1 hereof. The ancillary claims describe some beneficial variants of the invention.
According to Claim 1, thee inventive method is characterized in that the path is allocated at least one isosceles triangle whose corners are Δ(P0, P3, P5)| where Po is the starting position and P3 is the terminal position of at least one section of the path and where point P5 opposite the base of the planar triangle
where the two legs of the planar triangle,
The path is preferably made up of at least two clothoids. Clothoids could be shown to be particularly suitable for path planning. An alternative option is to let the elementary paths comprise a trigonometric function and/or a polynomial function and/or a circular line and/or a spline.
An advantageous embodiment provides the option of adding at least one straight line and/or an arc to the path. The possibility of adding at least one circular line to the path is particularly advantageous when path planning gets to the maximum possible curvature of the path as set by the steering apparatus of the motor vehicle.
Specifically, the elementary paths in themselves can form a turning point at their junction. Or the elementary paths can be set to not form a turning point at their junction. Whether or not path planning is to include a turning point depends, among other things, from the way in which the motor vehicle is to be moved into the parking space.
An embodiment may intend to allocate an isosceles planar triangle to each of the symmetrical elementary paths and connect the planar triangles such that the two legs of each pair of adjoining planar triangles form a straight line in their common junction point.
The planar triangle are preferably joined by a straight line going through the junction points of the triangles such that the straight line extends the adjacent legs of the planar triangles.
The elementary path allocated to the planar triangles could be a symmetrical double clothoid for at least some of its length. This would further simplify path planning by means of the method presented herein.
In an advantageous embodiment, an isosceles planar triangle Δ(P0, P3, P5)| is allocated to the symmetrical double clothoid such that the planar triangle is cut into two right triangles Δ(P0, P5, P2)| and Δ(P3, P5, |P2) by a bisecting line going through point P5, wherein the triangles Δ(P0, P5, P2)| and Δ(P3, P5, P2) have an angle ψ1 and identical major catheti x01=
A preferred embodiment assumes that the characteristic polynomial P(ψ2) of the clothoid path computes as P(ψ1)=2ψ1└Py(ψ1)tgψ1+Px(ψ1)┘ cos ψ1 and that equations
are calculus for polynomial functions Px and Py.
The method is based on the discovery that, compared with equation (5), a parametric form is a much simpler and much more advantageous way of expressing the elementary clothoid paths.
Start off with the equations valid for k=const.:
c ks (6)
Then take the following pair of equations
and add them to equation (5). This will result in parametric polynomial functions
which can be used to compute the two coordinates x(s) and y(s).
If N=3, an example of an approximate polynomial could look as follows:
Generally speaking, this approximation using N=3 will be sufficiently accurate for practical applications. A further developed method can also eliminate the unknown arc length from the two equations (9). The function described by the Cartesian coordinates of the path can then be written in a closed form as follows:
It is obvious that the geometrical course of the path of an elementary clothoid path (ECPT) is computed using three state coordinates, x, y, ψ. The angle ψ thus plays a very important role for the method presented herein.
Variables controlling the steering apparatus of the motor vehicle are preferably set by using the following formulae, i.e.,
to compute the length s1i and the acuteness ki of the clothoids, where the arc length of the at least one arc computes as
An apparatus having the capability to carry out the method presented herein and suitable for being installed in a motor vehicle, can be designed as a hard-wired electronic unit. Specifically, the apparatus can be a fully programmable electronic unit.
The apparatus preferably actuates and controls paths that were previously computed and stored.
To add a beneficial option, the apparatus could be linked to a map of the near vicinity such that path planning can be based on the information of that map.
Preferably, the apparatus is the component part of a driver-assisting system.
The description of design variants below illustrate further features and benefits of the current invention with reference to the attached figures. The following is shown
The text below is a more detailed explanation of some key aspects of the inventive method of computing the path of a motor vehicle along a two-dimensional plane. The inventive method can be used in motor vehicles, for example, to judge whether the motor vehicle will fit into the parking space. An apparatus having the capability to carry out the method presented herein could be installed in a motor vehicle and is preferably a component part of a driver-assisting system. The method described below can be deployed to make the motor vehicle move in a manner controlled by a driver-assisting system or a parking assistant system.
First of all, the text discusses
To each of the elementary ctothoid paths ECPT1 and ECPT2 shown in
The bases of the two elementary clothoid paths ECPT1 and ECPT2 are formed by
the major catheti
The figure illustrates how, at junction point P1, the minor catheti
Looking at the course of the two elementary clothoid paths must bear in mind that the following relations apply in accordance with the aforementioned equations (6) and (7):
If k2>k1, s2 will be smaller than <s1 and ψ1 will be smaller than ψ1 while c will keep changing steadily.
The above equation (9) will result in the following:
x1=s1Px(ψ1) (13)
y1=s1Py(ψ1) (14)
The following geometrical connection:
also applies.
The aforementioned equation (15) expresses the relation between base length x01 and arc length s1 of the elementary clothoid path ECPT1:
In this equation, arc length s1 is an unknown variable value.
However, equations (6) and (7) can be used to compute arc length s1:
This allows arc length s1 to be eliminated from equation (16). What we get after the above operation is the basic equation of path planning by means of an elementary clothoid path (ECPT):
In the equation, P(ψ1) is the polynomial function characterizing the elementary clothoid path ECPT1. It looks as follows:
P(ψ1)=2ψ1└Py(ψ1)tgψ1+Px(ψ1)┘ cos ψ1| (19)
One of the advantages is that the planar triangle Δ(PO, P2, P5) allocated to the first elementary clothoid path ECPT1 is fully defined by state Z1=[x1, y1, ψ1, c1] of the path at its terminal point P1.
Another advantage is that there is a comprehensive and obvious relation between the analytical and the geometrical presentation of the path.
The same applies to the second elementary clothoid path ECPT2, assuming that c2=c1:
In this case, ψ2 is a free parameter of this equation.
Analyzed below is a combined path PT made up of the first elementary clothoid path ECPT1 and the second elementary clothoid path ECPT2 and used to join states Z0=[0, 0, 0, 0] and Z3=[x3*, y3*, ψ1+ψ2, 0]. Analysis reveals that the coordinates of point P3*=[x3*, y3*] can be computed by means of the following equation:
This calculus will also specify a value for ψ2.
To prevent overdetermination, either a column equation of equation (22) or distance:
d(x1, y1, x02, x2, y2, ψ1, ψ2)=√{square root over ((x3*)2+(y3*)2)}{square root over ((x3*)2+(y3*)2)}| (23)
must be taken into account
Furthermore, there is a set connection between the analytical and the topographic presentation of the path planning. Systems of equations (18) to (22) and (18) to (21) plus (23) can be solved by means of numerical methods only.
The same approach applies to solving the problem that k2<k1 and, therefore, s2>s1 and ψ2<ψ1.
Is is of a particular advantage if the two elementary clothoid paths ECPT1 and ECPT2 are mirror-inverted, i.e. if ψ1=ψ2. In consequence, the two elementary clothoid paths ECPT1 and ECPT2 have identical path lengths (i.e. s1=s2 and x01=x02). This case is the dashed line in
Apart from the above, parameters x1, y1, x01 can be computed using equations (13) to (19).
Systems of equations (13) to (19) and (24) allow path planners to carry out the following essential tasks involved in maneuvering a motor vehicle into a parking space:
Now path planning can be done by joining the bases of isosceles planar triangles either directly of using combined straight lines such that the curvature of the path does not change at the junction points. Each of the planar triangles is allocated a symmetrical double clothoid (SDC).
The examples shown in
cix0i=P(ψi) (25)
If two of the three parameters ci, x0i, ψi are set, path planning is simply achieved by solving this equation.
Polynomial P(ψi) obviously has a crucial function for planning the course of the path of a controlled motor vehicle.
If the geometrical coordinates x0i, ψi are set, the maximum curvature of the path, ci, computes as:
Planning a path under realistic ambient conditions must consider the important case of the maximum curvature of the path being limited by a maximum steering angle of the motor vehicle's steering mechanism, for example. The following applies:
ci≦cimax (27)
This constraint is of particular importance if the driver-assisting system is to maneuver the motor vehicle into a comparatively short parking space. As the vehicle drives along the target path, it reaches the maximum steering angle of the motor vehicle's steering mechanism and, thus, the maximum curvature of oath PT. In consequence, two elementary clothoid paths, ECPT1 and ECPT2, are connected by the circular line (CL).
There is a possibility of making up the clothoid paths by joining both symmetrical and asymmetrical elementary clothoid paths (ECPT) which are used for path planning. In order to minimize the required computing capacity, it is still advantageous to just use symmetrical double clothoids (SDC).
The circular line is followed by the second elementary clothoid path, ECPT2. To compute the aperture angle of the circular line equation:
can be used.
One ensuing objective is to take the given target coordinates (distance 2x0z and change in path direction ψzi=2ψi) and the given maximum curvature cimax as set by the maximum steering angle of the motor vehicle's steering mechanism and
compute the base angle of the clothoid, ψi, in the range 0≦ψi≦ψi, that is to say, to connect the initial and terminal states:
taking constraint
ci≦cimax (31)
into account.
It takes the following steps to plan the path of the motor vehicle:
In
In an important application of the path planning method of driving a motor vehicle into and out of a parking space as presented herein, it is of particular importance that the suitability of the parking space for parking the motor vehicle in it can be recognized comparatively quickly. The aim is to use all suitable parking spaces if possible, but also to only use the parking spaces within set limiting constraints.
A parking space classifies as suitable for parking a motor vehicle if at least the minimum length of the clothoid path and/or the maximum curvature of the path allows the driving into and in the parking space without collisions. This is explained with reference to
Compared with the prior art, the method presented herein provides the following advantages:
Number | Date | Country | Kind |
---|---|---|---|
10 2005 058 809 | Dec 2005 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2006/069411 | 12/7/2006 | WO | 00 | 6/5/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/065923 | 6/14/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5765116 | Wilson-Jones et al. | Jun 1998 | A |
6922606 | Yutkowitz | Jul 2005 | B1 |
7103461 | Iwazaki et al. | Sep 2006 | B2 |
7469765 | Spannheimer et al. | Dec 2008 | B2 |
7487020 | Iwazaki et al. | Feb 2009 | B2 |
Number | Date | Country |
---|---|---|
2901504 | Jun 1980 | DE |
4124654 | Jan 1993 | DE |
10114412 | Nov 2002 | DE |
10156067 | May 2003 | DE |
2004050458 | Jun 2004 | WO |
Number | Date | Country | |
---|---|---|---|
20080255728 A1 | Oct 2008 | US |