colregs based collision avoidance of unmanned …...8/6/17 1 michael r. benjamin kyle woerner,...

16
8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and Artificial Intelligence Lab [email protected] COLREGS Based Collision Avoidance of Unmanned Surface Vehicles Aug 2nd, 2017 Acknowledgements Office of Naval Research (ONR 333) has sponsors the COLREGS algorithm development. Dr. Robert Brizzolara. Office of Naval Research (ONR 311) has sponsored MOOS-IvP for nearly 10 years. Dr. Don Wagner, Dr. Behzad Kamgar-Parsi, Dr. Wen Masters. Battelle has sponsored, beginning in 2010, MOOS-IvP, MOOS, the development of our autonomy course at MIT, the purchase of the Heron platforms, and the build-out of our Marine Autonomy Bay facilities. Mr. Mike Mellott and Mr. Mike Kuhlman. Thales UK office has sponsored the COLREGS work, beginning in 2016. Faculty collaborators: Prof. Henrik Schmidt MIT MechE Prof. John Leonard MIT MechE/CSAIL Prof. Paul Newman Oxford

Upload: others

Post on 19-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

1

Michael R. BenjaminKyle Woerner, Michael Novitzky, John LeonardMIT Dept. of Mechanical EngineeringComputer Science and Artificial Intelligence Lab

[email protected]

COLREGS Based Collision Avoidance of Unmanned

Surface Vehicles

Aug 2nd, 2017

Acknowledgements• Office of Naval Research (ONR 333) has sponsors the COLREGS algorithm development.Dr. Robert Brizzolara.

• Office of Naval Research (ONR 311) has sponsored MOOS-IvP for nearly 10 years.Dr. Don Wagner, Dr. Behzad Kamgar-Parsi, Dr. Wen Masters.

• Battelle has sponsored, beginning in 2010, MOOS-IvP, MOOS, the development of our autonomy course at MIT, the purchase of the Heron platforms, and the build-out of our Marine Autonomy Bay facilities. Mr. Mike Mellott and Mr. Mike Kuhlman.

• Thales UK office has sponsored the COLREGS work, beginning in 2016.

Faculty collaborators:

Prof. Henrik SchmidtMIT MechE

Prof. John LeonardMIT MechE/CSAIL

Prof. Paul NewmanOxford

Page 2: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

2

COLREGS Autonomy• Idea:

• Enable autonomous surface vehicles to obey the “Rules of the Road” COLREGS.• Establish a road test for validating the autonomous collision avoidance.

COLREGS Autonomy• Funded by: Office of Naval Research (ONR)• Idea:

• Enable autonomous surface vehicles to obey the “Rules of the Road” COLREGS.

• Establish a road test for validating the autonomous collision avoidance.

• Research Focus: • Map the protocols written for humans into

algorithmic format.• Find minimal set of field tests that validate

widest set of scenario permutations.

• Technical Approach:• Collision avoidance protocols mapped

to set of modes, and sub-modes.• Modes map to a unique form of

objective function. Multi-objective optimization with IvP to solve.

• Impact: • Autonomous long-duration coastal

sampling with autonomous platforms.• Multi-vehicle/swarm capabilities can

be built on COLREGS foundation.

CrossingSituation

Head-onSituation

Page 3: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

3

Payload UUV Autonomy(3 Architecture Principles)

Main Vehicle ComputerPayload Computer

Payload Computer

MOOS MiddlewareMOOS Applications

Behavior-Based Modular HELM

IvP Helm

Autonomy Research Focus Areas

Training/Documentation/V&V

COLREGS

Aquaticus RoboChallenge

MOOS-IvP

Page 4: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

4

Overview of the IvP HelmBehavior Output and Action Selection

1 Mail is read in the MOOS OnNewMail() function and applied to a local buffer.

2 The helm mode is determined, and set of running behaviors determined.

4 Competing behaviors are resolved with the IvP solver.

5 The Helm decision and any behavior postings are published to the MOOSDB.

Behaviors execute – posting MOOS variables and an IvP function.3

Behavior 1

Behavior 2

Behavior 3

f1(x1, x2, …, xn)

f2(x1, x2, …, xn)

f3(x1, x2, …, xn)

wi fi(! x )

i= 0

k−1

∑argmax

! x * =

! x

SolverObjective Functions

Action

Overview of the IvP HelmBehavior Output and Action Selection

• The objective functions are called IvP functions – functions of a certain format.• The Solver is called the IvP Solver – they exploit the IvP function structure.

• Typical Decision Space: Heading, Speed, Depth

Page 5: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

5

IvP FunctionsThe IvP Function vs. Underlying Function

An IvP function is a piecewise linear approximation of an objective function, over a discrete decision space (domain).

UnderlyingFunction

Piecewise Linear Approximation

525 Pieces

Interval Programming Solution AlgorithmsOverview

An IvP problem consists of a set of k functions, each with a priority weighting. The solution is given by:

wi fi(! x )

i= 0

k−1

∑argmax

! x * =

! x

f1

f3

f2 • 1 level for each function• nk leaf nodes (n pieces per function).

The Solution algorithm:

The Search Tree:

• Branch and bound• Pruning based on intersection look-ahead.

Page 6: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

6

Behavior 1

Behavior 2

Behavior 3

f1(x1, x2, …, xn)

f2(x1, x2, …, xn)

f3(x1, x2, …, xn)

wi fi(! x )

i= 0

k−1

∑argmax

! x * =

! x

SolverObjective Functions

Action

Overview of the IvP HelmBehavior Output and Action Selection

Example:Waypoint TraversalBehavior

Behavior 1

Behavior 2

Behavior 3

f1(x1, x2, …, xn)

f2(x1, x2, …, xn)

f3(x1, x2, …, xn)

wi fi(! x )

i= 0

k−1

∑argmax

! x * =

! x

SolverObjective Functions

Action

Overview of the IvP HelmBehavior Output and Action Selection

Example:Collision AvoidanceBehavior

Page 7: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

7

Behavior 1

Behavior 2

Behavior 3

f1(x1, x2, …, xn)

f2(x1, x2, …, xn)

f3(x1, x2, …, xn)

wi fi(! x )

i= 0

k−1

∑argmax

! x * =

! x

SolverObjective Functions

Action

Overview of the IvP HelmA Simple Collision Avoidance Example

COLREGS Collision Avoidance(sponsored by ONR, Thales UK)

• The objective is to avoid collisions with other autonomous and non-autonomous vehicles. • COLREGS are the rules of the road for seagoing vessels.• They provide a protocol of roles and required actions between vessels.• They were written for humans, not autonomous systems.

Collision Avoidance WITHOUT COLREGS

Page 8: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

8

What’s Wrong with Non Protocol Based Collision Avoidance

• Consider the head-on situation• If ownship rates candidate maneuvers based on closest point of approach,

a maneuver to port or starboard looks equally good.

270 90

0

180

0.5 m/s

Ownship

What’s Wrong with Non Protocol Based Collision Avoidance

• Consider the head-on situation• If ownship rates candidate maneuvers based on closest point of approach,

a maneuver to port or starboard looks equally good.

• And the same is true for the contact, so• It’s possible one turns to port and the other to starboard, or vice versa.

270 90

0

180

0.5 m/s

270 90

0

180

0.5 m/s

Contact Ownship

Page 9: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

9

COLREGS Collision Avoidance• The head-on situation is referenced in Rule 14 of the COLREGS.

270 90

0

180

0.5 m/s

Ownship

When two power-driven vessels are meeting on a reciprocal or nearly reciprocal courses so as to involve a risk of collision each shall alter her course to the starboard so that each shall pass on the port side of the other

• The COLREGS IvP Behavior on ownship heavily penalizes the “wrong” kind of turn.

COLREGS Collision Avoidance• The head-on situation is referenced in Rule 14 of the COLREGS.

270 90

0

180

0.5 m/s

Ownship

When two power-driven vessels are meeting on a reciprocal or nearly reciprocal courses so as to involve a risk of collision each shall alter her course to the starboard so that each shall pass on the port side of the other

• The COLREGS IvP Behavior on ownship heavily penalizes the “wrong” kind of turn.• And, of course, so does the contact:

270 90

0

180

0.5 m/s

Contact

Page 10: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

10

COLREGS Collision Avoidance

• The give-way (crossing) situation is referenced in Rule 15 of the COLREGS.

270 90

0

180

1 m/s

Ownship

When two power-driven vessels are crossing so as to involve risk of collision, the vessel which has the other on her own starboard side shall keep out of the way and shall, if the circumstances of the case admit, avoid crossing ahead of the other vessel.

• The give-way vehicle may cross ahead of the other vessel if it clearly makes more sense.

4 m/s

2.4 m/s

COLREGS Collision Avoidance(sponsored by ONR)

• The objective is to avoid collisions with other autonomous and non-autonomous vehicles. • COLREGS are the rules of the road for seagoing vessels.• They provide a protocol of roles and required actions between vessels.

Collision Avoidance WITH COLREGS

Page 11: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

11

Testing / Validation

• Simulation• In-Water Tests

Testing / Validation

Page 12: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

12

Testing / Validation

Testing / Validation

Page 13: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

13

How do we learn from the data?

• 12 hours of simulation• 4 vehicles• 1009 encounters

The Challenge:

• 1009 encounters•2 collisions

-one 0.95m-one 7.5m

•9 near misses (8-12m range)

RESULTS

Auto Generated Encounter Plots

• Part of the alogview tool• Open Source• Works on any mission log file• Developed Nov ‘15 to present.• In next release of MOOS-IvP

Encounter Plots

range

collision Nearmiss

clear

collision

Page 14: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

14

In-Water Tests

HeronM300(4) Human-operatedMokai

27

Daymode

28

In-Water Tests

Page 15: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

15

Daymode

29

In-Water Tests

30

In-Water Tests

Page 16: COLREGS Based Collision Avoidance of Unmanned …...8/6/17 1 Michael R. Benjamin Kyle Woerner, Michael Novitzky, John Leonard MIT Dept. of Mechanical Engineering Computer Science and

8/6/17

16

COLREGS Collision Avoidance(sponsored by ONR, Thales UK)

Open Question: Does COLREGS Scale to larger sets of vehicles, swarms?

END