DC motors are widely used in adjustable speed drives and position control applications. This document proposes a method to control the speed and direction control of a DC motor through the use of a four-quadrant DC-DC chopper. The speed below the base speed can be controlled by the armature voltage control method. The IGBTs are used for the chopper switching operation. The doors of these IGBTs have pulse width modulation that provides four quadrant operation. This pulse width modulation is generated by programming the digital signal processor using the Code Composer software. The previous model is simulated in MATLAB.