eight steps to safe autonomous robots · eight steps to safe autonomous robots 09.11.19 - roscon jp...

32
Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Upload: others

Post on 28-Sep-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Eight Steps toSafe AutonomousRobots

09.11.19 - ROSCon JP

Ryan Gariepy, CTO Clearpath Robotics

Page 2: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

My History

Page 3: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

My History

2005 2007 2008 2009

Kiva Systems(Intern)

Clearpath Robotics(Founder)

Honda of Canada (Intern)

Aeryon Labs(Intern)

Page 4: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

My History (Continued)

2010 2012 2014 2019

OTTO Motors division started

OTTO International Expansion

First for-profit company to support ROS

First ROSCon, OSRF founded

Page 5: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

8 Steps to SaferAutonomous Vehicles

Page 6: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

8 Steps

1.What Is Safety?

2.What Is The Environment?

3.Know The Rules & Regulations

4.Know Your Risks

5. Use Good Mitigations

6. Safety By Design

7. Safety Architecture & Use of Predictable Code

8. Use Statistics

Page 7: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

What is Safety?

Safety does not mean ‘perfectly polite’ vehicles.

Zero risk is impossible.

Page 8: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Safety is about keeping people free from harm.

FIRST-ORDER RISKS

What is Safety?

Page 9: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Safety is about keeping people free from harm.

SECOND-ORDER RISKS

What is Safety?

Page 10: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

As safety increases, speeds decrease AND/OR space required increases

Robots must be safer than people performing the same task

What is Safety?

Page 11: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

No More Machine Operators

Machines have operators Robots have bystanders

Page 12: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Environment/ Bystanders

1.Who are your bystanders?

2.How big are they?

3.What clothing are they

wearing?

4.How foolish are they?

Page 13: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Standards

Principles of Design

Generic Safety StandardsSafeguards, Aspects of Safety

Specific Machinery Safety Standards

Type “A”

Type “B”

Type “C”

Nat

iona

l Sta

ndar

ds

Page 14: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Standards

ISO 12100 (Risk

assessment)

ISO 13849 (Safety Control Systems)IEC 61508 (Functional Safety)

ANSI B56.5 (AGVs)RIA R15.08 (AMRs)

ISO 13482 (Personal Care Robots)

Type “A”

Type “B”

Type “C”

CE,

JIS

, CSA

Page 15: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

New Industry - Type C Standards Still In Progress!

Principles of Design

Generic Safety StandardsSafeguards, Aspects of Safety

Specific Machinery Safety Standards

Type C standards should have specific advice on:

- Moving object detection- 3D object detection- Vehicle dynamic testing and restrictions

- Proper use of machine learning

“A”

“B”

“C”But they usually don’t!

Must use Type B or Type A

Page 16: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Risk Assessment Formats

ISO 12100 Format

Page 17: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Risk Assessment Formats

ISO 12100 Format

Page 18: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Low Probability High Probability

Low Impact

Result: Improvement opportunity, not safety issue

Prioritized: Via kaizen initiatives after release

Result: Product quality issue, not safety issue

Prioritized: Via customer feedback before release

High Impact

Result: Major safety risk, difficult to know

Prioritized: Needs active investigation

Result: Major safety risk

Prioritized: Via safety culture in development team

Types of Risk

Page 19: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Low Probability High Probability

Low Impact

Result: Improvement opportunity, not safety issue

Prioritized: Via kaizen initiatives after release

Result: Product quality issue, not safety issue

Prioritized: Via customer feedback before release

High Impact

Result: Major safety risk, difficult to know

Prioritized: Needs active investigation

Result: Major safety risk

Prioritized: Via safety culture in development team

Types of Risk

Page 20: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Mitigations

Functional Safety: Standard

Protective Equipment Undesired

Training & Awareness: Sometimes OK

Intrinsic Safety: Best

Page 21: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Intrinsic Safety

Remember the bystanders?

Page 22: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Intrinsic Safety

“Can the bystanders beat the robot in a fight?”

Speed <0.3 m/s or total mass <100 kg?

Page 23: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Other Safety Basics

Emergency Stops Wireless Emergency Stops

Safety Lasers Lockouts

Page 24: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Architecture: ISO13849 Levels

Category “B”Category “1”

Image: iRobot

Output(fault contactor)

Input(range sensor)

Logic(IF range < thresholdTHEN trigger fault)

Page 25: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Architecture: ISO13849 Levels

Category “2”

Output(fault contactor)

Input(range sensor)

Logic(IF range < thresholdTHEN trigger fault)

Test Logic(IF range not change THEN trigger fault)

Test Output(motor control

enable)

Image: iRobot

Page 26: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Architecture: ISO13849 Levels

Category “3”Category “4”

Output(fault contactor)

Input(range sensor 1)

Logic(IF range < thresholdTHEN trigger fault)

Test Logic(IF range not change THEN trigger fault)

Test Output(motor control

enable)Input

(range sensor 2)

Image: iRobot

Page 27: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Architecture: Navigational Safety Layering

LIDARs & Fieldsets

Vehicle Dynamics Management

Base Footprint Checker

Path Projection

Dynamic Object Tracking

Multi-Vehicle Communications

White Box/Introspectable Code

Safety-Ratable Code

Safety-Rated Subsystems

Black Box CodeTemplate Docking

Neural Network Docking

Page 28: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Statistics

MTTFd: Mean Time to Dangerous Failure.

MTTF, except only for failures which create hazards

IEC 62061ISO 13849

Risk Assessment

ItemPLr

System Architecture

MTTFd

PL

PL: Performance level of safety system/subsystem

PLr: Required performance level given risks

Page 29: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Software Testing

Unit Testing Real World TestingSimulationsV-ModelDevelopment

Requirements

Architecture

Design Unit Tests

System Tests

Acceptance Tests

Development

Page 30: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Conclusions

Page 31: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Conclusions

1. What Is Safety?

2. What Is The Environment?

3. Know The Rules & Regulations

4. Know Your Risks

5. Use Good Mitigations

6. Safety By Design

7. Safety Architecture

8. Use Statistics

More cautious than people, but not ‘perfectly polite’

How foolish are your bystanders?

You will probably need first principles

Look for low-likelihood/high-impact

Intrinsic safety best, functional safety OK

Keep it slow and light, have stopping methods

Build for redundancy and determinism

Don’t trust your eyes, trust the statistics

Page 32: Eight Steps to Safe Autonomous Robots · Eight Steps to Safe Autonomous Robots 09.11.19 - ROSCon JP Ryan Gariepy, CTO Clearpath Robotics

Questions

Ryan GariepyCTO, Clearpath

[email protected]

Join us on our mission to change the way materials move in factories worldwide.

Together, We Can Start a Self-Driving Revolution.