25
School of Systems, Engineering, University of Reading rkala.99k.org April, 2013 Motion Planning for Multiple Autonomous Vehicles Rahul Kala Fuzzy Logic Presentation of paper: R. Kala, K. Warwick (2015). Reactive Planning of Autonomous Vehicles for Traffic Scenarios. Electronics 4, 739-762

Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Embed Size (px)

DESCRIPTION

This series of presentations cover my thesis titled "Motion Planning for Multiple Autonomous Vehicles". The presentations are intended for general audience without much prior knowledge of the subject, and not specifically focused upon experts of the field. The thesis website contains links to table of contents, complete text, videos, presentations and other things; available at: http://rkala.in/autonomousvehiclesvideos.html

Citation preview

Page 1: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

School of Systems, Engineering, University of Reading

rkala.99k.orgApril, 2013

Motion Planning for Multiple Autonomous Vehicles

Rahul Kala

Fuzzy LogicPresentation of paper: R. Kala, K. Warwick (2015). Reactive Planning of Autonomous Vehicles for Traffic Scenarios. Electronics 4, 739-762

Page 2: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Why Fuzzy Logic?• Computational Time• Work with partially known environments

Issues• Completeness• Optimality

rkala.99k.org

Page 3: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Key Contributions• Design of a Fuzzy Inference System for the

problem. • Design of a decision making module for

deciding the feasibility of overtaking purely based on the vehicle distances and speeds.

• Design of an evolutionary technique for optimization of such a fuzzy system.

• Using the designed fuzzy system enabling vehicles to travel through a crossing by introducing a virtual barricade.

rkala.99k.org

Page 4: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Fuzzy Inference System• Codify the immediate scenario to a few inputs. • Decide the actions to be taken and hence design the

outputs. • Think of various scenarios and the associated

inputs/outputs and generalize them as rules

rkala.99k.org

Design Methodology

Formulate Inputs

Formulate Outputs

Steering

Speed

Design Rules

Page 5: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Inputs

rkala.99k.org

Inputs

Continuous Valued

Angle deviation from road

Distance from left boundary/ obstacle

Distance from right boundary/ obstacle

Distance from front vehicle/ boundary/ obstacle

Side: distance of vehicle in wrong side

Discrete Valued/ Strategy Inputs

Turn to avoid obstacle/ overtake vehicle in front

Requested turn: turn to enable another vehicle to overtake

Page 6: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Some Inputs

rkala.99k.org

γi

θi

Obstacle

ObstacleLeft Distances

Right Distances

Front Distances

Deviation = γi – θiMinimal of twin distance inputs is

taken

Page 7: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Turn to avoid obstacle

rkala.99k.org

If front distance from left corner is less than front distance from right corner, turn right; and vice versaHeuristic holds from most small obstacles/general scenarios

Page 8: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Overtaking

rkala.99k.org

Check if the front vehicle (1) is

slower and

needs to be

overtaken by the vehicle being

planned (2)

Check if road is wide enough to

safely accommodate both

(1) and (2)

Check if overtaki

ng is feasible

with any

other vehicle (3) on

the road while (2)

overtakes (1)

Initiate the overtake(2)

decides the side of

overtake

(2) steers on

decided side

(1) steers on opposite

side

Check wheth

er cooperation of (3)

is required or not

In case yes, (3)

steers depending upon the

scenario

Page 9: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Feasibility criterion with 3 vehicles• Assumption: Road not wide enough for

multiple (>3) vehicles to lie side-by-side• The vehicles are projected to travel straight

subsequently (else would require to adjust for overtaking)

• Condition 1: (1), (2) and (3) can simultaneously lie side by side along the road,

OR• Condition 2: (2) can complete overtake of (1)

within the time (3) does not lie in the overtaking zone

rkala.99k.org

Page 10: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Cooperation• Whether (3) needs to steer in a particular

direction to enable overtake?

• Cooperation required in case the vehicles need to align to fit within road width (condition 1)

• (3) moves opposite to the location of (1) and (2)

rkala.99k.org

Page 11: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Vehicle Following• In case of infeasibility, the vehicle would follow

the vehicle in front

• If any oncoming vehicle/any other vehicle causing overtake infeasibility passes, overtake initiates

• Vehicle can drive in the wrong side and does not consider the vehicle in front (both inputs disabled)

• When (2) is ahead of (1), the inputs are enabled again

rkala.99k.org

Page 12: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Crossing • Add virtual barricade as boundaries on road not

used in navigation• Make the vehicle go by designed fuzzy planned

– overtaking disabled• In absence of traffic lights first come first serve

sequence followed

rkala.99k.org

Page 13: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Crossing

rkala.99k.org

Left Boundary

Right Boundary

Barricades

Page 14: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Evolution of fuzzy planner• Optimization using Genetic Algorithm• Complete design using Genetic Algorithm would be

computationally expensive• Initial fuzzy planner designed by human based on sample

scenarios• Altering optimization of rules and membership functions

for a few cycles• Rule optimization can increment/decrement any

antecedent/consequent by a unity• Membership function optimization can move any

membership function parameters within a narrow region.• Fitness Function: Minimize time, minimize collisions,

minimize time in wrong side, minimize safety distance breach

rkala.99k.org

Page 15: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Evolution of fuzzy planner

rkala.99k.org

F ← Human Designed Fuzzy Planner

While no of cycles are not met

F ← Tune Rules (F)

F ← Tune Membership Function Parameters (F)

Fitness Evaluation

Simulation

Map

Return F

End

Page 16: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Results – Single Vehicle

rkala.99k.org

Page 17: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Results – Vehicle Avoidance

rkala.99k.org

Page 18: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Results – Multi Vehicle

rkala.99k.org

Page 19: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Results – Multi Vehicle

rkala.99k.org

Page 20: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Results - Crossing

rkala.99k.org

Page 21: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Analysis

rkala.99k.org

1 9 17 25 33 41 49 57 65 730

1

2

3

4

5

6

7

8

9

10

Left Turn 1Left Turn 2Right Turn 1Right Turn 2StraightLeft Turn with Obstacle

Time

Spee

d

1 10 19 28 37 46 55 64 73 820

2

4

6

8

10

Left Turn 1Left Turn 2Right Turn 1Right Turn 2Straight

Time

Spee

d

Single vehicle scenarios

Two vehicle scenarios

Page 22: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Analysis

rkala.99k.org

1 8 15 22 29 36 43 50 57 64 71 78 85 92 990

1

2

3

4

5

6

7

8

9

10

With OvertakeWithout Overtake

Time

Spee

d

Overtaking scenarios

Page 23: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Angle Deviation from Road

rkala.99k.org

1 11 21 31 41 51 61 71-30

-20

-10

0

10

20

30

Left TurnRight TurnStraightLeft Turn with Obstacle

Time

Ang

le

1 9 17 25 33 41 49 57 65 73 81-30

-20

-10

0

10

20

30

Left TurnRight TurnStraight

Time

Ang

le

Single vehicle scenariosTwo vehicle scenarios

Page 24: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

Motion Planning for Multiple Autonomous Vehicles

Angle Deviation from Road

rkala.99k.org

1 8 15 22 29 36 43 50 57 64 71 78 85 92 99-30

-20

-10

0

10

20

30

With OvertakeWithout Overtake

Time

Ang

le

Overtaking scenarios

Page 25: Motion Planning for Multiple Autonomous Vehicles: Chapter 5a - Fuzzy Logic

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

Thank You

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