Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms
-
Upload
rahul-kala -
Category
Documents
-
view
222 -
download
1
Transcript of Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms
School of Systems, Engineering, University of Reading
rkala.99k.orgApril, 2013
Motion Planning for Multiple Autonomous Vehicles
Rahul Kala
Genetic Algorithm Presentation of the paper: R. Kala, K. Warwick (2014)
Heuristic based evolution for the coordination of autonomous vehicles in the absence of speed lanes, Applied Soft Computing, 19: 387–402.
Motion Planning for Multiple Autonomous Vehicles
Key Contributions• The design of a GA which gives results within low
computational times for traffic scenarios.• Employment of the developed GA for constant path
adaptation to overcome actuation uncertainties. The GA assesses the current scenario and takes the best measures for rapid trajectory generation.
• The use of traffic rules as heuristics to coordinate between vehicles.
• The use of heuristics for constant adaptation of the plan to favour overtaking, once initiated, but to cancel it whenever infeasible.
• The approach is tested for a number of diverse behaviours including obstacle avoidance, blockage, overtaking and vehicle following.
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Why GA?• Optimality• Probabilistic Completeness• Iterative
Concerns• Computational Cost• Cooperative Coordination
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Key Concepts• Use Road Coordinate Axis system
• Optimize as the vehicle moves: – Tune plan– Overcome uncertainties– Compute feasibility of overtake
• Integration with route planning– Next road/segment becomes the goal as the vehicle is
about to complete the previous
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Over
all A
lgor
ithm
rkala.99k.org
Planning by Dijkstra’s Algorithm if coarser path is not built
Map
For each vehicle entered in scenario and not reached goal
Finer Planning by Bezier Curves
Genetic Algorithm Optimization
Blockage?
Yes
Database of all Vehicle Trajectories
Steering and Speed Control
Operational Mode
No
Path Following Overtaking Vehicle Following
Motion Planning for Multiple Autonomous Vehicles
GA Optimization
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Individual Representation
rkala.99k.org
Y’ Genotype
Phenotype
The genotype (optimized by GA) stores all control points of the spline curve
Directional maintenance points
Control points
GoalSource
Trajectory
MappingMapping
X’ Y’
Motion Planning for Multiple Autonomous Vehicles
Genetic Operators
rkala.99k.org
• Sorts points in X’ axis (vehicle always drives forward)
• Deletes points behind the crossed position• Deletes excess control points till trajectory
gets better Repair
• Add random individualsInsert
• For variable length chromosomeCrossov
er• Randomly deviate points
Mutation
Motion Planning for Multiple Autonomous Vehicles
Fitness FunctionContributors• Length• Length of trajectory in without safety distance• Length in infeasible region
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Checking Granularity
rkala.99k.org
Trajectory
Points of checkingFiner at start
Coarser at the end
Motion Planning for Multiple Autonomous Vehicles
Coordination• Priority based coordination• Only vehicles ahead considered
• Cooperation added by traffic heuristics– Overtake– Vehicle Following
• Vehicle can request another vehicle to – Slow down– Turn right/left
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Determination of speed
rkala.99k.org
Path Optimization
: GASpeed
Optimization
Increase by δ if feasible
Decrease by δ if infeasible
Genetic Algorithm
Alternating optimization of path
and speed
Motion Planning for Multiple Autonomous Vehicles
Traffic Heuristics• Two heuristics used: Overtaking and Vehicle
Following
• Imparts cooperation to an else non-cooperative coordination
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Traffic Heuristics
rkala.99k.org
Assess Situation
OvertakingGive initial turns to the other vehicles to best overtake
Alter speeds of the other vehicles to best overtake
Cancel overtake if it seems dangerous
Vehicle Following
Give initial turns to the other vehicles to best overtake
Alter speeds of the other vehicles to best overtake
Initiate overtake if it seems possible
Motion Planning for Multiple Autonomous Vehicles
Overtaking
rkala.99k.org
R1R2
Move Left
R3
Move Left
R1
R2
R3
R1R2
Move Left
R3
Move Left
R1
R2
R3
R1
R2
R3
R1R2
R3
Motion Planning for Multiple Autonomous Vehicles
Overtaking
rkala.99k.org
R1
R2
R3
Too close, R2 slows
R1
R2
R3
Too close, R3 slows
R1
R2
R3
Not possible, abandon
R1
R2
R3
Not possible, abandon
Motion Planning for Multiple Autonomous Vehicles
Vehicle Following
rkala.99k.org
R1 R2
R3
Move Left
R1R2
Move Left
R3
Move Left
Move LeftInfeasible, slow down
R1
R2
R3
Infeasible, slow down
R1
R2
R3
Feasible, speed up
R1R2
R3
R1
R2
R3
Motion Planning for Multiple Autonomous Vehicles
Results
rkala.99k.org
Vehicle position at the time of blockage
Blockage
Motion Planning for Multiple Autonomous Vehicles
Results - 2 vehicle
rkala.99k.org
b
Motion Planning for Multiple Autonomous Vehicles
Results - Overtaking
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Results – Vehicle Following
rkala.99k.org
Motion Planning for Multiple Autonomous Vehicles
Analysis
rkala.99k.org
6 9 12 15 18 21 24 27 30 33 36760
800
840
880
920
960
Speed
Dis
tanc
e
Motion Planning for Multiple Autonomous Vehicles
Analysis
rkala.99k.org
6 9 12 15 18 21 24 27 30 33 360
20406080
100120140160
Speed
Tim
e
Motion Planning for Multiple Autonomous Vehicles
Analysis
rkala.99k.org
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25884
886
888
890892
894
896898
900
Number of Individuals
Dis
tanc
e
Motion Planning for Multiple Autonomous Vehicles
Analysis
rkala.99k.org
0 1 2 3 4 5 6 7 80
20
40
60
80
100
120
140
160 Road Coordinate Axis SystemCartesian Coordinate Axis System
Number of Obstacles
Min
imum
Indi
vidu
als f
or F
easi
ble
So-
lutio
n
Motion Planning for Multiple Autonomous Vehicles rkala.99k.org
Thank You
• Acknowledgements:• Commonwealth Scholarship Commission in the United Kingdom • British Council