WOLFRAM SYSTEM MODELER
InvertedPendulumWithInputForcesAn inverted pendulum connected to a cart. A force f acts on the center of mass of the cart while a force d acts on the center of mass of the pendulum. d is normal to the radial direction of the pendulum. |
![]() |
SystemModel["DocumentationExamples.Control.InvertedPendulumWithInputForces"]
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.85 Type: Length (m) Description: Pendulum length |
---|---|
rPendulum |
Value: 0.005 Type: Radius (m) Description: Pendulum radius |
dPendulum |
Value: 0 Type: RotationalDampingConstant (N·m·s/rad) Description: Pendulum damper constant |
rhoPendulum |
Value: 7939.023 Type: Density (kg/m³) Description: Pendulum material density |
dSlider |
Value: 0 Type: TranslationalDampingConstant (N·s/m) Description: Pendulum slider constant |
rhoCart |
Value: 5600 Type: Density (kg/m³) Description: Cart material density |
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 |
![]() |
d |
Type: RealInput Description: Tangential force acting on the center of mass of the pendulum |
---|---|---|
![]() |
f |
Type: RealInput Description: Horizontal force acting on the center of mass of the cart |
![]() |
phi |
Type: RealOutput Description: Angle of the pendulum with respect to the vertical |
![]() |
x |
Type: RealOutput Description: Horizontal position of the cart |
![]() |
world |
Type: World |
---|---|---|
![]() |
cart |
Type: BodyBox |
![]() |
pendulumCylinder |
Type: BodyCylinder |
![]() |
pendulumJoint |
Type: Revolute |
![]() |
toMidCart |
Type: FixedTranslation |
![]() |
sliderConstraint |
Type: Prismatic |
![]() |
pendulumDamper |
Type: Damper |
![]() |
sliderDamper |
Type: Damper |
![]() |
angleSensor |
Type: AngleSensor |
![]() |
positionSensor |
Type: PositionSensor |
![]() |
center |
Type: FixedTranslation |
![]() |
force1 |
Type: Force |
![]() |
torque1 |
Type: Torque |
![]() |
gain1 |
Type: Gain |