motion planning for multiple autonomous vehicles: chapter 3a - genetic algorithms

26
School of Systems, Engineering, University of Reading rkala.99k.org April, 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.

Upload: rahul-kala

Post on 21-May-2017

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 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.

Page 2: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 3: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Why GA?• Optimality• Probabilistic Completeness• Iterative

Concerns• Computational Cost• Cooperative Coordination

rkala.99k.org

Page 4: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 5: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 6: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

GA Optimization

rkala.99k.org

Page 7: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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’

Page 8: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 9: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Fitness FunctionContributors• Length• Length of trajectory in without safety distance• Length in infeasible region

rkala.99k.org

Page 10: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Checking Granularity

rkala.99k.org

Trajectory

Points of checkingFiner at start

Coarser at the end

Page 11: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 12: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 13: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 14: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 15: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 16: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 17: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 18: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Results

rkala.99k.org

Vehicle position at the time of blockage

Blockage

Page 19: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Results - 2 vehicle

rkala.99k.org

b

Page 20: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Results - Overtaking

rkala.99k.org

Page 21: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles

Results – Vehicle Following

rkala.99k.org

Page 22: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 23: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 24: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 25: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

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

Page 26: Motion Planning for Multiple Autonomous Vehicles: Chapter 3a - Genetic Algorithms

Motion Planning for Multiple Autonomous Vehicles rkala.99k.org

Thank You

• Acknowledgements:• Commonwealth Scholarship Commission in the United Kingdom • British Council