This study evaluates the effects of VCV, PCV and PSV ventilatory modes during the immediate postoperative period on the variables resulting from regional and global pulmonary electrical impedance and diaphragmatic mobility, as well as perform ventilator synchrony analysis in PSV mode by mechanical ventilator. Half of the participants will receive VCV followed by PSV for weaning, while the other half will receive PCV followed by PSV for weaning.