A motorized surgical instrument is disclosed. The surgical instrument includes a control circuit configured to control the movement of an end effector. If the end effector moves outside a predetermined acceptable range, the control circuit may create a dynamic brake to resist the undesired movement of the end effector. The control circuit may apply pulse width modulated (PWM) current to resist the undesired movement of the end effector outside a predetermined acceptable range.