Patient were randomized to be ventilated with full closed-loop control or conventional ventilation 30 minutes before the first nursing period after inclusion. The ventilator was switched in the other mode (conventional or full closed-loop respectively), 30 minutes before the following nursing period. Between this two consecutive nursing periods, ventilation mode is choosed by the attending physician.