LONGITUDINAL AND LATERAL INTEGRATED MOVING HORIZON DECISION MAKING METHOD AND APPARATUS FOR AUTONOMOUS VEHICLE IN SNOWY AND ICY ENVIRONMENT BASED ON TRAJECTORY PREDICTION
20220324482 · 2022-10-13
Inventors
Cpc classification
B60W2555/20
PERFORMING OPERATIONS; TRANSPORTING
B60W2554/804
PERFORMING OPERATIONS; TRANSPORTING
B60W30/095
PERFORMING OPERATIONS; TRANSPORTING
G06V20/58
PHYSICS
G06V20/588
PHYSICS
B60W60/0011
PERFORMING OPERATIONS; TRANSPORTING
B60W30/18163
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60W60/00
PERFORMING OPERATIONS; TRANSPORTING
B60W30/095
PERFORMING OPERATIONS; TRANSPORTING
Abstract
Provided are a longitudinal and lateral integrated moving horizon decision making method and apparatus for an autonomous vehicle in a snowy and icy environment based on trajectory prediction, with an aim of reducing the complexity of planning a lane-changing trajectory. The method includes: screening out at least one obstacle, planning a lane-changing trajectory according to the at least one obstacle, establishing a decision making model according to the lane-changing trajectory, and controlling the autonomous vehicle by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model. Further provided are a longitudinal and lateral integrated moving horizon decision making apparatus for an autonomous vehicle in a snowy and icy environment based on trajectory prediction and a storage medium.
Claims
1. A longitudinal and lateral integrated moving horizon decision making method for an autonomous vehicle in a snowy and icy environment based on trajectory prediction, comprising: screening out at least one obstacle; planning a lane-changing trajectory according to the at least one obstacle; establishing a decision making model according to the lane-changing trajectory; and controlling the autonomous vehicle by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model.
2. The method of claim 1, wherein screening out the obstacle comprises: obtaining information of the at least one obstacle through one or a combination of the following devices: a camera mounted on the autonomous vehicle; a radar mounted on the autonomous vehicle; and a map mounted on the autonomous vehicle.
3. The method of claim 2, wherein the information of the at least one obstacle comprises: at least one of an obstacle O(n,p) in a front direction or an obstacle O(n,p) in a rear direction in each lane of n.sub.l lanes extending in a same direction as a heading direction of the autonomous vehicle, wherein the O(n,p) comprises a longitudinal distance D(n,p) in a lane direction, a relative velocity V(n,p), and an absolute acceleration a(n,p); n denotes a lane identifier (ID) of each lane of the n.sub.l lanes, and is an integer from 1 to n.sub.l; and p denotes a relative position of the obstacle, and is equal to f or r, wherein f denotes an obstacle in the front direction, and r denotes an obstacle in the rear direction, n.sub.l denotes a number of lanes; and wherein screening out the at least one obstacle comprises: screening out a closest obstacle in the front direction and a closest obstacle in the rear direction according to the following equations:
4. The method of claim 1, wherein planning the lane-changing trajectory according to the obstacle comprises: determining, according to the following equation, a lateral reference trajectory during that the autonomous vehicle is changing a lane:
Y(t)=∫.sub.0.sup.tv(t)dt, wherein Y(t) denotes a displacement curve, v(t) denotes a velocity curve, t denotes time, and v(t) is determined according to the following equation:
v(t)=∫.sub.0.sup.ta(t)dt, wherein a(t) denotes a function of acceleration of the autonomous vehicle against the time.
5. The method of claim 4, wherein the function a(t) of the acceleration of the autonomous vehicle against the time is determined according to the following equation:
6. The method of claim 1, wherein establishing the decision making model according to the lane-changing trajectory comprises: determining the decision making model by taking a lane position l of the autonomous vehicle and a longitudinal displacement s of the autonomous vehicle as a system state and a system output and by taking a lane-changing time T, a longitudinal velocity v.sub.x, and a lane ID lc of a selected lane as input, and wherein the decision making model satisfies that:
{dot over (x)}=A.sub.cx+B.sub.c,
y=C.sub.cx wherein
7. The method of claim 6, wherein, the lane position l is determined according to a lane ID n.sub.u of a lane line left to the obstacle, a lateral displacement y.sub.l from the autonomous vehicle to the lane line left to the host autonomous vehicle and a lane width d, and wherein the lane position l is determined according to the following equation:
8. The method of claim 1, wherein controlling the autonomous vehicle by designing the longitudinal and lateral integrated moving horizon decision making controller according to the decision making model, comprises: discretizing the decision making model; deriving a prediction equation; constructing a decision making objective function according to a collision avoidance objective function, a maintaining desired velocity objective function, an objective function for reducing lane changes, and an objective function for reducing lane changing action changes; determining an optimal decision making according to the prediction equation and an optimization problem; and controlling the autonomous vehicle according to the optimal decision making, wherein optimal control variables comprise: an optimal velocity, an optimal lane ID, and optimal lane-changing time.
9. The method of claim 8, wherein the discretized decision making model satisfies that:
x(k+1)=Ax(k)+Bu(k)
y(k)=Cx(k), wherein A=e.sup.A.sup.
10. The method of claim 8, wherein a desired velocity is maintained by the autonomous vehicle, and the desired velocity is a preset vehicle driving velocity, wherein
11. A longitudinal and lateral integrated moving horizon decision making apparatus for an autonomous vehicle in a snowy and icy environment based on trajectory prediction, comprising: a memory, a processor and a user interface, wherein: the memory is configured to store a computer program; the user interface is configured to interact with a user; and the processor is configured to read the computer program in the memory, and execute the computer program to implement: screening out an obstacle; planning a lane-changing trajectory according to the obstacle; establishing a decision making model according to the lane-changing trajectory; and controlling the autonomous vehicle by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0062] To illustrate solutions in embodiments of the present disclosure more clearly, the drawings used in the description of the embodiments are described hereinafter. Apparently, the drawings described hereinafter illustrate part of embodiments of the present disclosure, and those skilled in the art may obtain other drawings based on the drawings described hereinafter on the premise that no creative work is done.
[0063]
[0064]
[0065]
[0066]
DETAILED DESCRIPTION
[0067] As shown in
[0068] It is to be noted that the order of the embodiments of the present disclosure only represents the sequence of the embodiments but does not represent the advantages or disadvantages of technical solutions provided in the embodiments.
Embodiment One
[0069] Referring to
[0070] In step S201, at least one obstacle is screened out.
[0071] In step S202, a lane-changing trajectory is planned according to the at least one obstacle.
[0072] In step S203, a decision making model is established according to the lane-changing trajectory.
[0073] In step S204, the autonomous vehicle is controlled by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model.
[0074] In this embodiment, according to information of the at least one obstacle and information of lane line given by a sensor of the autonomous vehicle, obstacles in the front direction and/or in the rear direction are screened out, a longitudinal velocity, a lane, and a lane-changing time are decided, the lane-changing trajectory is calculated by the lane-changing trajectory planning, and at meanwhile, the longitudinal velocity is tracked by the longitudinal velocity tracking.
[0075] In the preceding step S201, as a preferred example, the information of road and at least one surrounding obstacle may be obtained based on a camera, a radar or a map mounted on the autonomous vehicle so as to screen out at least one obstacle O(n,p) in the front direction and/or in the rear direction in each of the n.sub.l lanes in a same direction as a heading direction of the host autonomous vehicle. The information of an obstacle O(n,p) includes the longitudinal distance D (n,p) in the lane direction, the relative velocity V(n,p), and the absolute acceleration a(n,p), in which, n denotes a lane ID of each line and is an integer ranged from 1 to n.sub.l. The lane ID of a lane in the leftmost direction is 1 and the lane ID of the lane in the right direction increases successively from the left to the right. p denotes a relative position of the obstacle. p=f or r. f denotes an obstacle in the front direction. r denotes an obstacle in the rear direction. As a preferred example, a method for screening out may be: calculating a lane l.sub.n to which the obstacle belongs, according to a lane equation where y=f.sub.nll(x), a longitudinal distance X(n,p) of the obstacle, and a lateral distance Y(n,p) of the obstacle, as expressed in the equation (1).
[0076] In the equation (1), f.sub.nll(n,p)) denotes a lateral position of a lane line at a position with a longitudinal distance of X(n,p). Y(n,p) denotes a lateral distance of the obstacle. n.sub.u denotes a lane ID of a lane line left to the obstacle. n.sub.u ranges from 1 to n.sub.l in an ascending order from left to right.
[0077] In an embodiment, screened-out obstacles include an obstacle in the front direction and an obstacle in the rear direction, which may be expressed in the equation (2).
[0078] In the equation (2), j denotes an obstacle ID, D(j) denotes the longitudinal distance of the obstacle, and N denotes the number of the screened-out obstacles.
[0079] As a preferred example, in the preceding step S202, the lane-changing trajectory may be planned by using a method for trapezoidal acceleration. Preferably, the trapezoidal acceleration a(t) is divided into six durations in time, which are a positive rise t.sub.1, a positive hold t.sub.2, a positive fall t.sub.3, a negative fall t.sub.4, a negative hold t.sub.5, and a negative rise t.sub.6 respectively.
[0080] It is to be noted that the positive rise refers to that the acceleration is larger than 0 and increased. The positive hold refers to that the acceleration is larger than 0 and remains unchanged. The positive fall refers to that the acceleration is larger than 0 and decreased. The negative fall refers to that the acceleration is smaller than 0 and decreased. The negative hold refers to that the acceleration is smaller than 0 and remains unchanged. The negative rise refers to that the acceleration is smaller than 0 and increased.
[0081] In an embodiment, the acceleration a(t) is expressed as the equation (3).
[0082] In the equation (3), J.sub.max denotes an acceleration rate, a.sub.max denotes a maximum lateral acceleration, for the lane-changing time t.sub.l, a ratio of a hold period to a rising period is that k.sub.l=t.sub.2:t.sub.1, k.sub.1 is an adjustable parameter. The time for each period is expressed as the equation (4).
[0083] When the lane change of the autonomous vehicle is completed, the lateral displacement is a lane width d, as expressed in the following equation (5).
[0084] In the equation (5), the lane width d is in a unit of meters (m).
[0085] The Equation (6) is obtained according to the equations (4) and (5).
[0086] The velocity curve v(t) may be obtained by integrating the acceleration in time, as expressed in the following equation (7).
v(t)=∫.sub.0.sup.ta(t)dt (7)
[0087] The displacement curve y(t) is obtained by integrating the velocity curve v(t), that is, the displacement curve y(t) is a lateral reference trajectory during that the autonomous vehicle is changing the lane, as expressed in the equation (8).
y(t)=∫.sub.0.sup.tv(t)dt (8)
[0088] In the equation (8), the displacement curve y(t) is in the geodetic coordinate system.
[0089] In an embodiment, in the preceding step S203, the decision making model established according to the lane-changing trajectory may be established as a longitudinal kinematic model, that is, as the equation (9).
{dot over (s)}=v.sub.x (9)
[0090] It is to be noted that s denotes the longitudinal displacement of the host autonomous vehicle in a unit of m; v.sub.x, denotes the longitudinal velocity of the host autonomous vehicle in a unit of m/s.
[0091] In an embodiment, a one-order inertia element is used for replacing the model of the displacement curve y(t). The expression of the inertia element is expressed as the equation (10).
[0092] In the equation (10), lc denotes the lane ID of a selected lane and is an integer from 1 to n.sub.l. T denotes lane-changing time. The adjusting time of the one-order inertia element satisfying t.sub.s=3T. The lane-changing time t.sub.1 is same as the lane-changing time t.sub.s, that is, t.sub.1=3T. l denotes the lane position of the host autonomous vehicle, representing the lateral lane position of the host autonomous vehicle. The calculation equation of l is expressed as equation (11).
[0093] y.sub.l denotes the lateral displacement from the host autonomous vehicle to the lane line left to the host autonomous vehicle in a unit of m.
[0094] According to the equations (8) and (9), an integrated decision making model is obtained, that is, as expressed in the following equations (12).
[0095] Assuming that
a state-space expression is obtained, as expressed in the equation (13). The meaning of longitudinal and lateral integrated moving horizon decision making method is that the lateral decision making of the autonomous vehicle and the longitudinal decision making of the autonomous vehicle are obtained by one controller. Compared with the independent lateral decision making and the independent longitudinal decision making, the longitudinal and lateral integrated moving horizon decision making method enhances the performance of the decision making system.
[0096] In an embodiment, in the preceding step S204, in the embodiments of the present disclosure, as for controlling the autonomous vehicle to change the lane by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model, an optimal control variable is decided first; then the optimal control variable is applied to a corresponding device or module.
[0097] In an embodiment, the decision making for the optimal control variable may include the steps below.
[0098] In step A, the decision making model is discretized.
[0099] In step B, a prediction equation is derived.
[0100] In step C, a decision making objective function is constructed according to a collision avoidance objective function, a maintaining desired velocity objective function, an objective function for reducing lane changes, and an objective function for reducing lane changing action changes.
[0101] In step D, optimal control variables are determined according to the prediction equation and an optimization problem.
[0102] In step E, the autonomous vehicle is controlled according to the optimal control variables.
[0103] The optimal control variables include an optimal velocity, an optimal lane ID, and optimal lane-changing time.
[0104] In an embodiment, the equation (14) shows that the preceding decision making model (13) is discretized.
[0105] In the equations (14), A=e.sup.A.sup.
[0106] The prediction equation (15) of the system may be derived from the equation (14).
[0107] In the equation (15), P denotes a prediction horizon. N denotes a control horizon. The meaning of trajectory prediction is that the longitudinal trajectory and the lateral trajectory are predicted based on the decision making model. The equation (15) may be expressed as the equation (16).
Y(k)=S.sub.yxx(k)+S.sub.yuU(k) (16)
[0108] In the equation (16),
[0109] In an embodiment, in the preceding step C, the collision avoidance objective function may be shown in the following equation (17).
J.sub.1=−Σ.sub.i=1.sup.P∥TTC.sub.f∥.sup.2+∥TTC.sub.r∥.sup.2 (17)
[0110] In the equation (17), TTC.sub.f denotes the time of collision between the host autonomous vehicle and a closest obstacle in the front direction, and TTC.sub.r denotes the time of collision between the host autonomous vehicle and a closest obstacle in the rear direction. The calculation equation of the collision time is expressed as equation (18).
[0111] In the equation (18), T.sub.1 denotes a low collision time, T.sub.h denotes high collision time, T.sub.1 and T.sub.h each is a constant in a unit of s, and D.sub.k(n,p) denotes a relative distance at time k, which is expressed as:
D.sub.k(n,p)=D(n,p)+(V(n,p)+v.sub.x0)kT.sub.s+½a(n,p)(kT.sub.s).sup.2−Σ.sub.i=1.sup.kv.sub.x(k)T.sub.s,
[0112] in which, v.sub.x0 denotes a current longitudinal velocity of the host autonomous vehicle in a unit of m/s, and V.sub.k(n,p) denotes a relative vehicle velocity at the time k, which is expressed as:
V.sub.k(n,p)=V(n,p)+v.sub.x0−v.sub.x(k),
in which, S.sub.k denotes a safe distance satisfying: S.sub.k=T.sub.headwayv.sub.x(k)+d.sub.h, T.sub.headway denotes a constant of headway time in a unit of s, and d.sub.h denotes a constant of vehicle-to-vehicle distance in a unit of m.
[0113] In this embodiment, the high collision time refers to a time at which two vehicles may collide after a long time when a distance between the two vehicles is longer than a safe distance and when a front vehicle is faster than the host autonomous vehicle or a rear vehicle is slower than the host autonomous vehicle. The low collision time indicates refers to a time at which two vehicles may collide in a short time when a distance between the two vehicles is shorter than the safe distance.
[0114] In an embodiment, in the preceding step C, the desired velocity maintained by the autonomous vehicle may be expressed in the following equation (19).
[0115] In the equation (19), Δv.sub.x=v.sub.ref−v.sub.x(k), in which v.sub.ref denotes a desired vehicle velocity in a unit of m/s.
[0116] In an embodiment, in the preceding step C, the condition for reducing lane changes may be expressed in the following equation (20).
[0117] In an embodiment, in the preceding step C, the condition for reducing the lane changing action changes may be expressed in the following equation (21).
[0118] In the equation (21), Δlc denotes the lane changing action change. Δlc=lc(k)−lc(k−1)
[0119] In embodiments of the present disclosure, the velocity of the host autonomous vehicle ranges from 0 to a speed limit of a road section, that is, as expressed in the equation (22).
0≤v.sub.x(k)≤v.sub.max (22)
[0120] In the equation (22), v.sub.max denotes the speed limit of the road section in a unit of m/s.
[0121] In embodiments of the present disclosure, considering that an excessively fast lane-changing time in a snowy and icy environment may cause the autonomous vehicle to enter an extreme working condition, a tire force limit needs to be considered as for the minimum lane-changing time, that is, as expressed in the equation (23).
[0122] In the equation (23), m denotes a weight of a whole vehicle in a unit of kg, μ denotes a road adhesion coefficient, and F.sub.x denotes a current longitudinal tire force of the autonomous vehicle, in a unit of N.
[0123] In an embodiment, in the preceding step D, the optimal control variables may be determined according to the prediction equation and an optimization problem in the following manner.
[0124] Weight coefficients are introduced to handle demand conflicts of each optimization object to obtain optimal control variables, that is, to be converted into an optimization problem (24).
[0125] In the equation (24), J denotes the objective function. Γ.sub.1, Γ.sub.2, Γ.sub.3, and Γ.sub.4 denote relative weight coefficients.
[0126] The obtained optimal control variables may be expressed as v.sub.x*, lc*, and T*, and the selected control variables satisfy that: v.sub.cx=v.sub.x*(1), lc.sub.c=lc*(1), and T.sub.c=T*(1).
[0127] In an embodiment, in the preceding step E, the autonomous vehicle is controlled to change a lane, according to an optimal lane-changing control variable. v.sub.xc is applied to the longitudinal velocity tracking controller. With the symbol of lc.sub.c taken, ld is obtained and is applied to the lane-changing trajectory planning, wherein ld=sgn(lc.sub.c) indicating changing the lane to the left or to the right, and t.sub.l=3T.sub.c are both applied to the lane-changing trajectory planning.
[0128] The method in this embodiment helps implement a smooth lane-changing trajectory planning with an adjustable time for lane-changing completion, which enables the autonomous vehicle to execute a lane-changing decision making by a longitudinal and lateral integrated moving horizon decision making controller of the autonomous vehicle designed according to the decision making model. This method can describe the autonomous vehicle decision making process and implement the design of the model prediction controller of the autonomous vehicle designed according to the decision making model. This method can decide a longitudinal velocity, a lane, and a lane-changing time, implement decision making and trajectory planning for the autonomous vehicle, and implement trajectory planning with an adjustable time for lane changing, thereby reducing the complexity of planning a lane-changing trajectory for the autonomous vehicle.
Embodiment Two
[0129] Based on a same inventive concept, embodiments of the present disclosure further provide a longitudinal and lateral integrated moving horizon decision making apparatus for an autonomous vehicle in a snowy and icy environment based on trajectory prediction. As shown in
[0130] The obstacle screening module 301 is configured to screen out at least one obstacle.
[0131] The planning module 302 is configured to plan a lane-changing trajectory according to the at least one obstacle.
[0132] The decision making model establishing module 303 is configured to establish a decision making model according to the lane-changing trajectory.
[0133] The control module 304 is configured to control the autonomous vehicle by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model.
[0134] It is to be noted that the obstacle screening module 301 provided in this embodiment can implement all the functions included in step S201 in embodiment one, solving the same technical problems and achieving the same technical effects, which is not repeated herein.
[0135] Correspondingly, the planning module 302 provided in this embodiment can implement all the functions included in step S202 in embodiment one, solving the same technical problems and achieving the same technical effects, which is not repeated herein.
[0136] Correspondingly, the decision making model establishing module 303 provided in this embodiment can implement all the functions included in step S203 in embodiment one, solving the same technical problems and achieving the same technical effects, which is not repeated herein.
[0137] Correspondingly, the control module 304 provided in this embodiment can implement all the functions included in step S204 in embodiment one, solving the same technical problems and achieving the same technical effects, which is not repeated herein.
[0138] It is to be noted that the apparatus provided in embodiment two and the method provided in embodiment one belong to the same inventive concept, solve the same technical problems, and achieve the same technical effects. The apparatus provided in embodiment two can implement all the methods in embodiment one. The similarities are not repeated.
Embodiment Three
[0139] Based on the same inventive concept, embodiments of the present disclosure further provide a longitudinal and lateral integrated moving horizon decision making apparatus for an autonomous vehicle in a snowy and icy environment based on trajectory prediction. As shown in
[0140] The memory 402 is configured to store a computer program.
[0141] The user interface 403 is configured to interact with a user.
[0142] The processor 401 is configured to read the computer program in the memory 402, and execute the computer program to implement: screening out at least one obstacle; planning a lane-changing trajectory according to the at least one obstacle; establishing a decision making model according to the lane-changing trajectory; and controlling the autonomous vehicle by designing a longitudinal and lateral integrated moving horizon decision making controller according to the decision making model.
[0143] In
[0144] The processor 401 may be a CPU, an ASIC, an FPGA, or a CPLD. The processor 401 may also employ a multi-core architecture.
[0145] When the processor 401 executes the computer program stored in the memory 402, any one of the longitudinal and lateral integrated moving horizon decision making methods of an autonomous vehicle in a snowy and icy environment based on trajectory prediction in embodiment one is implemented.
[0146] It is to be noted that the apparatus provided in embodiment three and the method provided in embodiment one belong to the same inventive concept, solve the same technical problems, and achieving the same technical effects. The apparatus provided in embodiment three can implement all the methods in embodiment one. The similarities are not repeated.
[0147] The present disclosure further provides a processor-readable storage medium. The processor-readable storage medium stores the computer program. When the processor executes the computer program, any one of the longitudinal and lateral integrated moving horizon decision making methods of an autonomous vehicle in a snowy and icy environment based on trajectory prediction in embodiment one is implemented.
[0148] It is to be noted that the division of units in embodiments of the present disclosure is exemplary and is merely a division in logical functions. Other division modes may exist in an actual implementation. Additionally, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit. Alternatively, each unit may be physically independent. Alternatively, two or more units may be integrated into one unit. The integrated unit may be implemented in hardware or in a software functional unit.
[0149] It is to be understood by those skilled in the art that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may be implemented in a form of hardware completely, in a form of software completely, or in a form of hardware combined with software. Moreover, the present disclosure may be implemented in a form of a computer program product executed on one or more computer-readable storage media (including, but not limited to, a disk memory and an optical memory) that includes computer-readable program codes.
[0150] The present disclosure is described with reference to flowcharts and/or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It is to be understood that computer program instructions implement each flow and/or block in the flowcharts and/or block diagrams and a combination of flows and/or blocks in the flowcharts and/or block diagrams. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor or a processor of other programmable data processing equipment to produce a machine so that instructions executed by a computer or the processor of other programmable data processing equipment produce a means for implementing functions specified in one or more flows in the flowcharts and/or one or more blocks in the block diagrams.
[0151] These computer program instructions can also be stored in a computer-readable memory which can direct the computer or other programmable data processing equipment to operate in a particular manner so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction means. The instruction means implements the functions specified in one or more flows in the flowcharts and/or one or more blocks in the block diagrams.
[0152] It is apparent to those skilled in the art that various modifications and variations can be made in the present disclosure without departing from the spirit and scope of the application. In this case, if such modifications and variations are within the claims of the present disclosure and equivalent technologies thereof, the present disclosure is intended to include such modifications and variations.