J. Sjöberg et al. (1995):Non-linear Black-Box Modeling in System Identification: a Unified Overview, Automatica, Vol. 31, 12, str

Similar documents
Chapter 4 Neural Networks in System Identification

AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET AUTOMATIC CONTROL COMMUNICATION SYSTEMS LINKÖPINGS UNIVERSITET

Nonlinear System Identification Using MLP Dr.-Ing. Sudchai Boonto

Learning strategies for neuronal nets - the backpropagation algorithm

Identification of ARX, OE, FIR models with the least squares method

Designing Dynamic Neural Network for Non-Linear System Identification

Control Systems Lab - SC4070 System Identification and Linearization

Data Driven Modelling for Complex Systems

NONLINEAR GAS TURBINE MODELING USING FEEDFORWARD NEURAL NETWORKS. Neophytos Chiras, Ceri Evans and David Rees

A recursive algorithm based on the extended Kalman filter for the training of feedforward neural models. Isabelle Rivals and Léon Personnaz

EL1820 Modeling of Dynamical Systems

Using Neural Networks for Identification and Control of Systems

NONLINEAR PLANT IDENTIFICATION BY WAVELETS

Analysis of Fast Input Selection: Application in Time Series Prediction

A STATE-SPACE NEURAL NETWORK FOR MODELING DYNAMICAL NONLINEAR SYSTEMS

USING WAVELET NEURAL NETWORK FOR THE IDENTIFICATION OF A BUILDING STRUCTURE FROM EXPERIMENTAL DATA

2 Chapter 1 A nonlinear black box structure for a dynamical system is a model structure that is prepared to describe virtually any nonlinear dynamics.

Midterm Review CS 7301: Advanced Machine Learning. Vibhav Gogate The University of Texas at Dallas

Comparative Application of Radial Basis Function and Multilayer Perceptron Neural Networks to Predict Traffic Noise Pollution in Tehran Roads

Overview. Probabilistic Interpretation of Linear Regression Maximum Likelihood Estimation Bayesian Estimation MAP Estimation

Support Vector Regression (SVR) Descriptions of SVR in this discussion follow that in Refs. (2, 6, 7, 8, 9). The literature

EL1820 Modeling of Dynamical Systems

Introduction to Neural Networks: Structure and Training

Neuro-Fuzzy Comp. Ch. 4 March 24, R p

Linear Regression Linear Regression with Shrinkage

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION Vol. VI - Identification of NARMAX and Related Models - Stephen A. Billings and Daniel Coca

Chapter 2 System Identification with GP Models

Artificial Neural Network

Linear Regression Linear Regression with Shrinkage

MCMC analysis of classical time series algorithms.

Artifical Neural Networks

6.435, System Identification

Input Selection for Long-Term Prediction of Time Series

Discussion Papers in Economics. Ali Choudhary (University of Surrey and State Bank of Pakistan) & Adnan Haider (State Bank of Pakistan) DP 08/08

NONLINEAR IDENTIFICATION ON BASED RBF NEURAL NETWORK

Local Modelling of Nonlinear Dynamic Systems Using Direct Weight Optimization

Multi-layer Neural Networks

Linear Models for Regression. Sargur Srihari

Midterm Review CS 6375: Machine Learning. Vibhav Gogate The University of Texas at Dallas

ARTIFICIAL NEURAL NETWORK PART I HANIEH BORHANAZAD

Lecture 4: Perceptrons and Multilayer Perceptrons

Computer Exercise 1 Estimation and Model Validation

Matlab software tools for model identification and data analysis 10/11/2017 Prof. Marcello Farina

Simple neuron model Components of simple neuron

Multivariable and Multiaxial Fatigue Life Assessment of Composite Materials using Neural Networks

The Perceptron Algorithm

EECE Adaptive Control

Advanced Process Control Tutorial Problem Set 2 Development of Control Relevant Models through System Identification

Study on the use of neural networks in control systems

Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification Neural Network Modeling

Introduction to Neural Networks

Neural Network Control

Optimal transfer function neural networks

GL Garrad Hassan Short term power forecasts for large offshore wind turbine arrays

Matlab software tools for model identification and data analysis 11/12/2015 Prof. Marcello Farina

Deep Feedforward Networks

NEURAL NETWORK ADAPTIVE SEMI-EMPIRICAL MODELS FOR AIRCRAFT CONTROLLED MOTION

PATTERN CLASSIFICATION

COMPUTATIONAL INTELLIGENCE (INTRODUCTION TO MACHINE LEARNING) SS16

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION - Vol. V - Prediction Error Methods - Torsten Söderström

Computational statistics

Experiments with neural network for modeling of nonlinear dynamical systems: Design problems

Advanced Econometrics

Cheng Soon Ong & Christian Walder. Canberra February June 2018

Prediction of Hourly Solar Radiation in Amman-Jordan by Using Artificial Neural Networks

Artificial Neural Networks. Edward Gatt

Nonlinear System Identification using Support Vector Regression

Linear Models for Regression CS534

Deep Feedforward Networks

Neuro-Fuzzy Methods for Modeling and Identification

Machine Learning 4771

CSTR CONTROL USING MULTIPLE MODELS

Neural Network Based System Identification TOOLBOX Version 2

T Machine Learning and Neural Networks

Different Criteria for Active Learning in Neural Networks: A Comparative Study

( t) Identification and Control of a Nonlinear Bioreactor Plant Using Classical and Dynamical Neural Networks

Development of Nonlinear Black Box Models using Orthonormal Basis Filters: A Review*

Data Analysis and Machine Learning Lecture 12: Multicollinearity, Bias-Variance Trade-off, Cross-validation and Shrinkage Methods.

Identification in closed-loop, MISO identification, practical issues of identification

Multilayer Neural Networks

Neural Networks. Nethra Sambamoorthi, Ph.D. Jan CRMportals Inc., Nethra Sambamoorthi, Ph.D. Phone:

Cheng Soon Ong & Christian Walder. Canberra February June 2018

Research Note INTELLIGENT FORECASTING OF RAINFALL AND TEMPERATURE OF SHIRAZ CITY USING NEURAL NETWORKS *

Identification of Non-linear Dynamical Systems

Radial Basis Function Networks. Ravi Kaushik Project 1 CSC Neural Networks and Pattern Recognition

NONLINEAR IDENTIFICATION WITH NEURAL NETWORKS AND FUZZY LOGIC

Identification of two-mass system parameters using neural networks

13. Nonlinear least squares

DEEP LEARNING AND NEURAL NETWORKS: BACKGROUND AND HISTORY

Rozwiązanie zagadnienia odwrotnego wyznaczania sił obciąŝających konstrukcje w czasie eksploatacji

Statistical Machine Learning from Data

Machine Learning - MT & 5. Basis Expansion, Regularization, Validation

Deep Learning book, by Ian Goodfellow, Yoshua Bengio and Aaron Courville

Statistics 910, #15 1. Kalman Filter

10 NEURAL NETWORKS Bio-inspired Multi-Layer Networks. Learning Objectives:

Learning From Data Lecture 15 Reflecting on Our Path - Epilogue to Part I

Transformer Top-Oil Temperature Modeling and Simulation

Lecture 5: Recurrent Neural Networks

output dimension input dimension Gaussian evidence Gaussian Gaussian evidence evidence from t +1 inputs and outputs at time t x t+2 x t-1 x t+1

*** (RASP1) ( - ***

Transcription:

Dynamic Systems Identification Part - Nonlinear systems Reference: J. Sjöberg et al. (995):Non-linear Black-Box Modeling in System Identification: a Unified Overview, Automatica, Vol. 3,, str. 69-74. Systems modelling from data

Nonlinear dynamic systems u(k) Static models Input/output data Interpolation or extrapolation Dynamic model Input/output data expanded with delayed input and output data Learning for one-stepahead prediction Validation for multi-stepahead prediction yˆ ( k ) = f ( yˆ( k ), yˆ( k ),..., u( k ),...) Z. Z - -n u(k-) u(k-n). Nonlinear model Gaussian Process Model ^ y(k-) ^ y(k) ^ y(k-n) Systems modelling from data Z Z. Z - -n y(k) ^

RBF network Example 7 I/O data, basis functions distributed randomly in operating area Original function Approksimation with basis functions Systems modelling from data 3

Experimental modelling ling of nonlinear systems 99s: ANN = nonlinear systems identification Rule: Do not estimate what you already know! white box model, grey box model (physical modelling, semi-physical modelling), black box model Nonlinear black-box box models: artificial neural networks, fuzzy models, wavelet models, etc. Systems modelling from data 4

Experimental modelling ling of nonlinear systems Used terms (system theory vs. ANN/Machine learning: estimate, identify = train, learn validate = generalize model structure = network estimation data, identification data = training set validation data = generalization set overfit = overtraining Systems modelling from data 5

Some practical concerns about nonlinear systems identification Identification procedure cannot/must not be fully automatised! Neccessary: S/W, I/O data. We need experience on similar identification cases. Computer simulations of similar cases. Systems modelling from data 6

Experimental modelling ling of nonlinear systems Nonlinear systems identification problem: y ( k) = g( u( k ), u( k ),..., y( k ), y( k ),...) + v( k) yˆ ( k θ ) = g ( ψ ( k ), θ ) ψ(t) ) = ve vector of regressors θ = vector of parameters subproblems Selection of regressors ψ(k) Selection of nonlinear mapping g(ϕ) Systems modelling from data 7

Regressors linear systems A( z ) y( z B( z ) C( z ) ) = u( z ) + e( z F ( z ) D ( z ) ) FIR (A=F=D=,C=) ARX (F=C=D=) OE (A=C=D=) ARMAX (F=D=) BJ (A=) State-space x k) Ax ( = ( k ) + Bu( k ) T yˆ( k) =θψ( k, θ) Systems modelling from data 8

Regressorssors nonlinear systems regressorssors ψ determine different models: NFIR: NARX: NOE: NARMAX: NBJ: State-space u ( k i ) u ( k i ), y ( k i ) u ( k i ), yˆ ( k i ) yˆ( k) = g( ψ( k), θ) u ( k i ), y ( k i ), ε ( k i ) = y ( k i ) yˆ ( k i ) u( k i), y( k i), ε ( k i), ε ( k i) = y( k n) yˆ ( k i) n n other possible regressors Systems modelling from data 9

Nonlinear mappings g( ψθ, ) = α g ( ψ) Fourier series (scalar case) g k (ψ) is a basis function Known structures: wavelet functions B splines ARTIFICIAL NEURAL NETWORKS Multilayer perceptron radial basis function network etc FUZZY MODELS k k Systems modelling from data

Forms of known structures: Neural networks with sigmoid activation function g σ β γ ( ψ) = ( ψ + ) k k k Radial basis function networks Fuzzy models g r β γ ( ψ) = ( ( ψ )) k k k = j j g( ψ) y ( µ ( ψ)) A γ - position β - direction scale Systems modelling from data

u(k) Multilayer networks Recurrent networks Z. Z - -n u(k-) u(k-n). Nonline ar Process Mode l y(k) ^ ϕ ( k) = g( ψ( k i), θ) Algorithms for estimation of parameters: ^ y(k-) ^ y(k) y(k-n) ^ Gauss-Newton algorithms are very efficient, Off-line identification, as well as on-line (recursive), Gradient optimisation methods time consuming. Z Z. - Z -n Systems modelling from data

Subproblems: Systematic selection of regressors u(k) - static nonlinearity u(k-i) u(k-i),y( ),y(k-i)... Selection of basis function Most of them are universal approximators There exist no exact criteria for basis function selection except subjective ones Radial functions for low number of regressors (e.g. wavelet function for max. 3 regressors) ridge functions for larger number of regressors (e.g. neural networks with sigmoid functions) Fuzzy models, where heuristic knowledge exsists. Models order (n+, Takan s theorem); Systems modelling from data 3

Measures of model quality Measure of model quality (example) V ( θ) = E y( t) g( ψ( t), θ) = λ + E g ( ψ( t)) g( ψ( t), θ) Three sources of differences with true system: noise e(t); ; variance λ=e(e (t)) bias V = E g t g t ˆ * ( θν, ψ( )) ( ψ( )) Variance of estimation V = λ dimθ N Systems modelling from data 4

There is always a limitation to model fit. Performance Bias Variance # parameters Systems modelling from data 5

Recommendatins for practice: Look at the data (detection of nonlinearity, time constants). Try simple things first (try simple structures and model orders first, at first linear models and small number of estimation parameters). Look into the physics (ideas for regressor ors). Validation and estimation data. Center and scale the data. The bias-variance trade-of off. f. The notion of efficient number of parameters (shrinking). Systems modelling from data 6

Sampling time selection (same rule as for linear systems). Sampling time should be selected to grasp all interesting process dynamics. Input signal selection (look at magnitude distribution and input/output distribution of the data).5 Input/output Vhodno /ihodni pairs pari podatkov of data 8.4.3. 6 4 y. -. -. -.3-3 -.4 - -.8 -.6 -.4 -...4.6.8 u Systems modelling from data 7

Model validation yˆ ( k) One-step-ahead prediction = g( y( k ), y( k ),... u( k ), u( k ),...) Simulation nnvalid yˆ ( k) = g( yˆ( k ), yˆ( k ),... u( k ), u( k ),...) nnsimul crossco hist Systems modelling from data 8

Model validation Validation of residuals for one-step-ahead Auto correlation function of prediction error prediction 8 Histogram of prediction errors.5 -.5 5 5 5 lag Cross correlation fct of u and prediction error.4 6 4 -.5 - -.5.5.5. -. -.4 - lag Systems modelling from data 9

Model validation yˆ ( k) yˆ ( k) The consistency of input/output response One-step-ahead prediction = g( y( k ), y( k ),... u( k ), u( k ),...) Simulation = g( yˆ( k ), yˆ( k ),... u( k ), u( k ),...) 3 Output (dashed) and simulated output (solid) - -3-4 3 4 5 time (samples) Systems modelling from data

Model validation Modela reduction (pruning) 4 Network after having pruned 59 weights 3 Model purposiveness or usefulness Systems modelling from data

Example of identification of st order system Mathematical model of the process with parameters ( 3 ) ( ) ( ) y( k) = y( k ).5tanh y k + u k u input signal y output signal Systems modelling from data

Nonlinearity of the system 4 ) y(k+) -4 y(k) -3 - u(k) 3 Systems modelling from data 3

Estimation signal and response Validation signal and response Input estimation signal Vhodni signal za identifikacijo - 3 4 5 6 7 8 9 Time Cas Odziv sistema Response za identifikacijo - Input validation signal Vhodni signal za vrednotenje 3 4 5 6 7 8 9 Time Cas - 3 4 5 6 7 8 9 Time Cas Odziv sistema Response za vrednotenje - 3 4 5 6 7 8 9 Cas Systems modelling from data 4 Time

Histograms of magnitudes and input/output data 3 Estimation input signal histogram Porazdelitev amplitud na vhodnem signalu za identifikacijo 35 Validation input signal histogram Porazdelitev amplitud na vhodnem signalu za vrednotenje 5 3 5 5 5 5 5 -.5 - -.5.5.5 Amplituda signala Magnitude -.5 - -.5.5.5 Amplituda signala Magnitude 4 y(k+) -4 y(k) 3 - -3 Systems modelling from u(k) data 5

Neural network, regressors, structure and parameters Used software: NNSYSID Toolbox for Matlab Regressors: y(k-), u(k-) Structure: ARX (model error method) Optimisation method: Levenberg-Marquardt W -.5588 -.6 -.953.555.499 -.867 = -.549.39.4768.3366 -.9.8379.84.384.73 W = [.54.7784.8.74.448 -.58] Systems modelling from data 6

Model validation (one-step-ahead prediction) 4 4 y(k+) y(k+) -4-4 y(k) -3 - u(k) 3 y(k) -3 - u(k) 3 Systems modelling from data 7

Validation of residuals (one-step-ahead prediction).5 napaka -.5 - y(k) -3 - u(k) 3 Systems modelling from data 8

Model response and original system s response on validation data (simulation, not one-step-ahead prediction) Odziv sistema Simulation na signal za response vrednotenje - simulacija.5.5 -.5 - -.5 3 4 5 6 7 8 9 Systems modelling Time Cas from data 9

Residuals of simulated valdiation data 4 8 Porazdelitev pogreška Residuals Avtokorelacija autocorrelation izhodnega pogreška 6 4 -.6 -.4 -...4.6.8.5.8.6.4 Cross-correlation between e and u Križna korelacija vhodnega signala in izhodnega pogreška. -.5 - -8-6 -4 4 6 8 Tau [s] -. -.4 -.6 -.8 - - -8-6 -4 4 6 8 Tau [s] Systems modelling from data 3

Examination assignment Select a discrete nonlinear system of the st order, identify it and make a written report. The report should contain the following items: mathematical model of the original system with all parameters; Simulation scheme or Matlab code that enables rerun of data acquisition (no masks); Show the nonlinearity of the system in 3D plot; Estimation signal and response, sampling time; Validation signal and response, sampling time; Systems modelling from data 3

Histograms of magnitudes and input/output data pairs; Type of neural network and optimisation method; Figure of the final network structure; Values of parameters (weights); Figure of comparison between original system simulation response and model simulation response on validation signal. Simulation residuals validation on validation data (the figure of residuals, residuals histogram, φee, φue ). Eksperiments should be repeatable based on your report only. Reports should not be longer than 6 pages. Systems modelling from data 3