A ventilator (100) configured to control a pressure and gas mixture for an air flow. The ventilator include: a gas source (220); a proportional valve (210) configured to control a gas flow rate from the gas source; a mix controller (170) in communication with the proportional valve, the mix controller configured to monitor a flow of gas through the blower, and further configured to control a percentage of oxygen in the output flow; a blower motor (160); and a blower motor controller (162) configured to control a speed of the blower motor using a current feedback loop, a blower speed feedback loop, a flow feedback loop, and a pressure feedback loop. The ventilator can also include, for example, a pseudo-derivative feedback compensator, a complimentary filter, and/or a speed controller.