A method and device for controlling positive pressure assist to a patient during expiration, measure a level of electrical activity of a patients respiration-related muscle during expiration. In response to the measured level of electrical activity, a level of positive pressure assist to the patient during expiration is adjusted in view of minimizing the level of electrical activity of the patients respiration-related muscle during expiration.