Borborygmus recognition method in clinical application scene

By using the deep neural network model based on GooLeNet to process the intestinal rumbling data in clinical application scenarios, the problems of weak intestinal rumbling signals and strong background noise are solved, and the accurate identification and monitoring of intestinal rumbling sounds are achieved, which improves the The clinical value of intestinal rumbling sound.

CN118965198APending Publication Date: 2024-11-15THE PEOPLES HOSPITAL SHAANXI PROV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410982928.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In clinical application scenarios, the intestinal rumbling signal is weak, the background noise is strong, the individual differences are large and the randomness is strong, making it difficult for existing intestinal rumbling detection methods to accurately identify effective signals, reducing the clinical value of intestinal rumbling.

Method used

Using a deep neural network model based on GooLeNet structure, the intestinal rumbling data is reduced, sliced, and converted into two-dimensional Mel spectral data, and transfer learning and hyperparameter adjustment are carried out to achieve intestinal rumbling events in fragments with a length of 1s. Accurate recognition of sound types.

Benefits of technology

It improves the accuracy of intestinal rumbling recognition, effectively eliminates noise interference, can quickly identify intestinal rumbling sounds and calculates intestinal rate, supports non-invasive monitoring and timely diagnosis, and improves the accuracy of clinical evaluation and surgical screening of gastrointestinal diseases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965198A_ABST
    Figure CN118965198A_ABST
Patent Text Reader

Abstract

The invention provides a borborygmus recognition method in a clinical application scene. Comprising the following steps: S1, collecting borborygmus data; s2, carrying out noise reduction and slicing on the collected data, and converting sound signal data into two-dimensional Mel spectrogram data; s3, dividing the two-dimensional Mel spectrogram data into data sets; s4, screening a part of data sets for training and verifying a deep network recognition model; s5, testing the other part of the data set; s6, performing listening annotation on the data in the step S4; s7, carrying out transfer learning on the labeled data set through a GooLeNet pre-training convolutional neural network, and carrying out continuous adjustment of hyper-parameter combination with the data set obtained in the step S5 to obtain an optimized network model parameter; and S8, storing the optimized network model parameters, processing subsequently obtained borborygmus signal data according to the step S2, and directly outputting a signal classification result through the trained model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of active noise control methods, and in particular to a bowel sound recognition method in clinical application scenarios. Background Art

[0002] Bowel sounds are the sounds produced when the intestine contracts during digestion to push liquid and gas through different parts of the intestine. Bowel sounds have the characteristics of weak signals, strong background noise, large individual differences, and strong randomness, and cannot be monitored in real time.

[0003] The main task of bowel sound classification and recognition is to solve the problem of how to effectively identify valid signals when the bowel sound signal is weak, the background noise is strong, the individual differences are large, and the randomness is strong. When the collected signal is interfered by various noises in clinical application scenarios, the output end needs to accurately identify the valid signal.

[0004] It is difficult for clinicians to use long-term and effective bowel sound monitoring to conduct disease assessment and diagnosis, which greatly reduces the clinical value of bowel sounds. Most existing bowel sound detection methods rely heavily on manually extracted signal features, but due to the complexity of bowel sounds and other types of noise, the features extracted manually are often difficult to distinguish between effective signals and noise signals. In addition, most existing bowel sound detection algorithms are usually evaluated on a small number of selected abdominal recording data sets, and their generalization often does not meet practical requirements.

[0005] Therefore, it is necessary to provide a bowel sound recognition method in clinical application scenarios to solve the above technical problems. Summary of the invention

[0006] In order to solve the above technical problems, the present invention aims to provide a bowel sound classification and recognition method based on deep neural networks in clinical application scenarios, and train a novel bowel sound recognition neural network model based on the GooLeNet structure on the collected bowel sound data to achieve accurate recognition of the sound type of bowel sound events with a length of 1s.

[0007] The present invention provides a method for recognizing bowel sounds in a clinical application scenario, comprising the following steps:

[0008] S1, collecting bowel sound data;

[0009] S2, denoising and slicing the collected data and converting the acoustic signal data into two-dimensional Mel spectrum data;

[0010] S3, dividing the two-dimensional Mel spectrum data into data sets;

[0011] S4, select a part of the data set for training and verifying the deep network recognition model;

[0012] S5, testing on another part of the data set;

[0013] S6, performing audio annotation on the data completed in step S4;

[0014] S7, for the labeled data set, transfer learning is performed through the GooLeNet pre-trained convolutional neural network, and the hyperparameter combination is continuously adjusted with the data set obtained in step S5 to obtain the optimized network model parameters;

[0015] S8, saving the optimized network model parameters, and processing the subsequently obtained bowel sound signal data according to step S2, and then directly outputting the classification results of the signal through the trained model.

[0016] Preferably, in step S2, the collected data is denoised and the denoising process is sorted out. In the denoising system, let x(i) be a sampled version of the noise-contaminated signal x(t), and s(i) and n(i) be sampled versions of the "clean" signal s(t) and the additive random noise n(t) that is uncorrelated with the signal:

[0017] x(i)=s(i)+n(i), (1)

[0018] Window the signal into consecutive frames that overlap in time; according to the Heisenberg principle, the time-frequency resolution product has a limit:

[0019]

[0020] Where Δt is the time resolution and Δf is the frequency resolution, which depends on the STFT windowing operation, which is determined by the sampling frequency fs, the windowing function and the window length N;

[0021] Wavelet functions are a family of functions generated from a "mother" function by scaling and dilation; the sum of the inner products of the signal and the wavelet function, the so-called wavelet coefficients, produces a continuous wavelet transform; if L2(R) represents the vector space of measurable, square-integrable one-dimensional functions and x(t) one-dimensional functions such as x∈L2(R), then the following equation is valid in Hilbert space:

[0022]

[0023] where u and τ are the scale and stretch parameters, ψ(t) is the mother wavelet, and ψ μ,τ (t) is the family of wavelet functions, * denotes complex conjugation; a similar expression is used for the inverse continuous wavelet transform;

[0024] The final DWT wavelet function has the following form:

[0025] ψ j,k (t) = 2j / 2 ·ψ(2 j tk),j,k∈Z, (5)

[0026] There are two basic strategies for applying threshold-based denoising: soft thresholding and hard thresholding; both are described in the following equations:

[0027]

[0028] where t is the threshold to be compared, meaning that coefficients with magnitudes less than the threshold are considered to be noise components, x(i) is the input signal, and x hard-th (i), x soft-th (i) are the outputs of the hard threshold and soft threshold filters, respectively.

[0029] Preferably, in step S2, the slicing part is to cut the collected bowel sound signal segments of different lengths into segments of 1 s in length according to the time series; the reason for selecting 1 s as the segment length is that the length of the shortest valid signal of the bowel sound signal is generally 30 ms, and the length of 1 s can retain the valid signal segments as much as possible while improving the time resolution as much as possible.

[0030] Preferably, in step S2, converting the acoustic signal data into two-dimensional Mel spectrogram data is to process the acoustic signal data by short-time Fourier transform, and obtain two-dimensional Mel spectrogram data when converted to Mel scale; short-time Fourier transform is an effective time-frequency analysis and processing method for processing non-stationary signals; short-time Fourier transform is defined as:

[0031]

[0032] Where x(m) is the input signal, ω(nm) is the window function, which is reversed in time and has an offset of n samples; X(n,ω) is a two-dimensional function of time n and frequency ω, which links the time domain and frequency domain of the signal, and can be used to perform time-frequency analysis on the signal, such as S(n,ω) = |X(n,ω) 2 |This will give you the spectrum diagram;

[0033] Then, the spectrum is transformed according to the Mel scale transformation formula to obtain the Mel spectrum of the signal:

[0034]

[0035] At this point, the signal preprocessing part is completed. The input is the original collected bowel sound signal data, and the output is the Mel spectrogram of the 1s sound sample segment after filtering and noise reduction.

[0036] Preferably, in step S6, collecting and labeling abdominal auscultation recording data includes: screening out audio segments containing valid target signals and other noise interference signals from the audio segments and forming data sets respectively, the valid signals include bowel sounds and silent periods, and the other noise interference signals include snoring, voice sounds, and friction sounds.

[0037] Compared with the related art, the bowel sound recognition method provided by the present invention has more accurate recognition results in a clinical application scenario, can effectively eliminate the interference of noise signals and identify effective target signals; and can quickly identify bowel sounds through signals collected from the abdomen, and calculate the patient's bowel rate (the number of times the patient's bowel sounds appear per minute), which is an important indicator for doctors to judge the patient's gastrointestinal function. Through the patch, the patient's abdomen is continuously collected, and the patient's bowel sounds can be continuously non-invasively monitored. Its medical applications mainly include: monitoring the surgical indicators of patients with gastrointestinal diseases at any time, and timely screening patients who need surgery. Compared with CT, gastroscopy and other examinations, on the one hand, it is non-invasive monitoring, on the other hand, the patient's stomach is always moving, the situation is changing, CT, gastroscopy examinations do not have time continuity, and there are problems such as inaccurate results, while the sound signal can be continuously collected, does not affect the patient's daily activities, and can timely warn in scenarios such as sudden deterioration of the patient's gastrointestinal condition; on the other hand, the gastrointestinal function of the postoperative patient can be monitored, and its recovery can be judged, so that the patient can replenish energy in time and recover faster, thereby improving the turnover rate of the ward. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A system block diagram of a bowel sound recognition method in a clinical application scenario provided by the present invention;

[0039] Figure 2 A block diagram of the preprocessing process of a bowel sound recognition method in a clinical application scenario provided by the present invention;

[0040] Figure 3 Acquire the time domain waveform of the signal for the abdominal cavity;

[0041] Figure 4 Collect signal Mel spectra for the abdominal cavity;

[0042] Figure 5 A technical flowchart of an effective bowel sound signal extraction method based on replacing non-bowel sound segments with average silence periods;

[0043] Figure 6 This is a 5-minute sample time domain waveform diagram and a human ear listening result diagram;

[0044] Figure 7 This is the waveform of a 5-minute sample after the Resnet50 model extracts the effective signal in the time domain and the human ear annotation result diagram. DETAILED DESCRIPTION

[0045] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.

[0046] Please refer to Figure 1 and Figure 2 ,in, Figure 1 A system block diagram of a bowel sound recognition method in a clinical application scenario provided by the present invention; Figure 2 A preprocessing process block diagram of a bowel sound recognition method in a clinical application scenario provided by the present invention. A bowel sound recognition method in a clinical application scenario comprises the following steps:

[0047] S1, collecting bowel sound data;

[0048] S2, denoising and slicing the collected data and converting the acoustic signal data into two-dimensional Mel spectrum data;

[0049] S3, dividing the two-dimensional Mel spectrum data into data sets;

[0050] S4, select a part of the data set for training and verifying the deep network recognition model;

[0051] S5, testing on another part of the data set;

[0052] S6, performing audio annotation on the data completed in step S4;

[0053] S7, for the labeled data set, transfer learning is performed through the GooLeNet pre-trained convolutional neural network, and the hyperparameter combination is continuously adjusted with the data set obtained in step S5 to obtain the optimized network model parameters;

[0054] S8, saving the optimized network model parameters, and processing the subsequently obtained bowel sound signal data according to step S2, and then directly outputting the classification results of the signal through the trained model.

[0055] In step S2, the collected data is denoised and the denoising process is sorted out. In the denoising system, let x(i) be the sampled version of the noise-contaminated signal x(t), while s(i) and n(i) are the sampled versions of the “clean” signal s(t) and the additive random noise n(t) that is uncorrelated with the signal:

[0056] x(i)=s(i)+n(i), (1)

[0057] Window the signal into consecutive frames that overlap in time; according to the Heisenberg principle, the time-frequency resolution product has a limit:

[0058]

[0059] Where Δt is the time resolution and Δf is the frequency resolution, which depends on the STFT windowing operation, which is determined by the sampling frequency fs, the windowing function and the window length N;

[0060] Wavelet functions are a family of functions generated from a "mother" function (mother wavelet) after scaling and dilation (time shifting); the sum of the inner products of the signal and the wavelet function, the so-called wavelet coefficients, produces the continuous wavelet transform (CWT); if L2(R) represents the vector space of measurable, square-integrable one-dimensional functions and x(t) one-dimensional functions such as x∈L2(R), then the following equation is valid in Hilbert space:

[0061]

[0062] where u and τ are scale and stretch parameters, respectively, ψ(t) is the mother wavelet, and ψ μ,τ (t) is the family of wavelet functions, * denotes complex conjugation; a similar expression is used for the inverse continuous wavelet transform;

[0063] The final DWT wavelet function has the following form:

[0064] ψ j,k (t) = 2 j / 2 ·ψ(2 j tk),j,k∈Z, (5)

[0065] There are two basic strategies for applying threshold-based denoising: soft thresholding and hard thresholding; both are described in the following equations:

[0066]

[0067] where t is the threshold to be compared, meaning that coefficients with amplitudes less than the threshold are considered to be noise components, x(i) is the input signal (in our case the wavelet coefficients), and x hard-th (i), x soft-th (i) are the outputs of the hard threshold and soft threshold filters, respectively.

[0068] In step S2, the slicing part is to cut the collected bowel sound signal segments of different lengths into segments of 1 second in length according to the time series; the reason for selecting 1 second as the segment length is that the length of the shortest valid signal of the bowel sound signal is generally 30ms, and the length of 1 second can maximize the time resolution while retaining the valid signal segments as much as possible.

[0069] In step S2, converting the acoustic signal data into two-dimensional Mel spectrogram data is to process the acoustic signal data through short-time Fourier transform, and obtain two-dimensional Mel spectrogram data under the Mel scale; short-time Fourier transform is an effective time-frequency analysis and processing method for processing non-stationary signals; short-time Fourier transform is defined as:

[0070]

[0071] Where x(m) is the input signal, ω(nm) is the window function, which is reversed in time and has an offset of n samples; X(n,ω) is a two-dimensional function of time n and frequency ω, which links the time domain and frequency domain of the signal, and can be used to perform time-frequency analysis on the signal, such as S(n,ω) = |X(n,ω) 2 |This will give you the spectrum diagram;

[0072] Then, the spectrum is transformed according to the Mel scale transformation formula to obtain the Mel spectrum of the signal:

[0073]

[0074] At this point, the signal preprocessing part is completed. The input is the original collected bowel sound signal data, and the output is the Mel spectrogram of the 1s sound sample segment after filtering and noise reduction.

[0075] In step S6, collecting and labeling abdominal auscultation recording data includes: selecting audio segments containing valid target signals and other noise interference signals from the audio segments and forming data sets respectively, the valid signals include bowel sounds and silent periods, and the other noise interference signals include snoring, voice sounds, and friction sounds.

[0076] After noise reduction is completed for the acoustic signals A and B actually collected from the abdominal cavity of a patient, please refer to Figure 3 , is the time domain waveform of the abdominal cavity acquisition signal, where, Figure 3 (a) is the waveform of the acoustic signal A. Figure 3 (b) is the waveform of the acoustic signal B.

[0077] Convert the signal to a two-dimensional Mel spectrum, see Figure 4 , is the Mel spectrum of the abdominal cavity signal; among them, Figure 4 (a) is the Mel spectrum of the acoustic signal A. Figure 4 (b) is the B Mel spectrum of the acoustic signal.

[0078] The signal to be identified is passed through the trained neural network model, and the B sound signal is identified as a bowel sound signal, while the A signal belongs to the silent period. It can also be seen from the spectrogram that the B sound signal contains typical bowel sound peristalsis.

[0079] See also Figure 5 , which is a technical flowchart of the effective bowel sound signal extraction method based on replacing non-bowel sound segments with average silence periods. The trained ResNet50 model will be used to recognize and detect the target signal of interest for new samples, and it is hoped that the effective signals - bowel sounds and silence periods - can be extracted as much as possible, excluding the influence of other interference signals. The main purpose of the analysis is to find that what is mainly needed here is the recognition accuracy of bowel sound signals, while the recognition accuracy requirements for other interference signals are actually not high, because we hope that the final extracted signal does not contain other interference signals.

[0080] To achieve this goal, the present invention proposes a method for replacing non-bowel sound segments based on the average silent period, that is, for the 6-classification results obtained by the ResNet50 classification model, we divide them into two categories here. One is the target signal of interest - bowel sounds, and the other is all other types of signals that are not bowel sound signals. Then we take the average of all silent period segments to obtain an average silent period sample, replace all other types of samples with the average silent period sample, and then reconstruct and synthesize the bowel sound signal and the average silent period signal in chronological order, thereby realizing the detection and extraction of effective bowel sound signals of the original signal.

[0081] To further demonstrate this method and verify its feasibility, we randomly selected a sample from the screened samples and processed it according to this method. The time domain waveform of this signal sample and the human ear annotation results are shown in Figure 1. Figure 6 shown.

[0082] The 5-minute segment sample was preprocessed and input into the ResNet50 classification model in the form of mel spectrogram to obtain the 6-classification prediction results for each 1-second segment. Since there are 300 output results for the 5-minute segment sample, they are not shown here. By comparison, the model prediction results are still similar to the human ear annotation results to a large extent.

[0083] Based on the method proposed in this embodiment, the average of all silent period signals is taken to obtain the average silent period sample segment, and then the segment is used to replace all non-bowel sound signal segments. Then, the 300 signal segments are resynthesized in chronological order to obtain the reconstructed sample. The time domain waveform diagram and human ear listening annotation results are shown in Figure 1. Figure 7 shown.

[0084] It can be seen that this method can accurately identify and select segments containing bowel sound signals in the original bowel sound signal samples, and effectively remove other types of noise interference signals. It has a good effect of effective signal detection and extraction, so that when further analyzing the diagnostic application of bowel sound acoustic characteristics in clinical practice, the influence of interfering noise in the original recording environment can be well eliminated, so that the extracted effective signals can better reflect some effective acoustic characteristics and clinical significance.

[0085] Furthermore, the 5-min sample was cut into 1-min segments to compare the effect of sample duration on the judgment results. In addition, the original sample without extracting effective segments based on the average silence period to replace the non-bowel sound segments was compared with the sample after effective segment extraction. And two by two were combined to form 4 data sets. That is, data set 1: 5-min original signal sample segment; data set 2: sample segment after 5-min effective segment extraction; data set 3: 1-min original signal sample segment; data set 4: sample segment after 1-min effective segment extraction. 80% of each data set was used to train the neural network, and 20% was used for verification.

[0086] Finally, the deep learning model is used to classify the four data sets and the final results are discussed. The data set data of this embodiment is shown in the following table:

[0087] Datasets for diagnostic applications in clinical practice

[0088]

[0089] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for recognizing bowel sounds in a clinical application scenario, characterized in that: The steps include: S1, collecting bowel sound data; S2, denoising and slicing the collected data and converting the acoustic signal data into two-dimensional Mel spectrum data; S3, dividing the two-dimensional Mel spectrum data into data sets; S4, select a part of the data set for training and verifying the deep network recognition model; S5, testing on another part of the data set; S6, performing audio annotation on the data completed in step S4; S7, for the labeled data set, transfer learning is performed through the GooLeNet pre-trained convolutional neural network, and the hyperparameter combination is continuously adjusted with the data set obtained in step S5 to obtain the optimized network model parameters; S8, saving the optimized network model parameters, and processing the subsequently obtained bowel sound signal data according to step S2, and then directly outputting the classification results of the signal through the trained model.

2. The method for recognizing bowel sounds in clinical application scenarios according to claim 1, characterized in that: In step S2, the collected data is denoised and the denoising process is sorted out. In the denoising system, let x(i) be the sampled version of the noise-contaminated signal x(t), while s(i) and n(i) are the sampled versions of the "clean" signal s(t) and the additive random noise n(t) that is uncorrelated with the signal: x(i)=s(i)+n(i), (1) Window the signal into consecutive frames that overlap in time; according to the Heisenberg principle, the time-frequency resolution product has a limit: Where Δt is the time resolution and Δf is the frequency resolution, which depends on the STFT windowing operation, which is determined by the sampling frequency fs, the windowing function and the window length N; Wavelet functions are a family of functions generated from a "mother" function by scaling and dilation; the sum of the inner products of the signal and the wavelet function, the so-called wavelet coefficients, produces the continuous wavelet transform; if L2(R) represents the vector space of measurable, square-integrable one-dimensional functions and x(t) one-dimensional functions such as x∈L2(R), then the following equation is valid in Hilbert space: where u and τ are scale and stretch parameters, respectively, ψ(t) is the mother wavelet, and ψ μ,τ (t) is the family of wavelet functions, * denotes complex conjugation; a similar expression is used for the inverse continuous wavelet transform; The final DWT wavelet function has the following form: ψ j,k (t)=2 j / 2 ·ψ(2 j tk),j,k∈Z, (5) There are two basic strategies for applying threshold-based denoising: soft thresholding and hard thresholding; both are described in the following equations: where t is the threshold to be compared, meaning that coefficients with magnitudes less than the threshold are considered to be noise components, x(i) is the input signal, and x hard-th (i), x soft-th (i) are the outputs of the hard threshold and soft threshold filters, respectively.

3. The method for recognizing bowel sounds in clinical application scenarios according to claim 2, characterized in that: In step S2, the slicing part is to cut the collected bowel sound signal segments of different lengths into segments of 1 second in length according to the time series; the reason for selecting 1 second as the segment length is that the length of the shortest valid signal of the bowel sound signal is generally 30ms, and the length of 1 second can maximize the time resolution while retaining the valid signal segments as much as possible.

4. The method for recognizing bowel sounds in clinical application scenarios according to claim 3, characterized in that: In step S2, converting the acoustic signal data into two-dimensional Mel spectrogram data is to process the acoustic signal data through short-time Fourier transform, and obtain two-dimensional Mel spectrogram data under the Mel scale; short-time Fourier transform is an effective time-frequency analysis and processing method for processing non-stationary signals; short-time Fourier transform is defined as: Where x(m) is the input signal, ω(nm) is the window function, which is reversed in time and has an offset of n samples; X(n,ω) is a two-dimensional function of time n and frequency ω, which links the time domain and frequency domain of the signal, and can be used to perform time-frequency analysis on the signal, such as S(n,ω) = |X(n,ω) 2 |This will give you the spectrum diagram; Then, the spectrum is transformed according to the Mel scale transformation formula to obtain the Mel spectrum of the signal: At this point, the signal preprocessing part is completed. The input is the original collected bowel sound signal data, and the output is the Mel spectrogram of the 1s sound sample segment after filtering and noise reduction.

5. The method for recognizing bowel sounds in clinical application scenarios according to claim 1, characterized in that: In step S6, collecting and labeling abdominal auscultation recording data includes: selecting audio segments containing valid target signals and other noise interference signals from the audio segments and forming data sets respectively, the valid signals include bowel sounds and silent periods, and the other noise interference signals include snoring, voice sounds, and friction sounds.

Citation Information

Cited By

  • Abnormal early warning method, system and equipment under continuous monitoring of abdominal borborygmus

    CN120164614A