Monitoring the blood pump and the oxygen gas flow meter are important maneuvers at the initiation of cardiopulmonary bypass (CPB). We present a novel system, designed to improve safety in the heart-lung machine by linking the control of blood flow and the oxygen gas flow meter. This system uses a mass flow controller to provide and control oxygen flow based on the ventilation-perfusion (V/Q) ratio, using the electronic signal of the blood flow. We tested the system, in vitro and in vivo, and examined the resulting level of blood oxygenation. When extracorporeal circulation was initiated, the oxygen flow was instantly linked to the circulating blood flow, providing an adequate V/Q ratio; the partial pressure of oxygen in the blood was maintained at a normal level. Although we have yet to confirm the safety of this system in clinical trials, the new safety assist device can automatically supply oxygen to the oxygenator at the beginning of CPB.