modelDCMotor_DCPM

DC motor using DC machine from MSL

Extends from DroneLibrary.Mechanical.Motor.Templates.DCMotor_Power (DC motor using DC machine from MSL).

Parameters

TypeNameDefaultDescription
Realk (from DCMotor_Power)-1Propeller gain. Set to 1 for clockwise, -1 for counterclockwise
Modelica.Units.SI.VoltageVaNominal (from DCMotor_Power)5Nominal armature voltage for motor
Modelica.Units.SI.CurrentIaNominal (from DCMotor_Power)0.1Nominal armature current (>0..Motor, <0..Generator) for motor
Modelica.Units.SI.VoltageV (from DCMotor_Power)Battery voltage
Modelica.Units.SI.ResistanceR (from DCMotor_Power)100Resistance at temperature T_ref

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from DCMotor_Power)pin to be measured
Modelica.Blocks.Interfaces.RealInputposition (from DCMotor_Power)Connector of Real input signal
Modelica.Mechanics.MultiBody.Interfaces.Frame_btorque_1 (from DCMotor_Power)Coordinate system b fixed to the component with one cut-force and cut-torque
Modelica.Mechanics.MultiBody.Interfaces.Frame_atorque_2 (from DCMotor_Power)Coordinate system a fixed to the component with one cut-force and cut-torque
Modelica.Mechanics.MultiBody.Interfaces.Frame_aforce_out (from DCMotor_Power)

Components

TypeNameDefaultDescription
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Electrical.Machines.BasicMachines.DCMachines.DC_PermanentMagnetdcpm
Modelica.Electrical.Analog.Basic.Groundground
Electrical.Sources.PowerControlpowerControl
Modelica.Mechanics.Rotational.Sensors.MultiSensormultiSensor
Modelica.Mechanics.MultiBody.Forces.WorldForceforce
Blocks.Routing.RealExtendrealExtend1
Modelica.Blocks.Math.Gaingain1
Blocks.Routing.RealExtendrealExtend
Modelica.Mechanics.MultiBody.Forces.Torquetorque
Modelica.Mechanics.Rotational.Components.Fixedfixed
Modelica.Blocks.Sources.RealExpressionthrust
Modelica.Blocks.Sources.RealExpressionomega