ORIGINAL RESEARCH article

Front. Bioeng. Biotechnol.

Sec. Biosensors and Biomolecular Electronics

Volume 13 - 2025 | doi: 10.3389/fbioe.2025.1583416

High-Accuracy Lung Sound Classification for Healthy versus Unhealthy Diagnosis Using Artificial Neural Network High-Accuracy Lung Sound Classification for Pulmonary Disease Diagnosis Using Artificial Neural Network

Provisionally accepted
Weiwei  ZhangWeiwei Zhang1Xinyu  LiXinyu Li2Qiao  LiuQiao Liu3Xiangyang  ZhengXiangyang Zheng4Yisu  GeYisu Ge5Xiaotian  PanXiaotian Pan6*Yu  ZhouYu Zhou1
  • 1Third Affiliated Hospital of Wenzhou Medical University, Wenzhou, Zhejiang Province, China
  • 2China Telecom Corporation Limited Zhejiang Branch, Hangzhou, China
  • 3Wenzhou Medical University, Wenzhou, Zhejiang Province, China
  • 4Wenzhou Institute of Technology, Wenzhou, Zhejiang Province, China
  • 5Wenzhou University, Wenzhou, China
  • 6Hangzhou Dianzi University, Hangzhou, China

The final, formatted version of the article will be published soon.

This study presents a comprehensive approach to classify lung sounds into healthy and unhealthy categories using a dataset collected from 112 subjects, comprising 35 healthy individuals and 77 patients with various pulmonary conditions, such as asthma, heart failure, pneumonia, bronchitis, pleural effusion, lung fibrosis, and chronic obstructive pulmonary disease (COPD), grouped as unhealthy. The dataset was obtained using a 3M Littmann® Electronic Stethoscope Model 3200, employing three types of filters (Bell, Diaphragm, and Extended) to capture sounds across different frequency ranges. We extracted five key audio features-Spectral Centroid, Power, Energy, Zero Crossing Rate, and Mel-Frequency Cepstral Coefficients (MFCCs)-from each recording to form a feature matrix. A Multi-Layer Perceptron (MLP) neural network was trained for binary classification, achieving accuracies of 98%, 100%, and 94% on the training, validation, and testing sets, respectively. This partitioning ensured the model's robustness and accuracy. The high classification accuracy achieved by the MLP neural network suggests that this approach is a valuable decision-support tool for identifying healthy versus unhealthy lung sounds in clinical settings, facilitating early intervention while maintaining computational efficiency for offline implementation. This study presents a comprehensive approach to classify lung sounds using a dataset collected from 112 subjects, comprising both healthy individuals and patients with various pulmonary conditions such as asthma, heart failure, pneumonia, bronchitis, pleural effusion, lung fibrosis, and chronic obstructive pulmonary disease (COPD). The dataset was obtained using a 3M Littmann® Electronic Stethoscope Model 3200, employing three types of filters (Bell, Diaphragm, and Extended) to capture sounds across different frequency ranges. We extracted five key audio features-Spectral Centroid, Power, Energy, Zero Crossing Rate, and Mel-Frequency Cepstral Coefficients (MFCCs)-from each recording to form a feature matrix. A Multi-Layer Perceptron (MLP) neural network was trained on the extracted features. The dataset was split into training, validation, and testing sets, achieving classification accuracies of 98%, 100%, and 94% respectively.

Keywords: machine learning, Pulmonary disease classification, lung sounds, Electronic stethoscope, Multi-layer perceptron, feature extraction

Received: 11 Mar 2025; Accepted: 17 Jun 2025.

Copyright: © 2025 Zhang, Li, Liu, Zheng, Ge, Pan and Zhou. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Xiaotian Pan, Hangzhou Dianzi University, Hangzhou, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.