Tunable fixedorder statespace model
blk = ltiblock.ss(name,Nx,Ny,Nu)
blk = ltiblock.ss(name,Nx,Ny,Nu,Ts)
blk = ltiblock.ss(name,sys)
blk = ltiblock.ss(...,Astruct)
Model object for creating tunable fixedorder statespace models. ltiblock.ss
lets
you parametrize a statespace model of a given order for parameter
studies or for automatic tuning with Robust Control Toolbox™ tuning
commands such as systune
or looptune
.
ltiblock.ss
is part of the Control
Design Block family of parametric models. Other Control Design
Blocks includeltiblock.pid
, ltiblock.gain
, and ltiblock.tf
.
creates
the continuoustime parametric statespace model named blk
= ltiblock.ss(name
,Nx
,Ny
,Nu
)name
.
The statespace model blk
has Nx
states,Ny
outputs,
and Nu
inputs. The tunable parameters are the
entries in the A, B, C,
and D matrices of the statespace model.
creates
a discretetime parametric statespace model with sample time blk
= ltiblock.ss(name
,Nx
,Ny
,Nu
,Ts
)Ts
.
uses
the dynamic system blk
= ltiblock.ss(name
,sys
)sys
to dimension the parametric
statespace model, set its sample time, and initialize the tunable
parameters.
creates
a parametric statespace model whose blk
= ltiblock.ss(...,Astruct
)A
matrix is
restricted to the structure specified in Astruct
.

String specifying the  

Nonnegative integer specifying the number of states (order)
of the parametric statespace model  

Nonnegative integer specifying the number of outputs of the
parametric statespace model  

Nonnegative integer specifying the number of inputs of the parametric
statespace model  

Scalar sample time.  

String specifying constraints on the form of the
If you do not specify  

Dynamic system model providing number of states, number of inputs
and outputs, sample time, and initial values of the parameters of 

Parametrization of the statespace matrices A, B, C,
and D of the tunable statespace model
The following fields of
 

State names. For firstorder models, set Default: Empty string  

State units. Use Default: Empty string  

Sample time. For continuoustime models, Changing this property does not discretize or resample the model.
Use Default:  

String representing the unit of the time variable. This property
specifies the units for the time variable, the sample time
Changing this property has no effect on other properties, and
therefore changes the overall system behavior. Use Default:  

Input channel names. Set Alternatively, use automatic vector expansion to assign input
names for multiinput models. For example, if sys.InputName = 'controls'; The input names automatically expand to You can use the shorthand notation Input channel names have several uses, including:
Default: Empty string  

Input channel units. Use Default: Empty string  

Input channel groups. The sys.InputGroup.controls = [1 2]; sys.InputGroup.noise = [3 5]; creates input groups named sys(:,'controls') Default: Struct with no fields  

Output channel names. Set Alternatively, use automatic vector expansion to assign output
names for multioutput models. For example, if sys.OutputName = 'measurements'; The output names automatically expand to You can use the shorthand notation Output channel names have several uses, including:
Default: Empty string  

Output channel units. Use Default: Empty string  

Output channel groups. The sys.OutputGroup.temperature = [1]; sys.InputGroup.measurement = [3 5]; creates output groups named sys('measurement',:) Default: Struct with no fields  

System name. Set Default:  

Any text that you want to associate with the system. Set Default:  

Any type of data you wish to associate with system. Set Default: 
Create a parametrized 5thorder SISO model with zero D
matrix.
blk = ltiblock.ss('ssblock',5,1,1); blk.d.Value = 0; % set D = 0 blk.d.Free = false; % fix D to zero
By default, the A
matrix is in tridiagonal
form. To parametrize the model in companion form, use the 'companion'
input
argument:
blk = ltiblock.ss('ssblock',5,1,1,'companion'); blk.d.Value = 0; % set D = 0 blk.d.Free = false; % fix D to zero
Create a parametric statespace model, and assign names to the inputs.
blk = ltiblock.ss('ssblock',5,2,2) % 5 states, 2 outputs, 2 inputs blk.InputName = {'Xerror','Yerror'} % assign input names
genss
 hinfstruct
 looptune
 ltiblock.pid
 ltiblock.pid2
 ltiblock.ss
 ltiblock.tf
 systune