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

Similar documents
LOCKHEED MARTIN SITE UPDATE

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

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

Quantum Computing Approach to V&V of Complex Systems Overview

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

Quantum Annealing and the Satisfiability Problem

FAULT DETECTION AND FAULT TOLERANT APPROACHES WITH AIRCRAFT APPLICATION. Andrés Marcos

The Application of Nonlinear Pre-Filters to Prevent Aeroservoelastic Interactions due to Actuator Rate Limiting

Chapter 1. Introduction. 1.1 System Architecture

AFRL MACCCS Review. Adaptive Control of the Generic Hypersonic Vehicle

Confidence metrics analysis of a fixed-wing UAV. Janos Polgar

Formally Analyzing Adaptive Flight Control

CDS 101/110a: Lecture 1.1 Introduction to Feedback & Control. CDS 101/110 Course Sequence

Aircraft Pitch Control Design Using Observer-State Feedback Control

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

Aerodynamics and Flight Mechanics

Chapter 2 Review of Linear and Nonlinear Controller Designs

Aim. Unit abstract. Learning outcomes. QCF level: 6 Credit value: 15

Aerodynamics and Flight Mechanics

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

Mech 6091 Flight Control System Course Project. Team Member: Bai, Jing Cui, Yi Wang, Xiaoli

Index. 1/f Noise Need for, 200 Simulating, 200 Using cascaded linear systems, 202

Runtime Model Predictive Verification on Embedded Platforms 1

Trajectory Planning, Setpoint Generation and Feedforward for Motion Systems

V&V of Complex Systems

Enhanced Single-Loop Control Strategies (Advanced Control) Cascade Control Time-Delay Compensation Inferential Control Selective and Override Control

Improving the Control System for Pumped Storage Hydro Plant

An LQR Controller Design Approach For Pitch Axis Stabilisation Of 3-DOF Helicopter System

Model predictive control of industrial processes. Vitali Vansovitš

Verification and Synthesis. Using Real Quantifier Elimination. Ashish Tiwari, SRI Intl. Verif. and Synth. Using Real QE: 1

Autopilot Analysis and EP Scheme for the Twin Otter under Iced Conditions.

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Intel s approach to Quantum Computing

The Application of Nonlinear Pre-Filters to Prevent Aeroservoelastic Interactions Due to Actuator Rate Limiting

Flight-Dynamics, Flutter, and Active-Flutter-Suppression Analyses of a Flexible Flying-Wing Research Drone

kiteplane s length, wingspan, and height are 6 mm, 9 mm, and 24 mm, respectively, and it weighs approximately 4.5 kg. The kiteplane has three control

Full Scale Structural Durability Test Spectrum Reduction by Truncation Coupon Testing

Advanced Aerospace Control. Marco Lovera Dipartimento di Scienze e Tecnologie Aerospaziali, Politecnico di Milano

TTA and PALS: Formally Verified Design Patterns for Distributed Cyber-Physical

GT-POWER linearization and engine advanced control design applications

Suboptimal adaptive control system for flight quality improvement

Qubits qop Tools Directions

YTÜ Mechanical Engineering Department

Flight Dynamics, Simulation, and Control

Jim Held, Ph.D., Intel Fellow & Director Emerging Technology Research, Intel Labs. HPC User Forum April 18, 2018

The D-Wave 2X Quantum Computer Technology Overview

State space control for the Two degrees of freedom Helicopter

Canary Foundation at Stanford. D-Wave Systems Murray Thom February 27 th, 2017

Quantum Computing. Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September :00am PST, Teleplace

Design, Analysis and Research Corporation (DARcorporation) ERRATA: Airplane Flight Dynamics and Automatic Flight Controls Part I

Department of Aerospace Engineering and Mechanics University of Minnesota Written Preliminary Examination: Control Systems Friday, April 9, 2010

Servo Control of a Turbine Gas Metering Valve by Physics-Based Robust Controls (μ) Synthesis

MODELING OF DUST DEVIL ON MARS AND FLIGHT SIMULATION OF MARS AIRPLANE

Fundamental study on simple quantitative approach of damping performance for semi-active damper

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

Why fault tolerant system?

Aeroelastic Gust Response

ECE 585 Power System Stability

Hover Control for Helicopter Using Neural Network-Based Model Reference Adaptive Controller

9 Aug 04 Getting Technology to Space for the Warfighter

Advanced Adaptive Control for Unintended System Behavior

r. Matthias Bretschneider amburg - Dept. Safety Fehleranalyse mit Hilfe von Model Checkern

LUMINARY Memo #214 Revision 1

CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version

Lecture «Robot Dynamics»: Dynamics 2

Quantum Computing An Overview

Design and Implementation of Two-Degree-of-Freedom Nonlinear PID Controller for a Nonlinear Process

Topological Quantum Computation. Zhenghan Wang Microsoft Station Q & UC Sana Barbara Texas, March 26, 2015

CM 3310 Process Control, Spring Lecture 21

RESEARCH ON AIRBORNE INTELLIGENT HYDRAULIC PUMP SYSTEM

NONLINEAR AND ADAPTIVE (INTELLIGENT) SYSTEMS MODELING, DESIGN, & CONTROL A Building Block Approach

Analysis of clocked sequential networks

Aerodynamics and Flight Mechanics

Agent-Based HOL Reasoning 1

Quantum Effect or HPC without FLOPS. Lugano March 23, 2016

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013

DESIGN AND DEVELOPMENT OF THE LQR OPTIMAL CONTROLLER FOR THE UNMANNED AERIAL VEHICLE

Integrating Induction and Deduction for Verification and Synthesis

Double Inverted Pendulum (DBIP)

ROBUSTNESS OF MODEL- BASED SIMULATIONS

Quantum Artificial Intelligence at NASA

Learning Control Under Uncertainty: A Probabilistic Value-Iteration Approach

Aggressive Maneuvering Flight Tests of a Miniature Robotic Helicopter

Towards Reduced-Order Models for Online Motion Planning and Control of UAVs in the Presence of Wind

Adaptive Augmentation of a Fighter Aircraft Autopilot Using a Nonlinear Reference Model

Lecture 7 : Generalized Plant and LFT form Dr.-Ing. Sudchai Boonto Assistant Professor

Air Force Research Laboratory

Research on Control Method of Brushless DC Motor Based on Continuous Three-Phase Current

Digital Control Engineering Analysis and Design

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

Cautious Data Driven Fault Detection and Isolation applied to the Wind Turbine Benchmark

Active Stabilization of Unstable System Under Bounded Control with Application to Active Flutter Suppression Problem

An introduction to flight control algorithms. Gertjan Looye 6SX%RQIVOYRKIRZSR71SRXIRIKVS

Fault-Tolerant Control of a Unmanned Aerial Vehicle with Partial Wing Loss

Inverted Pendulum System

Robust Control of Cooperative Underactuated Manipulators

FLIGHT DYNAMICS. Robert F. Stengel. Princeton University Press Princeton and Oxford

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

DISTURBANCE ATTENUATION IN A MAGNETIC LEVITATION SYSTEM WITH ACCELERATION FEEDBACK

Design for Manufacturability and Power Estimation. Physical issues verification (DSM)

Transcription:

Cyber-Physical V&V Challenges for the Evaluation of State of the Art Model Checkers Research in Quantum Enabled V&V Technology July 12-14, 2016 Chris Elliott Flight Controls / Quantum Computing

Overview I. Quantum Enabled V&V Overview II. Overview of 10 V&V Challenge Problems III. End to End Analysis Example IV. Summary 2

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 QRA Inc. 3

D-Wave Adiabatic Quantum Computer Current State-of-the-Art, DW-2X: 1152q Washington LM QA Solves a Quadratic Unconstrained Binary Optimization Problem 4

Quantum Optimization with Superconducting Qubits Quantum Superposition, Entanglement Enable Unique Optimization 5

QE-V&V Timeline Nov 2010 Early Access To QC Mar 2011 USC/ISI/LM Team for QC Center March 2016 QC Upgrade 1152 q DW2X Washington Early 2010 LM ID s Quantum as Key Tech Jan 2012 USC-LM QC Operational Mar 2013 QC Upgrade 128 q DW1 Rainier 512 q DW2 Vesuvius 6

Overview of Challenge Problems LM Aero Developed Set of 10 V&V Challenge Problems Goal: - Foster Collaboration in S5 Community (Ponder, Present, Publish) - Evaluate & Improve State-of-the-Art Formal Methods Toolsets Each Example in Package Includes: - Simulink Model Built in Matlab R2012B - Parameters, if any, for Simulating Model (.mat) - Documentation Containing Description and Requirements Difficult due to Transcendental Functions, Nonlinearities and Discontinuous Math, Vectors, Matrices, States Challenges Built with Commonly Used Blocks 7

Overview of Challenge Problems 1. Triplex Signal Monitor 2. Finite State Machine 3. Tustin Integrator 4. Control Loop Regulators 5. Nonlinear Guidance Algorithm 6. Feedforward Cascade Connectivity Neural Network 7. Abstraction of a Control Allocator (Effector Blender) 8. 6DOF with DeHavilland Beaver Autopilot* 9. System Safety Monitor 10. Euler Transformation Flight Control and Vehicle Management System Inspired Problems 8

1. Triplex Signal Monitor Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Sensor A Sensor B Sensor C Online Monitoring Airborne Redundancy Management 9

2. Finite State Machine Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Integrated Sensor Flight Control Embedded System Discrete Interwoven Modes in Integrated Cyber-Physical System 10

3. Tustin Integrator Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Numerical Integration Fundamental Modeling and Simulation Component 11

4. Control Loop Regulators Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p PID Architecture Feedback Error Synthesis Kp Gain Ki Gain3 1 s Integrator Command Authority? Kd s s+1 Gain1 Transfer Fcn Attributes of Multi-Axis Control Law of Output Commands 12

5. Nonlinear Guidance Algorithm Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Aim Point Validity? 3D Vector Mathematics for Outer Loop Intercept Guidance 13

5. Nonlinear Guidance Algorithm Block Types For NL Guidance Recent Focus on Import of Common Algorithmic Operators (Primitives) 14

6. Neural Network 1 Truth Model Description: this challenge problem involves the verification of a redundancy 0.6management system using quantum simulation techniques. The p 0.8 z 0.4 0.2 0-0.2 2 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 1 0 y -1-2 -2-1.5-1 x -0.5 0 0.5 1 1.5 2 1-x Positive Negative Inputs Output Features? 2-y Inputs Layer 1 Layer2 Output 2x10x10x1 Feedforward Cascade Connectivity NN 15

1 trim_hdgref trim_turnknob trim_altref trim_pitchwheel boolean boolean boolean ID AD AD ID AP Eng HDG Mode ALT Mode HDG Ref Turn Knob ALT Ref Pitch Wheel Aileron Cmd Elevator Cmd Rudder Cmd AC Bus trim_flap trim_throttle trim_rudder Aileron Elevator Rudder Flap Throttle Rudder Trim EnvBus Controls DeHavilland Beaver model originally based on work created by Marc Rauw for Delft University of Technology, http://www.dutchroll.com and subsequently modified by the Mathworks http://www.mathworks.com/matlabcentral/fileexchange/ FLIGHT CONTROL Demonstration Author: elliocm Model Version: 1.80 Date: 21-Sep-2015 15:23:12 and More Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Cyber-Physical V&V Challenge Problems LM Aeronautics Quantum Information Science Research Team 2015 Copyright 2015 Lockheed Martin Corporation Sensors Environment APeng Constant7 Data Type Conversion3 Data Type Conversion1 HDGmode Constant DeHavilland Beaver Airframe Constant1 Data Type Conversion2 Constant2 Constant3 HDGref Signal Conditioning Constant4 TurnKnob Constant5 Constant6 Autopilot 16

End to End Analysis (Tustin) Cyber-Physical V&V Challenge Problems LM Aeronautics Quantum Information Science Research Team 2015 Copyright 2015 Lockheed Martin Corporation Description: this challenge problem involves 1 the verification of xin Input Signal to Be Integrated a redundancy management system using quantum simulation techniques. The p cmd xin Discrete Time Step Top Limit 5 TL Bottom Limit Boolean Reset Initial Condition Upon Reset 2 reset 4 ic 3 T 6 BL T TL BL reset ic Tustin yout Integrator (Limited, Resettable, States) Definitions: Normal operation: the integrator is not in reset mode, and the output is within the specified limits (TL and BL). ypv: prior yout value xinpv: prior xin input value SP: Saturation Point 1 yout Output Signal Documentation Provides ICD, Definitions, and Requirements 17

End to End Analysis (Tustin) 3 TL TLc [TL] TL Description: this challenge problem involves Goto the verification of a redundancy management system using quantum simulation techniques. The p 4 BL BL BLc [BL] Goto1 bounds 1 z TUSTIN INTEGRATOR (LIMITED, RESETTABLE, STATES) Unit Delay1 [TL] From 6 ic up 5 ~= u y 1 reset lo Saturation yout 1 xin 1.5 Gain Switch [BL] Dynamic z Unit Delay From1 2 T Product 18

End to End Analysis (Tustin) Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p 2 BL 1 TL < TLc Relational Operator Switch1 ~= 1 ~= 2 BLc Switch2 19

End to End Analysis (Tustin) Requirements: 1. When Reset is True and the Initial Condition (ic) is bounded by the provided Top and Bottom Limits (BL <= ic <= TL), the Output (yout) shall equal the Initial Condition (ic). 2. The Output (yout) shall be bounded by the provided Top and Bottom limits (TL and BL) 3. When in normal operation, the output shall be the result of the equation, yout = T/2*(xin + xinpv)+ ypv 4. The Output of this function shall approximate the integration of the value of the input signal over time within a specified tolerance, defined in subtests below: a. After 10 seconds of Computation at an execution frequency of 10 hz, the Output should equal 10 within a +/- 0.1 tolerance, for a Constant Input (xin = 1.0), and the sample delta time T = 0.1 seconds when in normal mode of operation. b. Over a 10 second computational duration at an execution frequency of 10 hz, the Output should equal the sine of time t, sin(t), where time is defined as a vector from 0 to 10 by increments of 0.1 seconds within a +/- 0.1 tolerance for an input equal to the cosine of time t, cos(t), with the sample delta time T = 0.1 seconds when in normal mode of operation. Requirements Properties (Tests) is At Least Half the Challenge 20

End to End Analysis (Tustin) Requirements: 1. When Reset is True and the Initial Condition (ic) is bounded by the provided Top and Bottom Limits (BL <= ic <= TL), the Output (yout) shall equal the Initial Condition (ic). 2. The Output Detailed (yout) Formal shall be Property bounded Derivation: by the provided Top and Bottom limits (TL and BL) 3. When in normal # 1. When operation, Reset is the True output and the shall Initial be the Condition result of the (ic) equation, is yout = T/2*(xin + xinpv)+ # ypv bounded by the provided Top and Bottom Limits (BL<=ic<=TL), # the Output (yout) shall equal the Initial Condition (ic). 4. The Output of this function shall approximate the integration of the value of the input # If the Initial Condition is not bound by the Limits signal over # during time within a Reset, a specified the Output tolerance, shall equal defined the in saturation subtests below: a. After # 10 point seconds (nominally of Computation with TL>=BL, at an ic>=tl execution impl frequency SP==TL of and 10 ic<=bl hz, the impl Output SP==BL. should equal 10 within a +/- 0.1 tolerance, for a Constant Input (xin = 1.0), and the # Off-nominally with TL<BL, ic, ic>=bl impl SP==BL and ic<=tl impl sample SP==TL. delta time T = 0.1 seconds when in normal mode of operation. ((reset and ic<=tl and ic>=bl) impl yout == ic); #1a b. Over a 10 second computational duration at an execution frequency of 10 hz, ((reset and ic>=tl and ic>=bl and TL>=BL) impl yout == TL); #1b the Output ((reset and should ic<=bl equal and the ic>=bl sine and of time TL>=BL) t, sin(t), impl where yout == time BL); #1c is defined as a vector ((reset from and 0 to ic>=bl 10 by and increments ic<=tl and of TL<BL) 0.1 seconds impl yout within == BL); a +/- #1d 0.1 tolerance for ((reset and ic<=tl and ic>=bl and TL<BL) impl yout == TL); #1e an input equal to the cosine of time t, cos(t), with the sample delta time T = 0.1 seconds when in normal mode of operation. 21

End to End Analysis (Tustin) Requirements: Detailed Formal Property Derivation: 1. When Reset # Over is a True 10 second and the computational Initial Condition duration (ic) is at bounded an execution by the provided Analytic Top and vs Bottom frequency Limits (BL of <= 10 ic hz, <= the TL), Output the Output should (yout) equal shall the sine equal of the time Initial t, Condition Numerical (ic). sin(t), where time is defined as a vector from 0 to 10 by 2. The Output (yout) shall be bounded by the provided Top and Bottom limits (TL and BL) increments of 0.1 seconds within a +/- 0.1 tolerance for an 3. When input normal equal operation, to the cosine the of output time t, shall cos(t), be with the result the sample of the delta equation, yout = T/2*(xin 10 s + xinpv)+ time ypv T = 0.1 seconds when in normal mode of operation 4. The Output (xin{0}==1 of this and function xin{1}==0.995 shall approximate and xin{100}==-0.83907 the integration of and Tustin Error <.05 the value of the input T{all}==0.1 and reset{never} and (TL{all}>=BL{all}) and signal over (yout{all}>bl{all}) time within a and specified (yout{all}<tl{all})) tolerance, defined impl (abs(yout{0}- in subtests below: a. After 0)<=0.1 10 seconds and abs(yout{1}-0.099833)<=0.1 of Computation at an execution and frequency abs(yout{98}-- of 10 hz, the Output should 0.36648)<=0.1 equal 10 within and abs(yout{99}--0.45754)<=0.1 a +/- 0.1 tolerance, for a Constant and Input (xin = 1.0), and the 10 s abs(yout{100}--0.54402)<=0.1); sample delta time T = 0.1 seconds when in normal mode of operation. b. Over a 10 second computational duration at an execution frequency of 10 hz, the Output should equal the sine of time t, sin(t), where time is defined as a vector from 0 to 10 by increments of 0.1 seconds within a +/- 0.1 tolerance for an input equal to the cosine of time t, cos(t), with the sample delta time T = 0.1 seconds when in normal mode of operation. Requirements Properties (Tests) is At Least Half the Challenge 22

End to End Analysis (Triplex) Signal A Description: this challenge problem involves the verification of a redundancy management system using quantum simulation techniques. The p Signal B Signal C Threshold Level Fault Code Persistence Limit (Duration Trigger) FC: 0-nofail, 1-branchC, 2-branchB, 4-branchA # detailed formal property (abs(ia{all}-ib{all})>tlevel{all} or abs(ia{all}- ic{all})>tlevel{all} and PC>PClimit and PClimit{all}==1 and Tlevel{all}==1) impl (FC{3}==4); Given These Conditions, Prove the Correct Fault Report 23

24

25

10000 inputs 5000 ia ib ic 0 0 0.5 1 1.5 2 2.5 3 t [sec] 1 0.5 FC 0-0.5-1 0 0.5 1 1.5 2 2.5 3 t [sec] Counter Example Data As a Test Harness to Model 26

inputs 10000 5000 ia ib ic FC 1 0.5 0-0.5 0 0 1 2 3 t [sec] -1 0 1 2 3 t [sec] 4 inputs 3 2 1 0 0 1 2 3 t [sec] ia-ib ia-ic ib-ic This is a Valid Defect Discovered By QVTrace v0.9.1 Closer Inspection Yields a Problem 27

2 inputs 0-2 ia ib ic -4 0 1 2 3 4 5 6 7 8 9 10 t [sec] 2 1.5 Nominal Behavior FC 1 0.5 0 0 1 2 3 4 5 6 7 8 9 10 t [sec] FC: 0-nofail, 1-branchC, 2-branchB, 4-branchA 28

2 inputs 0-2 ia ib ic -4 0 1 2 3 4 5 6 7 8 9 10 t [sec] 1 0.5 Faulty Behavior FC 0-0.5-1 0 1 2 3 4 5 6 7 8 9 10 t [sec] FC: 0-nofail, 1-branchC, 2-branchB, 4-branchA 29

Summary and Path Forward Round 1 V&V Challenge Problems In Use to Develop Novel QE-V&V Requirements Formalization is Difficult Alone and Reduces Defects - Requirements Properties (Tests) is At Least Half the Challenge - Beneficial to Front Load Design Process with Formalization - Need Near if Not Equivalent Primitives Capability in Properties - Interested in Deploying Challenges Requirements to SPeAR Goals: - Publish Results on Current Round of Challenges - Round 2 V&V Challenge Problems To Increase Complexity Further - Transition Formal Methods Analysis Process/Tools to Programs - Interested? Contact: Chris Elliott, christopher.m.elliott@lmco.com, 817-935-3054 Thank You 30

31

Biography slide Mr. Greg Tallant Program Manager and LM Fellow Lockheed Martin Aeronautics Skunk Works Dr. Edward H. Ned Allen Chief Scientist and LM Senior Fellow Lockheed Martin Corporation Mr. Peter Stanfill Quantum Apps Team Lockheed Martin Aeronautics Skunk Works Dr. Kristen Pudenz Quantum Apps Team Lockheed Martin Aeronautics Skunk Works Chris Elliott Quantum Apps Team Lockheed Martin Aeronautics Skunk Works 32