Objective: Pulmonary function parameters play a pivotal role in the assessment of respiratory diseases. However, the accuracy of the existing methods for the prediction of pulmonary function parameters is low. This study proposes a combination algorithm to improve the accuracy of pulmonary function parameter prediction. Methods: We first established a system to collect volumetric capnography and then processed the data with a combination algorithm to predict pulmonary function parameters. The algorithm consists of three main parts: a medical feature regression structure consisting of support vector machines (SVM) and extreme gradient boosting (XGBoost) algorithms, a sequence feature regression structure consisting of one-dimensional convolutional neural network (1D-CNN), and an error correction structure using improved K-nearest neighbor (KNN) algorithm. Results: The root mean square error (RMSE) of the pulmonary function parameters predicted by the combination algorithm was less than 0.39L and the R2 was found to be greater than 0.85 through a ten-fold cross-validation experiment. Conclusion: Compared with the existing methods for predicting pulmonary function parameters, the present algorithm can achieve a higher accuracy rate. At the same time, this algorithm uses specific processing structures for different features, and the interpretability of the algorithm is ensured while mining the feature depth information.
The pneumotachograph (PNT), a commonly used flowmeter in pulmonary function diagnostic equipment, is the required frequency calibration to maintain high accuracy. Aiming to simplify calibration steps, we developed a fast calibration system with a commercially available 3L syringe to provide a real output flow waveform. The acquisition of the real output flow waveform is based on the reliable measurement of in-cylinder pressure and the real-time detection of plunger speed. To improve the calibration accuracy, the tapping position for measuring in-cylinder pressure was optimized by CFD dynamic-mesh updating technique. The plunger speed was obtained by tracking the handle of the plunger with a smart terminal. Then, the real output flow was corrected using a compensation model equation. The calibration system was verified by the pulmonary waveform generator that the accuracy satisfied the requirements for respiratory flow measurement according to ATS standardization. The experimental results suggest that the developed method promises the fast calibration of PNT.