SystemsModelFeedbackConnect

SystemsModelFeedbackConnect[sys]
connects the outputs from sys to the inputs with negative feedback.

SystemsModelFeedbackConnect[sys, {con1, ...}]
only feedback connect the outputs and inputs in .

SystemsModelFeedbackConnect[sys1, sys2]
connects the outputs of to and the outputs of to the inputs of in feedback.

SystemsModelFeedbackConnect[sys1, sys2, {out1, ...}, {{in1, ftype1}, ...}]
connects output of to the i^(th) input of and the j^(th) output of to input of with feedback type .

DetailsDetails

  • The systems model can be a StateSpaceModel or a TransferFunctionModel.
  • Connections can be given as:
  • {out,in}connect output out to input in in negative feedback
    {out,in,ftype}use positive or negative feedback type ftype
  • By default, is a unity gain system.
  • The arguments in, out, , and are integers specifying the positions of the input or output channels.
  • The ftype can be specified as or for negative feedback, and or for positive feedback. The default type is .

ExamplesExamplesopen allclose all

Basic Examples (6)Basic Examples (6)

A transfer function with negative unity feedback:

In[3]:=
Click for copyable input
Out[3]=

Connect two continuous-time systems in negative feedback:

In[1]:=
Click for copyable input
Out[1]=

Connect two discrete-time systems in negative feedback:

In[1]:=
Click for copyable input
Out[1]=

A state-space system with negative feedback:

In[1]:=
Click for copyable input
Out[1]=

Connect two state-space systems:

In[1]:=
Click for copyable input
Out[1]=

Feedback the second output to the first input:

In[1]:=
Click for copyable input
Out[1]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »