The system of the present invention is a system for supplying air and controlling the flow of air into and out of the chambers of a patient supporting air mattress. It includes an electric motor powered variable speed blower, a two position rotary valve, air mattress supply lines communicating between the rotary valve and the chambers of the air mattress, a continuous exhaust line also connected to the rotary valve, stepper motor controlled valves in the air mattress supply lines, pressure sensors between the stepper motor controlled valves and the chambers of the air mattress and a control unit for controlling the stepper motor controlled valves to control the amount by which the chambers of the air mattress are inflated.