System; a DynamicSystems system object in continuous-time domain; must be single-input single-output (SISO) and stable.

opts

-

(optional) equation(s) of the form option = value; specify options for the TimeDomain command

Options

•

method : one of moments, stepPercentage, stepIntegrate or doubletPulse

Specifies the method of parameter identification.

–

moments uses the values of the transfer function and its first and second derivatives at zero to estimate the parameters. This is the method of moments as described in Astrom et. al. (1995). This method is the default.

–

stepPercentage uses the points on the system step-response for which the response reaches 1/3 and 2/3 of its final value, as described in O'Dwyer (2006).

–

stepIntegrate is based on certain areas under the step response plot as described in Nishikawa et. al. (1984).

–

doubletPulse uses the system response to a doublet pulse input as described in Astrom et. al. (2006). The amplitude and period of the doublet pulse input signal must be specified by the user. This method only applies to systems with no symbolic parameters.

•

Amp = realcons

Amplitude of the doublet pulse input signal in the doubletPulse method. Must be a positive-real number.

•

Tp = realcons

The half period of the doublet pulse input signal in the doubletPulse method. Must be a positive-real number.

•

simplifyOutput = truefalse

In case that the system contains symbolic parameters, specifies whether the symbolic expressions for the identified parameters should be simplified. If true then the identification output is simplified using the simplify command. The default value is true. For details see: simplify.

Description

•

The TimeDomain command estimates the parameters of an FOTD model for the given system, sys, using the time-domain method specified in the options. The command returns a list containing gain, time constant, and time delay of the identified FOTD model, respectively. In other words, TimeDomain(sys,opts) computes the parameters Kp&comma;T&comma;L for the model Kp&InvisibleTimes;&ExponentialE;−s&InvisibleTimes;LT&InvisibleTimes;s&plus;1 that best approximates sys according to the chosen method, with Kp≠0, 0≤T, and 0<L.

•

When the system has symbolic parameters, the FOTD model parameters are returned as symbolic expressions of the system parameters. The computed results are theoretically valid for the parameter space only when the following conditions hold:

The computed algebraic expressions for the FOTD model parameters time-constant (T) and time-delay (L) are positive-real, and that of the FOTD model gain (Kp) is either positive-real (corresponding to systems with positive DC gain) or negative-real (corresponding to systems with negative DC gain).

Examples

>

with&ApplyFunction;ControlDesignParameterIdentify&colon;

>

with&ApplyFunction;DynamicSystems&colon;

Basic Usage

•

Use each of the methods to identify the parameters K&comma;T&comma;L for the following system.

Starting with the FOTD transfer function, use series to generate a second-order polynomial approximation for the delay term, create a DynamicSystems model from the rational polynomial, then use TimeDomain and simplify to extract the original parameters.