blockSecondOrder

Second order transfer function block (= 2 poles)

Extends from Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks defines the transfer function between the input u and the output y as second order system:

                    k
y = --------------------------------- * u
     ( s / w )^2 + 2*D*( s / w ) + 1

If you would like to be able to change easily between different transfer functions (FirstOrder, SecondOrder, ... ) by changing parameters, use the general model class TransferFunction instead and model a second order SISO system with parameters
b = {k}, a = {1/w^2, 2*D/w, 1}.

Example:

   parameter: k =  0.3,  w = 0.5,  D = 0.4
   results in:
                  0.3
      y = ------------------- * u
          4.0 s^2 + 1.6 s + 1

Parameters

TypeNameDefaultDescription
Realk1Gain
RealwAngular frequency
RealDDamping
Initialization
InitinitTypeInit.NoInitType of initialization (1: no init, 2: steady state, 3/4: initial output)
Realy_start0Initial or guess value of output (= state)
Realyd_start0Initial or guess value of derivative of output (= state)

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal

Components

TypeNameDefaultDescription
RealydDerivative of y