A fault tolerant control scheme based on sensor switching and dwell time