The purpose of the study is to compare pressure controlled continuous mandatory ventilation versus pressure support ventilation during the night for weaning to mechanical ventilation in chronic obstructive pulmonary disease patients and their impact onto sleep quality.