WOLFRAM SYSTEM MODELER
DCPM_CurrentControlledTest example: DC with permanent magnet starting with current controller |
SystemModel["Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Test example: Permanent magnet DC machine started with current controllerTLoad |
Value: ViNominal * dcpmData.IaNominal / dcpmData.wNominal Type: Torque (N⋅m) Description: Nominal load torque |
---|---|
wLoad |
Value: dcpmData.wNominal Type: AngularVelocity (rad/s) Description: Nominal load torque |
JLoad |
Value: dcpmData.Jr Type: Inertia (kg⋅m²) Description: Load's moment of inertia |
Ra |
Value: Modelica.Electrical.Machines.Thermal.convertResistance(dcpmData.Ra, dcpmData.TaRef, dcpmData.alpha20a, dcpmData.TaNominal) Type: Resistance (Ω) Description: Warm armature resistance |
ViNominal |
Value: dcpmData.VaNominal - Ra * dcpmData.IaNominal Type: Voltage (V) Description: Nominal induced voltage |
Ta |
Value: dcpmData.La / Ra Type: Time (s) Description: Armature time constant |
Ts |
Value: 1e-3 Type: Time (s) Description: Dead time of inverter |
k |
Value: Ra * Ta / (2 * Ts) Type: Resistance (Ω) Description: Current controller proportional gain |
Ti |
Value: Ta Type: Time (s) Description: Current controller integral time constant |
kPhi |
Value: ViNominal / dcpmData.wNominal Type: MagneticFlux (Wb) Description: Voltage constant |
dcpmData |
Value: Type: DcPermanentMagnetData Description: DC machine data |
dcpm |
Type: DC_PermanentMagnet Description: Permanent magnet DC machine |
|
---|---|---|
step |
Type: Step Description: Generate step signal of type Real |
|
signalVoltage |
Type: SignalVoltage Description: Generic voltage source using the input signal as source voltage |
|
ground |
Type: Ground Description: Ground node |
|
loadInertia |
Type: Inertia Description: 1D-rotational component with inertia |
|
loadTorque |
Type: QuadraticSpeedDependentTorque Description: Quadratic dependency of torque versus speed |
|
dcpmData |
Type: DcPermanentMagnetData Description: DC machine data |
|
currentSensor |
Type: CurrentSensor Description: Sensor to measure the current in a branch |
|
speedSensor |
Type: SpeedSensor Description: Ideal sensor to measure the absolute flange angular velocity |
|
firstOrder |
Type: FirstOrder Description: First order transfer function block (= 1 pole) |
|
PID |
Type: LimPID Description: P, PI, PD, and PID controller with limited output, anti-windup compensation, setpoint weighting and optional feed-forward |