WOLFRAM SYSTEM MODELER
ReferenceInputController based on LQ (Linear Quadratic) design for e.g. an inverted pendulum. |
SystemModel["DocumentationExamples.Modeling.InvertedPendulum.Components.ReferenceInput"]
This library contains models used in the documentation of system modeling functionality in Wolfram Language. These examples and this library can be explored in the Wolfram Language documentation.
lPendulum |
Value: 0.61 Type: Length (m) Description: Pendulum length |
---|---|
rPendulum |
Value: 0.005 Type: Radius (m) Description: Pendulum radius |
lCart |
Value: 0.1 Type: Length (m) Description: Cart length |
hCart |
Value: 0.1 Type: Height (m) Description: Cart height |
wCart |
Value: 0.1 Type: Length (m) Description: Cart width |
table |
Value: [0, 0; 0.5, 1; 2, 1; 2.5, -0.75; 3, -1; 3.5, 0.5; 4, 1; 4.5, 1] Type: Real[:,2] Description: Table matrix (time = first column). Only if inputType=3 |
referenceType |
Value: Reference.step Type: Reference Description: Type of reference signal: step, pulse, timeTable |
k1 |
Value: referenceType == Reference.step Type: Boolean Description: Step signal |
k2 |
Value: referenceType == Reference.pulse Type: Boolean Description: Pulse signal |
k3 |
Value: referenceType == Reference.timeTable Type: Boolean Description: Time table |
realOutput |
Type: RealOutput Description: Reference signal |
---|
world |
Type: World Description: World coordinate system + gravity field + default animation definition |
|
---|---|---|
step |
Type: Constant Description: Generate constant signal of type Real |
|
pulse |
Type: Pulse Description: Generate pulse signal of type Real |
|
ConstantQ1 |
Type: BooleanConstant Description: Generate constant signal of type Boolean |
|
ConstantQ2 |
Type: BooleanConstant Description: Generate constant signal of type Boolean |
|
timeTable |
Type: TimeTable Description: Generate a (possibly discontinuous) signal by linear interpolation in a table |
|
switch1 |
Type: Switch Description: Switch between two Real signals |
|
switch2 |
Type: Switch Description: Switch between two Real signals |
|
position |
Type: Position Description: Forced movement of a flange according to a reference position |
|
prismatic |
Type: Prismatic Description: Prismatic joint (1 translational degree-of-freedom, 2 potential states, optional axis flange) |
|
ground |
Type: Rectangle Description: Visualizing a planar rectangular surface |
|
cart |
Type: BodyBox Description: Rigid body with box shape. Mass and animation properties are computed from box data and density (12 potential states) |
|
pendulumCylinder |
Type: BodyCylinder Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states) |
|
toMidCart |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
|
center |
Type: FixedTranslation Description: Fixed translation of frame_b with respect to frame_a |
DocumentationExamples.Modeling.InvertedPendulum A controlled inverted pendulum system. |