Braking Torque Calculation For Motor