a system and method for a compressor includes a compressor connected to a condenser , a discharge line temperature sensor that outputs a discharge line temperature signal corresponding to a discharge line temperature of refrigerant leaving the compressor , and a control module connected to the discharge line temperature sensor . the control module determines a saturated condenser temperature , calculates a discharge superheat temperature based on the saturated condenser temperature and the discharge line temperature , and monitors a flood back condition of the compressor by comparing the discharge superheat temperature with a predetermined threshold . the control module increases a speed of the compressor when the discharge superheat temperature is less than or equal to the predetermined threshold .