| Human health has always been threatened by respiratory diseases.Sleep apnea syndrome(SAS)not only interferes with sleep,but even threatens life and health in severe cases.PSG is mainly used to diagnose SAS at home and abroad.This device is expensive,complicated to operate,and affects user comfort.Therefore,this paper builds a portable sleep apnea auxiliary diagnosis system,which can screen SAS in the early stage,greatly improves the comfort,and has strong practicability.main tasks as follows:(1)This paper presents a portable,small and low-cost hardware signal acquisition system.Integrate the heart rate blood oxygen sensor on the FPC and put it into the 3D printed finger ring,which greatly improves the comfort of detection when the blood oxygen and PPG data are successfully collected.At the same time,a supporting client is developed,which is connected to Bluetooth,which not only realizes the visualization of data waveforms and detection results,but also makes human-computer interaction more convenient.(2)Based on the blood oxygen and PPG data collected by the signal acquisition system,this paper proposes the corresponding SAS detection algorithm.According to the blood oxygen signal,use the desaturation to judge the respiratory condition and the use of the instrument,judge and eliminate other non-pathological factors,and further improve the accuracy of detection.For PPG signal,use filtering and segmentation for pre-processing to remove interference and noise;propose a data feature extraction scheme based on the combination of multi-scale entropy and PRV feature parameters;compare multiple machine learning algorithms and choose random forest as the algorithm classification model.Finally,the PPG data set in the MIT-BIH Ploysomnographic database is used to conduct experiments,combined with four types of evaluation indicators to comprehensively demonstrate that the algorithm has strong detection capabilities.Finally,a detection algorithm based on the two signals is used to comprehensively judge the user’s breathing,and the SAS severity is distinguished according to the AHI index,and the detection results are displayed in the client.(3)The portable sleep apnea auxiliary diagnosis system proposed in this paper is fully tested.First,test the actual power consumption to demonstrate that the diagnostic system proposed in this article consumes less energy.Perform a functional test on hardware data acquisition,The PPG waveform is basically the same as the waveform measured by PSG,and the relative error of blood oxygen saturation is within a reasonable range,which can meet the requirements of sleep monitoring.the apnea events determined by the algorithm of this system were compared with PSG,the results are basically the same,demonstrating the good performance of the algorithm;finally,comparing the SAS judgment result of the system and the doctor’s judgment result,which can prove the system has a high accuracy rate for SAS diagnosis. |