A DC motor converts electrical energy into mechanical energy by using the interaction between a current-carrying conductor and a magnetic field. There are different types of DC motors including permanent magnet, shunt wound, series wound, and compound wound motors. The speed of a DC motor depends on the back emf generated, which is proportional to the flux and rotational speed. The torque depends on the current and flux. DC motors have characteristic curves showing the relationships between torque and current, speed and current, and speed and torque.