摘要:COVID-19 was first identified in December 2019 in Wuhan, China. It mainly affects the respiratory system and can lead to the death of the patient. The motivation for this study was the current pandemic situation and general deficiency of emergency mechanical ventilators. The paper presents the development of a mechanical ventilator and its control algorithm. The main feature of the developed mechanical ventilator is AmbuBag compressed by a pneumatic actuator. The control algorithm is based on an adaptive neuro-fuzzy inference system (ANFIS), which integrates both neural networks and fuzzy logic principles. Mechanical design and hardware design are presented in the paper. Subsequently, there is a description of the process of data collecting and training of the fuzzy controller. The paper also presents a simulation model for verification of the designed control approach. The experimental results provide the verification of the designed control system. The novelty of the paper is, on the one hand, an implementation of the ANFIS controller for AmbuBag pressure control, with a description of training process. On other hand, the paper presents a novel design of a mechanical ventilator, with a detailed description of the hardware and control system. The last contribution of the paper lies in the mathematical and experimental description of AmbuBag for ventilation purposes.