MATLAB SYSTEM IDENTIFICATION TOOLBOX 7 Betriebsanweisung

Stöbern Sie online oder laden Sie Betriebsanweisung nach Software MATLAB SYSTEM IDENTIFICATION TOOLBOX 7 herunter. MATLAB SYSTEM IDENTIFICATION TOOLBOX 7 User`s guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 531
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
System Identification Toolbox™ 7
User’s Guide
Lennart Ljung
Seitenansicht 0
1 2 3 4 5 6 ... 530 531

Inhaltsverzeichnis

Seite 1 - User’s Guide

System Identification Toolbox™ 7User’s GuideLennart Ljung

Seite 2 - Natick, MA 01760-2098

Supported Models for Time- and Frequency-DomainData... 2-4Supported Models for Time-Do main Data...

Seite 3 - Revision History

1 Data ProcessingNote You can plot several data sets with the same input and output channelnames. The plot displays data for all channels that have th

Seite 4

Analyzing Data Quality Using PlotsThe top axes show the input and the bottom axes show the output. Thevertical axis of each plot is labeled with the c

Seite 5 - About the Developers

1 Data ProcessingWorking with a Frequency Function PlotFor time-domain data, the Frequency function plot shows the empiricaltransfer function estimate

Seite 6

Analyzing Data Quality Using PlotsFrequency Functi on Plo t Optio ns (Continue d )ActionCommandToggle frequency scale betweenlinear and logarithmic.Se

Seite 7

1 Data ProcessingCommands for Plotting Data (Continued)CommandDescriptionExampl effplotFor frequency-responsedata only. Show s themagnitude and phase

Seite 8

Analyzing Data Quality Using PlotsWhen data.intersample = 'zoh', the input is piece-wise constant betweensampling points on the plot. For mo

Seite 9

1 Data ProcessingGetting Advice About Your DataYou can use the advice command to get information about yourtime-domain or frequency-domain data. This

Seite 10 - Linear Model Identification

Getting Advice About Your DataThe following example shows how to get information about your data.Consider data from a single-input/single-output syste

Seite 11

1 Data ProcessingSelecting Subsets of DataIn this section...“Why Select Subse ts of Data?” on page 1-86“Selecting Data Using the GUI” on page 1-87“Sel

Seite 12

Selecting Subsets of DataSelecting Data Using the GUI• “Ways to Select Data in the GUI” on page 1-87• “Selecting a Range for Time-Domain Data” on page

Seite 13

Understanding Spectrum Normalization ... 3-11Identifying Imp ulse-Response Models... 3-14What Is Time-Do m ain Correlation Anal

Seite 14

1 Data ProcessingTo extract a subset of time-domain data and save it as a new data set:1 Import time-domain data into the System Identification Tool GU

Seite 15 - Modeling)

Selecting Subsets of Data7 To select another range, repeat steps 4 to 6.Selecting a Range of Frequency-Domain DataSelecting a range of values in frequ

Seite 16

1 Data ProcessingHandling Missing Data and OutliersIn this section...“Handling Missing Data” on page 1-90“Handling Outliers” on page 1-91“Example – Ex

Seite 17 - Model Analysis

Handling Missing Data and OutliersApply the misdata command to the new data object. For example:dat1 = misdata(dat);plot(dat,dat1) % Check how the mis

Seite 18

1 Data ProcessingTip The inputs in each of the data segm ents must be consistently excitingthe system. Splitting data into meaningful segments for ste

Seite 19 - Simulation and Prediction

Handling Missing Data and Outliers% Plot the data in a MATL AB Figure windowplot(data)% Create multiexperiment data set% by merging data segmentsdatam

Seite 20

1 Data ProcessingSubtracting Trends from Signals (Detrending)In this section...“What Is Detrending?” on page 1-94“When to Detrend Data” on page 1-94“W

Seite 21

Subtracting Trends from Signals (Detrend ing)Forlinearsystemidentification, detrending steady-state data is u sefulbecause arbitrary differences betwee

Seite 22 - Contents

1 Data ProcessingWhen you are working w ith transient da ta (such as ste p o r impulse response),do not remove the mean from the data. With transient

Seite 23

Subtracting Trends from Signals (Detrend ing)Tip (For linear modeling only) Selec t Preprocess > Quick start to performseveral data cleaning operat

Seite 24

Supported State-Space Parameterizations ... 3-78Preliminary Step – Estimating State-Space ModelOrders...

Seite 25

1 Data ProcessingBefore you can perform this task, you must represent your data as an iddataobject in the M ATLA B workspace, as described in “Represe

Seite 26

Subtracting Trends from Signals (Detrend ing)For example, Ynew = Ysim+y0.1-99

Seite 27 - Types of Data You Can Model

1 Data ProcessingResampling DataIn this section...“WhatIsResampling?”onpage1-100“Resampling D ata Using the GUI” on page 1-101“Resampling Da ta a t th

Seite 28 - Sampling Intervals

Resampling DataResampling DataUsing the GUIUse the System Identification Tool GUI to resample time-domain data. Tospecify additional options, such a s

Seite 29 - - For a data set with N

1 Data ProcessingNote resample uses the Signal Processing Toolbox™ command, when thistoolbox is installed on your computer. If this toolbox is not ins

Seite 30 - SamplingInstants

Resampling DataThe data. Int erSample property of the iddata object is taken into accountduring resampling (for example, first-order hold or zero-o rde

Seite 31

1 Data ProcessingThe following example illustrates how resample avoids folding effects:% Construct fourth-order MA-p roce ssm0 = idpoly(1,[ ],[1 1 1 1

Seite 32

Resampling DataFolding Effects with M anual Decimatio n1-105

Seite 33 - Ys GsUs() () ()=

1 Data ProcessingUse resample to decimate the signal before estimating the spectrum and plotthe frequency response, as follows:g3 = spa(resample(y,1,4

Seite 34

Filtering DataFiltering D ataIn this section...“Supported Filters” on page 1-107“Choosing to Prefilter Your Data” on page 1-107“How to Filter Da ta Usi

Seite 35 - Representing Data in the GUI

Subreferencing Model Objects ... 3-119What Is Subrefer encing?... 3-119Limitation on Supported M odels...

Seite 36

1 Data ProcessingTo get a reliable noise model, avoid prefiltering the data. Instead, settheFocus property of the estimation algorithm to Simulation.Fo

Seite 37 - Domain Data into the GUI

Filtering Data4 If your data contains multiple input/output channels, in the Chan nelmenu, select the channel pair you want to view. Although you view

Seite 38

1 Data ProcessingFiltering Frequency-Domain or Frequency-Response Data inthe GUIFor frequency-domain and frequency-response data, filtering is equ ival

Seite 39

Filtering DataTip If you need to change the frequency units from rad/s to Hz,selectStyle > Frequency (Hz). To change the frequency units fromHz tor

Seite 40

1 Data ProcessingIn this case, w1 an d wh represent the low and high frequencies of the passband,respectively.You can specify several passbands, as fo

Seite 41 - 0. For more information

Filtering Datafilter = idmfilter = {num,den}filter = {A,B,C,D}idmis a SISO idmodel or LTI object. For more information about LTI objects,see the Contr

Seite 42

1 Data ProcessingWhen you apply idfilt to an idfrd data object, the data is first convertedto a frequency-domainiddata obje ct (see “Transforming Betwe

Seite 43 - Prerequisite

Generating Data Using SimulationGenerating Data Using SimulationIn this section...“Commands for Generating and Simulating Data” on page 1-115“Example

Seite 44

1 Data ProcessingCommands for Generating and Sim ula ting Data (Continued)CommandDescriptionExampleidinputConstructs a signalwith the desiredcharacter

Seite 45

Generating Data Using Simulation% Construct input data and noiseu = iddata([],u,'Period',10);e = iddata([],randn(1500,1));% Simulate model o

Seite 46

Nonlinearity Estimators for Hammerstein-WienerModels... 4-17How to E stimate Hammerstein-Wiener Models in theGUI.

Seite 47

1 Data Processing4 Simulate the model output.sim(m,u)5 Compare model output to measured data to see how well the m odelscaptures the underlying dynami

Seite 48

Transforming Between Time- and Frequency-Do main DataTransforming Between Time- and Frequency-Dom ain DataIn this section...“Transforming Data Domain

Seite 49

1 Data Processing1 In the System Identification Tool GUI, drag the icon of the data y ou want totransform to the Working Data rectangle, as shown in th

Seite 50

Transforming Between Time- and Frequency-Do main Data2 In the Operations area, select <–P rep roc e ss > Transfo r m data in thedrop-downmenutoo

Seite 51 - Specifying

1 Data Processing3 In the Transform to drop-down list, select one of the following:•Frequency Fu ncti on —Createanewidfrd object using the s pafd rmet

Seite 52

Transforming Between Time- and Frequency-Do main DataTransforming Frequency-Domain DataIn the System Identification To ol GUI, frequency -domain data h

Seite 53

1 Data ProcessingTransforming Frequency-Response DataIn the System Identification Tool G UI, frequency-response data has an iconwith a yellow backgroun

Seite 54

Transforming Between Time- and Frequency-Do main Datafrequencies, and also make the frequency vector coarser in the region outsidethe system dynamics.

Seite 55 - Creating Multie

1 Data ProcessingSee AlsoFor a description of time-domain, frequency-domain, and frequency-respons edata, see “Importing Data into the MATLAB Workspac

Seite 56

Transforming Between Time- and Frequency-Do main DataOriginal DataFormatTo Time Domain(iddata object)To FrequencyDomain(iddata object)To FrequencyFunc

Seite 57

ODE Parameter Estimation (Grey-BoxModeling)5Supported Grey-Box Models ... 5-2Data Supported by Grey-Box Models... 5-

Seite 58

1 Data ProcessingCommandDescriptionSyntax ExamplefftTransforms time-domaindata to the frequencydomain.You can specifyN,thenumber of frequencyvalues.To

Seite 59 - Set into a New Data Set

Transforming Between Time- and Frequency-Do main Datahigh-frequency noise dominates away from frequencies where interestingsystem dynamics occur.Note

Seite 60

1 Data ProcessingIf you a re working with multiple inputs, you also have the option ofstoring the contribution by each input as an independent experim

Seite 61

Manipulating C o mplex-Valued DataManipulating Complex-Valued DataIn this section...“Supported Operations for Complex D ata” on page 1-131“Processing

Seite 62 - Viewing Data Properties

1 Data ProcessingCommandDescriptioncomplex(data)For time-domain data, this command makes the iddataobject complex—even when the imaginary parts arezer

Seite 63

2Choosing Your SystemIdentification Strategy• “Recommended Model Estimation Sequence” on page 2-2• “Supported Models for Time- and Frequency-Domain Dat

Seite 64 - Information About the Data

2 Choosing Your System Identification StrategyRecommended Model Estimation SequenceSystem identificatio n is an iterat iv e process, wh ere you identif

Seite 65 - Organizing Data Icons

Recommended Model Estimation SequenceIn the System Iden tification Tool GUI.SelecttoestimatetheBJandARMAX linear parametric models.At the command line.

Seite 66

2 Choosing Your System Identification StrategySupported Models for Time- and Frequency-Domain DataIn this section...“Supported Models for Time-D o m a

Seite 67

Supported Models for Time- and Frequency-Domain DataNonlinear ModelsYou can estimate discrete-time H amm erstein-Wiener and nonlinear ARXmodels from t

Seite 68

How to Estimate Time-Series Power Spectra Using theGUI... 6-4How to Estim ate Time-Series Power Spectra at theC

Seite 69

2 Choosing Your System Identification Strategydata, you can estimate continuous-tim e black-box models with canonicalparameterization. See “Identify i

Seite 70

Supported Continuous-Time and Disc rete-Time ModelsSupported Continuous-Time and Discrete-Time ModelsFor linear and nonlinear ODEs (grey -box models),

Seite 71

2 Choosing Your System Identification StrategySupported Discrete-Time ModelsModel TypeDescriptionLinear, input-output polynomialmodelsEstimate arbitra

Seite 72

Commands for Model EstimationCommands for Model EstimationThe quickest way to both construct a model object and estimate the modelparameters is to use

Seite 73

2 Choosing Your System Identification StrategyCommands for Constructing and Estimating Models (Continued)Model Type Estimation CommandsLinear time-ser

Seite 74

Creating Model Structures at the Command LineCreating Model Structures at the Command LineIn this section...“About System Identification Toolbox Model

Seite 75

2 Choosing Your System Identification Strategymodel object. For example, the estimation method n4sid is unique to thestate-space model objectidss.Ever

Seite 76

Creating Model Structures at the Command LineCommands for Constructing Model S tructuresThe following table summarizes the model constructors availabl

Seite 77 - Subreferencing iddata Objects

2 Choosing Your System Identification StrategySummary of Model Constructors (Continued)Model Constructo r Resulting Model Class SingleorMultipleOutput

Seite 78

Creating Model Structures at the Command LineCategories of Model PropertiesThe way a model object stores information is defined by the properties of th

Seite 79

Model Analysis8Overview of Model Validation and Plots ... 8-2When to Validate Models... 8-2Ways to Validate Models..

Seite 80

2 Choosing Your System Identification Strategy- EstimationIn foStructure includes read-only fields that de scrib e the estimation data set,quantitative

Seite 81

Creating Model Structures at the Command LineFor linear models, you can use a shortcut to specify the second-levelAlgorithm properties, such as Advanc

Seite 82

2 Choosing Your System Identification Strategyans =1.0000 -0.8441 -0.1539 0.2278 0.1239Similarly, to access the uncertainties in these param eter esti

Seite 83

Creating Model Structures at the Command LineGetting Help on Model Proper ties at the Command LineIf you n eed to learn more about model properties wh

Seite 84

2 Choosing Your System Identification StrategyHelp Com m ands for Model Propertie s (Co ntinu e d)Model Class Help Commandsidnlarx idprops idnlar xidp

Seite 85 - Naming, Adding

Modeling Multiple-Output SystemsModeling Multiple-Output SystemsIn this section...“About Modeling Mu ltiple-Output Systems” on page 2-21“Modeling Mult

Seite 86

2 Choosing Your System Identification StrategyModeling Multiple Outputs DirectlyYou can estimatethe following types of models for multiple-output data

Seite 87 - Concatenating i

Modeling Multiple-Output SystemsAfter validating the single-output models, use vertical concatenation tocombine these partial models into a single mul

Seite 88

2 Choosing Your System Identification Strategythe Algorithm fields for nonlinear estimation, see the idnlarx and idnlhwreference pages.Note For m ultip

Seite 89

3Linear Model Identification• “Identifying Frequency-Response Models” o n page 3-2• “Identifying Impulse-Response Models” on page 3 -14• “Identifying L

Seite 90

What Is Frequency Response? ... 8-32How Frequency Response H elps to Validate Models... 8-33What Does a F requency-Response Plot

Seite 91

3 Linear Model IdentificationIdentifying Frequency-Response ModelsIn this section...“What Is a Frequency-Response M odel?” on page 3-2“Data Supported

Seite 92

Identifying F requency-Response ModelsData Suppor ted by Frequency-Response ModelsYou can estimatespectral analysis models from data with the followin

Seite 93 - Concatenating idfrd Objects

3 Linear Model IdentificationNote For etfe,onlytheLinear option is available.– In the Frequencies field, enter the number of frequency points.For time-

Seite 94

Identifying F requency-Response ModelsHow to Estimate Frequency-Response Models a t theCommand LineYou can use the etfe, spa,andspafdr commands to est

Seite 95

3 Linear Model IdentificationYou can choose from the following three spectral-analysis methods:•etfe (Empirical Transfer Function Estimate)For input-o

Seite 96

Identifying F requency-Response ModelsThis section supports the estimation procedures “How to Estim ateFrequency-Response Models in the GUI” on page 3

Seite 97 - Supported Data Plots

3 Linear Model Identificationyou increase the resolution in a specific frequency range, such as near aresonance frequency. Conversely, you can m ake th

Seite 98 - How to Plot Data in the GUI

Identifying F requency-Response Modelsyt Gqut vt() ( ) () ()=+where u(t) and y(t) are the input and output signals, respectively. G(q) iscalled the tr

Seite 99 - Working with a Time Plot

3 Linear Model IdentificationˆˆˆˆΦΦΦΦvyyuuωωωω()=()−()()2This equation for the noise spectrum is derived by assum ing the linearrelationshipyt Gqut vt

Seite 100 - 1 Data Processing

Identifying F requency-Response Models2 Compute the Fourier transforms of the covariances a nd thecross-covariance, as follows:ˆ()ˆ() ()ˆ()ˆ() ()ΦΦyyM

Seite 101

Computing Model Uncertainty ... 8-64Why Analyze Model Uncertainty?... 8-64What Is Model Covarianc e?...

Seite 102

3 Linear Model Identificationwhere WM(k) is the lag window, and M is the width of the lag window. Theoutput covariance Ry(kT) is given by the followin

Seite 103

Identifying F requency-Response Models% energy spectrum, where S1 is scaled by TS1 = sum(phiy)/length(phiy)/T% Compute average energy of the signalS2

Seite 104

3 Linear Model IdentificationIdentifying Impulse-Response ModelsIn this section...“What Is Time -D om a i n Correlation Analysis?” on page 3-14“Data S

Seite 105

Identifying Impulse-Response ModelsTheresponsetoaninputu(t) is equal to the convolution of the impulseresponse, as follows:yt h t z uzdzt() ( )=−()⋅∫0

Seite 106

3 Linear Model IdentificationThe prewhitening filter is determined by modeling the input as anAuto-R egre ssive (AR) process of order N.Thealgorithmapp

Seite 107

Identifying Impulse-Response ModelsThe following tables summarize the commands for computing impulse- andstep-response models. The resulting models ar

Seite 108 - Selecting Subsets of Data

3 Linear Model IdentificationHow to Compute Response ValuesYou can use impulseand step commands with output arguments to getthe num erical impulse- an

Seite 109 - Selecting Data U

Identifying Impulse-Response ModelsStep Respo nse PlotAt the command line. You can use the impulse command to plot theimpulseresponse. Thetimedelayise

Seite 110

3 Linear Model IdentificationAlgorithm for Correlation AnalysisTo better understand the algorithm underlying correlation analysis, considerthe followi

Seite 111

Identifying Impulse-Response Modelsq is the shift operator,defined by t he followin g equation:Gq gkq q ut utkk() () () ( )==−−=∞−∑111 For impulse

Seite 112

How to Contact The MathWorkswww.mathworks.comWebcomp.soft-sys.matlab Newsgroupwww.mathworks.com/contact_TS.html Technical [email protected]

Seite 113 - Handling Outliers

Using Identified Models in Control Design10Using Models with Control System Toolbox Software .. 10-2How Control System Toolbo x Software Works withIden

Seite 114

3 Linear Model IdentificationIdentifying Low-Order Transfer Functions (Process Models)In this section...“What Is a Process Model?” on page 3-22“Data S

Seite 115 - See Also

Identifying Low-Order Transfer Functions (Process M odels)You can create different model structures by varying the number of poles,adding an integrato

Seite 116

3 Linear Model IdentificationTo estimate a low-order transfer function (process model) using t he SystemIdentification Tool GUI:1 In the System Identifi

Seite 117 - When Not to Detrend Data

Identifying Low-Order Transfer Functions (Process M odels)• Under Poles, select the number of poles, and then select All real orUnderdamped.Note You n

Seite 118

3 Linear Model IdentificationParameter table displays Auto . If you do not have a good guess for theparameter values,Auto works better than entering a

Seite 119

Identifying Low-Order Transfer Functions (Process M odels)6 In the Distu rbance Model list, select one of the available options. Formore information a

Seite 120

3 Linear Model IdentificationTo omit estimating uncertainty, select None. Skipping uncertaintycomputation might reduce computation tim e for complex m

Seite 121 - For example, Ynew = Ysim+y0

Identifying Low-Order Transfer Functions (Process M odels)You can export the model to the MATLAB w orkspace for further analysisby dragging it to the

Seite 122 - Resampling Data

3 Linear Model IdentificationNote You can specify all property-value pairs in pem as a simple,comma-separated list w ithout worrying about the hierarc

Seite 123 - Data at the Command Line

Identifying Low-Order Transfer Functions (Process M odels)Usethefollowingcommandstoestimateamodelm from sample data:% Load sample dataload co2data% Sa

Seite 124

Using the System Identification Tool GUI12Steps for Using the System Identification Tool GUI ... 12-2Starting and Managing GUI Sessions...

Seite 125

3 Linear Model IdentificationExample – Estimating Process Models with Fixed Parametersat the Command LineWhen you know the values of certain parameter

Seite 126

Identifying Low-Order Transfer Functions (Process M odels)• status field specifies whether to estimate the parameter, or keep the initialvalue fixed (do

Seite 127

3 Linear Model IdentificationMATLAB computes the following result:Process model with 2 inputs:y = G_1(s)u_1 + G_2(s)u_2whereKG_1(s) = ---------- * exp

Seite 128

Identifying Low-Order Transfer Functions (Process M odels)If you prefer to specify parameter constraints directly in the estimator syntax,thefollowing

Seite 129 - Filtering D ata

3 Linear Model IdentificationTypically, you specify the model-structure acronym as a string argument inthe estimation c ommandpem:•pem(data,'P1D&

Seite 130

Identifying Low-Order Transfer Functions (Process M odels)estimatio n settin gs for one in put, select a differe nt input in the InputNumber list.If y

Seite 131 - Filtering Data

3 Linear Model Identification• None — The algorithm does not e stimate a noise model (C=D=1). Thisoption also sets Focus toSimulation.•Order 1 — E sti

Seite 132

Identifying Low-Order Transfer Functions (Process M odels)• Stabilit y — Behaves the same way as the Prediction option, but alsoforcesthemodeltobestab

Seite 133 - Simple Passband Filter

3 Linear Model IdentificationAt the command line. Specify the initial states as an argument in theestimation commandpem using the same options as in t

Seite 134

Identifying Input-Output Polynomial ModelsIdentifying Input-Output Polynomial M odelsIn this section...“What Are Black-Box Polynomial Models?” on page

Seite 136

3 Linear Model IdentificationPolynomial Model StructureYou can estimate the following types of linear p olynomial model structures:AqytBqFqut nkCqDqet

Seite 137

Identifying Input-Output Polynomial ModelsUnderstanding the Time-Shift Operator qThe general polynomial equation is written in terms of the time-shift

Seite 138

3 Linear Model Identificationinformation about the time-shift operator, see “Understanding the Time-ShiftOperator q” on page 3-43.The following table

Seite 139

Identifying Input-Output Polynomial ModelsModelStructureDiscrete-Time FormNoise ModelBox-Jenkins(BJ)ytBqFqut nkCqDqetiiiiinu()()()()()()=−()+=∑1Provid

Seite 140

3 Linear Model IdentificationDefinition of a Continuous-Time Polynomial ModelIn continuous time, the general frequency-domain equation is written in t

Seite 141 - Transforming Time-Domain Data

Identifying Input-Output Polynomial ModelsFor a system with nu inp uts and ny outputs, A(q)isanny-by- ny matrix. A(q)can be represented as a polynomia

Seite 142

3 Linear Model IdentificationB(q) can also be represented as a matrix:Bqbq bq b qbq bq b qbqbnununy n()() () ()() () ()()=11 12 121 22 21………………yynynuq

Seite 143

Identifying Input-Output Polynomial Models• Single-output and multiple-output.You m us t import your data into the MA TLAB workspace , as described in

Seite 144

3 Linear Model Identification• “Estimating Model Orders at the Command Line” on p ag e 3 -5 3• “Estim ating Dela ys at the Command Line” on page 3-55•

Seite 145

Identifying Input-Output Polynomial Models1 In the System Identification Tool GUI, select Estimate > Linearparametric models to open the Linear Para

Seite 146 - Data Processing

1Data Processing• “Ways to Process Data for System Identification” on page 1-2• “Importing Data into the MATLA B W orkspace” on page 1-5• “Representing

Seite 147

3 Linear Model Identification3 Click E stimate to open the ARX Model S tructu re Selection window, whichdisplays the model performance for each combin

Seite 148

Identifying Input-Output Polynomial ModelsEstimating Model Orders at the Command LineYou can estimate model orders using the struc, arxstruc,andsels t

Seite 149 - Transform

3 Linear Model IdentificationFor example, the following command uses the range of specified orders NNto compute the loss function for single-input/sing

Seite 150

Identifying Input-Output Polynomial ModelsAfter estimating model orders and d elay s, use these values as initial guessesfor estimating other model st

Seite 151

3 Linear Model IdentificationThe h oriz ontal axis in the ARX Model Structure Sele ction window is the totalnumber o f ARX parameters :Number of param

Seite 152

Identifying Input-Output Polynomial Models• Blue minimizes Akaike AIC criterion.In the AR X M odel Structure Selection window, click any bar to view t

Seite 153

3 Linear Model Identification2 In the Structure list, select the polynomial model structure you w ant toestimate from the following options:•ARX:[na n

Seite 154

Identifying Input-Output Polynomial Models5 In the Name field,editthenameofthemodelorkeepthedefault. Thename of the model should be unique in the Model

Seite 155 - Identification Strategy

3 Linear Model Identification11 (Prediction-error method only) To stop the search and save the resultsafter the current iteration has been completed,

Seite 156

Identifying Input-Output Polynomial Modelsm = arx(data,[na nb nk],'Property1',Value1,...,'PropertyN',ValueN)% Using IV methodm = i

Seite 157

1 Data ProcessingWays to Process Data for System IdentificationThe following tasks help to prepare your data for identifying m odels from data:Import

Seite 158 - ODEs (Grey-Box Models)

3 Linear Model Identificationmethod gives the maximum likelihood estimate. that minimizes the predictionerrors to obtain maximum-likelihood values. Th

Seite 159 - Nonlinear Models

Identifying Input-Output Polynomial ModelsYou can also model the ARARMAX structure—called the extended matrixmodel—by settingnf=0.The property-value p

Seite 160 - Nonlinear Black-Box Models

3 Linear Model IdentificationFor detailed information about pem and idpoly, see the correspondingreference page.Options for Multiple-Input and Multipl

Seite 161

Identifying Input-Output Polynomial ModelsOption for Frequency-Weighing FocusYou can specify how the estimation algorithm weighs the fitatvariousfreque

Seite 162

3 Linear Model IdentificationOptions for Initial StatesWhen you use the iterative estimation algorithm PEM to estimate ARMAX,Box-Jenkins (BJ), Output-

Seite 163 - Commands for Model Estimation

Identifying Input-Output Polynomial ModelsThe A RX and IV algorithms treat noise d ifferently. ARX assumes white noise.However, the instrumental varia

Seite 164

3 Linear Model IdentificationTypically you try different model orders and compare results, ultimatelychoosing the sim plest model that best describes

Seite 165

Identifying Input-Output Polynomial Models3 To view information about the resulting model object, type the following atthe prompt:m_armaxMATLAB return

Seite 166

3 Linear Model Identification4 To view all property values for this mode l, type the f ollo wing command:get(m_armaxans =a: [1 -1.2549 0.2551 0.2948 -

Seite 167

Identifying Input-Output Polynomial Models5 The Algorithm and EstimationIn fo model properties are structures. Toview th e propertie s and values insi

Seite 168 - Model Proper ties

Ways to Process Data for System IdentificationPlot and analyze dataYou can analyze your d ata by doing either of the following:• Plotting data to exam

Seite 169 - - Algorithm

3 Linear Model IdentificationSimilarly, to view the properties and values of the EstimationInfostructure, type the following command:m_armax.Estimatio

Seite 170 - - EstimationIn fo

Identifying State-Space ModelsIdentifying State-Space ModelsIn this section...“What Are State-Space M odels?” on page 3-73“Data Supported by State-Spa

Seite 171

3 Linear Model IdentificationDefinition of State-Space M odelsState-space models are models that use state variables to describe a system byasetoffirst

Seite 172

Identifying State-Space ModelsDiscrete-Time RepresentationDiscrete-time state-space models provide the same type of linear differencerelationship betw

Seite 173

3 Linear Model IdentificationThe exact relations hip between K andKis com plicated. However, for shortsampling intervals T, the following approximati

Seite 174

Identifying State-Space ModelsData Supported by State-Space Models• “Types of Supported Data” on page 3-77• “Estimating Continuous-Time Models” on pag

Seite 175

3 Linear Model IdentificationTip Continuous state-space models are available for canonical andstructured parameterizations and grey-box models. In thi

Seite 176

Identifying State-Space ModelsYou can only es timate free state-space models in discrete time.Continuous state-space models are available for canonica

Seite 177

3 Linear Model IdentificationTo estimate model orders for a specific input delay:1 In the System Identification Tool GUI, select Estimate > Linearpar

Seite 178

Identifying State-Space Models5 Click Estimate to open the Model Order Selection window, whichdisplays the relative measure of how much each state con

Seite 179

1 Data ProcessingTo learn more about selecting data, see “ S electing Subsets of Data” on page1-86.Combine data from multiple experimentsYou can combi

Seite 180 - Yz GzUz() () ()=

3 Linear Model IdentificationAfter estimating model orders, use this valueasaninitialguessforestimatingother state-space models, as described in “How

Seite 181 - How to Estimate

Identifying State-Space ModelsUsing the Model Order Selection WindowYou can generate the Model Order Selection window for your data to selectthe numbe

Seite 182

3 Linear Model Identificationsmallest contribution. Based on this plot, select the rectangle that representsthe cutoff for the states on the left that

Seite 183 - Command Line

Identifying State-Space Models1 In the System Identification Tool GUI, select Estimate > Linearparametric models to open the Linear Parametric Model

Seite 184

3 Linear Model Identification7 (PEM only) In the Initial state list, specify how you want the algorithm totreat initial states. For m o re info rm ati

Seite 185 - What Is Frequency Resolution?

Identifying State-Space Modelsvalidatin g your mod e l, see “Overvi ew of Model Valida t ion and Plots ” onpage 8-2.Tip You can export the model to th

Seite 186 - Spectral Analysis Algorithm

3 Linear Model Identification'Property1',Value1,...,'PropertyN',ValueN)where data is the estimation data, n is the model order, an

Seite 187

Identifying State-Space Models- “How to Estimate State-Space Models with Structured Parameterization”on page 3-93•Focus —Specifies the frequency-w eigh

Seite 188 - Linear Model Identification

3 Linear Model IdentificationFor frequency-domain data, no noise model is estimated and K is set to 0. Fortime-domain data, K is estimated by default.

Seite 189

Identifying State-Space Modelsroutines. Because the parameterization of A, B,andC is free, a basis forthe state-spa ce rea liz ation i s automatically

Seite 190

Importing Data into the MATLAB®WorkspaceImpor ting Data into the MATLAB Wo rkspaceIn this section...“Types of Data You Can Model” on page 1-5“Support

Seite 191

3 Linear Model Identificationmatrices A, B, C,andD, and the remaining matrix elements are fixed tozeros and ones.Of the two popular canonical forms, wh

Seite 192

Identifying State-Space ModelsYou can specify additional property-value pairs similar to thefree-parameterization case, as described in “How to Estima

Seite 193 - () ( )=−

3 Linear Model IdentificationThis approach differs from estimating models with free and canonicalparameterizations, where it is not necessary to speci

Seite 194

Identifying State-Space ModelsSpecify the structure matrix values, as follows:• Set aNaN value to flag free parameters at the corresponding locations i

Seite 195

3 Linear Model IdentificationAre Grey-Box Models Similar to State-Space Models withStructured Parameterization?Structured parameterization state-space

Seite 196

Identifying State-Space ModelsC = [1,0];D=0;K = [4;5];2 Construct the state-space m odel object:m = idss(A,B,C,D,K);3 Specify the parameter values in

Seite 197 - Step Respo nse Plot

3 Linear Model IdentificationThis equation represents an electrical motor, whereyt xt11() ()=is theangular position of the motor shaft, andyt xt22() (

Seite 198 - ()() ()( )=−

Identifying State-Space ModelsK = zeros(2,2);x0 = [0;0];2 Construct the continuous-time state-space model object:m = idss(A,B,C,D,K,x0,'Ts',

Seite 199

3 Linear Model IdentificationHow to Estimate the State-Space Equivalent ofARMAX and OE ModelsYou can estimate the equivalent of ARMA X and output-erro

Seite 200 - What Is a Process Model?

Identifying State-Space ModelsAt the command line. Specifythefocusasanargumentinthemodel-estimation command using the same options as in the GUI. Fore

Seite 201

1 Data ProcessingNote If your data is complex valued, see “Manipulating Complex-ValuedData” on page 1-131 for information about supported operations f

Seite 202

3 Linear Model Identificationthe n4sid reference page), and then try to refine the initial estimate using theiterative prediction-error method PEM (see

Seite 203 - Underdamped

Refining Linear Parametric ModelsRefining Linear Parametric ModelsIn this section...“When to Refine Models” on page 3-103“What You Specify to Refine a M

Seite 204

3 Linear Model IdentificationHow to Refine Linear Parametric Models in the GUIThe following procedure assumes that the model you want to refine is alre

Seite 205

Refining Linear Parametric Models7 Validate the new model, as described in Chapter 8, “Model Analysis”.Tip To continue refining the model using additio

Seite 206

3 Linear Model IdentificationExample – Refining an Initial ARMAX Model at the CommandLineThe following example shows to estimate an initial m odel and

Seite 207

Refining Linear Parametric ModelsExample – Refining an ARMAX Model with Initial ParameterGuesses at the Command LineThe following example shows how to

Seite 208

3 Linear Model IdentificationExtracting Parameter Values from Linear ModelsYou can extract the numerical param eter values a nd uncertainties of model

Seite 209

Extracting P ar ameter Values from Linear ModelsCommands for Extracting N umerical Model Data (Continued)CommandDescriptionSyntaxfreqrespExtractsfrequ

Seite 210

3 Linear Model IdentificationExtracting Dynamic Model and Noise Model SeparatelyYou can extract the numerical data associated with a dynamic model and

Seite 211

Extracting Dynamic Model and Noise Model Separa telySyntax for Extracting Transfer-Function Data (Continued)CommandSyntaxfcn(noisecnv(m,'Norm&apo

Seite 212

Importing Data into the MATLAB®WorkspaceFor a data set with Nyoutputs and NTsamples (measurements), the outputis an NT-by-Nymatrix.• Sampling time int

Seite 213

3 Linear Model IdentificationTransforming Between Discrete-Time and Continuous-TimeRepresentationsIn this section...“Why Transform Between Continuous

Seite 214

Transforming Between D iscrete-Time and Continuous-Time RepresentationsNote c2d and d2d correctly approximate the transformation of the noisemodel whe

Seite 215

3 Linear Model IdentificationThe follow ing commands compare e stimated model m and its continuous-timecounterpartmc on a Bode plot:% Estimate discret

Seite 216

Transforming Between D iscrete-Time and Continuous-Time RepresentationsA delay in the discrete-time model that corresponds to an actual delay in theco

Seite 217 - Options for Initial States

3 Linear Model Identificationunderlying continuous-time model being subject to continuous-time whitenoise disturbances, which have infinite, instantane

Seite 218

Transforming Between Linear Model RepresentationsTransforming Between Linear Model RepresentationsYou can transfo rm linear models between state-space

Seite 219

3 Linear Model IdentificationCommands for Transforming Model Representations (Continued)Command Model Type to Convert Usage ExampleidpolyConverts sing

Seite 220 - Polynomial Model Structure

Subreferencing Model ObjectsSubreferencing Model ObjectsIn this section...“What Is S ubreferencing?” on page 3-119“Limitation on Supported Models” on

Seite 221

3 Linear Model IdentificationTo select all output or all input channels, use a colon (:). To select nochannels, specify an empty m atrix ([]). If you

Seite 222

Subreferencing Model ObjectsThus, linear, pa ram etric models represent input-output relationships for twokinds of input channels: measured inputs and

Seite 223

Revision HistoryApril 1988 First printingJuly 1991 Second printingMay 1995 Third printingNovember 2000 Fourth printing Revised for Version 5.0 (Releas

Seite 224

1 Data Processing- If you are working w ith uniformly sampled data, use the actualsampling interval in your experiment. Each data value is assigned as

Seite 225

3 Linear Model IdentificationTo create a new model by subreferencing H due to unmeasured inputs, usethe following syntax:m_H = m('noise')Tip

Seite 226 - Ty pes of Supported Data

Subreferencing Model ObjectsConverting noise channels to measured inp uts loses inform ati on abou tthe variance of the innovationse. Fo r example, st

Seite 227 - Input Delays

3 Linear Model IdentificationConcatenating Model ObjectsIn this section...“About Concatenating Models” on page 3-124“Limitation on Supported Models” o

Seite 228

Concatenating Model ObjectsHorizontal Concatenation of Model ObjectsHorizontal concatenation of model objects requires that they have the sameoutputs.

Seite 229 - [1:10 1:10 1:10]

3 Linear Model IdentificationNote You cannot concatenate the single-output idproc and idpo ly modelobjects.The following syntax creates a ne w model o

Seite 230

Concatenating Model ObjectsWhen the Spect ralD ata property of individual idfrd objectsisnotempty,horizontal and vertical concatenation handleSpectral

Seite 231

3 Linear Model IdentificationMerging Model ObjectsYou can merge models of the same structure to obtain a s ingle model withparameters that are statist

Seite 232

4Nonlinear Black-Box ModelIdentification• “Supported D ata for Estimating Nonlinear Black-Box M odels” on page 4-2• “Supported Nonlinear Black-Box Mode

Seite 233 - 2 and that there is a good

4 Nonlinear Black-Box Model IdentificationSupported Data for Estimating Nonlinear Black-BoxModelsYou can estimate discrete-time black-box m odels for

Seite 234 - Number of parameters =+nn

Supported Nonlinear Black-Box ModelsSupported N onlinear Black-Box M odelsYou can estimate the following types of nonlinear black-box models:• No nl i

Seite 235 - Before You Begin

Importing Data into the MATLAB®WorkspaceIn the context of numerical computations, continuous equations are replacedby their discretized equivalents to

Seite 236

4 Nonlinear Black-Box Model IdentificationIdentifying Nonlinear ARX ModelsIn this section...“Supported Data for Nonlinear AR X M o dels” on pag e 4-4“

Seite 237 - None. Skipping uncertainty

Identifying Nonlinear ARX ModelsThe predicted outputˆ()ytof a n onlinear mode l at time t is given by thefollowing general equation:ˆ() ( ())yt F xt=w

Seite 238

4 Nonlinear Black-Box Model IdentificationFor more information abo ut re gress ors, see “Using Regre ssors ” on page 4-6.For a list of nonlinearity es

Seite 239

Identifying Nonlinear ARX ModelsExample – Relationship Between Regressors, Model Orders,and DelaysThis example describes how the model orders and dela

Seite 240

4 Nonlinear Black-Box Model IdentificationUsing Custom RegressorsIn general, custom regressors are nonlinear functions of d elay ed input andoutput da

Seite 241

Identifying Nonlinear ARX ModelsNonlinearity Estimators for Nonlinear ARX ModelsNonlinear ARX models support the follow in g n on l in earity estimato

Seite 242

4 Nonlinear Black-Box Model IdentificationHow to Estimate Nonlinear ARX Models in the GUIYou must have already imported your data into the System Iden

Seite 243

Identifying Nonlinear ARX Models• In the Regressors tab, change the input delay of the input signals.To gain insight into possible input delay values,

Seite 244

4 Nonlinear Black-Box Model IdentificationGeneral nlarx SyntaxYou can estimate nonlinear ARX models using nlarx. The resulting modelsare stored asidnl

Seite 245 - ()() () ()()=−

Identifying Nonlinear ARX ModelsFor detailed information about the nlarx and idnlarx properties and values,see the corresponding reference page.For mo

Seite 246

1 Data Processing• Output data- For single-in p ut/single-output (SI S O ) data, the output mus t be a columnvector.- For a data set with Nyoutputs a

Seite 247

4 Nonlinear Black-Box Model IdentificationCompare the resulting models by plotting the model outputs on top of themeasured output:compare(zv, m1 ,m2,

Seite 248

Identifying Hammerstein-Wiener ModelsIdentifying Hammerstein-Wiener ModelsIn this section...“Supported Data for Estimating Hammerstein-Wiener Models”

Seite 249 - For example:

4 Nonlinear Black-Box Model IdentificationThe input signal passes through the first nonlinear block, a linear block,and a second nonlinear block to pro

Seite 250

Identifying Hammerstein-Wiener ModelsIf only the input nonlinearity is present, the m odel is called a Hammersteinmodel. If only th e outpu t non li n

Seite 251 - What Are State-Space Models?

4 Nonlinear Black-Box Model IdentificationIn the System Identification Tool GUI. Exclude a nonlinearity for aspecific channel by s e lectingNone.At the

Seite 252

Identifying Hammerstein-Wiener Models4 (Optional) If you want to try refining a previously estimated model, selectthenameofthismodelintheInitial model

Seite 253 - State Matrices

4 Nonlinear Black-Box Model Identification7 To plot the response of this m odel, select the appropriate check box inthe Model V iews area of the Sy st

Seite 254

Identifying Hammerstein-Wiener Modelsinformation about model orders, see “Definition of the Hammerstein-WienerModel” on page 4-15.InputNonlinearity spe

Seite 255 - Data Supported b

4 Nonlinear Black-Box Model IdentificationYou can specify different nonlinearity estimators for different output channelsby settingInputNonlinearity o

Seite 256

Identifying Hammerstein-Wiener ModelsExample – Using nlhw to Estimate Hammerstein-WienerModelsThis example uses nlhw to estimate a Hammerstein-Wiener

Seite 257 - Why Estimate Model Orders?

Importing Data into the MATLAB®WorkspaceFor a continuous-time system, the transfer function relates the Laplacetransforms of the input U(s) and output

Seite 258

4 Nonlinear Black-Box Model IdentificationMATLAB software responds w ith the following plot.4-24

Seite 259

Supported Nonlinearity Estima torsSupported Nonlinearity EstimatorsIn this section...“Types of No nline arity Estimat ors” on pag e 4-25“Creating Cust

Seite 260

4 Nonlinear Black-Box Model IdentificationNonlinearity Object Name Supported Model Type Supports MultipleInputs?Tree PartitiontreepartitionNonlinear A

Seite 261

Supported Nonlinearity Estima tors%g:df/dx% a: unit active range (g(x) is significantl y% nonzero in the interval [-a a])%% The unit function must be

Seite 262

4 Nonlinear Black-Box Model IdentificationRefining Nonlinear Black-Box ModelsIn this section...“How to Refine Nonlinear Black-Box Models in the GUI” on

Seite 263 - 4[11]for a fourth-order

Refining Nonlinear Black-Box Models4 Click E stimate to refine the model.5 Validate the new model, as described in Chapter 8, “Model Analysis”.Tip To c

Seite 264

4 Nonlinear Black-Box Model IdentificationExtracting Parameter Values from Nonlinear Black-BoxModelsIn this section...“Nonlinear ARX Parameter V alu e

Seite 265 - Supported State-Space Models

Extracting P ara meter Values from Nonlinear Black-Box Mod elsHammerstein-Wiener Parameter valuesYou can extract the numerical parameter values of a H

Seite 266

4 Nonlinear Black-Box Model IdentificationNext Steps After Estimating Nonlinear Black-Box ModelsAfter estimating nonlinear black-box models, you can p

Seite 267

Computing Linear Approximations of Nonlinear Black-Box ModelsComputing Linear Approximations of Nonlinear Black-BoxModelsIn this section...“Why Comput

Seite 268

1 Data ProcessingYou must import your frequency-response data into the MATLAB workspaceas the following variables:• In System Identification Tool GUI o

Seite 269 - Parameterization

4 Nonlinear Black-Box Model Identificationstate values. For m ore information, see “Tangent Linearization of NonlinearBlack-Box Models” on page 4-35.L

Seite 270

Computing Linear Approximations of Nonlinear Black-Box ModelsTangent Linearization of Nonlinear Black-Box Modelslinearize computes a first-order Taylor

Seite 271

4 Nonlinear Black-Box Model Identification• “Computing Operating P oints at a Simulation Snapshot” on page 4-36Computing Operating Point from Steady-S

Seite 272

Computing Linear Approximations of Nonlinear Black-Box Modelscan compute them using the findstate s command. For more information,see thefindstates(id

Seite 273

4 Nonlinear Black-Box Model Identification4-38

Seite 274 - Structured Parameterization?

5ODE Parameter Estimation(Grey-Box Modeling)• “Supported Grey-Box Models” on page 5-2• “Data Supported by Grey-Box Models” on p age 5-3• “Choosing idg

Seite 275

5 ODE P ara meter Estimation (Grey-Box Modeling)Supported Grey-Box ModelsIf you understand the physics of your system and can represent the systemusin

Seite 276

Data Supported by Grey-Box ModelsData Supported by Grey-Box M odelsYou can estimate both continuous-time or discrete-time grey-box models fordata with

Seite 277

5 ODE P ara meter Estimation (Grey-Box Modeling)Choosing idgrey or idnlgrey Model ObjectGrey-box m odels require that you specify the structure of the

Seite 278

Choosing idgrey or idnlgrey Model ObjectComparison of idgrey and idnlgrey Objects (Continued)Settings andOperationsSupported byidgrey?Supported byidnl

Seite 279

Representing Data in the GUIRepresenting Data in the GUIIn this section...“Types of D ata You Can Import into the GUI” on page 1-13“Importing Time-Dom

Seite 280

5 ODE P ara meter Estimation (Grey-Box Modeling)Estimating Linear Grey-Box ModelsIn this section...“Specifying the Linear Grey-Box Model Structure” on

Seite 281 - When to Refine Models

Estimating Linear Grey- Box ModelsThe first step in grey-box modeling is to write an M-file that returnsstate-space matrices as a function of user-de fin

Seite 282

5 ODE P ara meter Estimation (Grey-Box Modeling)This equation represents an electrical motor, whereyt xt11() ()=is theangular position of the motor sh

Seite 283

Estimating Linear Grey- Box Models2 Use the following syntax to define an idgrey model o bject based on themyfunc M-file:m = idgrey('myfunc',p

Seite 284

5 ODE P ara meter Estimation (Grey-Box Modeling)Under ideal conditions, this system is d escribed by the heat-diffusionequation—which is a partial dif

Seite 285 - Guesses at the Command Line

Estimating Linear Grey- Box ModelsThe following M-file describes the state-space equation for this model. Inthis case, the auxiliary v ariables specify

Seite 286

5 ODE P ara meter Estimation (Grey-Box Modeling)Use the following syntax to define an idgrey model object based on the heatdM-file:m = idgrey('heat

Seite 287

Estimating Linear Grey- Box ModelsDescription of the SISO SystemThis example is based on a discrete, singl e- input and single -output (SI SO)system r

Seite 288

5 ODE P ara meter Estimation (Grey-Box Modeling)1 Create the M-file mynoise that computes the state-space matrices as afunction of the five unknown para

Seite 289

Estimating Linear Grey- Box ModelsModel = pem(data,Minit)5-15

Seite 290 - Representations

1 Data ProcessingTo open the GUI, type the following command in the MATLAB CommandWindow:identIn the Import data list, select the type of data to impo

Seite 291

5 ODE P ara meter Estimation (Grey-Box Modeling)Estimating Nonlinear Grey-Box ModelsIn this section...“Supported Nonlinear Grey-Box Models” on page 5-

Seite 292

Estimating Nonlinear G rey-Box ModelsSpecifying the Nonlinear Grey-Box Model StructureYou must represent your system as a set of first-order nonlinear

Seite 293 - Effects on the Noise Model

5 ODE P ara meter Estimation (Grey-Box Modeling)• y — Represents the right side(s) of the o utput equation(s). A column vectorwith Ny entries.The fi le

Seite 294

Estimating Nonlinear G rey-Box Models• Order — Vector with three entries [Ny Nu Nx], specifying the number ofmodel outputsNy, the number of inputs Nu,

Seite 295

5 ODE P ara meter Estimation (Grey-Box Modeling)Options for the Estimation AlgorithmThe Algorithm property of the model specifies the estimation algori

Seite 296

Estimating Nonlinear G rey-Box ModelsOne category of method s co nsists of the min imization sch em es that arebased on line-search metho ds , includi

Seite 297 - Subreferencing Model Objects

5 ODE P ara meter Estimation (Grey-Box Modeling)5-22

Seite 298

After Estimating Grey-Box ModelsAfter E stimating Grey-Box ModelsAfter estimatin g lin ear a n d non l in ear grey -b ox models, you can simula te the

Seite 299

5 ODE P ara meter Estimation (Grey-Box Modeling)5-24

Seite 300

6Time Series ModelIdentification• “What Are Time-Series Models?” on page 6-2• “Preparing Time-Series Data” on page 6-3• “Estimating Time-Series Power S

Seite 301

Representing Data in the GUIImporting Time-Domain Data into the GUIBefore you can import time-dom ain d ata i n to the System Identification ToolGUI, y

Seite 302 - Concatenating Model Objects

6 Time Series Model IdentificationWhat Are Time-Series Models?A time series is one or m ore measured output channels with no measuredinput.You can est

Seite 303

Preparing Time-Series DataPreparing Time-Series DataBefore you can estimate models for time-s eries data, you must import yourdata into the MATLAB sof

Seite 304

6 Time Series Model IdentificationEstimating Time-Series Power SpectraIn this section...“How to Estimate T ime-Series Power Spectra Using the GU I” on

Seite 305

Estimating Time-Series Power SpectraFor time-domain data, the frequency ranges from 0 to the Nyquistfrequency. For frequency-domain data, the frequenc

Seite 306 - Merging Model Objects

6 Time Series Model IdentificationEstimating Frequency Response of Time SeriesCommandDescriptionetfeEstimates a periodogram using Fourieranalysis.spaE

Seite 307 - Identification

Estimating AR and A RMA ModelsEstimating AR and ARMA ModelsIn this section...“Definition of AR and ARMA Models” on page 6-7“Estimating Polynomial Time-

Seite 308 - and linear trends

6 Time Series Model Identification• (Multiple-output AR models only) Specified the model-order matrix inthe MATLAB workspace before estimation, as desc

Seite 309

Estimating AR and A RMA Models4 (AR m odels only) Se lect the es timation Method as ARX or IV(instrumental variable method). For more information a bo

Seite 310

6 Time Series Model Identification• Fit improvements — Shows the actual versus e xpected impro vem ents inthe fit.9 Click Estim ate to add this model t

Seite 311

Estimating AR and A RMA ModelsCommands for Estimating P oly n omial Time-Serie s Models (Continued)Method NameDescriptionSupported DataarmaxIterative

Seite 312 - Using Regressors

1 Data Processing3 Specify the following options:Note For time series, only import the o utput signal and enter [] for t heinput.• Input — E nter the

Seite 313 - 2), y ou

6 Time Series Model IdentificationEstimating State-Space Time-Series ModelsIn this section...“Definition of State-Space Time-Series Model” on page 6-12

Seite 314 - Using Custom Regressors

Estimating State-Space Time-Series ModelsCommands for Estimating State-Space Time-Series ModelsCommandDescriptionn4sidNoniterative subspace method for

Seite 315 - None for t he Nonlinearity

6 Time Series Model IdentificationExample – Identifying Time-Series Models at the CommandLineThe following example simulates a time-series model, comp

Seite 316 - How to Estimate N

Estimating Nonlinear Models for Time-Series DataEstimating Nonlinear Models for Time-Series DataWhen a linear model provides an insufficient descriptio

Seite 317

6 Time Series Model Identification6-16

Seite 318 - General nlarx Syntax

7Recursive Techniques forModel Identi fication• “What Is Recursive Estimation?” on page 7-2• “Commands for Recursive Estim ation” on page 7-3• “Algorit

Seite 319

7 Recursive Techniques for Model IdentificationWhat Is Recursive Estimation?Many real-world applications, such as adaptive control, adaptive filtering,

Seite 320

Commands for Recursive EstimationCommands for Recursive EstimationYou can recursively estimate linear polynomial models, such as ARX,ARMAX, Box-Jenkin

Seite 321

7 Recursive Techniques for Model Identificationadm and adg specify any of the four recursive algorithm, as described in“Algorithms for Recu rsive Esti

Seite 322

Commands for Recursive EstimationCommands for Linea r Recursive Estimation (Continued)CommandDescriptionrpemEstimate param eters of multiple-inputand

Seite 323

Representing Data in the GUI4 (Optional) In the Data Inform ation area, click More to expand the d ialogbox and enter the following settings:Input Pro

Seite 324 - Ha mmerstein-Wiener

7 Recursive Techniques for Model IdentificationAlgorithms for Recursive EstimationIn this section...“Types of R ecu rsive Estimation Algorithm s” o n

Seite 325

Algorithms for Recursive Estimationˆθ t()is the parameter estimate at time t. y(t) istheobservedoutputattimetandˆyt()is the prediction of y(t) based o

Seite 326

7 Recursive Techniques for Model IdentificationFor models that do no t hav e the linear regression form, it is not possible tocompute exactly the pred

Seite 327

Algorithms for Recursive EstimationThe Kalman filter is used to obtain Q(t).Thisformulationalsoassumesthatthetrueparametersθ0t()are describedby a rando

Seite 328

7 Recursive Techniques for Model IdentificationTo spec ify the Kalman filter algorithm, set adm to 'kf' and adg to the valueof the drift matr

Seite 329

Algorithms for Recursive Estimationhorizon of this alg orithm . Measurements older thanτλ=−11typically carry aweight that is less than about 0.3.λis c

Seite 330

7 Recursive Techniques for Model IdentificationMathematics of the Unnormalized and Normalized GradientAlgorithmIn the linear regression case, the grad

Seite 331 - TypesofNonlinearityEstimators

Algorithms for Recursive EstimationTo specify the unnorm alized gain algorithm, set adm to 'ug' and adg to thevalue of the gainγ(described i

Seite 332

7 Recursive Techniques for Model IdentificationData SegmentationFor systems that exhibit abrupt changes while the data is being collected,you might wa

Seite 333

8Model Analysis• “Overview of Model Valida tion and Plots” on page 8-2• “Using Model Output Plots to Validate and Compare Models” on page 8-8• “Using

Seite 335

1 Data Processing• Output —Enterastringtospecifythenameofoneormoreoutputchannels.Physical Units of V ariables• Input — Enter a string to specify the i

Seite 336

8 Model AnalysisOver view of Model Validation and PlotsIn this section...“When to Validate Models” on page 8-2“Ways to Validate Models” on page 8-2“Da

Seite 337 - Hammerstein-Wi

Overview of Model Validation and Plots• Analyzing model response. For more information, see the following:- “Using Impulse- and Step-Response Plots to

Seite 338

8 Model AnalysisData for Validating ModelsFor plots that compare model response to measured response, such as modeloutput and residual analysis plots,

Seite 339 - Nonlinear M odel?

Overview of Model Validation and PlotsPlot Type Suppor ted ModelsLearn MoreFrequency Response• All linear p arametricmodels• Spectral ana lysis(nonpar

Seite 340 - Models for a Given Input

8 Model AnalysisFor example, in the following figure, Model output is sele cted. In th is case,the modelsn4s4 is not included on the plot because o nly

Seite 341

Overview of Model Validation and PlotsGetting Advice About ModelsUse the advi ce command on an estimated model to answer the followingquestions aboutt

Seite 342

8 Model AnalysisUsing Model Output Plots to Validate and Compare ModelsIn this section...“Supported Model Types” on page 8-8“What Does a Mo del Ou tpu

Seite 343

Using Model Output Plots to Validate and Compare Mod els• For frequency-response data, the plot shows the simulated amplitude of themodel frequency re

Seite 344

8 Model AnalysisThe main difference betw een simulation and predictio n is whether the toolboxuses measured or computed previous outputs for computing

Seite 345 - (Grey-Box Modeling)

Using Model Output Plots to Validate and Compare Mod elsst≤ , and all avail able output s y(s),wherestk≤−(). The argument srepresents the data s ample

Seite 346 - Supported Grey-Box Models

Representing Data in the GUI1 Type the following command in the MATLAB Command Window to openthe GUI:ident2 In the System Identification Tool window, s

Seite 347

8 Model AnalysisBecause of the definition of Best Fit, it is possible for this value to b e negative.A negative best fit is worse than 0% and can occur

Seite 348

Using Model Output Plots to Validate and Compare Mod elsModel Output Plot Settings (Continued)ActionCommandChange between simulated outputor predicted

Seite 349

8 Model Analysisthe estimated uncertainty in the model parameters to calculate confidenceintervals and assumes the estimates have a Gaussian distributi

Seite 350

Using Model Output Plots to Validate and Compare Mod elsX0est=findstates(model,data)Next, specify the e stimated initial states X0est as an arg u m en

Seite 351

8 Model AnalysisUsing Residual Analysis Plots to Validate ModelsIn this section...“What Is Residual Analysis?” on page 8-16“Supported Model Types” on

Seite 352

Using Residual Analysis Plots to Validate M odels• For output-error (OE) models and when using instrumental-variable (IV)methods, make sure that your

Seite 353 - Model for Heat Diffusion

8 Model AnalysisFor frequency-domain validation data, the plot shows the following two axes:• Estimated power spectrum of the residuals for each outpu

Seite 354

Using Residual Analysis Plots to Validate M odelsNote If you are working in the System Identification Tool GUI, you canspecify a custom confidence inter

Seite 355

8 Model AnalysisResidual Analysis Plot SettingsActionCommandDisplay confidenceintervals around zero.Note Confidence internalare not available fornonline

Seite 356

Using Residual Analysis Plots to Validate M odelsHow to Plot Residuals at the Command LineThe following table summarizes commands that generate residu

Seite 357

1 Data Processing• InterSample — This setting specifies the behavior of the input signalsbetween samples whe n you transform the resulting mode ls betw

Seite 358

8 Model AnalysisThis opens an empty plot.3 In the System Identification Tool window , click each model icon to displayit on the Residual Analysis plot.

Seite 359 - Model = pem(data,Minit)

Using Residual Analysis Plots to Validate M odelsdescribe how the output is formed from the corresponding input. For example,when there is a peak outs

Seite 360

8 Model AnalysisUsing Impulse- and Step-Response Plots to ValidateModelsIn this section...“Supported Models” on page 8-24“How Transient Response Helps

Seite 361

Using Impulse- and Step-Response Plots to Validate Modelscorrelation analy sis result on top of the transient responses of the parametricmodels.Becaus

Seite 362

8 Model AnalysisHow to Plot Impulse and Step Response Using theGUITo createa transient analysis plot in the System Identification To ol GUI,select the

Seite 363

Using Impulse- and Step-Response Plots to Validate ModelsTransient Response Plot Settings (Continued)ActionCommandDisplay impulse response forlinear m

Seite 364 - Search Method

8 Model AnalysisTransient Response Plot Settings (Continued)ActionCommandChange time span over whichthe im pulse or step response iscalculated. For a

Seite 365 - Gradient Options

Using Impulse- and Step-Response Plots to Validate ModelsTransient Response Plot Settings (Continued)ActionCommand(Multiple-output system only)Select

Seite 366

8 Model Analysistrue system response. You can specify the confidence interval as a probability(between 0 and 1) or as the number of standard deviations

Seite 367

Using Impulse- and Step-Response Plots to Validate ModelsThe following table summarizes commands that generate impulse- andstep-response plots . For d

Seite 368

Representing Data in the GUI• Input — Enter a string to specify the input units.Tip When you have multiple inputs and outputs, enter acomma-separated

Seite 369 - Time Series Model

8 Model AnalysisUsing Frequency-Response Plots to Validate ModelsIn this section...“What Is Frequency Response?” on page 8-32“How Frequency Response H

Seite 370 - What Are Time-Series Models?

Using Frequency-Response Plots to Validate Modelsis scaled by the sampling interval T to make the frequency function periodicwith the sampling frequen

Seite 371 - Preparing Time-Series Data

8 Model AnalysisWhat Does a Frequency-Response Plot Show?System Identification Tool GUI supports the following types offrequency-response plots for lin

Seite 372 - Linear option is available

Using Frequency-Response Plots to Validate ModelsHow to PlotBodePlotsUsingtheGUITo createa frequency-response plot for parametric linear models in the

Seite 373

8 Model Analysistrue system response. You can specify the confidence interval as a probability(between 0 and 1) or as the number of standard deviations

Seite 374

Using Frequency-Response Plots to Validate ModelsFrequency Function Plot Settings (Continued)ActionCommandChange the frequencyvalues for com puting th

Seite 375 - Estimating AR and ARMA Models

8 Model AnalysisFrequency Function Plot Settings (Continued)ActionCommandChange amplitude scalebetween linear andlogarithmic.Select Style > Linear

Seite 376 - Ny-by-Ny

Using Frequency-Response Plots to Validate Modelswhere sd is the number of standard deviations of a Gaussian distributio n. Forexample, a confidence va

Seite 377

8 Model AnalysisCreating Noise-Spectrum PlotsIn this section...“Supported Models” on page 8-40“What Does a Noise SpectrumPlotShow?”onpage8-40“Displayi

Seite 378

Creating Noise-Spectrum PlotsWhereas the frequency-response plot shows the response of G,thenoise-spectrum plo t shows the frequency-response of the n

Seite 379

1 Data Processingident2 In the System Identification Tool window, select Import data > Freq.domain data. This a ction opens the Import Data dialog b

Seite 380

8 Model AnalysisGaussian distribution. For example, a probability of 0.99 (99%) correspondsto 2.58 stand a rd d e v ia t ions.Note The calculation of

Seite 381

Creating Noise-Spectrum PlotsThe following table summ arizes the Noise Spectrum plot settings.Noise Spectrum Plot SettingsActionCommandDisplay the con

Seite 382

8 Model AnalysisNoise Spect ru m P lot Se tting s (C onti n u ed )ActionCommandChange the frequencyvalues for computingthe n oise spectrum.The d efaul

Seite 383

Creating Noise-Spectrum PlotsNoise Spect ru m P lot Se tting s (C onti n u ed )ActionCommandChange am plitude scalebetween linear andlogarithmic.Selec

Seite 384

8 Model Analysisfrequency response o f v(t).Tocomputev(t), which represents the actual noiseterm in the system, use the following commands:ysimulated

Seite 385 - Model Identi fication

Using Pole-Zero Plots to Validate ModelsUsing Pole-Zero Plots to Validate ModelsIn this section...“Supported Models” on page 8-47“What Does a Po le -Z

Seite 386 - What Is Recursive Estimation?

8 Model Analysismost-delayed and least-delayed inpu t. For example, there two poles and onezero in the follo wing ARX model:yt yt T yt Tut ut T() . (

Seite 387

Using Pole-Zero Plots to Validate ModelsIn addition, y ou can display a confidence interval for each pole and zero on theplot. The confidence interval c

Seite 388

8 Model AnalysisZeros and Poles Plot Settings (Continued)ActionCommandShow the unit circle. Select Style > Unit circle. Select this optionagain to

Seite 389

Using Pole-Zero Plots to Validate ModelsReducing Model Order Using Pole -Zero PlotsYou can use p ole-zeroplotstoevaluatewhetheritmightbeusefultoreduce

Seite 390

Representing Data in the GUIPhysical Units of V ariables• Input — Enter a string to specify the input units.Tip When you have multiple inputs and outp

Seite 391

8 Model AnalysisUsing Nonlinear ARX Plots to Validate ModelsIn this section...“About Nonlinear ARX Plots” on page 8-52“How to Plot Nonlinear ARX Plots

Seite 392 - Kalman Filter Algorithm

Using Nonlinear ARX Plots to Validate ModelsThe following figure shows a sample nonlinear ARX plot.Configuring the Nonlinear ARX PlotTo include or excl

Seite 393

8 Model Analysis3 Select Regressor 1 from th e list of available regressors. In the Rangefield, enter the range of v alues to include on the plot for t

Seite 394 - Forg etting Factor Algorithm

Using Nonlinear ARX Plots to Validate ModelsChanging Appearance of the N on linear ARX Plot (Continued)ActionCommandHide or show the legend.Select Sty

Seite 395 - 0.9 7 to 0.995

8 Model AnalysisUsing Hamm erstein-Wiener Plots to Validate ModelsIn this section...“About Hammerstein-Wiener Plots” on page 8-56“How to Create Hammer

Seite 396 - Algorithm

Using Ha mmerstein-Wiener Plots to Validate ModelsNote The Hamm-Wiener check b ox is unavailable if you do not have aHammerstein-Wiener m odel in the

Seite 397

8 Model AnalysisHow to Plot Hammerstein-Wiener Plots at theCommand LineYou can plot input and output nonlinearity and linear responses forHammerstein-

Seite 398 - Data Segmentation

Using Ha mmerstein-Wiener Plots to Validate Models• To plot uNLas a command of the input data, click the uNLblock.• To plot yNLas a comm and of its in

Seite 399

8 Model Analysis• Bode• Pole-Zer o Map5 If you selected to plot s te p or impulse response, y ou can set the time span.Select Options > Time span a

Seite 400 - 8 Model Analysis

Using Akaike’s Criteria to Valida te ModelsUsing Akaike’s Criteria to Validate ModelsIn this section...“Definition of FPE” on page 8-61“Computing FPE ”

Seite 401

1 Data Processing4 Specify the following options:• Amplitude — Enter the MATLAB variable name or a MATLABexpression that represents the amplitudeG.• P

Seite 402

8 Model AnalysisVttNNNTN=()()()⎛⎝⎜⎜⎞⎠⎟⎟∑det , ,11εθ εθwhereθNrepresents the estimated parameters.Computing FPEYou can compute A kaike’s Final Predicti

Seite 403 - Plotting Models in the GUI

Using Akaike’s Criteria to Valida te ModelsAkaike’s Information Criterion (AIC) is d efined by the following equation:AIC VdN=+log2where V is the loss

Seite 404 - Plots the model

8 Model AnalysisComputing Model UncertaintyIn this section...“Why An alyze Model Uncertainty?” on page 8-64“What Is Model Covariance?” on page 8-64“Vi

Seite 405 - Getting Advice A

Computing Model UncertaintyComputing the covariance matrix is based on the assumption that the modelstructure gives the correct description of the sys

Seite 406

8 Model AnalysisType model.dA at the prompt to access the estimated standard deviationsof themodel.A estimated property, where model represents the na

Seite 407

Troubleshooting ModelsTroubleshooting ModelsIn this section...“About Troubleshooting Models” on page 8-67“Model Order Is Too High or Too Low” on page

Seite 408

8 Model AnalysisWhen a low-o rde r mo de l fits the validation data poorly, try estimating ahigher-order model to see if the fit improves. For example,

Seite 409

Troubleshooting ModelsSubstantial Noise in the SystemThere are a couple of indications that you m ight have substantial noise inyour system and might

Seite 410

8 Model Analysismodel for co ntro l design. In this case, you can import your unstable modelinto Simulink or Control System Toolbox products.One way t

Seite 411

Troubleshooting ModelsInputs need not be control s ignals. Any m easurable signal can be consideredan input, i n cluding measurable disturbances.Compl

Seite 412

Representing Data in the GUITip When you have multiple inputs and outputs, enter acomma-separated list of Input and Output units corresponding to each

Seite 413

8 Model AnalysisNext Steps After Getting an Accurate ModelAfter you get an accurate model, you can simulate or predict model output.For more info rmat

Seite 414

Next Steps After Getting an Accurate ModelTip To export a model from the GUI, drag the model icon to the ToWorkspace rectangle. For more information a

Seite 416

9Simulation and Prediction• “Simulating Versus Predicting Output” on page 9-2• “Simulation and Prediction in the GUI” on p age 9-4• “Example – Simulat

Seite 417

9 Simulation and PredictionSimulating Versus Predicting OutputSimulating a model means that you compute the response of a model toa particular input.

Seite 418

Simulating Versus Predicting OutputNote Prediction with k=∞ means that no previous inputs are used in thecomputation and prediction matches simulation

Seite 419 - Example – Ex

9 Simulation and PredictionSimulation and Prediction in the GUITo learn how to display simulated or predicted output using the SystemIdentification Too

Seite 420

Example – Simulating Model O utput with Noise at the Com mand LineExample – Simulating Model Output with Noise at theCommand LineThis example demonstr

Seite 421

9 Simulation and PredictionExample – Simulating a Continuous-Time State-SpaceModel at the Command LineThis example demonstrates h ow to simulate a con

Seite 422

Predicting Model Output at the Command LinePredicting Model Output at the Command LineUse the following syntax to compute k-step-ahead prediction of t

Seite 423

1 Data Processing1 Type the following command in the MATLAB Command Window to openthe GUI:ident2 In the System Identification Tool window, select Impor

Seite 424

9 Simulation and PredictionSpecifying Initial StatesIn this section...“When to Specify Initial States” on page 9-8“Setting Initial States to Zero” on

Seite 425

Specifying Initial StatesYou can use the following shortcut syntax for setting initial states to zero:y=sim(model,data,'InitialState','

Seite 426

9 Simulation and PredictionWhen you simulate a multiexperiment model, use the pe command to estim ateinitial states for the data from that specific exp

Seite 427 - 0 and the

10Using Identified Models inControl Design

Seite 428

10 U s ing Identified Mo dels in Contr ol DesignUsing Models with Control System Toolbox SoftwareIn this section...“How Control System Toolbox Softwar

Seite 429

Using Models with Control System Toolbox™ SoftwareUsing balred to Reduce Model OrderIn some cases, the order of your identified model might be higher t

Seite 430 - What Is Frequency Response?

10 U s ing Identified Mo dels in Contr ol DesignNote The syntax sis otoo l(model('m')) is e quivalent tosisotool(model('measured')

Seite 431

Using Models with Control System Toolbox™ Softwaremodel = model('measured')% Convert to LTI objectLTI_sys = idss(model)The LTI object includ

Seite 432

10 U s ing Identified Mo dels in Contr ol DesignDisplaying Identified Models in the LTI ViewerWhen the MATLAB softw are is installed, the System Ident

Seite 433 - How to Plo

Using Models with Control System Toolbox™ Softwareu = iddata([], idinput([800 2 ],'rbs'));% Simulate model output using System Identifi cati

Seite 434

Representing Data in the GUI4 (Optional) In the Data Inform ation area, click More to expand the d ialogbox and enter the following optional settings:

Seite 435 - [1:.1:100]

10 U s ing Identified Mo dels in Contr ol Design10-8

Seite 436

11Using System IdentificationToolbox Blocks• “System Identification Toolbo x Block Library” on pag e 11-2• “Opening the System Identification Toolbox B l

Seite 437

11 Using System Identification Toolbox™ BlocksSystem Identification Toolbox Block LibrarySystem Identi fication Toolbox provides blocks for sharing inf

Seite 438 - Creating Noise-Spectrum Plots

Opening the System Identification Toolbox™ Block LibraryOpening the System Identification Toolbox Block LibraryTo open the System I de ntification Tool

Seite 439

11 Using System Identification Toolbox™ BlocksPreparing DataThe following table summarizes the blocks you use to transfer data betweenthe MATLAB and S

Seite 440

Identifying Linear ModelsIdentifying L inear ModelsThe follow ing table summarizes the blocks you use to estimate modelparameters in a Simulink model

Seite 441

11 Using System Identification Toolbox™ BlocksSimulating Model OutputIn this section...“When to Use Simulation Blocks” on page 11-6“Summary of Simulat

Seite 442

Simulating Model OutputBlockDescriptionIDNLHW ModelSimulateidnlhw model in Simulink.IDNLGREY Model Simulate nonlinear ODE (idnlgrey model object)in Si

Seite 443

11 Using System Identification Toolbox™ Blocksm2=idss(m1);For m ore information about specifying initial conditions for simulation, seethe IDMODEL Mod

Seite 444

Example – Simulating a Model Using Simulink®SoftwareExample – Simulating a Model Using Simulink SoftwareIn this example, you set the initial states fo

Seite 445 - Supported Models

About the DevelopersAbout the DevelopersSystem Identification Toolbox™ software is developed i n association wi th thefollowing leading rese archers in

Seite 446

1 Data Processing• Output —Enterastringtospecifythenameofoneormoreoutputchannels.Physical Units of V ariables• Input — Enter a string to specify the i

Seite 447

11 Using System Identification Toolbox™ Blocks11-10

Seite 448

12Using the SystemIdentification Tool GUI• “Steps for Using the System Identification Tool GU I” on page 12-2• “Starting and M anaging GUI Sessions” on

Seite 449 - Reducing Model O

12 Using the System Identification Tool GUISteps for Using the System Identification Tool GUIAtypicalworkflow in the System Identification Tool GUI incl

Seite 450

Starting and Managing G UI SessionsStar ting and Managing GUI SessionsIn this section...“What Is a System Identification Tool Session?” on page 12-3“St

Seite 451

12 Using the System Identification Tool GUIStarting a New Session in the GUITo start a new session in the System Identification Tool G UI, type thefoll

Seite 452

Starting and Managing G UI SessionsDescription of the System Identification Tool WindowThe following figure describes the different areas in the System

Seite 453

12 Using the System Identification Tool GUIthe Import data menu and end in the bottom-right corner by plotting thecharacteristics of your estimated mo

Seite 454

Starting and Managing G UI SessionsTask CommandCommentClose thecurrentsession andstart a newsession.File > Close sessionYou are prompted to save th

Seite 455

12 Using the System Identification Tool GUIExiting the System Identification To ol GUITo exit the System Identification Tool GUI, click Exit in the bot

Seite 456

Managing Models in the GUIManaging Models in the GUIIn this section...“Importing Models into the GUI” on page 12-9“Viewing Model Properties” on page 1

Seite 457

Representing Data in the GUIfrequency-domain signals (see the fft reference page), the Fourier transformsare computed a s discrete Fourier transforms

Seite 458

12 Using the System Identification Tool GUIViewing Model PropertiesYou can get information about each model in the System Identification ToolGUI by rig

Seite 459 - Definition of FPE

Managing Models in the GUIRenaming Modelsand Changing Display ColorYou can rename a model and change its display color b y double-clicking themodelico

Seite 460 - Definition of AIC

12 Using the System Identification Tool GUIWhen you need additional spa ce for organizi n g model ico n s, selectOptions > Extra model/data board i

Seite 461 - Computing AIC

Managing Models in the GUITo restore a model from Trash, drag its icon from Trash to the Model Boardin the System Identification Tool GUI. You can view

Seite 462 - Computing Model Uncertainty

12 Using the System Identification Tool GUIWhen you export models to the MATLA B workspace , the resulting variableshavethesamenameasintheSystemIdenti

Seite 463

Wor king with Plots in the System Identification Tool GUIWorking with Plots in the System Identification Tool GUIIn this section...“Identifying Data S

Seite 464

12 Using the System Identification Tool GUIData Tip onaPlotChangingand Restoring Default Axis LimitsThere aretwo ways to change which portion of the p

Seite 465 - Troubleshooting Models

Wor king with Plots in the System Identification Tool GUI• To zoom in default increments, left-click the portion of the plot you want tocenter in the

Seite 466

12 Using the System Identification Tool GUINote Toviewtheentiredatarange,selectOptions > A utorange in theplot window.Selecting Measured and Noise

Seite 467 - Unstable M

Wor king with Plots in the System Identification Tool GUIGrid, Line Styles, and Redrawing PlotsThere are several Style options that are common to all

Seite 468

1 Data ProcessingSimilarly, to specify Validation Data, drag and drop the corresponding dataicon into the Validation Data rectangle.Preprocessing Data

Seite 469 - Complicated Nonlinearities

12 Using the System Identification Tool GUISystem Identification Tool GUI, and then open it in a MATLAB F igurewindow to fine-tune the display.After you

Seite 470

Customizing the System Identification Tool GUICustomizing the System Identification Tool GUIIn this section...“Types of GUI Customization” on page 12-

Seite 471

12 Using the System Identification Tool GUI• Four recently used sessions• Plot options, such as line styles, zoom, grid, and w h ether the input isplo

Seite 472

Customizing the System Identification Tool GUINote When you save preferences using Options > Save preferencestoidprefs.mat, these preferences overr

Seite 473

12 Using the System Identification Tool GUI12-24

Seite 474 - 9 Simulation and Prediction

IndexIndexAactivemodel in GUI 8-5advicefor data 1-84for models 8-7AIC 8-61definition 8-62Akaike’s Final Prediction Error (FPE) 8-61Akaike’s Inform atio

Seite 475

Indexdatacreatingiddata object 1-47creatingidfrd object 1-67creating subsets 1-31detrending 1-94exporting to MATLAB workspace 1-45filter 1-107frequency

Seite 476

IndexHHammerstein-Wiener models 4-15Hammerstein-Wiener plot 8-56Iidarx 2-13iddataconcatenating 1-65creating 1-47subreferencing 1-55ident 12-4idfrdconc

Seite 477

Indexmodelblack-box polynomial 3-41estimating frequency response 3-2estimating process mo d el 3-22estimating transient response 3-14exporting to MATL

Seite 478 - Model at the Comm

Indexnormalized gradient algorithm 7-11OOE model.SeeOutput-Error modeloffset levels 1-94order.Seemodel o rderoutliers 1-91Output-Error model 3-44Ppemf

Seite 479 -

Representing Data in the GUICreating Data Sets from a Subset of Signal ChannelsYou can create a new data set in the System Identification Tool GUI byex

Seite 480 - Specifying Initial States

Indexsessiondefinition 12-3managing in GUI 12-3preferences 12-21starting 12-4sigmoid network 4-25simulating data 1-115simulating model output 9-1initia

Seite 481

IndexUuncertainty o f models 8-64confidence interval on plots 8-65covariance 8-64unnormalized gradient algorithm 7-11unstable models 8-69Vvalidating mo

Seite 482

1 Data Processing3 In the Inputs list, select one or mo re channels in any of follow ing ways:• Select one channel by clicking its name.• Select adjac

Seite 483 - Control Design

Representing Data in the GUICreating Multiexperiment Data Sets in the GUI• “Why Create Multiexperiment Data?” on page 1-33• “Limitations onData Sets”

Seite 484 - Identified Models

1 Data ProcessingNote Before merging several segments of the same data set, verify thatthe time v ector of each data starts at the time when that data

Seite 485 - Software

Representing Data in the GUITo merge data sets in the GUI:1 In the Operations area, select <–Preprocess > Merge experimentsfrom the drop-down me

Seite 486

1 Data Processing2 In the System Identification Tool w indow , drag a data s et i con to the MergeExperiments dialog box (to the drop them here to be m

Seite 487 - What Is the LTI Viewer?

Representing Data in the GUI5 Click Insert to add the new data set to the Data Board in the SystemIdentification Tool window.Data Board Now Contains td

Seite 489

1 Data Processing1 In the S ystem Identification Tool window, drag and drop the td atam dataicon to the Working Data rectangle.tdatam Is Set to Working

Seite 490

Representing Data in the GUI3 In the Experiments list, sele ct one o r more data sets in either of thefollowing ways:• Select one data set by clicking

Seite 491 - Toolbox Blocks

1 Data ProcessingViewing Data PropertiesYou can get information about each data set in the System Identification T oolGUI by right-clicking the corresp

Seite 492

Representing Data in the GUITo displays the data properties in the MATL AB Comm and Window, clickPresent.Renaming Data and Changing Display ColorYou c

Seite 493

1 Data ProcessingData objectdescriptionHistory ofsyntax thatcreated thisobjectInformation About the DataYou can enter comments about the origin and st

Seite 494 - Preparing Data

Representing Data in the GUIDistinguishingData Types i n the GUIThe background color of a d ata icon is color-coded, as follows :• White background re

Seite 495 - Identifying L inear Models

1 Data ProcessingTip When youimport or create data sets and there is insufficient space forthe i cons, an additional session window opens automatically

Seite 496 - Simulating Model Output

Representing Data in the GUITo restore a data set from Trash, drag i ts icon from Trash to the Data orModel Board in the System Identification Tool win

Seite 497

1 Data ProcessingWhen you export d ata to the MATLAB work space, the resultin g var ia bl eshavethesamenameasintheSystemIdentification Tool GUI. For ex

Seite 498

Representing Time- and Frequency-Domain Data Using iddata ObjectsRepresenting Time- and Frequency-Domain Data Usingiddata ObjectsIn this section...“id

Seite 499

ContentsData Processing1Ways to Process D ata for System Identification ... 1-2ImportingDataintotheMATLABWorkspace... 1-5Types of Data You Can

Seite 500

1 Data ProcessingConstructing an iddata Object for Time-Domain DataUse the follow ing sy ntax to create a time-d omain iddata object data:data = iddat

Seite 501 - Identification Tool GUI

Representing Time- and Frequency-Domain Data Using iddata ObjectsThe following example shows how to create an iddata object usingsingle-input/single-o

Seite 502

1 Data ProcessingNote You must specify the frequency ve ctor for frequency-domain data.For more information about id data time and frequency propertie

Seite 503

Representing Time- and Frequency-Domain Data Using iddata ObjectsMATLAB returns the following object properties and values:Domain: 'Time'Nam

Seite 504 - Starting a New Se

1 Data ProcessingTip You can use data.y as an alternative to data .OutputData to access theoutput values, or usedata.u as an alternative to data.Input

Seite 505 - Tool GUI

Representing Time- and Frequency-Domain Data Using iddata ObjectsMATLAB returns the following object properties and values:Domain: 'Freque ncy&ap

Seite 506 - Opening a Saved Session

1 Data Processingmultiexperiment iddata object by splitting the d ata from a single sessio n intomultiple segmen ts to exclude bad data, and merge the

Seite 507 - Getting Help in the GUI

Representing Time- and Frequency-Domain Data Using iddata ObjectsThis syntax explicitly assigns the experiment name 'Run4' to the newexperim

Seite 508

1 Data ProcessingNote You do n ot need to type the entire property name. In this example, sain da ta.sa uniquely identifies the Samp ling Instants prop

Seite 509 - Managing Models in the GUI

Representing Time- and Frequency-Domain Data Using iddata ObjectsFor example, suppose the iddata object data contains three output channels(namedy1, y

Seite 510 - Viewing Model Pr

Creating Multiexperiment Data at the Command Line ... 1-53Subreferencing iddata Objects... 1-55Modifying Time and Frequency Vector

Seite 511 - Model Icons

1 Data ProcessingSubreferencing ExperimentsUse the following general syntax to subreference specifi c experiments iniddata objects:data(samples,outputc

Seite 512 - Deleting Models in the GUI

Representing Time- and Frequency-Domain Data Using iddata ObjectsModifying Time and Frequency VectorsThe id dat a object stores time-domain data o r f

Seite 513 - Workspace

1 Data Processingiddata Time-Vector Properties (Continued)PropertyDescriptionSyntax ExampleTstartStarting time of theexperiment.• For a singleexperime

Seite 514

Representing Time- and Frequency-Domain Data Using iddata Objectsiddata Time-Vector Properties (Continued)PropertyDescriptionSyntax ExampleSamplingIns

Seite 515

1 Data Processingiddata Frequency-Vector PropertiesPropertyDescriptionSyntax ExampleFrequencyFrequency values atwhich the Fouriertransforms of the sig

Seite 516 - Changing

Representing Time- and Frequency-Domain Data Using iddata ObjectsNaming, Adding,and Removing Data Channels• “WhatAreInputand Output Channels?” on page

Seite 517 - Setting Axis Limits

1 Data ProcessingIf you do not specify channel names when you create the iddata object,the toolbox assigns default names. By default, the output chann

Seite 518

Representing Time- and Frequency-Domain Data Using iddata ObjectsConcatenating iddata Objects• “iddata Prope rties Storing Input and Output D ata” on

Seite 519 - Opening a Plo

1 Data Processingcontains channel names that are already present in d ataJ with J<K,thedataK channels are ignored.• Combining duplicate output chan

Seite 520 - Printing Plots

Representing Frequency-Response Data Using idfrd ObjectsRepresenting Frequency-Response Data Using idfrdObjectsIn this section...“idfrd C onstructor”

Seite 521 - Saving Session Preferences

How to Add Detrended Values to the Model Output ... 1-98Resampling Data... 1-100What Is Resampling?...

Seite 522 - Modifying idlayout.m

1 Data ProcessingNote When you work at the command line, y ou can only create idfrd objectsfrom com plex values of G(eiw).ForaSISOsystem,response can

Seite 523

Representing Frequency-Response Data Using idfrd Objectsresponse and f are variables in the MATLAB Workspace browser,representing the frequency-respon

Seite 524

1 Data ProcessingIf you import fr_data into the System Identification Tool GUI, this data hasthe nameDC_Converter in the GUI, and not the variable name

Seite 525

Representing Frequency-Response Data Using idfrd ObjectsFor example, the following command references frequency-response data frominput channel3 to ou

Seite 526

1 Data Processingthe number of output channels, nu is the number of input channels, and nf isa v ector of frequen cy values (see “idfrd Properties” on

Seite 527

Representing Frequency-Response Data Using idfrd ObjectsThe resulting idfrd object data contains the frequency responses fromthe s ame inputs indata1,

Seite 528

1 Data ProcessingWhen the Spect ralD ata property of individual idfrd objectsisnotempty,horizontal and vertical concatenation handleSpectralData,asfol

Seite 529 - levels 1-94

Analyzing Data Quality Using PlotsAnalyzing Data Quality Using PlotsIn this section...“Supported Data Plots” on page 1-75“Plotting Data in the System

Seite 530

1 Data Processing• “Working with a Frequency Function Plot” on p age 1 -80How to Plot Data in the GUIAfter importing data into the System Identificatio

Seite 531

Analyzing Data Quality Using PlotsTo clos e a plot, clear the corresponding check box in the System Identifi cationTool GUI.Tip To get information abou

Kommentare zu diesen Handbüchern

Keine Kommentare