Tfsiso
Model ElementTfsiso is an abstract modeling element that defines a linear, time invariant dynamic system in the Laplace domain.
Class Name
Tfsiso
Description
SISO stands for Single Input Single Output. Such a dynamic system is characterized by a transfer function.In practice, the transfer function is often characterized by experiments followed by curve fitting. Modeling applications of this element include actuators (electrical, hydraulic, and pneumatic), vibration isolators (bushings and shock absorbers), and controllers (PID).
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
numerator | Double (count=0) | Yes | FD Only |
denominator | Double (count=0) | Yes | FD Only |
x | Reference ("Array") | Yes | |
y | Reference ("Array") | Yes | |
u | Reference ("Array") | Yes | |
static_hold | Bool () | Yes | |
active | Bool () | Yes |
Usage
Tfsiso (x=objArray, u= objArray, y= objArray, numerator=list, denominator=list, optional_attributes)
Attributes
- x
- Reference to an Array object of type X.
- u
- Reference to an Array object of type U.
- y
- Reference to an Array object of type Y.
- numerator
- List of Doubles.
- denominator
- List of Doubles.
- id
- Integer
- label
- String
- static hold
- Boolean
Example
- Define a 3rd order, low pass Butterworth filter.
A low-pass filter is a transfer function that passes signals with a frequency lower than a certain cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency.
A Butterworth filter is a type of signal processing filter designed to have as flat a frequency response as possible when the input has a frequency less than the cut-off frequency (the pass band). The signal attenuates rapidly when the input frequency is larger than the cutoff frequency (the stop band).
# Define the X, U arrays
x1 = Array (type="X", size=3)
y1 = Array (type="Y", size=1)
# Define the input signal
v1 = Variable (function="0.5*3.123*VM(21,11)**2")
u1 = Array(type="U", size=1, variables=[v1])
# Now define the 3rd order Butterworth low-pass filter coefficients
num = [1]
den = [1, 2, 2, 1]
tf = Tfsiso (label="Butterworth order-3", x=x1, u=u1, y=y1, numerator=num, denominator=den)
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- For a more detailed explanation about Tfsiso, see Control: SISO. The examples above show how a DIFF element may be defined.