Project - Speed Control of a Direct Current (DC) motor


design parameter to model dc motor
J=0.01; %moment of inertia of the rotor in kg-m^2
B=0.1; % motor viscous friction constant in N-m-s
km=0.01; % back emf constant in v/rad/s
kt=0.01; % motor torque constant in N-m/amp
Ra=1.0; %resistance of armature circuit in ohms
La=0.5;% inductance of armature circuit
the supply voltage is 240v
we can see the speed is rising and reaches steady state;

the speed is approximately 24 rpm
speed is