SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
A Simplex Architecture for
Intelligent and Safe
Unmanned Aerial Vehicles
Prasanth Vivekanandan+, Gonzalo Garcia*,
Heechul Yun+, Shawn Keshmiri*
Electrical Engineering and Computer Science +
Aerospace Engineering *
University of Kansas
1
Intelligent UAVs
• Many applications
– Commercial, military, police,…
– $10B in 3 years*
2
http://abarry.org/
(*) http://gizmodo.com/some-good-things-drones-can-actually-do-1475717696
Amazon prime airFollow me
Search & rescuesurveillance
Intelligent UAVs
• Powerful computer hardware
– Multicore SoC, GPU
• High performance, Low cost, size,
weight, and power
• Powerful software framework
– Linux, middleware, libraries
• Productivity, ease of development
– Like a PC
3
Safety Challenges
UAVs are safety critical systems
4
http://rochester.nydatabases.com/map/domestic-drone-accidents
http://petapixel.com/2015/12/23/crashing-camera-dro
ne-narrowly-misses-top-skiier/
http://www.nytimes.com/2015/01/28/us/white-h
ouse-drone.html
Sources of Failures
• Sensors
• Airframe
• Actuators
• Onboard computing platform
– Software
– Hardware
5
Safety Challenges: Software
• Increasing complexity
– E.g., Linux: > 15M SLOC
• Concurrency
– Multithreading is hard
• Race condition. Order violation
• Timing unpredictability
– Shared resource contention affects timing
• >21X slowdown on a cache partitioned multicore (*)
 Software bugs are hard to weed out
6
https://www.quora.com/How-many-lines-of-code-are-in-the-Linux-kernel
(*) Prathap Kumar Valsan, Heechul Yun, Farzad Farshchi. Taming Non-blocking Caches to Improve Isolation in Multicore Real-Time Systems. IEEE Intl. Conf
erence on Real-Time and Embedded Technology and Applications Symposium (RTAS), IEEE, 2016.. Best Paper Award
Safety Challenges: Hardware
• Hardware bugs
– Pentium floating point bug (FDIV bug)
– Intel CPU bugs in 2015: http://danluu.com/cpu-bugs/
• “Certain Combinations of AVX Instructions May Cause Unpredictable System Behavior”
• “Processor May Experience a Spurious LLC-Related Machine Check During Periods of
High Activity”
• …
• Transient hardware faults (soft errors)
– Single event upset (SEU) in SRAM, logic
• Due to alpha particle, cosmic radiation
– Manifested as software failures
• Crashes, wrong output: silent data corruption
– Bigger problem in advanced CPU
• Increased density, freq  higher soft error
7
http://www.cotsjournalonline.com/articles/view/102279
Safety Challenges: Hardware
• SRAM SER vs. technology scaling
– Per-bit SER decreases
– Per-chip SER increases (due to higher density)
 Complex hardware is buggy and less reliable
8
Ibe et al., “Scaling Effects on Neutron-Induced Soft Error in SRAMs Down to 22nm Process” (Hitachi)
How to Improve Safety of a System?
• Correct by design
– Formal method based software development
• Difficult for a complex system
– Radiation hardened processors
• Expensive and low performance
• Deal with failures
– Run-time monitoring and redundancy
9
Outline
• Motivation
• UAV Simplex Architecture
• Prototype and Case Study
10
Simplex Architecture (*)
• Protect an untrusted complex controller with a
trusted backup controller
• General architectural principal
11
(*) L. Sha, Using Simplicity to Control Complexity, IEEE Software, 2001
Safety
Controller
Performance
Controller
UAV
Plant
Decision
Logic Plant
UAV Simplex Architecture
• Idea: use two hardware/software platforms with
distinct performance and reliability
characteristics to realize Simplex
12
High Performance (HP) Platform
High Assurance (HA) Platform
Safety controller
Performance
controller
UAV
Plant
Decision
Logic
GPS,IMU
Radar,
Camera
HA Platform
(Arduino)
HP Platform:
(Tegra TK1)
Rich OS (Linux), Middleware (ROS)
Two Platforms
• High Assurance (HA) Platform
– Simple hardware and software for verification and reliability
– Hardware: low frequency and density to reduce SEUs
– Software: certifiable, simple, low SLOC
• High Performance (HP) Platform
– Complex hardware and software for performance
– Hardware: performance oriented multicore, multi-gigahz, gpu
– Software: productivity oriented software framework, millions SLOC
13
Outline
• Motivation
• UAV Simplex Architecture
• Prototypes and Case Study
14
Prototype Avionics
• AFS: our custom built avionics
– Arduino based custom DAQ
• Basic sensors: IMU, GPS
– Nvidia Tegra TK1
• 4 x ARM cores + 192 GPU cores
• Advanced sensors: camera, radar
• UAVs with the AFS
– Applied to four UAVs in Dr. Keshmiri’s
lab in KU Aerospace Engineering
– Fixed wing (DG 808, G1XD, G1XB) and a Quadcopter
15
UAVs with AFS
16
DG 808G1XB
Quadcopter
G1XB
G1XD
Performance Controller
• Hardware
– Nvidia Tegra TK1, 4 x ARM Cortex-A15 @ 2.3GHz, 192 core GPU
– 28nm process, > a billion transistors  complex, high potential SEUs
• Performance controller
– Intelligent adaptive non-linear control using advanced sensor packages (goal)
– Use Linux (Ubuntu), Robot Operating System (ROS)  difficult to verify
17
ROS nodesRadar Vision
Performance controller
Safety Controller
• Hardware
– Arduino Due, a single ARM Cortex-M3 @ 80MHz
– Low density, low operating freq.  less susceptible for SEUs
• Safety controller
– Matlab Simulink coder + Arduino sketch, no OS small and
easier to verify
18
Safety controller (Simulink model)
Decision Logic
• Fault models
– HA (safety controller, decision logic) is trusted
– HP is not trusted
• Decision logic
– Detect crash, connect failure, timing violation, invalid outputs
(e.g., NaN)
– Recovery: reboot the HP platform
– Limitation: Currently don’t know “unsafe” states
19
Detectable faults
Execution Flow
20
HA platform
(Arduino)
HP platform
(Tegra TK1)
Case Study: Fault (Crash) Injection
• Experiment
– Kill the performance controller in the middle flight
• Hardware-in-the-loop (HIL) setup
21
Case Study: Fault (Crash) Injection
22
Case Study: Fault (Crash) Injection
• Monitored from the ground station software
23
Conclusion and Future Work
• Safety challenges of intelligent UAVs
– Software: increasing complexity, concurrency and
timing non-determinism
– Hardware: increasing reliability issues. E.g., transient
hardware faults (SEUs)
• UAV Simplex architecture
– Two platform based realization of Simplex
• High assurance (HA) platform: simple, verifiable
• High performance (HP) platform: performant, unverifiable
24
Conclusion and Future Work
• Prototype development and case study
– Nvidia Tegra TK1 + Arduino based
– Can survive from performance controller crash
• Ongoing and Future work
– Radar and vision based sense & avoid
– Define and detect unsafe state (not just crash)
– Detect and recover intrusion (security)
– Handling of sensor faults
25
Thank You
Disclaimer:
This work is supported by the National Aeronautics and
Space Administration's (NASA's) Leading Edge Aeronautics
Research for NASA (LEARN) fund under grant number
NNX15AN94A and Paul G. Allen Family Foundation
(PGAFF) grant number KUAE#40956.
More details can be found in the following publication.
Prasanth Vivekanandan, Gonzalo Garcia, Heechul Yun, Shawn Keshmiri. “A Simplex Architecture for Intelligent and Safe
Unmanned Aerial Vehicles.” IEEE International Conference on Embedded and Real-Time Computing Systems and
Applications (RTCSA), IEEE, 2016
26

Weitere ähnliche Inhalte

Was ist angesagt?

High Performance Storage Devices in the Linux Kernel
High Performance Storage Devices in the Linux KernelHigh Performance Storage Devices in the Linux Kernel
High Performance Storage Devices in the Linux KernelKernel TLV
 
Block I/O Layer Tracing: blktrace
Block I/O Layer Tracing: blktraceBlock I/O Layer Tracing: blktrace
Block I/O Layer Tracing: blktraceBabak Farrokhi
 
Memory management in vx works
Memory management in vx worksMemory management in vx works
Memory management in vx worksDhan V Sagar
 
RTOS on ARM cortex-M platform -draft
RTOS on ARM cortex-M platform -draftRTOS on ARM cortex-M platform -draft
RTOS on ARM cortex-M platform -draftJou Neo
 
HKG15-100: What is Linaro working on - core development lightning talks
HKG15-100:  What is Linaro working on - core development lightning talksHKG15-100:  What is Linaro working on - core development lightning talks
HKG15-100: What is Linaro working on - core development lightning talksLinaro
 
Memory access control in multiprocessor for real-time system with mixed criti...
Memory access control in multiprocessor for real-time system with mixed criti...Memory access control in multiprocessor for real-time system with mixed criti...
Memory access control in multiprocessor for real-time system with mixed criti...Heechul Yun
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf toolsBrendan Gregg
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF SuperpowersBrendan Gregg
 
Understand and optimize Linux I/O
Understand and optimize Linux I/OUnderstand and optimize Linux I/O
Understand and optimize Linux I/OAndrea Righi
 
Broken Linux Performance Tools 2016
Broken Linux Performance Tools 2016Broken Linux Performance Tools 2016
Broken Linux Performance Tools 2016Brendan Gregg
 
From DTrace to Linux
From DTrace to LinuxFrom DTrace to Linux
From DTrace to LinuxBrendan Gregg
 
YOW2021 Computing Performance
YOW2021 Computing PerformanceYOW2021 Computing Performance
YOW2021 Computing PerformanceBrendan Gregg
 
Q4.11: Sched_mc on dual / quad cores
Q4.11: Sched_mc on dual / quad coresQ4.11: Sched_mc on dual / quad cores
Q4.11: Sched_mc on dual / quad coresLinaro
 
AOS Lab 11: Virtualization
AOS Lab 11: VirtualizationAOS Lab 11: Virtualization
AOS Lab 11: VirtualizationZubair Nabi
 
ACM Applicative System Methodology 2016
ACM Applicative System Methodology 2016ACM Applicative System Methodology 2016
ACM Applicative System Methodology 2016Brendan Gregg
 
Lisa12 methodologies
Lisa12 methodologiesLisa12 methodologies
Lisa12 methodologiesBrendan Gregg
 
Modern Linux Tracing Landscape
Modern Linux Tracing LandscapeModern Linux Tracing Landscape
Modern Linux Tracing LandscapeKernel TLV
 

Was ist angesagt? (20)

High Performance Storage Devices in the Linux Kernel
High Performance Storage Devices in the Linux KernelHigh Performance Storage Devices in the Linux Kernel
High Performance Storage Devices in the Linux Kernel
 
Block I/O Layer Tracing: blktrace
Block I/O Layer Tracing: blktraceBlock I/O Layer Tracing: blktrace
Block I/O Layer Tracing: blktrace
 
Priority Inversion on Mars
Priority Inversion on MarsPriority Inversion on Mars
Priority Inversion on Mars
 
Memory management in vx works
Memory management in vx worksMemory management in vx works
Memory management in vx works
 
RTOS on ARM cortex-M platform -draft
RTOS on ARM cortex-M platform -draftRTOS on ARM cortex-M platform -draft
RTOS on ARM cortex-M platform -draft
 
HKG15-100: What is Linaro working on - core development lightning talks
HKG15-100:  What is Linaro working on - core development lightning talksHKG15-100:  What is Linaro working on - core development lightning talks
HKG15-100: What is Linaro working on - core development lightning talks
 
Memory access control in multiprocessor for real-time system with mixed criti...
Memory access control in multiprocessor for real-time system with mixed criti...Memory access control in multiprocessor for real-time system with mixed criti...
Memory access control in multiprocessor for real-time system with mixed criti...
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf tools
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF Superpowers
 
Understand and optimize Linux I/O
Understand and optimize Linux I/OUnderstand and optimize Linux I/O
Understand and optimize Linux I/O
 
Broken Linux Performance Tools 2016
Broken Linux Performance Tools 2016Broken Linux Performance Tools 2016
Broken Linux Performance Tools 2016
 
From DTrace to Linux
From DTrace to LinuxFrom DTrace to Linux
From DTrace to Linux
 
YOW2021 Computing Performance
YOW2021 Computing PerformanceYOW2021 Computing Performance
YOW2021 Computing Performance
 
Q4.11: Sched_mc on dual / quad cores
Q4.11: Sched_mc on dual / quad coresQ4.11: Sched_mc on dual / quad cores
Q4.11: Sched_mc on dual / quad cores
 
AOS Lab 11: Virtualization
AOS Lab 11: VirtualizationAOS Lab 11: Virtualization
AOS Lab 11: Virtualization
 
Unified Hardware Abstraction Layer with Device Masquerade
Unified Hardware Abstraction Layer with Device MasqueradeUnified Hardware Abstraction Layer with Device Masquerade
Unified Hardware Abstraction Layer with Device Masquerade
 
ACM Applicative System Methodology 2016
ACM Applicative System Methodology 2016ACM Applicative System Methodology 2016
ACM Applicative System Methodology 2016
 
BURA Supercomputer
BURA SupercomputerBURA Supercomputer
BURA Supercomputer
 
Lisa12 methodologies
Lisa12 methodologiesLisa12 methodologies
Lisa12 methodologies
 
Modern Linux Tracing Landscape
Modern Linux Tracing LandscapeModern Linux Tracing Landscape
Modern Linux Tracing Landscape
 

Ähnlich wie A Simplex Architecture for Intelligent and Safe Unmanned Aerial Vehicles

HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationVEDLIoT Project
 
Embedded Systems Introduction
Embedded Systems IntroductionEmbedded Systems Introduction
Embedded Systems IntroductionSagar Adroja
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introductionSagar Adroja
 
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden Threat
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden ThreatCNIT 123: Ch 9: Embedded Operating Systems: The Hidden Threat
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden ThreatSam Bowne
 
Secure IOT Gateway
Secure IOT GatewaySecure IOT Gateway
Secure IOT GatewayLF Events
 
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systemsClaudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systemslinuxlab_conf
 
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Adam Dunkels
 
Affordable trustworthy-systems
Affordable trustworthy-systemsAffordable trustworthy-systems
Affordable trustworthy-systemsmicrokerneldude
 
Acceleration_and_Security_draft_v2
Acceleration_and_Security_draft_v2Acceleration_and_Security_draft_v2
Acceleration_and_Security_draft_v2Srinivasa Addepalli
 
Industrial Pioneers Days - Machine Learning
Industrial Pioneers Days - Machine LearningIndustrial Pioneers Days - Machine Learning
Industrial Pioneers Days - Machine LearningVEDLIoT Project
 
"Click here" to build your UAV
"Click here" to build your UAV"Click here" to build your UAV
"Click here" to build your UAVDirk Gorissen
 
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentationSS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentationVEDLIoT Project
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05Rajesh Gupta
 
Blackhat USA 2016 - What's the DFIRence for ICS?
Blackhat USA 2016 - What's the DFIRence for ICS?Blackhat USA 2016 - What's the DFIRence for ICS?
Blackhat USA 2016 - What's the DFIRence for ICS?Chris Sistrunk
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptxKesavanGopal1
 

Ähnlich wie A Simplex Architecture for Intelligent and Safe Unmanned Aerial Vehicles (20)

HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
 
Embedded Systems Introduction
Embedded Systems IntroductionEmbedded Systems Introduction
Embedded Systems Introduction
 
Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Portfolio
PortfolioPortfolio
Portfolio
 
QNX Sales Engineering Presentation
QNX Sales Engineering PresentationQNX Sales Engineering Presentation
QNX Sales Engineering Presentation
 
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden Threat
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden ThreatCNIT 123: Ch 9: Embedded Operating Systems: The Hidden Threat
CNIT 123: Ch 9: Embedded Operating Systems: The Hidden Threat
 
Secure IOT Gateway
Secure IOT GatewaySecure IOT Gateway
Secure IOT Gateway
 
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systemsClaudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
 
Security and functional safety
Security and functional safetySecurity and functional safety
Security and functional safety
 
Faults inside System Software
Faults inside System SoftwareFaults inside System Software
Faults inside System Software
 
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
 
Affordable trustworthy-systems
Affordable trustworthy-systemsAffordable trustworthy-systems
Affordable trustworthy-systems
 
Acceleration_and_Security_draft_v2
Acceleration_and_Security_draft_v2Acceleration_and_Security_draft_v2
Acceleration_and_Security_draft_v2
 
Esd module1
Esd module1Esd module1
Esd module1
 
Industrial Pioneers Days - Machine Learning
Industrial Pioneers Days - Machine LearningIndustrial Pioneers Days - Machine Learning
Industrial Pioneers Days - Machine Learning
 
"Click here" to build your UAV
"Click here" to build your UAV"Click here" to build your UAV
"Click here" to build your UAV
 
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentationSS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
SS-CPSIoT 2023_Kevin Mika and Piotr Zierhoffer presentation
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
 
Blackhat USA 2016 - What's the DFIRence for ICS?
Blackhat USA 2016 - What's the DFIRence for ICS?Blackhat USA 2016 - What's the DFIRence for ICS?
Blackhat USA 2016 - What's the DFIRence for ICS?
 
1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx1. An Introduction to Embed Systems_DRKG.pptx
1. An Introduction to Embed Systems_DRKG.pptx
 

Kürzlich hochgeladen

welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 

Kürzlich hochgeladen (20)

welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 

A Simplex Architecture for Intelligent and Safe Unmanned Aerial Vehicles

  • 1. A Simplex Architecture for Intelligent and Safe Unmanned Aerial Vehicles Prasanth Vivekanandan+, Gonzalo Garcia*, Heechul Yun+, Shawn Keshmiri* Electrical Engineering and Computer Science + Aerospace Engineering * University of Kansas 1
  • 2. Intelligent UAVs • Many applications – Commercial, military, police,… – $10B in 3 years* 2 http://abarry.org/ (*) http://gizmodo.com/some-good-things-drones-can-actually-do-1475717696 Amazon prime airFollow me Search & rescuesurveillance
  • 3. Intelligent UAVs • Powerful computer hardware – Multicore SoC, GPU • High performance, Low cost, size, weight, and power • Powerful software framework – Linux, middleware, libraries • Productivity, ease of development – Like a PC 3
  • 4. Safety Challenges UAVs are safety critical systems 4 http://rochester.nydatabases.com/map/domestic-drone-accidents http://petapixel.com/2015/12/23/crashing-camera-dro ne-narrowly-misses-top-skiier/ http://www.nytimes.com/2015/01/28/us/white-h ouse-drone.html
  • 5. Sources of Failures • Sensors • Airframe • Actuators • Onboard computing platform – Software – Hardware 5
  • 6. Safety Challenges: Software • Increasing complexity – E.g., Linux: > 15M SLOC • Concurrency – Multithreading is hard • Race condition. Order violation • Timing unpredictability – Shared resource contention affects timing • >21X slowdown on a cache partitioned multicore (*)  Software bugs are hard to weed out 6 https://www.quora.com/How-many-lines-of-code-are-in-the-Linux-kernel (*) Prathap Kumar Valsan, Heechul Yun, Farzad Farshchi. Taming Non-blocking Caches to Improve Isolation in Multicore Real-Time Systems. IEEE Intl. Conf erence on Real-Time and Embedded Technology and Applications Symposium (RTAS), IEEE, 2016.. Best Paper Award
  • 7. Safety Challenges: Hardware • Hardware bugs – Pentium floating point bug (FDIV bug) – Intel CPU bugs in 2015: http://danluu.com/cpu-bugs/ • “Certain Combinations of AVX Instructions May Cause Unpredictable System Behavior” • “Processor May Experience a Spurious LLC-Related Machine Check During Periods of High Activity” • … • Transient hardware faults (soft errors) – Single event upset (SEU) in SRAM, logic • Due to alpha particle, cosmic radiation – Manifested as software failures • Crashes, wrong output: silent data corruption – Bigger problem in advanced CPU • Increased density, freq  higher soft error 7 http://www.cotsjournalonline.com/articles/view/102279
  • 8. Safety Challenges: Hardware • SRAM SER vs. technology scaling – Per-bit SER decreases – Per-chip SER increases (due to higher density)  Complex hardware is buggy and less reliable 8 Ibe et al., “Scaling Effects on Neutron-Induced Soft Error in SRAMs Down to 22nm Process” (Hitachi)
  • 9. How to Improve Safety of a System? • Correct by design – Formal method based software development • Difficult for a complex system – Radiation hardened processors • Expensive and low performance • Deal with failures – Run-time monitoring and redundancy 9
  • 10. Outline • Motivation • UAV Simplex Architecture • Prototype and Case Study 10
  • 11. Simplex Architecture (*) • Protect an untrusted complex controller with a trusted backup controller • General architectural principal 11 (*) L. Sha, Using Simplicity to Control Complexity, IEEE Software, 2001 Safety Controller Performance Controller UAV Plant Decision Logic Plant
  • 12. UAV Simplex Architecture • Idea: use two hardware/software platforms with distinct performance and reliability characteristics to realize Simplex 12 High Performance (HP) Platform High Assurance (HA) Platform Safety controller Performance controller UAV Plant Decision Logic GPS,IMU Radar, Camera HA Platform (Arduino) HP Platform: (Tegra TK1) Rich OS (Linux), Middleware (ROS)
  • 13. Two Platforms • High Assurance (HA) Platform – Simple hardware and software for verification and reliability – Hardware: low frequency and density to reduce SEUs – Software: certifiable, simple, low SLOC • High Performance (HP) Platform – Complex hardware and software for performance – Hardware: performance oriented multicore, multi-gigahz, gpu – Software: productivity oriented software framework, millions SLOC 13
  • 14. Outline • Motivation • UAV Simplex Architecture • Prototypes and Case Study 14
  • 15. Prototype Avionics • AFS: our custom built avionics – Arduino based custom DAQ • Basic sensors: IMU, GPS – Nvidia Tegra TK1 • 4 x ARM cores + 192 GPU cores • Advanced sensors: camera, radar • UAVs with the AFS – Applied to four UAVs in Dr. Keshmiri’s lab in KU Aerospace Engineering – Fixed wing (DG 808, G1XD, G1XB) and a Quadcopter 15
  • 16. UAVs with AFS 16 DG 808G1XB Quadcopter G1XB G1XD
  • 17. Performance Controller • Hardware – Nvidia Tegra TK1, 4 x ARM Cortex-A15 @ 2.3GHz, 192 core GPU – 28nm process, > a billion transistors  complex, high potential SEUs • Performance controller – Intelligent adaptive non-linear control using advanced sensor packages (goal) – Use Linux (Ubuntu), Robot Operating System (ROS)  difficult to verify 17 ROS nodesRadar Vision Performance controller
  • 18. Safety Controller • Hardware – Arduino Due, a single ARM Cortex-M3 @ 80MHz – Low density, low operating freq.  less susceptible for SEUs • Safety controller – Matlab Simulink coder + Arduino sketch, no OS small and easier to verify 18 Safety controller (Simulink model)
  • 19. Decision Logic • Fault models – HA (safety controller, decision logic) is trusted – HP is not trusted • Decision logic – Detect crash, connect failure, timing violation, invalid outputs (e.g., NaN) – Recovery: reboot the HP platform – Limitation: Currently don’t know “unsafe” states 19 Detectable faults
  • 21. Case Study: Fault (Crash) Injection • Experiment – Kill the performance controller in the middle flight • Hardware-in-the-loop (HIL) setup 21
  • 22. Case Study: Fault (Crash) Injection 22
  • 23. Case Study: Fault (Crash) Injection • Monitored from the ground station software 23
  • 24. Conclusion and Future Work • Safety challenges of intelligent UAVs – Software: increasing complexity, concurrency and timing non-determinism – Hardware: increasing reliability issues. E.g., transient hardware faults (SEUs) • UAV Simplex architecture – Two platform based realization of Simplex • High assurance (HA) platform: simple, verifiable • High performance (HP) platform: performant, unverifiable 24
  • 25. Conclusion and Future Work • Prototype development and case study – Nvidia Tegra TK1 + Arduino based – Can survive from performance controller crash • Ongoing and Future work – Radar and vision based sense & avoid – Define and detect unsafe state (not just crash) – Detect and recover intrusion (security) – Handling of sensor faults 25
  • 26. Thank You Disclaimer: This work is supported by the National Aeronautics and Space Administration's (NASA's) Leading Edge Aeronautics Research for NASA (LEARN) fund under grant number NNX15AN94A and Paul G. Allen Family Foundation (PGAFF) grant number KUAE#40956. More details can be found in the following publication. Prasanth Vivekanandan, Gonzalo Garcia, Heechul Yun, Shawn Keshmiri. “A Simplex Architecture for Intelligent and Safe Unmanned Aerial Vehicles.” IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA), IEEE, 2016 26