Reduced Basis Method for Parametric

Similar documents
Reduced basis method for H 2 optimal feedback control problems

Parameterized Partial Differential Equations and the Proper Orthogonal D

Schmidt, Andreas 1 and Haasdonk, Bernard 1

Empirical Interpolation of Nonlinear Parametrized Evolution Operators

6.241 Dynamic Systems and Control

Reduced-Order Greedy Controllability of Finite Dimensional Linear Systems. Giulia Fabrini Laura Iapichino Stefan Volkwein

A-Posteriori Error Estimation for Parameterized Kernel-Based Systems

Reduced Basis Methods for inverse problems

Model reduction for multiscale problems

Lecture 9. Introduction to Kalman Filtering. Linear Quadratic Gaussian Control (LQG) G. Hovland 2004

A reduced basis method and ROM-based optimization for batch chromatography

CME 345: MODEL REDUCTION

Chapter 3. LQ, LQG and Control System Design. Dutch Institute of Systems and Control

Problem Set 5 Solutions 1

Reduced-Order Multiobjective Optimal Control of Semilinear Parabolic Problems. Laura Iapichino Stefan Trenz Stefan Volkwein

LQR, Kalman Filter, and LQG. Postgraduate Course, M.Sc. Electrical Engineering Department College of Engineering University of Salahaddin

I. D. Landau, A. Karimi: A Course on Adaptive Control Adaptive Control. Part 9: Adaptive Control with Multiple Models and Switching

Lecture 8. Applications

Order reduction numerical methods for the algebraic Riccati equation. V. Simoncini

Denis ARZELIER arzelier

CME 345: MODEL REDUCTION

BALANCING-RELATED MODEL REDUCTION FOR DATA-SPARSE SYSTEMS

6.241 Dynamic Systems and Control

The HJB-POD approach for infinite dimensional control problems

Greedy control. Martin Lazar University of Dubrovnik. Opatija, th Najman Conference. Joint work with E: Zuazua, UAM, Madrid

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

Some a posteriori error bounds for reduced order modelling of (non-)parametrized linear systems

Krylov Subspace Methods for Nonlinear Model Reduction

A POD Projection Method for Large-Scale Algebraic Riccati Equations

EL2520 Control Theory and Practice

Linear-Quadratic-Gaussian (LQG) Controllers and Kalman Filters

5. Observer-based Controller Design

Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems

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

Linear Quadratic Gausssian Control Design with Loop Transfer Recovery

Structured State Space Realizations for SLS Distributed Controllers

Multiobjective PDE-constrained optimization using the reduced basis method

Model reduction for linear systems by balancing

Approximation of the Linearized Boussinesq Equations

On Linear-Quadratic Control Theory of Implicit Difference Equations

Control System Design

Linear System Theory

Model Reduction for Dynamical Systems

Greedy Control. Enrique Zuazua 1 2

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini

Reduced Basis Method for Explicit Finite Volume Approximations of Nonlinear Conservation Laws

A Newton-Galerkin-ADI Method for Large-Scale Algebraic Riccati Equations

FEL3210 Multivariable Feedback Control

Numerics and Control of PDEs Lecture 1. IFCAM IISc Bangalore

H 2 optimal model reduction - Wilson s conditions for the cross-gramian

Control Systems Design

Multi-Model Adaptive Regulation for a Family of Systems Containing Different Zero Structures

Parametrische Modellreduktion mit dünnen Gittern

The Kalman-Yakubovich-Popov Lemma for Differential-Algebraic Equations with Applications

Towards parametric model order reduction for nonlinear PDE systems in networks

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL

Stationary trajectories, singular Hamiltonian systems and ill-posed Interconnection

L2 gains and system approximation quality 1

THE LOCALIZED REDUCED BASIS MULTISCALE METHOD

Using Model Reduction techniques for simulating the heat transfer in electronic systems.

Introduction to Model Order Reduction

H 2 Optimal State Feedback Control Synthesis. Raktim Bhattacharya Aerospace Engineering, Texas A&M University

Robust Control 9 Design Summary & Examples

Topic # Feedback Control Systems

4F3 - Predictive Control

Chapter 9 Observers, Model-based Controllers 9. Introduction In here we deal with the general case where only a subset of the states, or linear combin

MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan

NPTEL Online Course: Control Engineering

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

Model Reduction for Unstable Systems

An LQ R weight selection approach to the discrete generalized H 2 control problem

Computer Problem 1: SIE Guidance, Navigation, and Control

Semidefinite Programming Duality and Linear Time-invariant Systems

MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem

Iterative Methods for Solving A x = b

Linear Matrix Inequalities in Robust Control. Venkataramanan (Ragu) Balakrishnan School of ECE, Purdue University MTNS 2002

Reduced Modeling in Data Assimilation

FEL3210 Multivariable Feedback Control

Comparison of methods for parametric model order reduction of instationary problems

OPTIMAL CONTROL AND ESTIMATION

Hankel Optimal Model Reduction 1

The Behavioral Approach to Systems Theory

Parametric Model Order Reduction for Linear Control Systems

Model Reduction for Multiscale Lithium-Ion Battery Simulation

Lecture 2: Discrete-time Linear Quadratic Optimal Control

Some recent developments on ROMs in computational fluid dynamics

EE C128 / ME C134 Feedback Control Systems

Introduction to Model Order Reduction

Discussion on: Measurable signal decoupling with dynamic feedforward compensation and unknown-input observation for systems with direct feedthrough

POD for Parametric PDEs and for Optimality Systems

Observability. It was the property in Lyapunov stability which allowed us to resolve that

Suboptimal Open-loop Control Using POD. Stefan Volkwein

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

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

16.31 Fall 2005 Lecture Presentation Mon 31-Oct-05 ver 1.1

Mathematics for Control Theory

Bounding Stability Constants for Affinely Parameter-Dependent Operators

On Solving Large Algebraic. Riccati Matrix Equations

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems. CDS 110b

CONTROL DESIGN FOR SET POINT TRACKING

Transcription:

1/24 Reduced Basis Method for Parametric H 2 -Optimal Control Problems NUMOC2017 Andreas Schmidt, Bernard Haasdonk Institute for Applied Analysis and Numerical Simulation, University of Stuttgart andreas.schmidt@mathematik.uni-stuttgart.de 22 nd June, 2017

Outline 1 Introduction 2 Reduced Basis Approximation 3 Numerical Results 4 Conclusion and Outlook 2/24

Introduction 3/24

Basic Overview A general control problem Goal: Set up a general framework for realistic control problems. Noise w 1 (t) Control u(t) System x(t) State z(t) Performance y(t) Measurement Noise w 2 (t) In a more mathematical way: LTI System x(t) = Ax(t) +B u u(t) +B w w 1 (t) y(t) = C y x(t) +D yw w 2 (t) z(t) = C z x(t) +D zu u(t) x(0) = x 0. State equation Measurements Performance output 4/24

Basic Overview A general control problem Goal: Set up a general framework for realistic control problems. Noise w 1 (t) Control u(t) System x(t) State z(t) Performance y(t) Measurement Noise w 2 (t) In a more mathematical way: LTI System x(t) = Ax(t) +B u u(t) +B w w 1 (t) y(t) = C y x(t) +D yw w 2 (t) z(t) = C z x(t) +D zu u(t) x(0) = x 0. State equation Measurements Performance output 4/24

Basic Overview A general control problem Goal: Set up a general framework for realistic control problems. Noise w 1 (t) Control u(t) System x(t) State z(t) Performance y(t) Measurement Noise w 2 (t) In a more mathematical way: LTI System x(t) = Ax(t) +B u u(t) +B w w 1 (t) y(t) = C y x(t) +D yw w 2 (t) z(t) = C z x(t) +D zu u(t) x(0) = x 0. State equation Measurements Performance output 4/24

Basic Overview A general control problem Goal: Set up a general framework for realistic control problems. Noise w 1 (t) Control u(t) System x(t) State z(t) Performance y(t) Measurement Noise w 2 (t) In a more mathematical way: LTI System x(t) = A(µ)x(t) +B u (µ)u(t) +B w (µ)w 1 (t) y(t) = C y (µ)x(t) +D yw (µ)w 2 (t) z(t) = C z (µ)x(t) +D zu (µ)u(t) x(0) = x 0 (µ). State equation Measurements Performance output 4/24

The Control Problem What should the controller do? w(t) System z(t) u(t) y(t) Controller Control objective Try to find a controller that maps the noisy measurements y(t) to control signals u(t) such that certain goals are achieved: System is stable Effect of noise w(t) on output z(t) is minimized in H 2 norm 1 G 2 = 2π G(iω) 2 F dω, where G(s) = C (si A ) 1 B 5/24

The Control Problem What should the controller do? w(t) u(t) Control objective System Controller y(t) z(t) Controller: x K = A K x K +B K y u = C K x K Closed-loop LTI: h = A h + Bw z = C h Try to find a controller that maps the noisy measurements y(t) to control signals u(t) such that certain goals are achieved: System is stable Effect of noise w(t) on output z(t) is minimized in H 2 norm 1 G 2 = 2π G(iω) 2 F dω, where G(s) = C (si A ) 1 B 5/24

The Control Problem What should the controller do? w(t) u(t) Control objective System Controller y(t) z(t) Controller: x K = A K x K +B K y u = C K x K Closed-loop LTI: h = A h + Bw z = C h Try to find a controller that maps the noisy measurements y(t) to control signals u(t) such that certain goals are achieved: System is stable Effect of noise w(t) on output z(t) is minimized in H 2 norm 1 G 2 = 2π G(iω) 2 F dω, where G(s) = C (si A ) 1 B 5/24

The Control Problem What should the controller do? w(t) u(t) Control objective System Controller y(t) z(t) Controller: x K = A K x K +B K y u = C K x K Closed-loop LTI: h = A h + Bw z = C h Try to find a controller that maps the noisy measurements y(t) to control signals u(t) such that certain goals are achieved: System is stable Effect of noise w(t) on output z(t) is minimized in H 2 norm 1 G 2 = 2π G(iω) 2 F dω, where G(s) = C (si A ) 1 B 5/24

The Control Problem What should the controller do? w(t) u(t) Control objective System Controller y(t) z(t) Controller: x K = A K x K +B K y u = C K x K Closed-loop LTI: h = A h + Bw z = C h Try to find a controller that maps the noisy measurements y(t) to control signals u(t) such that certain goals are achieved: System is stable Effect of noise w(t) on output z(t) is minimized in H 2 norm 1 G 2 = 2π G(iω) 2 F dω, where G(s) = C (si A ) 1 B 5/24

The Control Problem The solution Theorem 1 ( [Zhou, Doyle, Glover 1996]) Let P,Q R n n be the unique stabilizing solutions to the algebraic Riccati equations (AREs) A T P +PA PB u (D T zud zu ) 1 B T u P +C T z C z = 0 (1) AQ +QA T QCy T (D yw Dyw) T 1 C y Q +B w B T w = 0. (2) Define the control gain K := (D T zud zu ) 1 B T u P and the observer gain L := QC T y (D yw D T yw) 1. Then the H 2 optimal controller is given by u(t) := Kx K (t), (3) where x K (t) R n is the solution to the observer-equation: x K (t) = (A BK)x K (t) +L[y(t) C y x K (t)]. (4) K. Zhou, J. Doyle and K. Glover. Robust and Optimal Control. 1996. 6/24

The Control Problem The solution Theorem 1 ( [Zhou, Doyle, Glover 1996]) Let P,Q R n n be the unique stabilizing solutions to the algebraic Riccati equations (AREs) A T P +PA PB u (D T zud zu ) 1 B T u P +C T z C z = 0 (1) AQ +QA T QCy T (D yw Dyw) T 1 C y Q +B w B T w = 0. (2) Define the control gain K := (D T zud zu ) 1 B T u P and the observer gain L := QC T y (D yw D T yw) 1. Then the H 2 optimal controller is given by u(t) := Kx K (t), (3) where x K (t) R n is the solution to the observer-equation: x K (t) = (A BK)x K (t) +L[y(t) C y x K (t)]. (4) K. Zhou, J. Doyle and K. Glover. Robust and Optimal Control. 1996. 6/24

The Control Problem The solution Theorem 1 ( [Zhou, Doyle, Glover 1996]) Let P,Q R n n be the unique stabilizing solutions to the algebraic Riccati equations (AREs) A T P +PA PB u (D T zud zu ) 1 B T u P +C T z C z = 0 (1) AQ +QA T QCy T (D yw Dyw) T 1 C y Q +B w B T w = 0. (2) Define the control gain K := (D T zud zu ) 1 B T u P and the observer gain L := QC T y (D yw D T yw) 1. Then the H 2 optimal controller is given by u(t) := Kx K (t), (3) where x K (t) R n is the solution to the observer-equation: x K (t) = (A BK)x K (t) +L[y(t) C y x K (t)]. (4) K. Zhou, J. Doyle and K. Glover. Robust and Optimal Control. 1996. 6/24

Reduced Basis Approximation 7/24

Reduced Basis Method in a Nutshell Calculation is split in offline and online phase Online efficiency through parameter separability Basis generation (usually) by Greedy procedure Many applications: Elliptic/parabolic PDEs, variational inequalities, dyn. systems, Kalman filter,... A. Patera and G. Rozza. Reduced Basis Approximation and a Posteriori Error Estimation for Parametrized Partial Differential Equations. To appear in (tentative) MIT Pappalardo Graduate Monographs in Mechanical Engineering. 2007. B. Haasdonk. Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems. SimTech Preprint. Chapter to appear in P. Benner, A. Cohen, M. Ohlberger and K. Willcox (eds.): "Model Reduction and Approximation: Theory and Algorithms", SIAM, Philadelphia, 2016. IANS, University of Stuttgart, Germany, 2014. 8/24

Reduced Basis Method in a Nutshell Calculation is split in offline and online phase Online efficiency through parameter separability Basis generation (usually) by Greedy procedure Many applications: Elliptic/parabolic PDEs, variational inequalities, dyn. systems, Kalman filter,... A. Patera and G. Rozza. Reduced Basis Approximation and a Posteriori Error Estimation for Parametrized Partial Differential Equations. To appear in (tentative) MIT Pappalardo Graduate Monographs in Mechanical Engineering. 2007. B. Haasdonk. Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems. SimTech Preprint. Chapter to appear in P. Benner, A. Cohen, M. Ohlberger and K. Willcox (eds.): "Model Reduction and Approximation: Theory and Algorithms", SIAM, Philadelphia, 2016. IANS, University of Stuttgart, Germany, 2014. 8/24

Reduced Basis Method in a Nutshell Calculation is split in offline and online phase Online efficiency through parameter separability Basis generation (usually) by Greedy procedure Many applications: Elliptic/parabolic PDEs, variational inequalities, dyn. systems, Kalman filter,... A. Patera and G. Rozza. Reduced Basis Approximation and a Posteriori Error Estimation for Parametrized Partial Differential Equations. To appear in (tentative) MIT Pappalardo Graduate Monographs in Mechanical Engineering. 2007. B. Haasdonk. Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems. SimTech Preprint. Chapter to appear in P. Benner, A. Cohen, M. Ohlberger and K. Willcox (eds.): "Model Reduction and Approximation: Theory and Algorithms", SIAM, Philadelphia, 2016. IANS, University of Stuttgart, Germany, 2014. 8/24

Reduced Basis Method in a Nutshell Calculation is split in offline and online phase Online efficiency through parameter separability Basis generation (usually) by Greedy procedure Many applications: Elliptic/parabolic PDEs, variational inequalities, dyn. systems, Kalman filter,... A. Patera and G. Rozza. Reduced Basis Approximation and a Posteriori Error Estimation for Parametrized Partial Differential Equations. To appear in (tentative) MIT Pappalardo Graduate Monographs in Mechanical Engineering. 2007. B. Haasdonk. Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems. SimTech Preprint. Chapter to appear in P. Benner, A. Cohen, M. Ohlberger and K. Willcox (eds.): "Model Reduction and Approximation: Theory and Algorithms", SIAM, Philadelphia, 2016. IANS, University of Stuttgart, Germany, 2014. 8/24

Reduction of the ARE How to do that? Recall: The ARE is a nonlinear matrix-valued equation for X(µ) R n n : A(µ) T X(µ) +X(µ)A(µ) X(µ)B(µ)R(µ) 1 B(µ) T X(µ) +C(µ) T C(µ) = 0. SVD/Eigenvalue decomposition X(µ) = V ΣV T σi 10 2 10 10 10 18 0 20 40 60 80 100 Index i Projection leads to small N n dimensional ARE Idea: [S., Haasdonk 2017] Approximate X(µ) X(µ) := V X X N (µ)v T X A N (µ) T X N (µ)+x N (µ)a N (µ) X N (µ)b N (µ)r(µ) 1 B(µ) T X N (µ)+c N (µ) T C N (µ) = 0. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications (Jan. 2016). 9/24

Reduction of the ARE How to do that? Recall: The ARE is a nonlinear matrix-valued equation for X(µ) R n n : A(µ) T X(µ) +X(µ)A(µ) X(µ)B(µ)R(µ) 1 B(µ) T X(µ) +C(µ) T C(µ) = 0. SVD/Eigenvalue decomposition X(µ) = V ΣV T σi 10 2 10 10 10 18 0 20 40 60 80 100 Index i Projection leads to small N n dimensional ARE Idea: [S., Haasdonk 2017] Approximate X(µ) X(µ) := V X X N (µ)v T X A N (µ) T X N (µ)+x N (µ)a N (µ) X N (µ)b N (µ)r(µ) 1 B(µ) T X N (µ)+c N (µ) T C N (µ) = 0. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications (Jan. 2016). 9/24

Reduction of the ARE How to do that? Recall: The ARE is a nonlinear matrix-valued equation for X(µ) R n n : A(µ) T X(µ) +X(µ)A(µ) X(µ)B(µ)R(µ) 1 B(µ) T X(µ) +C(µ) T C(µ) = 0. SVD/Eigenvalue decomposition X(µ) = V ΣV T Z(µ)Z(µ) T σi 10 2 10 10 10 18 0 20 40 60 80 100 Index i Projection leads to small N n dimensional ARE Idea: [S., Haasdonk 2017] Approximate X(µ) X(µ) := V X X N (µ)v T X A N (µ) T X N (µ)+x N (µ)a N (µ) X N (µ)b N (µ)r(µ) 1 B(µ) T X N (µ)+c N (µ) T C N (µ) = 0. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications (Jan. 2016). 9/24

Reduction of the ARE How to do that? Recall: The ARE is a nonlinear matrix-valued equation for X(µ) R n n : A(µ) T X(µ) +X(µ)A(µ) X(µ)B(µ)R(µ) 1 B(µ) T X(µ) +C(µ) T C(µ) = 0. SVD/Eigenvalue decomposition X(µ) = V ΣV T Z(µ)Z(µ) T σi 10 2 10 10 10 18 0 20 40 60 80 100 Index i Projection leads to small N n dimensional ARE Idea: [S., Haasdonk 2017] Approximate X(µ) X(µ) := V X X N (µ)v T X A N (µ) T X N (µ)+x N (µ)a N (µ) X N (µ)b N (µ)r(µ) 1 B(µ) T X N (µ)+c N (µ) T C N (µ) = 0. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications (Jan. 2016). 9/24

Reduction of the ARE How to do that? Recall: The ARE is a nonlinear matrix-valued equation for X(µ) R n n : A(µ) T X(µ) +X(µ)A(µ) X(µ)B(µ)R(µ) 1 B(µ) T X(µ) +C(µ) T C(µ) = 0. SVD/Eigenvalue decomposition X(µ) = V ΣV T Z(µ)Z(µ) T σi 10 2 10 10 10 18 0 20 40 60 80 100 Index i Projection leads to small N n dimensional ARE Idea: [S., Haasdonk 2017] Approximate X(µ) X(µ) := V X X N (µ)v T X A N (µ) T X N (µ)+x N (µ)a N (µ) X N (µ)b N (µ)r(µ) 1 B(µ) T X N (µ)+c N (µ) T C N (µ) = 0. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications (Jan. 2016). 9/24

Low-Rank Factor Greedy Algorithm Algorithm 1: Low-Rank Factor Greedy Algorithm (LRFG) for the basis generation. Data: Initial basis matrix V 0, training set P train P, tolerance ε, inner tolerance tol i [0,1], error indicator (V,µ) Set V := V 0. while max µ Ptrain (V,µ) > ε do µ := argmax µ Ptrain (V,µ) Solve the full dimensional ARE for the low rank factor Z(µ ) Set Z := (I n VV T )Z(µ ) Ẑ = POD(Z,tol i ) Extend the current basis matrix V = (V,Ẑ) Return V. 10/24

Low-Rank Factor Greedy Algorithm Algorithm 2: Low-Rank Factor Greedy Algorithm (LRFG) for the basis generation. Data: Initial basis matrix V 0, training set P train P, tolerance ε, inner tolerance tol i [0,1], error indicator (V,µ) Set V := V 0. while max µ Ptrain (V,µ) > ε do µ := argmax µ Ptrain (V,µ) Solve the full dimensional ARE for the low rank factor Z(µ ) Set Z := (I n VV T )Z(µ ) Ẑ = POD(Z,tol i ) Extend the current basis matrix V = (V,Ẑ) Return V. 10/24

Low-Rank Factor Greedy Algorithm Algorithm 3: Low-Rank Factor Greedy Algorithm (LRFG) for the basis generation. Data: Initial basis matrix V 0, training set P train P, tolerance ε, inner tolerance tol i [0,1], error indicator (V,µ) Set V := V 0. while max µ Ptrain (V,µ) > ε do µ := argmax µ Ptrain (V,µ) Solve the full dimensional ARE for the low rank factor Z(µ ) Set Z := (I n VV T )Z(µ ) Ẑ = POD(Z,tol i ) Extend the current basis matrix V = (V,Ẑ) Return V. (W,µ) := R( P(µ)) F C(µ) T Q(µ)C(µ) F 10/24

Low-Rank Factor Greedy Algorithm Algorithm 4: Low-Rank Factor Greedy Algorithm (LRFG) for the basis generation. Data: Initial basis matrix V 0, training set P train P, tolerance ε, inner tolerance tol i [0,1], error indicator (V,µ) Set V := V 0. while max µ Ptrain (V,µ) > ε do µ := argmax µ Ptrain (V,µ) Solve the full dimensional ARE for the low rank factor Z(µ ) Set Z := (I n VV T )Z(µ ) Ẑ = POD(Z,tol i ) Extend the current basis matrix V = (V,Ẑ) Return V. (W,µ) := R( P(µ)) F C(µ) T Q(µ)C(µ) F 10/24

Low-Rank Factor Greedy Algorithm Algorithm 5: Low-Rank Factor Greedy Algorithm (LRFG) for the basis generation. Data: Initial basis matrix V 0, training set P train P, tolerance ε, inner tolerance tol i [0,1], error indicator (V,µ) Set V := V 0. while max µ Ptrain (V,µ) > ε do µ := argmax µ Ptrain (V,µ) Solve the full dimensional ARE for the low rank factor Z(µ ) Set Z := (I n VV T )Z(µ ) Ẑ = POD(Z,tol i ) Extend the current basis matrix V = (V,Ẑ) Return V. (W,µ) := R( P(µ)) F C(µ) T Q(µ)C(µ) F POD(X,tol i ) returns first l SVs, such that: li=1 σ 2 i tol i (> 0.99) rank(x) i=1 σ 2 i 10/24

What is the overall idea? The observer equation The state estimation involves an n-dimensional ODE: x K (t;µ) = (A(µ) B(µ)K(µ))x K (t;µ) +L(µ)[y(t) C y (µ)x K (t;µ)]. Apply POD by calculating snapshots for some µ P and inputs y(t): X := [x K (t 1 ;µ 1 ),x K (t 2 ;µ 1 ),...,x K (t l ;µ P )] Figure: Some bases for an advection diffusion equation. S. Volkwein. Lecture Notes: Proper Orthogonal Decomposition: Theory and Reduced-Order Modelling. 2013. 11/24

What is the overall idea? The observer equation The state estimation involves an n-dimensional ODE: x K (t;µ) = (A(µ) B(µ)K(µ))x K (t;µ) +L(µ)[y(t) C y (µ)x K (t;µ)]. Apply POD by calculating snapshots for some µ P and inputs y(t): X := [x K (t 1 ;µ 1 ),x K (t 2 ;µ 1 ),...,x K (t l ;µ P )] Figure: Some bases for an advection diffusion equation. S. Volkwein. Lecture Notes: Proper Orthogonal Decomposition: Theory and Reduced-Order Modelling. 2013. 11/24

The Reduced Controller Or: Why is now everything faster? Build three different bases V P,V Q and V xk (independently, offline). See[S., Haasdonk 2016]. Definition 2 (Reduced controller) Let P NP and Q NQ be the solutions of the reduced AREs and define the reduced gains K := (D T zud zu ) 1 B T u P, L := QC T y (D yw D T yw) 1, where and the control signal P = V P P NP V T P, Q = V Q Q NQ V T Q, û(t) := K x(t), where x(t) R N x satisfies the reduced observer equation x = V T x K (A B K LC y )V xk x +V T x K Ly A. Schmidt and B. Haasdonk. Reduced basis method for H2 optimal feedback control problems. IFAC-PapersOnLine (2016). 2nd IFAC Workshop on Control of Systems Governed by Partial Differential Equations CPDE 2016. 12/24

The Reduced Controller Or: Why is now everything faster? Build three different bases V P,V Q and V xk (independently, offline). See[S., Haasdonk 2016]. Definition 2 (Reduced controller) Let P NP and Q NQ be the solutions of the reduced AREs and define the reduced gains K := (D T zud zu ) 1 B T u P, L := QC T y (D yw D T yw) 1, where and the control signal P = V P P NP V T P, Q = V Q Q NQ V T Q, û(t) := K x(t), where x(t) R N x satisfies the reduced observer equation x = V T x K (A B K LC y )V xk x +V T x K Ly A. Schmidt and B. Haasdonk. Reduced basis method for H2 optimal feedback control problems. IFAC-PapersOnLine (2016). 2nd IFAC Workshop on Control of Systems Governed by Partial Differential Equations CPDE 2016. 12/24

Numerical Results 13/24

Distributed Control of Damped 2D Wave Consider for Ω := [0,1] 2 the following damped wave-equation with parameters µ 1,µ 2 [0.1,2] [1,100]. f tt 0.1 f + µ 1 f t = 10 1 Ωu u +3 1 Ωw w 1, t > 0, f (0,ξ;µ) = sin(ξ 1 π)sin(ξ 2 π), ξ Ω f t (0,ξ;µ) = 0, ξ Ω, s(t;µ) = 1 f (t,ξ;µ)dξ +0.05w 2 (t). Ω y Ω y Consider two performance outputs: o 1 (t) = 1 µ 2 f (t,ξ;µ)dξ, Ω y Ω y Ω w Ω u Ω y Output o1(t) 0.5 0 0.5 o 2 (t) = 0.1u(t) Uncontrolled Controlled 0 2 4 14/24

Distributed Control of Damped 2D Wave Basis generation results The equations are discretized in space by using FD: n = 800. We construct the three bases: V P,V Q and V x. The observer system was simulated with y(t) = sin(t 2 ) with t [0,2π]. t full [s] t red [s] Basis size Feedback ARE P 15.2 0.002 17 Observer ARE Q 14.3 0.004 30 State Estimation ODE x 4.1 10 4 2.0 10 5 25 Table: Basis generation results. Overall RB approximation Overall controller is ODE of dimension 25 instead of 800 and the speed up for the AREs is in the magnitude of 5.000 (using care). By using parameter separability, e.g. A(µ) = Q A i=1 θ i(µ)a i the online simulation can be implemented independent of n. 15/24

Distributed Control of Damped 2D Wave Approximation of control signal Setting: Full basis for observer gain basis and state estimation basis x. 2 10 2 0 Control u(t) 2 4 6 Full N P =5 N P =10 N P =17 0 0.2 0.4 0.6 0.8 1 Time t 16/24

Distributed Control of Damped 2D Wave Approximation of control signal Setting: Full basis for feedback and observer gain basis. 2 10 2 0 Control u(t) 2 Full 4 N x =5 N x =10 N x =25 6 0 0.2 0.4 0.6 0.8 1 Time t 17/24

Distributed Control of Damped 2D Wave Approximation of the H 2 -norm Relative maximum error over test set P test with P test = 50. G( ;µ) Ĝ( ;µ) 2 max. (5) µ P test G( ;µ) 2 Table: Relative error in the transfer functions from w to z in the closed loop systems. N Q N P 5 10 12 17 10 6.63e-03 7.20e-03 6.49e-03 5.23e-03 15 1.44e-03 1.94e-03 1.40e-03 8.29e-04 5 2.78e-02 2.63e-02 2.66e-02 2.88e-02 30 1.31e-03 1.83e-03 1.27e-03 6.34e-04 Surprise: No instabilities occured! See famous one-page article[doyle 78]. J. Doyle. Guaranteed margins for LQG regulators. Automatic Control, IEEE Transactions on (Aug. 1978). 18/24

Conclusion and Outlook 19/24

Conclusion and Outlook We have seen: Model order reduction for H 2 optimal control problems. Full parametric and realistic control setup Expensive due to two AREs and state estimation Model reduction for AREs and the state estimation Large speed-up What next? Stability considerations and error estimation Robustification? Same approach for H -control problems 20/24

Conclusion and Outlook We have seen: Model order reduction for H 2 optimal control problems. Full parametric and realistic control setup Expensive due to two AREs and state estimation Model reduction for AREs and the state estimation Large speed-up What next? Stability considerations and error estimation Robustification? Same approach for H -control problems 20/24

Thank you for your attention! Questions? Comments? 21/24

References I J. Doyle. Guaranteed margins for LQG regulators. Automatic Control, IEEE Transactions on 23.4 (Aug. 1978). B. Haasdonk. Reduced Basis Methods for Parametrized PDEs A Tutorial Introduction for Stationary and Instationary Problems. SimTech Preprint. Chapter to appear in P. Benner, A. Cohen, M. Ohlberger and K. Willcox (eds.): "Model Reduction and Approximation: Theory and Algorithms", SIAM, Philadelphia, 2016. IANS, University of Stuttgart, Germany, 2014. A. Patera and G. Rozza. Reduced Basis Approximation and a Posteriori Error Estimation for Parametrized Partial Differential Equations. 2007. A. Schmidt and B. Haasdonk. Reduced basis method for H2 optimal feedback control problems. IFAC-PapersOnLine 49.8 (2016). 2nd IFAC Workshop on Control of Systems Governed by Partial Differential Equations CPDE 2016. A. Schmidt and B. Haasdonk. Reduced basis approximation of large scale parametric algebraic Riccati equations. ESAIM: Control, Optimisation and Calculus of Variations (Feb. 2017). V. Simoncini. Analysis of the Rational Krylov Subspace Projection Method for Large-Scale Algebraic Riccati Equations. SIAM Journal on Matrix Analysis and Applications 37.4 (Jan. 2016). 22/24

References II S. Volkwein. Lecture Notes: Proper Orthogonal Decomposition: Theory and Reduced-Order Modelling. 2013. K. Zhou, J. Doyle and K. Glover. Robust and Optimal Control. 1996. 23/24

The Control Problem Mathematical model of the controller Consider the open-loop system x = Ax +B u u +B w w z = C z x +D zu u y = C y x +D yw w Ansatz for controller w(t) u(t) System Controller y(t) z(t) x K = A K x K +B K y u = C K x K The interconnection (i.e. the closed-loop system) for h T = (x,x K ) can be written as h = A h + Bw, z = C h. 24/24

The Control Problem Mathematical model of the controller Consider the open-loop system x = Ax +B u u +B w w z = C z x +D zu u y = C y x +D yw w Ansatz for controller w(t) u(t) System Controller y(t) z(t) x K = A K x K +B K y u = C K x K The interconnection (i.e. the closed-loop system) for h T = (x,x K ) can be written as h = A h + Bw, z = C h. 24/24

The Control Problem Mathematical model of the controller Consider the open-loop system x = Ax +B u u +B w w z = C z x +D zu u y = C y x +D yw w Ansatz for controller w(t) u(t) System Controller y(t) z(t) x K = A K x K +B K y u = C K x K The interconnection (i.e. the closed-loop system) for h T = (x,x K ) can be written as h = A h + Bw, z = C h. 24/24