Systems and methods are provided to improve respiratory function. Systems
include an external electrical stimulator coupled to electrodes that
stimulates diaphragm contraction and may optionally include a positive
pressure mechanical ventilator. The system further includes an electrode
suitable for temporary implantation. Electrical stimulation is provided
to specific portions of the diaphragm, such as one hemidiaphragm
preferentially over another. By preferentially contracting one
hemidiaphragm, a specific portion of a lung may be expanded, such as a
posterior portion. By the provision of the negative intrathoracic
pressure from diaphragm contraction, greater expansion of specific
portion of lung is achieved in relationship to air pressure within the
lung, thereby improving compliance. Supplementation of stimulated
diaphragm contraction with positive pressure driven air flow from a PPMV
directs the air flow to specific portions of the lung. Such portion may
include a posterior portion of a lung, and may cause a clearing of
atelectasis in that portion.