主要内容

cktssmodel

Small signal control model of linear circuit

Since R2026a

Description

[sys,abcd] = cktssmodel(circuit,Name=Value) creates a small signal control model for a linear circuit from either a Simscape™ electrical diagram or subsystem or a circuit configuration object.

Note

Use need license for Control System Toolbox™ to use this function.

Input Arguments

collapse all

Simscape electrical diagram or subsystem or a circuit configuration object used to create the small signal linear circuit control model, specified either as a schematic or as an object. For more information, see cktconfig.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: [sys,abcd] = cktssmodel(circuit,BlockName='Power Train') creates a small signal linear circuit control model of the block Power Train.

Name on the icon if the function builds a Simulink block, specified as a string.

Name of the block instance in the Simulink model, specified as a string.

Designators of circuit elements used to tune the circuit response, specified as a cell array or string vector. The function uses the values of these variables to tune the response of the circuit, for example when tuning a control loop.

Device noise sources in the circuit, specified as an n×6 cell array. The function uses resistors to model the device noise sources. The cell array contains the following information:

ColumnDescription
NameThe circuit element designator.
EnabledOption to indicate if the noise source is active, specified as true or false. Set the value to true to indicate that the noise source is active.
Noise coefficientThe RMS amplitude of the noise source. If empty, the function uses Johnson/Nyquist noise value based on the value of the resistor.
Corner frequencyThe frequency below which the flicker noise has a higher amplitude than the white Gaussian noise. This value may equal zero to indicate an absence of flicker noise.
Independent noiseOption to indicate if the device noise is correlated with other noise sources, specified as true or false. Set the value to true to indicate the device noise is independent off other noise sources.
SeedAn integer used to select the sequence of random samples. A value of 0 indicates an independent noise source. For multiple device noise outputs, set the value to the same non-zero integer value for all noise sources that share the same source.

Output Arguments

collapse all

State-space or generalized state-space object representing the linear circuit, returned as an object.

If the DesignVariables argument is empty, sys is a Control System Toolbox state-space model. Otherwise, sys is a Control System Toolbox generalized state-space model

ABCD matrices, returned as a structure. The structure contains the values for A, B, C, D, e11, f22, variablearray, and indexarray.

Version History

Introduced in R2026a

See Also

| | | | (Control System Toolbox) | (Control System Toolbox)