Design and Implementation of a Peristaltic Pump Based on an Air Bubble Sensor

Abstract
Peristaltic pumps (PPs) are used to pump clean/sterile or exceptionally responsive liquids without tainting them. They are used in haemodialysis and heart-lung machines to circulate blood as a sidestep during medical procedures. The purpose of this research is to design and construct a PP which consists of a three-roller pump, a bubble sensor, a motor drive, a stepper motor, a microcontroller, and a safety unit. The safety unit functions by using the air bubble sensor, which stops the motor in case of bubble insertion. The performance is experimentally tested in terms of average sensitivity, specificity, and accuracy, which are 99%, 99.55%, and 99.33%, respectively. The evaluation is based on the classification models of true positive (TP), false positive (FP), true negative (TN), and false negative (FN). The overall accuracy is about 98.9%, which indicates the high efficiency of the constructed mechanism.