modelController

Cascade of controllers to control the axes
Diagram of Controller

Extends from StewartPlatform.Icons.Controller (Icon for 'Controller' model).

Parameters

TypeNameDefaultDescription
BooleanuseGlobalParameterstrue=true, if you want to use the base parameters defined in the 'gp' (GlobalParameters) object
StewartPlatform.Types.DiscParametersbaseParameters of the base
StewartPlatform.Types.DiscParametersplatformParameters of the platform
StewartPlatform.Types.Units.PitchspindlePitchgp.electricCylinderParameters[1].spindlePitchSpindle pitch of the electric cylinder for rotation-dispacement conversion
Realratiogp.electricCylinderParameters[1].ratioTransmission ratio (servomotor.phi/spindle.phi)
SI.TorqueinitOutputs0.01107Initial value of the torque commands (Controller outputs)
PID parameters
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PIDType of controllers
RealPgp.servoMotorParameters[1].Tmax/500Proportional action
SI.TimeTi0.5Time constant of Integrator blocks
SI.TimeTd0.01Time constant of Derivative blocks
SI.TimepreFilterTimeConstant0.1Time constant of the prefilter applied to legth ref.
SI.TimepostFilterTimeConstant0.001Time constant of the postfilter (additional pole)
SI.TorquemaxOutputgp.servoMotorParameters[1].TmaxThe controllers output are limited within [-maxOutput,maxOutput]
Inverse kinematic - Limits
BooleanlimitOutputstrue=true, if you want to limit the outputs within [minLength,maxLength]
BooleanstopWhenSaturatedtrueWhen a saturation is detected all output signals maintein their current values until all output signals return within the limits
SI.LengthmaxLengthgp.maxLengthMax leg length
SI.LengthminLengthgp.minLengthMin leg length
Inverse kinematic - Additional parameters (no effects on the simulation)
SI.TimeT_velocity0.01Time constants for velocity derivative (T>0 required; T=0 is ideal derivative block)
SI.TimeT_acc0.1Time constants for acceleration derivative (T>0 required; T=0 is ideal derivative block)

Connectors

TypeNameDefaultDescription
Interfaces.PoseinputPoseDesired pose for the platform resolved in base frame
Interfaces.ControlBuscontrolBus

Components

TypeNameDefaultDescription
StewartPlatform.Components.GlobalParametersgp
ReferenceSignals.InverseKinematicinverseKinematic
Modelica.Blocks.Continuous.LimPID[6]PID
Modelica.Blocks.Math.Gain[6]gain
Modelica.Blocks.Continuous.FirstOrder[6]preFilter
Modelica.Blocks.Continuous.FirstOrder[6]postFilter