Thoracic impedance signal processing method with VME parameter adaptive optimization and medium
By adaptively optimizing the penalty coefficient and center frequency of the VME algorithm, combined with the first and second VME algorithms, the problem of difficult parameter adjustment of the VME algorithm in human chest impedance signal processing is solved, and accurate extraction and denoising of respiratory signals are achieved. processing, improving the reliability and efficiency of processing.
Patent Information
- Application Number
- CN202410999509.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-24
AI Technical Summary
The existing VME algorithm requires manual adjustment of parameters in human chest impedance signal processing, which results in poor adaptability of the extracted signal bandwidth, inability to effectively remove baseline drift and noise, and different frequency ranges for different individuals, resulting in poor extraction results.
By adaptively optimizing the penalty coefficient and center frequency, the first VME algorithm is used to remove the baseline signal, and the second VME algorithm is used for denoising to ensure the accuracy and reliability of the extracted respiratory components. The VME algorithm is used to adaptively select the penalty coefficient and fixed parameters. combined approach.
It achieves accurate extraction of respiratory signals in different individuals and under different circumstances, improves the reliability and calculation speed of chest impedance signal processing, and has high efficiency and effect.
Smart Images

Figure CN118749948A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of thoracic impedance signal processing, and in particular to a thoracic impedance signal processing method and medium for adaptively optimizing VME parameters. Background Art
[0002] Impedance pneumography (IP) is a non-invasive and painless measurement method for lung disease diagnosis or daily health monitoring. It has great clinical significance. In order to improve the accuracy of diagnostic results, the processing of chest impedance signals and the extraction of respiratory information are becoming increasingly important.
[0003] The thoracic impedance signal measured by the IP device is subject to external interference and often contains high-frequency noise and baseline drift, which are unrelated to the respiratory component. Baseline drift is related to the subject's lung residual volume, body posture, and chest muscle tension. Therefore, when the subject is in motion, the baseline of the thoracic impedance signal is more complex and difficult to effectively fit and remove using polynomials. Therefore, using the frequency domain method to remove baseline drift and noise is called a new way to remove thoracic impedance baseline drift.
[0004] Empirical Mode Decompositon (EMD) is a time-frequency domain signal processing method that decomposes the signal into different frequency components in the frequency domain through time domain features, which are called Intrinsic Mode Functions (IMF). EMD is suitable for analyzing nonlinear and non-stationary signal sequences, but due to the lack of rigorous mathematical theory, it is not very robust to noise signals in actual use. In 2014, a more stable signal processing algorithm was proposed, called Variational Mode Decomposition (VMD). VMD can also decompose complex signals into multiple components according to the frequency range. Based on VMD, the Variational Mode Extraction (VME) algorithm was proposed in 2018. Unlike EMD and VMD, VME does not output components of all frequency ranges, but only extracts a component whose center frequency is close to the required frequency, so the calculation speed is faster.
[0005] VMD and VME have a wide range of applications in biomedicine and other fields, including extracting respiratory components from electrocardiogram signals and detecting gear faults. Currently, no one has used these algorithms in human impedance signal processing. Therefore, it is necessary to develop the application of these algorithms in human impedance signal processing to improve the reliability of chest impedance signal acquisition. Summary of the invention
[0006] The inventors of the present invention have found in their research that VME is very suitable for extracting respiratory signals from chest impedance signals, but some key problems need to be solved:
[0007] First: The VME algorithm needs to determine the center frequency ω_d of the extracted signal and the penalty coefficient α that determines the bandwidth of the extracted signal. When the penalty parameter is too large, the bandwidth of the extracted signal is too narrow, and the respiratory signal will be lost when used for chest impedance signal processing; when the penalty parameter is too small, other noise components will be mixed in the extracted signal. At present, there is no method to ensure a good extraction effect when determining the input parameters, and most of them rely on experience and repeated attempts to determine the input parameters.
[0008] Second: Although the frequency bands of the respiratory component, baseline component, and high-frequency noise component in the chest impedance signal are separated from each other in the spectrum for an individual, the frequency ranges of these components are not fixed for different individuals, so the frequency ranges of different components between individuals may overlap. Therefore, when using the VME algorithm to extract the respiratory component, the same set of input parameters will not be valid for all individual measurement signals.
[0009] Third: The bandwidth of the high-frequency component and the baseline component, as well as the frequency difference of the respiratory component are all different, so using only one VME to extract the respiratory component is not very effective.
[0010] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a chest impedance signal processing method and medium with better signal processing efficiency and adaptive optimization of VME parameters.
[0011] The purpose of the present invention can be achieved by the following technical solutions:
[0012] A chest impedance signal processing method for VME parameter adaptive optimization includes the following steps:
[0013] Acquiring collected chest impedance signals;
[0014] Extracting a baseline signal from the chest impedance signal by a first VME algorithm to obtain a baseline-removed signal with baseline drift removed, wherein a penalty coefficient of the first VME algorithm is determined by adaptive selection;
[0015] The baseline-removed signal is subjected to denoising to extract the respiratory component.
[0016] Furthermore, the center frequency ω of the first VME algorithm is d is 0.
[0017] Further, the penalty coefficient of the first VME algorithm is adaptively selected and determined by the following process:
[0018] Establish an index i, let the penalty coefficient α = 100000 * i, let i range from 1 to 100, and use the current VME algorithm to extract the baseline respectively, and calculate the average power P(i) of the signal after removing the baseline;
[0019] Take i as the abscissa and P(i) as the ordinate to draw a graph, connect the points (1, P(1)) and (100, P(100)) to form a straight line, and denote the slope of this straight line as k;
[0020] Let i start from 2 and increase by a step of 1. Based on the penalty coefficient obtained at each step, use the current VME algorithm to extract the baseline signal, and calculate the average power P(i) of the signal after removing the baseline. Denote the detrended P(i) curve as P′(i);
[0021] When i increases to make P′(i + 1) < P′(i) hold, denote m = i, stop increasing, and record α at this time m = 100000 × m, α m That is the optimal α value of the VME algorithm, and then determine the penalty coefficient of the first VME algorithm.
[0022] Furthermore, the expression of the average power P(i) is:
[0023]
[0024] where D(x) is the respiratory signal, {D(x)} = {R(x)} - {B(x)}, B(x) is the baseline signal, {B(x)} = VME({R(x)}, α, 0), R(x) is the original thoracic impedance signal, the independent variable x is the discretized measurement time, and n is the number of measurement points.
[0025] Furthermore, the relationship between P′(i) and P(i) is expressed as:
[0026] P′(i) = P(i) - k × i.
[0027] Furthermore, use the second VME algorithm to denoise the baseline-removed signal. When performing the denoising process, the center frequency ω of the second VME algorithm d is determined by the following method:
[0028] Obtain the power spectrum diagram of the baseline-removed signal, and take the frequency value corresponding to the highest peak point in the power spectrum diagram as the center frequency ω of the second VME algorithm d .
[0029] Furthermore, the penalty coefficient of the second VME algorithm is greater than 20000.
[0030] Furthermore, the penalty coefficient of the second VME algorithm is 30000.
[0031] The present invention also provides an electronic device, comprising:
[0032] one or more processors;
[0033] Memory; and
[0034] One or more programs stored in the memory, the one or more programs comprising instructions for executing the thoracic impedance signal processing method for adaptive optimization of VME parameters as described above.
[0035] The present invention also provides a computer-readable storage medium, comprising one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the chest impedance signal processing method for adaptive optimization of VME parameters as described above.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] 1. The present invention uses the VME algorithm for the first time to process human chest electrical impedance data to obtain chest impedance change signals caused by breathing. Compared with time domain algorithms such as polynomial fitting and fixed threshold frequency domain algorithms such as bandpass filtering and wavelet transform, the VME algorithm has better effects in processing complex and changeable bioimpedance signals. When the present invention uses the VME algorithm, a VME algorithm with an adaptive optimization penalty coefficient is first used to extract a baseline signal, and then a VME algorithm with fixed parameters is used to extract a respiratory component. The baseline signal can be accurately and reliably extracted from the chest impedance signal, and then the respiratory component can be extracted. When processing data from different subjects under different conditions, the chest impedance change caused by breathing can be extracted with good results, and the method has the advantages of fast calculation speed and high efficiency.
[0038] 2. The present invention determines the optimal penalty coefficient by finding the inflection point of a convex curve when the data discreteness is high. Specifically, the inflection point of the convex curve is defined as the point farthest from the straight line formed by the line connecting the first and last points of the curve, and the coordinates of the point are found by detrending the curve. This method can accurately and reliably realize the adaptive optimization of the penalty coefficient, thereby improving the reliability of chest impedance signal processing.
[0039] 3. The present invention has the advantages of fast calculation speed and high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0041] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0042] refer to Figure 1 As shown, this embodiment provides a chest impedance signal processing method for adaptive optimization of VME parameters, comprising the following steps:
[0043] S1. Obtain the collected chest impedance signal.
[0044] S2, baseline removal step.
[0045] This embodiment uses the first VME algorithm to extract a baseline signal from a chest impedance signal to obtain a baseline-removed signal from which baseline drift is removed, wherein a penalty coefficient of the first VME algorithm is determined by adaptive selection.
[0046] Specifically, the adaptive optimization process of the parameters of the first VME algorithm is as follows:
[0047] a) Determine the input parameters of VME d Since the frequency of the baseline signal is very close to 0, this step directly changes the center frequency ω d Set to 0.
[0048] b) Create index i and set penalty coefficient α = 100000*i. Set i to 1 and 100, respectively use VME to extract the baseline, and calculate the average power P(i) of the signal after removing the baseline.
[0049] α=100000×i
[0050] {B(x)}=VME({R(x)},α,0)
[0051] {D(x)}={R(x)}-{B(x)}
[0052]
[0053] Among them, B(x) is the baseline signal, D(x) is the breathing signal, and R(x) is the original chest impedance signal. The independent variable x is the discretized measurement time, and the expression is:
[0054]
[0055] Where t is the measurement time and fs is the sampling rate.
[0056] c) Draw a graph with i as the horizontal coordinate and P(i) as the vertical coordinate, connecting (1, P(1)) and (100, P(100)) into a straight line. The slope k of the line is:
[0057]
[0058] d) Let i start from 2 and increment by 1. At each step, use VME to extract the baseline signal and calculate the average power P(i) of the remaining signal. Denote the detrended P(i) curve as P′(i), which is expressed as:
[0059] P′(i) = P(i) - k × i
[0060] e) When i increases to P′(i + 1) < P′(i), denote m = i and stop step d). At this time, P′(m) is the highest value point of the P′(i) curve, corresponding to the inflection point of the P(i) curve. Record the current i = m and α m = 100000 × m, which is the optimal α value for the baseline-removed signal. The baseline-removed signal {D m (x)} obtained using this α m value is saved and input to step S3.
[0061] Since the points on the curve in this embodiment are relatively scattered, it is difficult to find the inflection point using the derivative method, and the function itself is an increasing function, so there is no inflection point in the mathematical definition. Therefore, in this embodiment, the inflection point of the convex curve is defined as the point with the farthest straight-line distance from the line connecting the starting and ending points of the curve, and the method of detrending the curve is used to find the coordinates of this point and determine the optimal penalty parameter, so that VME has a better effect in processing complex and variable bio-impedance signals.
[0062] S3. Denoising step.
[0063] In this embodiment, the second VME algorithm is used to denoise the baseline-removed signal and extract the respiration component, which specifically includes the following sub-steps:
[0064] a) Plot the power spectrum of the baseline-removed signal {D m (x)} obtained in step S2. Set the frequency value corresponding to the highest peak point in the power spectrum as the center frequency ω d of the second VME algorithm.
[0065] b) Set the penalty parameter α to 30000 and use VME to extract the respiration signal:
[0066] {S(n)} = VME({D m (x)}, 30000, ω d )
[0067] In other embodiments, the penalty parameter α can also be set to other values greater than 20000.
[0068] If the above method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0069] In order to verify the performance of the present invention, this embodiment is experimented on the simulated signal and measured data, and the results are compared with those of bandpass filtering, wpsTID, fixed parameter VMD and VME, among which wpsTID is another chest impedance signal processing algorithm previously proposed by the inventor team. There are four types of simulated signals, namely, short signals with simple frequency and baseline, long signals with complex frequency, long signals with complex baseline, and long signals with complex frequency and baseline. Each signal consists of three parts: baseline, useful signal and high-frequency noise.
[0070] s(t)=b(t)+f(t)+v
[0071] Among them, f(t) is the useful signal, b(t) is the baseline signal, and v is the high-frequency noise, which is generated by Gaussian noise with a power of 0.01W. The length of the short signal is 36s, and the length of the long signal is 480s. The expressions of the baseline and effective signal of the short signal are:
[0072] b1(t)=0.1×t
[0073] f1(t)=5sin(2π×0.3×t)
[0074] The baseline expression of the frequency composite long signal is the same as that of the short signal. The useful signal is divided into three segments, and the expression is:
[0075]
[0076] The expression of the effective signal of the baseline complex long signal is the same as that of the short signal f1(t), and the baseline expression is:
[0077]
[0078] The baseline expression for a long signal with complex frequency and baseline is the same as b3(t), and the expression for the effective signal is the same as f2(t).
[0079] The processing results are shown in Tables 1 to 4. VME uses fixed input parameters, the penalty parameter α is 20000, and the center frequency ω d is 0.2 Hz. The number of VMD modes is set to 3. The passband range of the bandpass filter is set to 0.2 to 0.8 Hz. All other input parameters are default values. The method of the present invention is denoted as Adaptive VME.
[0080] The measured data is 70 segments of chest impedance signals collected from 35 volunteers, one segment for each volunteer in a resting state and one segment for each volunteer in a moving state. In this embodiment, MAE (Mean Absolute Error) and MSE (Mean Square Error) are used as evaluation indicators. From the experimental results, the processing results of the present invention are significantly better than those of other algorithms.
[0081] Table 1 Processing results of short signals
[0082]
[0083] Table 2 Processing results of frequency complex long signal
[0084]
[0085] Table 3 Processing results of complex long baseline signals
[0086]
[0087] Table 4 Processing results of complex and long signals with both baseline and frequency
[0088]
[0089] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The schemes in the embodiments of the present invention may be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for processing chest impedance signals by adaptively optimizing VME parameters, characterized in that: The following steps are involved: Acquiring a collected chest impedance signal; Extracting a baseline signal from the chest impedance signal by a first VME algorithm to obtain a baseline-removed signal with baseline drift removed, wherein a penalty coefficient of the first VME algorithm is determined by adaptive selection; The baseline-removed signal is subjected to denoising to extract the respiratory component.
2. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 1, characterized in that: The center frequency ω of the first VME algorithm d is 0.
3. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 1, characterized in that: The penalty coefficient of the first VME algorithm is adaptively selected and determined by the following process: Establish index i, set penalty coefficient α = 100000*i, set i to 1 and 100, respectively use the current VME algorithm to extract the baseline, and calculate the average power P(i) of the signal after removing the baseline; Draw a graph with i as the horizontal coordinate and P(i) as the vertical coordinate, connecting the point (1, P(1)) and the point (100, P(100)) into a straight line, and the slope of the line is k; Let i start from 2 and increase in steps of 1. Based on the penalty coefficient obtained at each step, use the current VME algorithm to extract the baseline signal, and calculate the average power P(i) of the signal after removing the baseline. The detrended P(i) curve is recorded as P′(i); When i increases to make P′(i + 1) < P′(i) hold, record m = i, stop incrementing, and record α at this time m = 100000 × m, α m is the optimal α value of the VME algorithm, and then determine the penalty coefficient of the first VME algorithm.
4. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 3 is characterized in that: The expression of the average power P(i) is: Where D(x) is the respiratory signal, {D(x)}={R(x)}-{B(x)}, B(x) is the baseline signal, {B(x)}=VME({R(x)},α,0), R(x) is the original chest impedance signal, the independent variable x is the discretized measurement time, and n is the number of measurement points.
5. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 3, characterized in that: The relationship between P′(i) and P(i) is expressed as: P′(i)=P(i)-k×i.
6. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 1, characterized in that: The baseline-removed signal is subjected to denoising using a second VME algorithm. When the denoising is performed, the center frequency ω of the second VME algorithm d Determined by: Obtain the power spectrum of the baseline-removed signal, and use the frequency value corresponding to the highest peak point in the power spectrum as the center frequency ω of the second VME algorithm. d .
7. The chest impedance signal processing method with adaptive optimization of VME parameters according to claim 6, characterized in that: The penalty coefficient of the second VME algorithm is greater than 20,000.
8. The chest impedance signal processing method of VME parameter adaptive optimization according to claim 7, characterized in that: The penalty coefficient of the second VME algorithm is 30,000.
9. An electronic device, characterized in that: include: one or more processors; Memory; and One or more programs stored in a memory, the one or more programs comprising instructions for executing the chest impedance signal processing method for adaptive optimization of VME parameters as claimed in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that: The method comprises one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs comprise instructions for executing the method for processing thoracic impedance signals for adaptive optimization of VME parameters as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Electrocardiosignal baseline drift correcting method based on variation mode decomposition
CN107361762A
Electroencephalogram-electromyogram coupling research method based on variational mode decomposition-transfer entropy
CN110367974A
Thoracic impedance measuring method and measuring system based on multi-source information denoising
CN116392104A
Security protection audio and video data enhancement method and system based on VOIP call
CN117253501A
Method for determining the arrival time of a digitized signal pulse representing a physical measurement quantity, evaluation unit, device, evaluation system and radiation detection system
DE102018130022A1
