DC motor

electrical.dc_motor

Permanent magnet DC motor: armature resistance R and inductance L, back EMF and torque constant k, rotor inertia J and viscous friction b, driving the flange.

Ports

NameDomain
pelectrical
nelectrical
flangerotational

Parameters

NameUnitDefaultRangeDescription
ROhm10 to ∞Armature resistance
LH0.50 to ∞Armature inductance
kN.m/A0.010 to ∞Torque constant, equal to the back EMF constant in V.s/rad
Jkg.m20.010 to ∞Rotor inertia
bN.m.s/rad0.10 to ∞Viscous friction

Variables

NameUnit
vV
iA
phirad
wrad/s

Equations

v = p.v - n.v
0 = p.i + n.i
i = p.i
phi = flange.phi
w = der(phi)
v = R * i + L * der(i) + k * w
J * der(w) = k * i - b * w + flange.tau