Chris Elliott Flight Controls / Quantum Computing. Copyright 2015, Lockheed Martin Corporation. All rights reserved.

Similar documents
Quantum Computing Approach to V&V of Complex Systems Overview

Cyber-Physical V&V Challenges for the Evaluation of State of the Art Model Checkers

A Quantum Computing Approach to the Verification and Validation of Complex Cyber-Physical Systems

LOCKHEED MARTIN SITE UPDATE

Technology and Network Design Issues. Anna Nagurney Isenberg School of Management University of Massachusetts Amherst, MA 01003

V&V of Complex Systems

Formally Analyzing Adaptive Flight Control

LOCKHEED MARTIN SITE UPDATE 11 APRIL 2018 MUNICH, GERMANY Kristen Pudenz Senior Quantum Applications Engineer

Chapter 11. Path Manager. Beard & McLain, Small Unmanned Aircraft, Princeton University Press, 2012,

Autopilot design for small fixed wing aerial vehicles. Randy Beard Brigham Young University

Topic 17. Analysis of Algorithms

ANALYZING REAL TIME LINEAR CONTROL SYSTEMS USING SOFTWARE VERIFICATION. Parasara Sridhar Duggirala UConn Mahesh Viswanathan UIUC

Formal Verification Techniques. Riccardo Sisto, Politecnico di Torino

Aerodynamics and Flight Mechanics

Trajectory tracking & Path-following control

STAT T&E COE-Report Reliability Test Planning for Mean Time Between Failures. Best Practice. Authored by: Jennifer Kensler, PhD STAT T&E COE

Biologically inspired sensor fusion for real-time wind gust estimation in autonomous UAV navigation

Full Scale Structural Durability Test Spectrum Reduction by Truncation Coupon Testing

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Measures of relative complexity

Delayed and Higher-Order Transfer Entropy

Aircraft Flight Dynamics Robert Stengel MAE 331, Princeton University, 2018

Stability and Stabilization of polynomial dynamical systems. Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder

Scalable and Accurate Verification of Data Flow Systems. Cesare Tinelli The University of Iowa

Space Surveillance with Star Trackers. Part II: Orbit Estimation

Estimation of Wind Velocity on Flexible Unmanned Aerial Vehicle Without Aircraft Parameters

Route-Planning for Real-Time Safety-Assured Autonomous Aircraft (RTS3A)

ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies. Calin Belta

An analysis of how coupling parameters influence nonlinear oscillator synchronization

Qubits qop Tools Directions

Bounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39

Sample questions for Fundamentals of Machine Learning 2018

Compressible Potential Flow: The Full Potential Equation. Copyright 2009 Narayanan Komerath

Aerodynamics and Flight Mechanics

Computation. Some history...

Advanced Adaptive Control for Unintended System Behavior

Quantum Annealing with continuous variables: Low-Rank Matrix Factorization. Daniele Ottaviani CINECA. Alfonso Amendola ENI

Hoare Logic I. Introduction to Deductive Program Verification. Simple Imperative Programming Language. Hoare Logic. Meaning of Hoare Triples

Robust Model Predictive Control for Autonomous Vehicle/Self-Driving Cars

Numerical Weather prediction at the European Centre for Medium-Range Weather Forecasts

Determining the Existence of DC Operating Points in Circuits

AN INTRODUCTION TO NEURAL NETWORKS. Scott Kuindersma November 12, 2009

Nonlinear Wind Estimator Based on Lyapunov

CS 700: Quantitative Methods & Experimental Design in Computer Science

KENDRIYA VIDYALAYA SANGATHAN, HYDERABAD REGION

arxiv: v1 [quant-ph] 29 Apr 2010

LOGIC PROPOSITIONAL REASONING

Lecture 6. Notes on Linear Algebra. Perceptron

Propositional Logic: Evaluating the Formulas

Machine Learning for Software Engineering

TDT4173 Machine Learning

Module 7. Software Engineering Issues. Version 2 EE IIT, Kharagpur 1

Aircraft Flight Dynamics!

Lesson Rigid Body Dynamics

Testing System Conformance for Cyber-Physical Systems

Q 1. Richland School District Two 8th Grade Mathematics Pacing Guide. Last Edit: 1/17/17

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

Synthesizing from Components: Building from Blocks

Adaptive Trim and Trajectory Following for a Tilt-Rotor Tricopter Ahmad Ansari, Anna Prach, and Dennis S. Bernstein

Nonlinear Landing Control for Quadrotor UAVs

cha1873x_p02.qxd 3/21/05 1:01 PM Page 104 PART TWO

Abstract Interpretation with Higher-Dimensional Ellipsoids and Conic Extrapolation

Using Theorem Provers to Guarantee Closed-Loop Properties

APPENDIX TLE TWO-LINE ELEMENT TRACKING

MathCheck2: Combining SAT and CAS Presentation at Applications of Computer Algebra 2016 Kassel, Germany

1. Solutions to Systems of Linear Equations. Determine whether the ordered pairs are solutions to the system. x y 6. 3x y 2

Pre-Algebra (8) Mathematics

Combining SMT with Theorem Proving for AMS Verification

Algorithmic verification

AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Introduction to Automatic Control & Linear systems (time domain)

Lower bounds on the size of semidefinite relaxations. David Steurer Cornell

Student Guide: Chapter 1

Model Checking: An Introduction

Is My CFD Mesh Adequate? A Quantitative Answer

Quantum Annealing and the Satisfiability Problem

CEC 450 Real-Time Systems

VN-100 Velocity Compensation

COMS 4771 Introduction to Machine Learning. Nakul Verma

Online Model Predictive Torque Control for Permanent Magnet Synchronous Motors

Information Flow Analysis via Path Condition Refinement

Introduction to System Optimization: Part 1

DISTURBANCES MONITORING FROM CONTROLLER STATES

Motion planning applications of Satisfiability Modulo Convex Optimization

Gyrokinetic Turbulence in Tokamaks and Stellarators

OPTIMISATION COMPETITION

Decentralized Stabilization of Heterogeneous Linear Multi-Agent Systems

Interpolation. Seminar Slides. Betim Musa. 27 th June Albert-Ludwigs-Universität Freiburg

Outline. Complexity Theory. Example. Sketch of a log-space TM for palindromes. Log-space computations. Example VU , SS 2018

Online generation via offline selection - Low dimensional linear cuts from QP SDP relaxation -

Integrated Math 3 Math 3 Course Description:

Configuration Aerodynamics

Localizer Hold Autopilot

Project Planning & Control Prof. Koshy Varghese Department of Civil Engineering Indian Institute of Technology, Madras

Validation Chain for ATM Concepts

Hypersonic Vehicle (HSV) Modeling

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

An introduction to parallel algorithms

Algebraic Methods. Motivation: Systems like this: v 1 v 2 v 3 v 4 = 1 v 1 v 2 v 3 v 4 = 0 v 2 v 4 = 0

Oley Valley School District Planned Course of Instruction. Algebra 3/Trigonometry. Submitted by: Gary J. McManus June 13, 2016

Benefits of Applying Predictive Intelligence to the Space Situational Awareness (SSA) Mission

Transcription:

On Example Models and Challenges Ahead for the Evaluation of Complex Cyber-Physical Systems with State of the Art Formal Methods V&V Research in Quantum Enabled V&V Technology June 9-11, 2015 Chris Elliott Flight Controls / Quantum Computing

Not Observable Late Defects Improved V&V Path Challenge to Quantify Savings wrt Non-Observable 2

Our Timeline to Optimize 3

Motivation for New Tools Consider 9 Phases of Development (SSS, SRS, SDD, OFP, FT, etc) P9 P1 P8 P2 P7 P3 P6 P4 P5 4

Engineering Time [Hrs] Motivation for New Tools Assume a Crude Model for Level of Effort for Design Team Engineering Attention: Exponential as a function of Phase, p Attention ~ 2 p 1 expert focuses for a couple hours on given design at phase 1 Releases Design for Team Review Attention On Problem Increases) Phase III ~ 4 Phase IV ~ 8 Phase IX ~ 512 hours 600 500 400 300 200 100 Designer Focuses on a Prelim Design for an Hour 0 0 2 4 6 8 10 # Design Phase Total Iterations Flight Test Team 25 experts validate ~2 days of sorties 5

Engineering Time [Hrs] Motivation for New Tools Assume Anomaly Detection at Any Phase Reinitiates Process Back to the Preliminary Drawing Board Phase 1 Engineering Time Continues to Accumulate Through Anomaly Burndown Model Anomaly Detections at Each Phase to Understand Impact 1200 1000 800 600 400 200 Nominal P1 SPAR P2 SPAR P3 SPAR P4 SPAR P5 SPAR P6 SPAR P7 SPAR P8 SPAR P9 SPAR 0 0 5 10 15 20 # Design Phase Total Iterations 6

Engineering Time [Hrs] Product Delayed [Weeks] Engineering Time [Hrs] Engineering Time [Hrs] Engineering Time [Hrs] Motivation for New Tools 1000 500 Perfect P1 P2 P3 0 0 5 10 15 20 # Design Phase Total Iterations 1100 1000 900 800 700 600 Finding SPARS in the final Design phases may nearly Double Costs! 1000 500 1000 P4 P5 P6 P7 0 0 5 10 15 20 # Design Phase Total Iterations 500 P8 P9 FT SPAR Discovered! 500 0 2 4 6 8 10 Anamoly Discovered at Phase # 15 10 5 Notional time delay assuming quadratic growth in phase durations 0 0 5 10 15 20 # Design Phase Total Iterations 0 0 2 4 6 8 10 Anamoly Discovered at Phase # We Must Avoid Doc Brown s Alternate 1985 7

Motivation for New Tools Advanced Systems: On Board Intelligence Real Time Adaptation New Sensor Technology Emerging Complexity Driving Need for Novel V&V Practice T-50 F-22 Prog-D JSF ISR Combat UAV Inter-System Communication & Dependencies UAV - Projected F-35 Est F-16 IDF YF-22 F-22 JSF CDA Block 60 System Complexity Exceeding Advancement of V&V Practice 8

Discussion Layout Quantum Enabled V&V Overview A Few Challenge Problems of Interest A Nonlinear Guidance Example Neural Networks Emergent Closed Loop Behavior Path Forward 9

Quantum Enabled V&V What is it? QVTrace*: This technology is a method for Software Verification & Validation using Quantum Computer Assisted Formal Methods. Requirements And Implementation (Software Code) Quantum V&V Classical Computation Defects (Bugs) Req/Code Inconsistency Report to Designer D-Wave Adiabatic Quantum Computer Who will use it? Target Users are System/Software Design Teams interested in: - Reducing development costs - Improving final product quality *Product Developed by Quantum Research Analytics 10

D-Wave Adiabatic Quantum Computer Current State-of-the-Art DW-2: 512-qubit Vesuvius Processor 11

Quantum Enabled V&V Overview Implementation Requirements SMT Instance False = Defect Space Satisfiability (All-SAT) Modulo Theory (Number Domain) Quantum Computer Ising (Binary Optimization) No Feasible? Consistent Yes Reqs/Implementation Defect Detected Inconsistency in Reqs/Implementation 12

Nonlinear Guidance Example Tangent Aim Point #1 Relative Position Vector to Tangent Aim Point #1 Standoff 1 UAV UAV Velocity Vector Relative Position Vector Relative Position Vector to Tangent Aim Point #2 Target Standoff 2 Target Velocity Vector Eta Plane Containing Relative Position and UAV Velocity Vector Tangent Aim Point #2 Derived from a 3D Collision Cone Approach used in a Reactive Obstacle Avoidance Paper, Reference [1] AIAA 2010-7729 Chawla and Padhi Goal: Compute Aim Points as a function of Observed Positions and Velocities 13

Nonlinear Guidance Example X ap1 r 1 d u 1 V X TARGET X V X R r 2 X ap2 d u 2 Eta Plane Containing X R and V Ref [1] 14

Nonlinear Guidance Example Note Substituting into (1) Expanding (1) Writing Unit Vector in components of UAV Velocity and Relative Position Vector (2) (3) Ref [1] 15

Nonlinear Guidance Example Using (1) and (2), find Beta (1) (2) Recalling (3) Ref [1] 16

Nonlinear Guidance Example Continue to Solve for Beta, Ref [1] 17

Nonlinear Guidance Example Finally, unit vector and relative position vectors are found which allows computation of Aim Points Recall Ref [1] 18

Nonlinear Guidance Example Two Aim Points were Computed Which one is selected? Chawla and Padhi paper resolves UAV Velocity Vector into relative position components to choose more efficient collision avoidance. e.g. We desire a Counter Clockwise Loiter Interception for Surveillance off the Port Wing (CCW when viewing Ground Plane from above) Sign of k th component in cross product inspected for CCW rotation Ref [1] 19

Nonlinear Guidance Example Estimate UAV Velocity Vector and Magnitude Target Velocity Vector and Magnitude Compute Relative Position Standoff 1 and Standoff 2 Relative Position Vectors from Target Location Relative Position Vector to Tangent Aim Point #1 and Tangent Aim Point #2 Aim Point Resulting in CCW Standoff Loiter Rotation One Factor at a Time Approach ODE Solver Scope A Dynamic Target Reveals Abhorrent Behavior 20

Nonlinear Guidance Example Theory Model Experiment Derive Build Understand (OFAT, Formal Methods) Iterate V Max DRIVE2 LAT DRIVE2 LON Target Inertial Position TARGET Inner Loop, 1 st Order Airframe Approx MATLAB FUNCTION UNDER TEST Nonlinear Geometric Guidance FLY2 LAT FLY2 LON V Constant Outer Loop Psi Inner Loop, 1 st Order Airframe Approx UAV Inertial Position Air Vehicle Winds (Disturbance) Formal Methods Powerful for Early Designer s Arsenal 21

Nonlinear Guidance Example Notional Requirement Theory Experiment Assess Mature Requirement Design Test Certify (Repeat) Counter- Example Formal Methods Property 22

Neural Network Example Inputs Exhaustive Input Sweep 1-x ODE Solver Network Topology 0.0-0.29313 0.29313-0.58626 0.58626-0.87938 0.87938-1.1725 1.1725-1.4656 1.4656-1.7588 1.7588-2.0519 Positive Negative Scope Inspecting Output for Forward Analysis Not Always Trivial, Especially for Higher Order Systems e.g. (2D case depicted) 2-y Counter- Example Inputs Layer 1 Layer2 Output Formal Methods Property 23

Neural Network Example Is the NN output correctly bounded? Counter- Example Formal Methods Property Property Proving Exceeds Time Limit (5 mins) 24

Neural Network Example QVTRACE 25

Neural Network Example QVTRACE 26

Emergent Closed Loop Behaviors Wing Leveler Controller Φ Can Formal Methods Identify this Preliminary Design Flaw? 27

Path Forward LM Aero Developing Set of Examples to Evaluate and Improve Formal Methods Toolsets for Early-Design Phase Algorithms of Interest Involve: - Nonlinear Arithmetic - Real Number Data Types and Transcendental Functions - Vector and Matrix Operations - Complex State Machines - Heterogeneous Discrete Systems Goal is to Transition Formal Methods to Early-Design Teams CHRIS ELLIOTT, christopher.m.elliott@lmco.com, 817-935-3054 28

29

State Machine Example 30