Patent attributes
A drive controller for a motor of a compressor includes a drive circuit that applies voltages to windings of the motor. A speed control module controls the drive circuit to rotate the motor at a requested speed. A speed determination module generates the requested speed based on a speed demand from a system controller. A lost rotor control module identifies a lost rotor condition and, in response to identifying the lost rotor condition, instructs the speed determination module to set the requested speed to an override speed that is lower than the speed demand. The lost rotor control module identifies the lost rotor condition in response to a comparison of a speed error with an adaptive threshold. The speed error is based on a difference between requested and estimated speeds of the motor. During first and second system states, the adaptive threshold is set to first and second thresholds, respectively.