Ventilator designs, pivotal in providing respiratory support to patients, often grapple with performance optimization challenges due to variable patient conditions and intricate mechanical components. This research strives to identify the optimal control strategy that can assure maximal patient safety and efficient ventilator operation. We compared three control strategies: the conventional Proportional-Integral-Derivative (PID) control, the Nonlinear PID control, and the sliding mode control (SMC) equipped with signum function triggers. Our studies underscored the preeminence of SMC in controlling airway pressure, exhibiting a rapid and disturbance-free response. However, while SMC ensured smooth patient airflow in flow rate control, it exhibited a slightly delayed response. The research thus posits SMC as a promising contender, particularly in light of the sophisticated design requirements of contemporary ventilators. Through this investigation, we aim to offer a robust control solution capable of enhancing current ventilator operations to ensure superior patient safety and efficiency.