DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017

Similar documents
Automated Formal Synthesis of Digital Controllers for State-Space Physical Plants CAV 2017

DSValidator: An Automated Counterexample Reproducibility Tool for Digital Systems

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

arxiv: v3 [cs.sy] 16 Feb 2017

SENSE: Abstraction-Based Synthesis of Networked Control Systems

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

Efficient Verification of Multi-Property Designs. The benefit of wrong assumptions (E. Goldberg, M. Güdemann, D. Kroening, R.

Reachable set computation for solving fuel consumption terminal control problem using zonotopes

Formal Non-Fragile Stability Verification of Digital Control Systems with Uncertainty

Outline. Classical Control. Lecture 1

TWO- PHASE APPROACH TO DESIGN ROBUST CONTROLLER FOR UNCERTAIN INTERVAL SYSTEM USING GENETIC ALGORITHM

Synthesis of Discrete State Observer by One Measurable State Variable and Identification of Immeasurable Disturbing Influence Mariela Alexandrova

Tutorial 4 (Week 11): Matlab - Digital Control Systems

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Matlab Controller Design. 1. Control system toolbox 2. Functions for model analysis 3. Linear system simulation 4. Biochemical reactor linearization

A Comparative Study on Automatic Flight Control for small UAV

Word-length Optimization and Error Analysis of a Multivariate Gaussian Random Number Generator

Modeling and Simulation of Dispersion Particle Fuels in Monte Carlo Neutron Transport Calculation

Risoluzione di equazioni matriciali con matrici infinite quasi-toeplitz

Non-linear Interpolant Generation and Its Application to Program Verification

Autonomous Agent Behaviour Modelled in PRISM A Case Study

Provably Correct Persistent Surveillance for Unmanned Aerial Vehicles Subject to Charging Constraints

Multi-layer Flight Control Synthesis and Analysis of a Small-scale UAV Helicopter

Formal verification of complex systems: model-based and data-driven methods. Alessandro Abate

Business Process Verification with Constraint Temporal Answer Set Programming

Determining Appropriate Precisions for Signals in Fixed-Point IIR Filters

Possible Way of Control of Multi-variable Control Loop by Using RGA Method

MATHEMATICAL MODELING OF OPEN LOOP PMDC MOTOR USING MATLAB/SIMULINK

6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski. Solutions to Problem Set 1 1. Massachusetts Institute of Technology

Formal Verification Applied to Attitude Control Software of Unmanned Aerial Vehicles

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

An External Active-Set Strategy for Solving Optimal Control Problems

EE451/551: Digital Control. Chapter 3: Modeling of Digital Control Systems

Analytic Solutions for Periodically Loaded Transmission Line Modeling

Parallelism in Structured Newton Computations

IDENTIFICATION OF THE MODAL MASSES OF AN UAV STRUCTURE IN OPERATIONAL ENVIRONMENT

Module 6: Deadbeat Response Design Lecture Note 1

Counterexamples for Robotic Planning Explained in Structured Language

An Active Learning Approach For Inferring Discrete Event Automata

Problem 1: (3 points) Recall that the dot product of two vectors in R 3 is

Model Validation for a Self-bearing Motor Prototype

Research Article A Novel Differential Evolution Invasive Weed Optimization Algorithm for Solving Nonlinear Equations Systems

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

Digital Autoland Control Laws Using Direct Digital Design and Quantitative Feedback Theory

ARCH-COMP17 Category Report: Continuous and Hybrid Systems with Linear Continuous Dynamics

QFT Framework for Robust Tuning of Power System Stabilizers

On the Probabilistic Symbolic Analysis of Software. Corina Pasareanu CMU-SV NASA Ames

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

International Journal of Engineering Research & Science (IJOER) ISSN: [ ] [Vol-2, Issue-11, November- 2016]

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Chapter 6 Steady-State Analysis of Continuous-Time Systems

Formal Synthesis of Embedded Control Software: Application to Vehicle Management Systems

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

Synthesis and Inductive Learning Part 3

Synergetic Synthesis Of Dc-Dc Boost Converter Controllers: Theory And Experimental Analysis

-MASTER THESIS- ADVANCED ACTIVE POWER AND FREQUENCY CONTROL OF WIND POWER PLANTS

Recursive, Infinite Impulse Response (IIR) Digital Filters:

INTRODUCTION TO TRANSFER FUNCTIONS

Digital Control & Digital Filters. Lectures 13 & 14

Two User-Routines for. Online Stress and Damage Calculation

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

ROBUST CONTROL SYSTEM DESIGN FOR SMALL UAV USING H2-OPTIMIZATION

Marcus Pantoja da Silva 1 and Celso Pascoli Bottura 2. Abstract: Nonlinear systems with time-varying uncertainties

CDS 101/110a: Lecture 10-1 Robust Performance

Comparison of Feedback Controller for Link Stabilizing Units of the Laser Based Synchronization System used at the European XFEL

SPECIAL PROJECT PROGRESS REPORT

Determining the Existence of DC Operating Points in Circuits

Modeling, Simulation & Control Of Non-linear Dynamical Systems By Patricia Melin;Oscar Castillo READ ONLINE

Agilent 7500a Inductively Coupled Plasma Mass Spectrometer (ICP-MS)

Trajectory tracking & Path-following control

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM

17/07/ Pick up Lecture Notes... WEBSITE FOR ASSIGNMENTS AND TOOLBOX DEFINITION DEFINITIONS AND CONCEPTS OF GIS

Digital Control Engineering Analysis and Design

Optimized PSD Envelope for Nonstationary Vibration Revision A

Property Directed Equivalence via Abstract Simulation. Grigory Fedyukovich, Arie Gurfinkel, and Natasha Sharygina

Armin Rasch * Abstract

RRQR Factorization Linux and Windows MEX-Files for MATLAB

1 (30 pts) Dominant Pole

MULTIVARIABLE PROPORTIONAL-INTEGRAL-PLUS (PIP) CONTROL OF THE ALSTOM NONLINEAR GASIFIER MODEL

Quantitative Feedback Theory based Controller Design of an Unstable System

Parameterized Linear Matrix Inequality Techniques in Fuzzy Control System Design

Robust Control. 1st class. Spring, 2017 Instructor: Prof. Masayuki Fujita (S5-303B) Tue., 11th April, 2017, 10:45~12:15, S423 Lecture Room

An Efficient Heuristics for Minimum Time Control of Continuous Petri nets

Multi-Agent Systems. By Anders Simpson-Wolf, Ramanjit Singh, and Michael Tran

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

FPGA as a tool for hardware realization of feedback control

MIMO analysis: loop-at-a-time

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

International Journal of Engineering Trends and Technology (IJETT) Volume3 Issue 4 Number1 Jul 2012

Fault Collapsing in Digital Circuits Using Fast Fault Dominance and Equivalence Analysis with SSBDDs

The PVTOL Aircraft. 2.1 Introduction

CONTROL OF TRMS AND MODELLING USING LPV

Close Loop System Identification of Dynamic Parameters of an Airplane. Michal Chvojka

Identification of Lateral/Directional Model for a UAV Helicopter in Forward Flight

Clock Skew Scheduling in the Presence of Heavily Gated Clock Networks

COMBINED ADAPTIVE CONTROLLER FOR UAV GUIDANCE

EXPERIMENTAL MODAL ANALYSIS OF AN ACTIVELY CONTROLLED SCALED METRO VEHICLE CAR BODY

Reduced Order Modeling Enables System Level Simulation of a MEMS Piezoelectric Energy Harvester with a Self-Supplied SSHI-Scheme

FAULT DETECTION OF A CONTROL VALVE USING STRUCTURED PARITY EQUATIONS

Higher-Order Σ Modulators and the Σ Toolbox

Transcription:

DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017 Alessandro Abate, Iury Bessa, Dario Cattaruzza, Lennon Chaves, Lucas Cordeiro, Cristina David, Pascal Kesseli, Daniel Kroening and Elizabeth Polgreen Diffblue Ltd., University of Oxford, Federal University of Amazonas November 1 st, 2017

Motivation 2 of 13

Motivation Automatically synthesise digital controllers 2 of 13

Typical closed-loop control system Representation of the digital controller and plant state-space: matrices A, B, C, and D transfer-function: coefficients b 0, b 1,...,b m and a 0, a 1,...,a m 3 of 13

Typical closed-loop control system Representation of the digital controller and plant state-space: matrices A, B, C, and D transfer-function: coefficients b 0, b 1,...,b m and a 0, a 1,...,a m Stability of closed-loop systems presents a bnded response for any bnded excitation 3 of 13

Typical closed-loop control system Representation of the digital controller and plant state-space: matrices A, B, C, and D transfer-function: coefficients b 0, b 1,...,b m and a 0, a 1,...,a m Stability of closed-loop systems presents a bnded response for any bnded excitation Safety of closed-loop systems defines a requirement on the states of the model 3 of 13

Typical closed-loop control system Representation of the digital controller and plant state-space: matrices A, B, C, and D transfer-function: coefficients b 0, b 1,...,b m and a 0, a 1,...,a m Stability of closed-loop systems presents a bnded response for any bnded excitation Safety of closed-loop systems defines a requirement on the states of the model Numerical erros (truncation and rnding) 3 of 13

Objectives Generate snd digital controllers for stability and safety specifications with a very high degree of automation 4 of 13

Objectives Generate snd digital controllers for stability and safety specifications with a very high degree of automation support for transfer-function and state-space representations in closed-loop form 4 of 13

Objectives Generate snd digital controllers for stability and safety specifications with a very high degree of automation support for transfer-function and state-space representations in closed-loop form synthesize different numerical representations of the controller using CnterExample Guided Inductive Synthesis (CEGIS) 4 of 13

Objectives Generate snd digital controllers for stability and safety specifications with a very high degree of automation support for transfer-function and state-space representations in closed-loop form synthesize different numerical representations of the controller using CnterExample Guided Inductive Synthesis (CEGIS) provide a MATLAB toolbox to synthesize digital controllers while taking into accnt finite word-length effects 4 of 13

The Proposed Synthesis Methodology Phases of the controller synthesis: 5 of 13

CEGIS for Control Systems CEGIS with multi-staged verification: Increase Unfolding Bnd Increase Precision Synthesize K C-ex Verify PASS 1.Safety 2.Precision 3.Complete Done Program Search BMC-based Verifier Fixed-point Arithmetic Verifier Completeness Verifier 6 of 13

DSSynth Usage - Transfer Function Physical plant for an unmanned aerial vehicle (UAV) plant: G(z) = B(z) A(z) = 0.06875z 2 z 2 1.696z + 0.7089. (1) Synthesizing the digital controller: >> num = [ -0.06875 0 0]; >> den = [1.0000-1.696 0.7089]; >> system = tf(num,den,0.002); >> y = synthesize (system,8,8,1, -1); >> SYNTHESIS SUCCESSFUL >> y = >> -0.9983 z^2 + 0.09587 z + 0.1926 >> -------------------------------- >> z^2 + 0.5665 z + 0.75 7 of 13

DSSynth Usage - Transfer Function Digital controller synthesized by DSSynth: C(z) = 0.99832 + 0.09587z + 0.1926 z 2. (2) + 0.5665z + 0.75 Computing the general equation (plant and controller): >> num = [ -0.99832 0.09587 0.1926]; >> den = [1 0.5665 0.75]; >> controller = tf(num,den,0.002); >> num = [ -0.06875 0 0]; >> den = [1.0000-1.696 0.7089]; >> plant = tf(num,den,0.002); >> sys = feedback ( series ( controller, plant ),1) >> sys = >> 0.06863 z^4-0.006591 z^3-0.01324 z^2 >> --------------------------------------------------- >> 1.069 z^4-1.136 z^3 + 0.4849 z^2-0.8704 z + 0.5317 8 of 13

DSSynth Usage - Step Response Step response for the UAV plant describing a stable system: 0.7 Step Response 0.6 0.5 Amplitude 0.4 0.3 0.2 0.1 0 0 5 10 15 20 25 30 35 40 45 50 Time (seconds) 9 of 13

DSSynth Usage - MATLAB Application (a) Definition of the system representation and the physical plant (b) Definition of implementation aspects and input ranges 10 of 13

DSSynth Usage - MATLAB Application (c) Digital controller synthesized by DSSynth (d) Step response for the synthesized digital controller 11 of 13

Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: 12 of 13

Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: Experimental Objectives: Evaluate the DSSynth performance to produce digital controllers Confirm the stability and safety tside of r model using MATLAB 12 of 13

Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: Experimental Objectives: Evaluate the DSSynth performance to produce digital controllers Confirm the stability and safety tside of r model using MATLAB Experimental Setup: Signal input range: 1, 1 Implementation features: 8, 8 Intel Core i7 2600 3.40 GHz processor with 24 GB of RAM 12 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 13 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 The number of state variables ranges from 1 to 9 13 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 The number of state variables ranges from 1 to 9 The average synthesis time amnts to 35.5 s for state-space systems 13 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 The number of state variables ranges from 1 to 9 The average synthesis time amnts to 35.5 s for state-space systems The average synthesis time amnts to 123.6 s for transfer functions 13 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 The number of state variables ranges from 1 to 9 The average synthesis time amnts to 35.5 s for state-space systems The average synthesis time amnts to 123.6 s for transfer functions On average r engine spent 52% in the synthesis and 48% in the verification phase 13 of 13

Experimental Evaluation Experimental Results: The digital controller order ranges from 1 to 8 The number of state variables ranges from 1 to 9 The average synthesis time amnts to 35.5 s for state-space systems The average synthesis time amnts to 123.6 s for transfer functions On average r engine spent 52% in the synthesis and 48% in the verification phase DSSynth Matlab toolbox: https://www.cprover.org/dssynth/dssynth-toolbox-1.0.0.zip https://github.com/ssvlab/dsverifier/tree/master/toolbox-dssynth 13 of 13