Products & Services Solutions Academia Support User Community Company

Learn more about System Identification Toolbox   

Estimating Step- and Frequency-Response Models

Why Estimate Step- and Frequency-Response Models?

Frequency-response and step-response are nonparametric models that can help you understand the dynamic characteristics of your system. These models are not represented by a compact mathematical formula with adjustable parameters. Instead, they consist of data tables.

In this portion of the tutorial, you estimate these models using the data set ze. You must have already created ze, as described in Creating iddata Objects.

The response plots from these models show the following characteristics of the system:

Estimating the Frequency Response

The System Identification Toolbox product provides three functions for estimating the frequency response:

Use the spa command to estimate the frequency response:

Ge=spa(ze);

To plot the frequency response as a Bode plot, type the following command in the MATLAB Command Window:

bode(Ge)

This command produces the following plot.

Frequency Response for the First Input-Output Path

The amplitude peaks at the frequency of about 0.7 rad/s, which suggests a possible resonant behavior (complex poles) for the first input-to-output combination—ConsumptionRate to ProductionRate.

To view the second input Current, select the MATLAB Figure window, and press Enter. The input/output pair is displayed, as shown in the following figure.

Frequency Response for the Second Input-Output Path

In both plots, the phase rolls off rapidly, which suggests a time delay for both input/output combinations.

Estimating the Step Response

To estimate the step response from the data, use the step command with the following arguments:

step(ze,30)

The first step argument is the name of the data object. The second argument is the duration of the step input in the time units you specified (minutes).

This calculation produces the following plot.

Step Response from Both Inputs to the Output

The step response for the first input/output combination suggests an overshoot, which indicates the presence of an underdamped mode (complex poles) in the physical system.

The step response from the second input to the output shows no overshoot, which indicates either a first-order response or a higher-order response with real poles (overdamped response).

The step-response plot indicates a nonzero delay in the system, which is consistent with the rapid phase roll-off you got in the Bode plot you created in Estimating the Step Response.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS