Abstract:
Aiming at the low efficiency and low quality detection level of the manual infusion set, a gas detection system for infusion set based on STM32 single-chip microcomputer was designed. The detection system includes hardware system design and software system design. The hardware system is based on the STM32F103 single-chip microcomputer. It mainly designs the gas pressure sensor acquisition circuit and the multi-way solenoid valve control circuit. The software system uses a C ++ real-time operating system to ensure system monitoring's real-time performance and validity. Test data is transmitted to the upper computer and displayed via USB serial communication. The experiment proves that the infusion set gas detection system can perform gas detection on the infusion set. The system has the characteristics of stability and high accuracy. The relative error of the experimental measurement is within ±5%, and the detection efficiency is better than manual detection.