modelDoublePendulum2

Crane trolley system
Diagram of DoublePendulum2

Extends from Modelica_LinearSystems2.Controller.Templates.Internal.PlantTemplate (MIMO plant template).

Information

Model of a simple double pendulum system using double pendulum multibody model.

The physical Model is used in Modelica_LinearSystems2.Examples.StateSpace.doublePendulumController where it is being linearized an used as a base for linear controller design. The results are used to control the crane system as shown in double pendulum example.

Parameters

TypeNameDefaultDescription
Integern (from PlantTemplate)1System order
Integerm (from PlantTemplate)1Number of inputs
BooleanadditionalMeasurableOutputs (from PlantTemplate)trueEnable additional output vector of dimension l
Integerl (from PlantTemplate)1Number of measurable outputs
RealpiModelica.Constants.pi
Modelica.Units.SI.Massm_trolley1000Mass of trolley
Modelica.Units.SI.Massm_load4000Mass of load on 2nd arm
Modelica.Units.SI.Lengthlength10Total length of double pendulum (i.e. length of each arm = length/2)
Modelica.Units.SI.Anglephi1_start-40.0/180*piInitial rotation angle of 1st arm relative to trolley
Modelica.Units.SI.Anglephi2_start-70.0/180*piInitial rotation angle of 2nd arm relative to 1st arm
Modelica.Units.SI.AngularVelocityw1_start0.0Initial angular velocity of 1st arm
Modelica.Units.SI.AngularVelocityw2_start0.0Initial angular velocity of 2nd arm

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutput[n]y (from PlantTemplate)
Modelica.Blocks.Interfaces.RealInput[m]u (from PlantTemplate)
Modelica.Blocks.Interfaces.RealOutput[l]ym (from PlantTemplate)

Components

TypeNameDefaultDescription
Modelica_LinearSystems2.Utilities.Plants.DoublePendulumdoublePendulum
Modelica.Blocks.Routing.Multiplex6multiplex6_1