Inclusion Criteria:  Prepared for extubation through spontaneous breathing trial;Oral or nasal endotracheal intubation; be at least 18 years old  Exclusion Criteria:  Extubation without a spontaneous breathing trial ;Reintubation due to secondary surgery; Tracheotomy