Model Structures 1. Objective Recognize some discrete-time model structures which are commonly used in system identification such as ARX, FIR, ARMAX,

Slides:



Advertisements
Similar presentations
Multi-Layer Perceptron (MLP)
Advertisements

Self tuning regulators
Dates for term tests Friday, February 07 Friday, March 07
Machine Learning and Data Mining Linear regression
 Population multiple regression model  Data for multiple regression  Multiple linear regression model  Confidence intervals and significance tests.
Experimental Design, Response Surface Analysis, and Optimization
AGC DSP AGC DSP Professor A G Constantinides©1 Modern Spectral Estimation Modern Spectral Estimation is based on a priori assumptions on the manner, the.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
CY3A2 System identification Modelling Elvis Impersonators Fresh evidence that pop stars are more popular dead than alive. The University of Missouri’s.
Ch11 Curve Fitting Dr. Deshi Ye
Lecture 9 Today: Ch. 3: Multiple Regression Analysis Example with two independent variables Frisch-Waugh-Lovell theorem.
Lectures 5 & 6: Least Squares Parameter Estimation
Using process knowledge to identify uncontrolled variables and control variables as inputs for Process Improvement 1.
Performance Optimization
280 SYSTEM IDENTIFICATION The System Identification Problem is to estimate a model of a system based on input-output data. Basic Configuration continuous.
MM3FC Mathematical Modeling 3 LECTURE 3
Lecture 4: Linear Systems and Convolution
SYSTEMS Identification Ali Karimpour Assistant Professor Ferdowsi University of Mashhad Reference: “System Identification Theory For The User” Lennart.
1 Chapter 3 Multiple Linear Regression Ray-Bing Chen Institute of Statistics National University of Kaohsiung.
SYSTEMS Identification
September 21, 2010Neural Networks Lecture 5: The Perceptron 1 Supervised Function Approximation In supervised learning, we train an ANN with a set of vector.
Development of Empirical Models From Process Data
Chapter 11 Multiple Regression.
Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
EE513 Audio Signals and Systems Wiener Inverse Filter Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Linear regression models in matrix terms. The regression function in matrix terms.
Chapter 10 Real Inner Products and Least-Square (cont.)
Lecture 24 Introduction to state variable modeling Overall idea Example Simulating system response using MATLAB Related educational modules: –Section 2.6.1,
Adaptive Signal Processing
Normalised Least Mean-Square Adaptive Filtering
Digital Signals and Systems
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Physics 114: Lecture 15 Probability Tests & Linear Fitting Dale E. Gary NJIT Physics Department.
Data processing in MathCAD. Data in tables Tables are analogous to matrices Tables are analogous to matrices The numbers of columns and rows can be dynamically.
Module 2: Representing Process and Disturbance Dynamics Using Discrete Time Transfer Functions.
Time-Domain Representations of LTI Systems
SYSTEMS Identification Ali Karimpour Assistant Professor Ferdowsi University of Mashhad Reference: “System Identification Theory For The User” Lennart.
Physics 114: Exam 2 Review Lectures 11-16
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Curve-Fitting Regression
CY3A2 System identification Assignment: The assignment has three parts, all relating.
Scientific Computing General Least Squares. Polynomial Least Squares Polynomial Least Squares: We assume that the class of functions is the class of all.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: ML and Simple Regression Bias of the ML Estimate Variance of the ML Estimate.
EE513 Audio Signals and Systems
PHYS 773: Quantum Mechanics February 6th, 2012
Model Validation 1. Introduction Model validation is a crucial step to evaluate the quality of estimated models. If validation is unsuccessful, previous.
1  The Problem: Consider a two class task with ω 1, ω 2   LINEAR CLASSIFIERS.
1 DYNAMIC BEHAVIOR OF PROCESSES : Development of Empirical Models from Process Data ERT 210 Process Control & Dynamics.
8.4.2 Quantum process tomography 8.5 Limitations of the quantum operations formalism 量子輪講 2003 年 10 月 16 日 担当:徳本 晋
1  Problem: Consider a two class task with ω 1, ω 2   LINEAR CLASSIFIERS.
Dept. E.E./ESAT-STADIUS, KU Leuven
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Time Domain Representation of Linear Time Invariant (LTI).
CY3A2 System identification Input signals Signals need to be realisable, and excite the typical modes of the system. Ideally the signal should be persistent.
Linear Constant-Coefficient Difference Equations
Chapter 11 Digital Control Systems
Signals and Systems Lecture #6 EE3010_Lecture6Al-Dhaifallah_Term3321.
1 Development of Empirical Models From Process Data In some situations it is not feasible to develop a theoretical (physically-based model) due to: 1.
1 Computing the output response of LTI Systems. By breaking or decomposing and representing the input signal to the LTI system into terms of a linear combination.
DSP-CIS Part-III : Optimal & Adaptive Filters Chapter-9 : Kalman Filters Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Lecture 3: System Representation
President UniversityErwin SitompulSMI 10/1 Lecture 10 System Modeling and Identification Dr.-Ing. Erwin Sitompul President University
Physics 114: Lecture 13 Probability Tests & Linear Fitting
LINEAR CLASSIFIERS The Problem: Consider a two class task with ω1, ω2.
(5) Notes on the Least Squares Estimate
Modern Spectral Estimation
10701 / Machine Learning Today: - Cross validation,
Nonlinear regression.
Unfolding with system identification
Presentation transcript:

Model Structures 1

Objective Recognize some discrete-time model structures which are commonly used in system identification such as ARX, FIR, ARMAX, OE. 2

ARX model structure In ARX model, the output y(k) is computed based on previous input and output values: This equivalent to Where e(k) is the noise at step k. Model parameters: {a 1, a 2, …, a na } and {b 1, b 2, …, b nb }. 3

Polynomial representation Defining the Backward shift operator q −1 : Then and similarly 4

ARX model in polynomial form Therefore, the ARX model is written compactly: Which has the following symbolic representation: Remark: The ARX model is quite general, it can describe arbitrary linear relationships between inputs and outputs. However, the noise enters the model in a restricted way, and later we introduce models that generalize this. 5

Returning to the explicit recursive representation: So in fact ARX model obeys the standard model structure in linear regression! Regressor vector: ϕ ∈ R na+nb, previous output and input values. Parameter vector: θ ∈ R na+nb, polynomial coefficients. Linear Regression Model 6

Consider now that we are given a vector of data u(k), y(k), k = 1,..., N, and we have to find the model parameters θ. For any k, we have: where ε(k) is now interpreted as an equation error. Objective: minimize the mean squared error: Identification Problem 7

We can write the following set of linear equations in matrix from: with notations Y ∈ R N and Φ ∈ R N×(na+nb). Linear System of Equations 8

As we know, the least squares solution is given by Note that the form above is impractical in system identification, since the number of data points N can be very large. Better form: ARX Solution 9

Consider we are given the following, separate, identification and validation data sets. plot(id); and plot(val); Remarks: Identification input: a PRBS signal, an approximation of (non- zero-mean) white noise. Validation input: a sequence of steps. Example 10

Example, continued Identifying an ARX model: model = arx(id, [na, nb, nk]); Arguments: Identification data of type iddata format. Array containing the orders of A and B and the minimum delay nk between inputs and outputs (useful for systems with time delays). 11

Example (continued): Model Validation Let us identify a second-order ARX model with: na = 2, nb = 1, nk = 1. For validation: compare(model, val); 12

Example (continued): Structure selection Better idea: try many different structures and choose the best one. Na = 1:15; Nb = 1:15; Nk = 1:5; NN = struc(Na, Nb, Nk); V = arxstruc(id, val, NN); struc generates all combinations of orders in Na, Nb, Nk. arxstruc identifies for each combination an ARX model (on the data in 1st argument), simulates it (on the data in the 2nd argument), and returns all the MSEs on the first row of V (see help arxstruc for the format of V). 13

Example (continued): Structure selection To choose the structure with the smallest MSE: N = selstruc(V, 0); %best fit to validation data For our data, N= [8, 7, 1]. Alternatively, graphical selection: N = selstruc(V, ’plot’); Then click on bar corresponding to best (red) model and the button “Select”. 14 Red — Best fit minimizes the sum of the squares of the difference between the validation data output and the model output.

Example (continued): Validation of best ARX model model = arx(id, N); compare(model,val); 15 A better fit is obtained.

Special case of ARX: FIR Setting A(q -1 ) = 1 (na = 0) in ARX model, we get: where h(j) is the impulse response of the system. Note that here h(0), the impulse response at time 0, is assumed 0 – i.e. system does not respond instantaneously to changes in input). 16

Difference between ARX and FIR Since ARX includes recursive relationships between current and previous outputs, it will be sufficient to take orders na and nb (at most) equal to the order of the dynamical system. FIR needs a sufficiently large order nb to model the entire transient regime of the impulse response (in principle, we only recover the correct model as nb → ∞). ⇒ more parameters ⇒ more data needed to identify them. 17

ARMAX model structure Number of parameters: na+nb+nc Name: AutoRegressive, Moving Average (referring to noise model) with eXogenous input (dependence on u) ARX model is a special case of ARMAX model (with nc = 0, or C(q -1 )=1 ). ARMAX can model more intricate relationships between the disturbance and the inputs and outputs. 18

Overall relationship ARMAX ⊃ ARX ⊃ FIR ARMAX to ARX: Less freedom in modeling disturbance. ARX to FIR: More parameters required. 19

Example 2 Consider again the previous data on which ARX was applied but let us now identify an ARMAX model mARMAX = armax(id, [na, nb, nc, nk]); Arguments: 1 Identification data. 2 Array containing the orders of A, B, C and delay nk. 20

Example 2, continued Considering the system is 2nd order with na = 2, nb = 2, nc = 2, nk = 1. Validation: compare(val, mARMAX); Good results! similar to ARX model (with na=8, nb=7, nk=1), but with fewer parameters ( =7). Flexible noise model pays off. 21

Output error (OE) model Other model forms are possible, e.g. Output Error, OE: This corresponds to simple, additive measurement noise on the output (the “output error”). To identify OE model we can use the command: mOE = oe(id, [nb, nf, nk]); 22