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 coni.

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

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

DetailsDetails

  • The systems model sysi can be a TransferFunctionModel, StateSpaceModel, AffineStateSpaceModel, or NonlinearStateSpaceModel.
  • Connections coni 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, sys2 is a unity gain system.
  • The arguments in, out, ini, and outi are integers specifying the positions of the input or output channels.
  • The ftype can be specified as "Negative" or -1 for negative feedback, and "Positive" or 1 for positive feedback. The default type is "Negative".

ExamplesExamplesopen allclose all

Basic Examples  (6)Basic Examples  (6)

A transfer function with negative unity feedback:

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

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]=
Introduced in 2010
(8.0)
| Updated in 2014
(10.0)
Translate this page: