Pulse wave motion interference removal method and device, equipment and storage medium
Through a combination of adaptive filtering, spectral subtraction and sparse coding, the motion interference in the pulse wave signal is effectively removed, which solves the problem of poor performance of the existing technology and improves the cleanliness and analysis accuracy of the signal.
Patent Information
- Application Number
- CN202310155199.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology is not effective in removing motion interference in pulse wave signals, which affects the accuracy of signal processing and analysis.
A method combining adaptive filtering, spectral subtraction and sparse coding is used to remove motion interference in the pulse wave signal through band-pass filtering, adaptive filtering, spectral subtraction and sparse coding and reconstruction steps. Specific steps include: adaptive filtering of the band-pass filtered pulse wave signal and acceleration signal, determining the fundamental frequency and harmonics of the motion artifact through spectral subtraction for filtering, and finally obtaining the pulse wave with motion interference removed through sparse coding and reconstruction. Signal.
It improves the suppression effect of motion interference, enhances the cleanliness and analysis accuracy of pulse wave signals, and ensures the reliability of signal processing.
Smart Images

Figure CN118526178A
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing technology, and in particular to a method, device, equipment and storage medium for removing motion interference of a pulse wave. Background Art
[0002] The pulse wave signal is a commonly used biomedical signal, often used in smart bracelets and smart watches to measure important vital signs such as pulse rate and blood oxygen saturation. Due to the movement of the wrist, the collected pulse wave signal will inevitably include information about human movement, such as Figure 1 As shown, Figure 1 (a) is the pulse wave signal without motion interference. Figure 1 (b) is a pulse wave signal with motion interference, which affects the accuracy of signal processing and analysis. Therefore, it is necessary to remove the influence of motion interference through signal processing. At present, there are many methods for filtering motion interference, such as filtering motion interference through time domain methods such as signal difference. However, the filtering effect of these existing methods for filtering motion interference is not good enough. Summary of the invention
[0003] In view of the above technical problems, the purpose of the present application is to provide a method, device, equipment and storage medium for removing motion interference of pulse wave, aiming to improve the effect of motion interference filtering.
[0004] In a first aspect, an embodiment of the present invention provides a method for removing motion interference of a pulse wave, comprising:
[0005] Collecting a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference;
[0006] Performing bandpass filtering on the pulse wave signal to obtain a bandpass filtered pulse wave signal;
[0007] Performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal;
[0008] Based on the pulse wave signal after the adaptive filtering, obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction;
[0009] Based on the pulse wave signal that has been filtered by spectral subtraction, a pulse wave signal with motion interference removed is obtained through sparse coding and reconstruction.
[0010] Furthermore, the adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain the pulse wave signal after adaptive filtering includes:
[0011] Suppose the pulse wave signal after bandpass filtering is y bp , the acceleration signal is a, the weight vector of the acceleration signal is w, whose dimension is equal to the number of channels of the acceleration signal, e is the error signal of the adaptive filter, μ adap is the step size for updating the adaptive filter weights, and ε is a very small positive number. When processing the i=1, ..., nth sample points of the signal to be analyzed, the error signal and weight of the adaptive filter are calculated using formula (1) and formula (2):
[0012] e(i)=y bp (i)-w T (i)a(i) (1)
[0013] w(i+1)=w(i)+2μ adap / (ε+a T (i)a(i))a(i)e(i) (2)
[0014] After the adaptive filtering is completed, the error signal e of the adaptive filter is used as the pulse wave signal after the adaptive filtering.
[0015] Furthermore, the step of obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction based on the pulse wave signal after adaptive filtering comprises:
[0016] Calculating the energy of the pulse wave signal after the bandpass filtering;
[0017] Using the energy of the pulse wave signal after the bandpass filtering, respectively, normalize the energy of the pulse wave signal after the bandpass filtering and the pulse wave signal after the adaptive filtering to obtain a first vector and a second vector;
[0018] Performing Fourier transform on the first vector and the second vector respectively to obtain a frequency spectrum diagram corresponding to the first vector and a frequency spectrum diagram corresponding to the second vector;
[0019] Calculate the frequency component with the largest amplitude reduction using the frequency spectrum corresponding to the first vector and the frequency spectrum corresponding to the second vector;
[0020] Taking the frequency component with the largest amplitude reduction as the fundamental frequency of the motion artifact, and determining the harmonics of the motion artifact based on the fundamental frequency;
[0021] The fundamental frequency and the harmonics of the motion artifact are filtered using a band-stop filter to obtain a pulse wave signal that has been filtered by spectral subtraction.
[0022] Furthermore, the step of obtaining the pulse wave signal with motion interference removed by sparse coding and reconstruction based on the pulse wave signal after spectral subtraction filtering includes:
[0023] Create a dictionary and a coefficient vector with all values zero;
[0024] Normalizing the energy of the pulse wave signal after the spectral subtraction filtering to obtain a third vector;
[0025] Obtaining a preset sparse coding step size and a preset threshold;
[0026] Iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold;
[0027] Calculating a reconstructed signal using the updated coefficient vector and the dictionary;
[0028] When the number of iterations exceeds a preset iteration threshold or the second norm of the difference between the reconstructed signal and the third vector is less than the threshold, the iteration is stopped, and the current reconstructed signal is used as the pulse wave signal with motion interference removed.
[0029] Furthermore, in the process of predicting the initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold value includes:
[0030] The coefficient vector is iteratively updated using formula (3) and formula (4):
[0031]
[0032]
[0033] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and sgn(.) is the variable x l The symbol, T α Represents an operator for computing a soft threshold.
[0034] Furthermore, in the process of predicting the non-initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises:
[0035] The coefficient vector is iteratively updated using formula (3) and formula (5):
[0036]
[0037]
[0038] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and f range is the frequency coordinate range that needs to be retained, m is a preset parameter, and fs is the signal sampling rate.
[0039] Further, the step of calculating the frequency coordinate range that needs to be retained includes:
[0040] Performing Fourier transform on the third vector to obtain a frequency spectrum of the third vector;
[0041] Calculating all local minimum points of the frequency spectrum of the third vector, and sorting the local minimum points in ascending order of their coordinates to obtain a sequence of local minimum points;
[0042] Obtaining the pulse rate predicted last time, and calculating the frequency corresponding to the pulse rate predicted last time and its coordinates on the spectrum diagram according to the pulse rate predicted last time;
[0043] Determining a first frequency coordinate range according to the frequency corresponding to the pulse rate predicted last time and its coordinates on the frequency graph;
[0044] In the sequence of local minimum value points, find the largest local minimum value point that is smaller than the first frequency coordinate range as the first point;
[0045] In the sequence of local minimum value points, find the smallest local minimum value point that is greater than the first frequency coordinate range as the second point;
[0046] Calculate the frequency corresponding to the first point and the frequency corresponding to the second point;
[0047] A frequency coordinate range that needs to be retained is determined according to the frequency corresponding to the first point and the frequency corresponding to the second point.
[0048] In a second aspect, an embodiment of the present invention provides a device for removing motion interference of a pulse wave, comprising:
[0049] A signal acquisition module, used for acquiring a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference;
[0050] A bandpass filtering module, used for performing bandpass filtering on the pulse wave signal to obtain a pulse wave signal after bandpass filtering;
[0051] An adaptive filtering module, used for performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal;
[0052] A spectral subtraction module, used for obtaining a spectral subtraction filtered pulse wave signal by spectral subtraction based on the adaptively filtered pulse wave signal;
[0053] The sparse coding and reconstruction module is used to obtain the pulse wave signal with motion interference removed through sparse coding and reconstruction based on the pulse wave signal that has been filtered by spectral subtraction.
[0054] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any of the methods described above are implemented.
[0055] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the methods described above.
[0056] Beneficial effects of the present invention:
[0057] Adaptive filtering can effectively locate the frequency of motion interference, but the filtering effect is very limited. Spectral subtraction has good frequency selectivity, but the selected frequency range needs to be accurately set. Sparse coding and reconstruction have a strong noise suppression effect, but are not suitable for the situation where the amplitude of the pulse rate in the signal is much lower than the motion interference. And in order to avoid erroneous suppression of the pulse rate, it is also necessary to set the frequency range that needs to be suppressed. According to the above technical characteristics, the embodiment of the present invention uses adaptive filtering to calculate the frequency of motion interference, uses spectral subtraction to preliminarily suppress the interference so that the amplitude of the interference is lower than the pulse rate, and finally uses sparse coding and reconstruction to suppress non-main components other than the pulse rate, thereby improving the degree of motion interference suppression and achieving better motion interference removal effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the implementation manner will be briefly introduced below. Obviously, the drawings described below are only some implementation manners of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0059] Figure 1 It is the pulse wave signal;
[0060] Figure 2 is a flow chart of a method for removing motion interference of a pulse wave provided in an embodiment of the present application;
[0061] Figure 3 is a schematic diagram of the process of the method for removing motion interference of pulse waves provided in an embodiment of the present application;
[0062] Figure 4 It is a pulse wave signal and a spectrum diagram with motion interference collected by an embodiment of the present invention;
[0063] Figure 5 is the collected acceleration signal and spectrum diagram provided by the embodiment of the present invention;
[0064] Figure 6 is a pulse wave signal after adaptive filtering and its spectrum diagram provided by an embodiment of the present invention;
[0065] Figure 7 The pulse wave signal and spectrum diagram after spectral subtraction filtering provided by the embodiment of the present invention;
[0066] Figure 8 It is the waveform diagram and spectrum of the pulse wave signal after sparse coding and reconstruction;
[0067] Fig. 9 is a schematic structural diagram of a pulse wave motion interference removal device provided in an embodiment of the application;
[0068] Fig.10 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "above", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of features, integers, steps, operations, elements, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may also be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any module and all combinations of one or more associated listed items.
[0071] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0072] Embodiment 1:
[0073] An embodiment of the present invention provides a method for removing motion interference of a pulse wave, which can be applied to wearable devices such as smart bracelets and smart watches that include a pulse rate module (hardware).
[0074] See also Figure 2 , Figure 3 The embodiment of the present invention provides a method for removing motion interference of a pulse wave, comprising steps S1 to S5:
[0075] S1. Collecting a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference.
[0076] As in the above step S1, when sampling the pulse wave signal and the acceleration signal, it is necessary to sample to a preset standard sampling rate so that the pulse wave signal and the acceleration signal have the same length and dimension.
[0077] S2. Perform bandpass filtering on the pulse wave signal to obtain a pulse wave signal after bandpass filtering.
[0078] S3. Perform adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal.
[0079] S4. Based on the pulse wave signal after the adaptive filtering, obtain a pulse wave signal after spectral subtraction filtering by spectral subtraction.
[0080] S5. Based on the pulse wave signal that has been filtered by spectral subtraction, obtain a pulse wave signal with motion interference removed through sparse coding and reconstruction.
[0081] As in the above steps S3, S4, and S5, adaptive filtering can effectively locate the frequency of motion interference, but the filtering effect is very limited. Spectral subtraction has good frequency selectivity, but the selected frequency range needs to be accurately set. Sparse coding and reconstruction have a strong noise suppression effect, but are not suitable for the situation where the amplitude of the pulse rate in the signal is much lower than the motion interference. And in order to avoid erroneous suppression of the pulse rate, it is also necessary to set the frequency range that needs to be suppressed. According to the above technical characteristics, the embodiment of the present invention uses adaptive filtering to calculate the frequency of motion interference, uses spectral subtraction to preliminarily suppress the interference so that the amplitude of the interference is lower than the pulse rate, and finally uses sparse coding and reconstruction to suppress non-main components other than the pulse rate, thereby improving the degree of motion interference suppression and achieving better motion interference removal effect.
[0082] As a specific embodiment, the pulse wave signal is a single-channel pulse wave signal (y) and a three-channel acceleration signal (a). If the sampling rate of the pulse wave signal or the acceleration signal is not 30 Hz, the signal is resampled to 30 Hz. The length of the pulse wave signal and the acceleration signal analyzed by the algorithm is n (specifically, it can be set to 8s). Figure 4 and Figure 5 The pulse wave signal and acceleration signal collected at the same time and their spectrum are given. Figure 4 (a) is the pulse wave signal with motion interference. Figure 4 (b) in the Figure 4 (a) is the spectrum of the signal. Figure 5 (a) is the acceleration signal, Figure 5 (b) in the Figure 5 (a) is the spectrum diagram of the signal, where the circle represents the frequency corresponding to the pulse rate. It can be found that there are abnormal interferences with similar frequencies in the pulse wave signal and the acceleration signal (the frequencies are 1.5Hz and 3.0Hz, and the coordinates are 12 and 24), and the energy of the pulse rate is lower than the interference wave. When analyzing the signal to be analyzed, the pulse wave signal is first band-pass filtered. Considering that the pulse rate range is usually 30-300bpm (beats per minute), the passband range of the band-pass filter can be set to 0.5-5Hz, and then the pulse wave signal after band-pass filtering (y bp ) and the acceleration signal (a) are adaptively filtered, and then spectral subtraction and sparse coding and reconstruction are performed in sequence, and finally a pulse wave signal without motion interference is output. The pulse wave signal without motion interference is the pulse wave signal after the motion interference is removed mentioned above. It should be understood that the pulse wave signal after the motion interference is removed is not completely free of motion interference, because in practice, some motion interference cannot be removed.
[0083] In one embodiment, the adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain the pulse wave signal after adaptive filtering includes:
[0084] Suppose the pulse wave signal after bandpass filtering is y bp , the acceleration signal is a, the weight vector of the acceleration signal is w, whose dimension is equal to the number of channels of the acceleration signal, e is the error signal of the adaptive filter, μ adap is the step size for updating the adaptive filter weights, and ε is a very small positive number. When processing the i=1, ..., nth sample points of the signal to be analyzed, the error signal and weight of the adaptive filter are calculated using formula (1) and formula (2):
[0085] e(i)=y bp (i)-w T (i)a(i) (1)
[0086] w(i+1)=w(i)+2μ adap / (ε+a T (i)a(i))a(i)e(i) (2)
[0087] After the adaptive filtering is completed, the error signal e of the adaptive filter is used as the pulse wave signal after the adaptive filtering.
[0088] As described above, it should be understood that the embodiment of the present invention adopts an adaptive filtering algorithm based on minimum mean square error when performing adaptive filtering. The specific value of ε can be ε=1e-3, μ adap The specific value of adap =0.01. Figure 6 is the pulse wave signal and its spectrum after adaptive filtering, where: Figure 6 (a) in the figure shows the time domain waveform. Figure 6 (b) in the formula indicates Figure 6 (a) is the spectrum of the signal, with circles indicating the frequencies where the pulse rate is located. Figure 6 It can be found that the interference wave with a frequency of 1.5Hz in the pulse wave signal has a reduced amplitude on the spectrum after adaptive filtering.
[0089] In one embodiment, the step of obtaining a pulse wave signal after spectral subtraction filtering based on the adaptively filtered pulse wave signal by spectral subtraction comprises steps S41-S47:
[0090] S41, calculating the energy of the pulse wave signal after the bandpass filtering.
[0091] As in step S41 above, the pulse wave signal y after bandpass filtering isbp Substitute into the calculation formula of signal energy The energy p of the pulse wave signal after bandpass filtering can be calculated bp : Where p represents the energy of the signal, y represents the input signal, and n represents the number of sample points.
[0092] S42. Using the energy of the pulse wave signal after the bandpass filtering, respectively, normalize the energy of the pulse wave signal after the bandpass filtering and the pulse wave signal after the adaptive filtering to obtain a first vector and a second vector.
[0093] As in step S42 above, the energy p of the pulse wave signal after bandpass filtering is bp And the pulse wave signal y after bandpass filtering bp Substitute into the formula The first vector can be calculated The energy p of the pulse wave signal after bandpass filtering bp And the adaptively filtered signal y adap Substitute into the formula The second vector can be calculated Where p represents the signal energy, y represents the signal, Represents the result of energy normalization of the signal.
[0094] S53 . Perform Fourier transform on the first vector and the second vector respectively to obtain a frequency spectrum diagram corresponding to the first vector and a frequency spectrum diagram corresponding to the second vector.
[0095] As in step S43 above, by Perform Fourier transform to get its spectrum f bp , by the second vector Perform Fourier transform to get its spectrum f adap .
[0096] S44. Calculate the frequency component with the largest amplitude reduction by using the frequency spectrum corresponding to the first vector and the frequency spectrum corresponding to the second vector.
[0097] As in step S44 above, the frequency spectrum f corresponding to the first vector bp And the spectrum f corresponding to the second vector adap Substitute into the formula f ma = argmax(f bp -f adap / f bp ) Calculate the frequency component f with the largest amplitude reduction ma ; Among them, argmax represents the coordinates of the calculated maximum value.
[0098] S45, taking the frequency component with the largest amplitude reduction as the fundamental frequency of the motion artifact, and determining the harmonics of the motion artifact based on the fundamental frequency
[0099] As in the above step S45, specifically, the frequency component with the largest amplitude reduction is taken as the fundamental frequency, and the 2nd and 3rd times of the fundamental frequency are taken as the harmonics of the motion artifact. It should be understood that, since the signal energy after 4 times is very small, only the 2nd and 3rd times of the fundamental frequency can be taken as the harmonics of the motion artifact. Of course, the present invention is not limited to only considering the 2nd and 3rd times of the fundamental frequency as the harmonics of the motion artifact.
[0100] S46, filtering the fundamental frequency and the harmonics of the motion artifact using a band-stop filter to obtain a pulse wave signal that has been filtered by spectral subtraction.
[0101] As in step S46 above, specifically, the fundamental frequency and harmonics of the motion artifact are filtered using a 1st-order Butterworth band-stop filter to obtain a pulse wave signal y after spectral subtraction filtering. subspe . Figure 7 It is the pulse wave signal and spectrum after spectral subtraction filtering. Figure 7 (a) in the figure shows the time domain waveform. Figure 7 (b) in the formula indicates Figure 7 (a) is the spectrum of the signal, where the circles represent the frequencies of the pulse rate. The fundamental frequency of the motion artifact is 1.5 Hz, and the frequencies of its second and third harmonics are around 3 Hz and 4.5 Hz respectively (the frequency coordinates are 24 and 36 respectively). Figure 7 It can be found that the amplitudes of the fundamental and harmonic waves of the motion artifact are significantly lower than the amplitude of the pulse rate.
[0102] In one embodiment, the pulse wave signal after spectral subtraction filtering is obtained by sparse coding and reconstruction, and the pulse wave signal after motion interference is removed includes:
[0103] S51. Create a dictionary and a coefficient vector whose values are all zero.
[0104] As in step S51, a dictionary is created. and a coefficient vector with all values zero The value of each element in the dictionary is calculated using formula (6), where (i, l) represents the coordinates of the i-th row and l-th column of the dictionary, and j represents a complex number.
[0105] D(i,l)=exp(j2πil / m)(6)
[0106] S52: Normalize the energy of the pulse wave signal after the spectral subtraction filtering to obtain a third vector.
[0107] As in step S52 above, the pulse wave signal y subspe Normalize the energy and get the third vector
[0108] S53: Obtain a preset sparse coding step size and a preset threshold.
[0109] As in step S53 above, as an embodiment, the step length μ of the sparse coding is sparse It can be set to μ sparse =0.0001953125, the preset threshold α can be specifically set to α=5e-6.
[0110] S54, iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold.
[0111] S55. Calculate a reconstructed signal using the updated coefficient vector and the dictionary.
[0112] As in step S55 above, specifically, the updated coefficient vector is substituted into formula (7) to calculate the reconstructed signal; wherein x is the coefficient vector, D is the dictionary, and y rec To reconstruct the signal.
[0113] y rec =Dx (7).
[0114] S56. When the number of iterations exceeds a preset iteration threshold or the second norm of the difference between the reconstructed signal and the third vector is smaller than the threshold, the iteration is stopped, and the current reconstructed signal is used as the pulse wave signal with motion interference removed.
[0115] As in step S56 above, when the number of iterations exceeds a threshold (the threshold can be set to 5), or the reconstructed signal y rec With the third vector When the second norm of the difference is less than the threshold, the iteration is stopped and the current reconstructed signal is used as the result of removing interference. Figure 8 The waveform and spectrum of the pulse wave signal after sparse coding and reconstruction are given. Figure 8 It can be seen that only the pulse rate component is retained, while other components are suppressed.
[0116] In one embodiment, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises:
[0117] The coefficient vector is iteratively updated using formula (3) and formula (4):
[0118]
[0119]
[0120] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and sgn(.) is the variable x l The symbol, T α is the operator that represents the soft threshold calculation.
[0121] The embodiment of the present invention uses the above formula (3) and formula (4) to update the coefficient vector, thereby laying a foundation for the subsequent calculation and reconstruction of the signal. It should be noted that, considering that the pulse rate measurement algorithm usually runs in a cycle, the coefficient vector can be iteratively updated using formula (3) and formula (4) in each cycle.
[0122] It should be noted that sparse coding and reconstruction can suppress non-main components in the signal, that is, components with lower amplitudes in the frequency domain. However, once there is severe interference in the signal, the amplitude of the pulse rate in the spectrum is lower than the amplitude of the noise. At this time, the pulse rate component may also be incorrectly suppressed after sparse coding. Considering that the pulse rate measurement algorithm usually runs in a cycle, and the range of changes in the pulse rate usually does not exceed 10bpm. Therefore, the pulse rate and its surrounding frequency components can be retained without being suppressed when running sparse coding. In addition, the start and end points of the retained frequency should be local minimum points on the spectrum graph, otherwise it may cause spectrum leakage and introduce new frequency components.
[0123] In order to avoid the problem that the pulse rate component may also be erroneously suppressed after sparse coding, another method for iteratively updating the coefficient vector is provided, which specifically uses formula (3) and formula (5):
[0124]
[0125]
[0126] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and f range is the frequency coordinate range that needs to be retained, m is a preset parameter, and fs is the signal sampling rate.
[0127] It can be seen from formula (5) that if the value of the coefficient vector is greater than or equal to the set threshold, or its coordinates (ie, dimension) are within the frequency range that needs to be retained, the value of the coefficient vector will not be set to 0.
[0128] It should be noted that before using formulas (3) and (5) to implement iterative update of the coefficient vector, it is necessary to calculate the frequency coordinate range to be retained. It should be noted that if the pulse rate and its surrounding frequency components are to be retained without being suppressed when running sparse coding and spectrum leakage is to be avoided as much as possible, it is necessary to first calculate the frequency coordinate range to be retained according to the steps of the following embodiment.
[0129] In one embodiment, the step of calculating the frequency coordinate range that needs to be retained includes S541-S548:
[0130] S541. Perform Fourier transform on the third vector to obtain a frequency spectrum of the third vector.
[0131] As in step S541 above, the third vector Perform Fourier transform to obtain its spectrum f subspe .
[0132] S542: Calculate all local minimum points of the frequency spectrum of the third vector, and sort the local minimum points in ascending order of their coordinates to obtain a sequence of local minimum points.
[0133] As in step S541 above, the frequency spectrum of the third vector f is calculated. subspe All local minimum points of , and sort the local minimum points in the order of their coordinates from small to large, to obtain a sequence of local minimum points.
[0134] S543, obtain the pulse rate predicted last time, and calculate the frequency corresponding to the pulse rate predicted last time and its coordinates on the spectrum diagram according to the pulse rate predicted last time.
[0135] As in step S543 above, using formula f val =pr / 60Calculate the frequency value corresponding to the pulse rate, where f val is the frequency value corresponding to the pulse rate, and pr represents the pulse rate. idx =f val / (fs / n) calculates the frequency value coordinates corresponding to the frequency value; where f idx is the frequency value coordinate, fs is the signal sampling rate (can be set to 30HZ), and n is the length of the spectrum graph (equal to the length of the signal time domain waveform graph, that is, the spectrum length is equal to the signal length).
[0136] S544, determining a first frequency coordinate range f according to the frequency corresponding to the pulse rate predicted last time and its coordinates on the frequency graph r ' ange .
[0137] As in step S54 above, the first frequency range f r ' ange The upper limit is set to (pr last +10) corresponds to the frequency value coordinate, the lower limit is (pr last -10) corresponding to the frequency value coordinate; where pr last Indicates the last predicted pulse rate.
[0138] S545. Find the largest local minimum point smaller than the first frequency coordinate range in the sequence of local minimum points as the first point.
[0139] As in step S545 above, in the spectrum graph f subspe On the sequence of local minimum points of r ' ange The largest local minimum point of is taken as the first point.
[0140] S546. Find the smallest local minimum point that is larger than the first frequency coordinate range in the sequence of local minimum points as the second point.
[0141] As in step S546 above, in the spectrum graph f subspe Find the sequence of local minimum points greater than f r ' ange The smallest local minimum point of is taken as the second point.
[0142] S547: Calculate a frequency corresponding to the first point and a frequency corresponding to the second point.
[0143] S548. Determine a frequency coordinate range that needs to be retained according to the frequency corresponding to the first point and the frequency corresponding to the second point.
[0144] As in step S548, the frequency value coordinate of the first point is calculated according to the frequency corresponding to the first point, and the frequency value coordinate of the second point is calculated according to the frequency of the second point. The frequency value coordinate of the first point is used as the minimum value of the frequency coordinate range to be retained, and the frequency value coordinate of the second point is used as the maximum value of the frequency coordinate range to be retained, so that the frequency coordinate range to be retained can be determined.
[0145] To facilitate understanding of the above steps S543 to S548, an example is given below for illustration:
[0146] Assuming the signal sampling rate is 30 and the time is 8 seconds, the length of the spectrum is 240, and the resolution of the spectrum is 0.125Hz. Assuming the pulse rate was predicted to be 60 last time, the pulse rate range we need to keep is 50-70, which is converted into frequency from 50 / 60=0.83Hz to 70 / 60=1.17Hz. The positions on the spectrum are the 7th point (0.83 / 0.125) and the 10th point (1.17 / 0.125), respectively. Then we find the largest local minimum point in the 0th-6th point of the spectrum, and the smallest local minimum point in the 10th-240th point of the spectrum. Assuming that these two local minimum points are the 4th point and the 12th point, respectively, then the spectrum range we need to keep is from the 4th point to the 12th point, that is, the frequency coordinate range.
[0147] It should be noted that in the existing literature, when using sparse coding for filtering, the filtering range is not set, which easily leads to the suppression of the pulse rate. However, the embodiment of the present invention optimizes the filtering method based on sparse coding by calculating the frequency coordinate range that needs to be retained (that is, setting the filtering range), thereby avoiding the situation where the pulse rate is suppressed.
[0148] As can be seen from the above, each time the pulse rate is predicted, the coefficient vector can be iteratively updated by relying on formula (3) (4), or by relying on formula (3) (5). In addition, since there is no pulse value before the initial pulse rate is obtained, when predicting the initial pulse rate, the coefficient vector can be iteratively updated by using formula (3) (4). Since the frequency coordinate range to be retained in formula (5) needs to be determined based on the last pulse rate, when predicting the non-initial pulse rate, that is, when predicting the pulse rate for the nth time, n is greater than or equal to 2, the coefficient vector can be iteratively updated by using formula (3) (5). In this way, not only the calculation speed can be improved, but also serious interference can be avoided, which may cause the pulse rate component to be incorrectly suppressed.
[0149] Therefore, in one embodiment, in the process of predicting the initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises:
[0150] The coefficient vector is iteratively updated using formula (3) and formula (4):
[0151]
[0152]
[0153] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparseis the step size of sparse coding, represents the third vector, α is the preset threshold, and sgn(.) is the variable x l The symbol, T α Represents an operator for computing a soft threshold.
[0154] In one embodiment, in the process of predicting the non-initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises:
[0155] The coefficient vector is iteratively updated using formula (3) and formula (5):
[0156]
[0157]
[0158] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and f range is the frequency coordinate range that needs to be retained, m is a preset parameter, and fs is the signal sampling rate.
[0159] Embodiment 2:
[0160] See also Fig. 9 , an embodiment of the present invention provides a device for removing motion interference of a pulse wave, comprising:
[0161] The signal acquisition module 1 is used to acquire the signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference;
[0162] A bandpass filtering module 2 is used to perform bandpass filtering on the pulse wave signal to obtain a pulse wave signal after bandpass filtering;
[0163] An adaptive filtering module 3, used for performing adaptive filtering using the acceleration signal and the pulse wave signal after the bandpass filtering to obtain the pulse wave signal after the adaptive filtering;
[0164] A spectral subtraction module 4, configured to obtain a spectral subtraction filtered pulse wave signal based on the adaptively filtered pulse wave signal by spectral subtraction;
[0165] The sparse coding and reconstruction module 5 is used to obtain the pulse wave signal with motion interference removed through sparse coding and reconstruction based on the pulse wave signal that has been filtered by spectral subtraction.
[0166] Furthermore, the adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain the pulse wave signal after adaptive filtering includes:
[0167] Suppose the pulse wave signal after bandpass filtering is y bp , the acceleration signal is a, the weight vector of the acceleration signal is w, whose dimension is equal to the number of channels of the acceleration signal, e is the error signal of the adaptive filter, μ adap is the step size for updating the adaptive filter weights, and ε is a very small positive number. When processing the i=1, ..., nth sample points of the signal to be analyzed, the error signal and weight of the adaptive filter are calculated using formula (1) and formula (2):
[0168] e(i)=y bp (i)-w T (i)a(i) (1)
[0169] w(i+1)=w(i)+2μ adap / (ε+a T (i)a(i))a(i)e(i) (2)
[0170] After the adaptive filtering is completed, the error signal e of the adaptive filter is used as the pulse wave signal after the adaptive filtering.
[0171] Furthermore, the step of obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction based on the pulse wave signal after adaptive filtering comprises:
[0172] Calculating the energy of the pulse wave signal after the bandpass filtering;
[0173] Using the energy of the pulse wave signal after the bandpass filtering, respectively, normalize the energy of the pulse wave signal after the bandpass filtering and the pulse wave signal after the adaptive filtering to obtain a first vector and a second vector;
[0174] Performing Fourier transform on the first vector and the second vector respectively to obtain a frequency spectrum diagram corresponding to the first vector and a frequency spectrum diagram corresponding to the second vector;
[0175] Calculate the frequency component with the largest amplitude reduction using the frequency spectrum corresponding to the first vector and the frequency spectrum corresponding to the second vector;
[0176] Taking the frequency component with the largest amplitude reduction as the fundamental frequency of the motion artifact, and determining the harmonics of the motion artifact based on the fundamental frequency;
[0177] The fundamental frequency and the harmonics of the motion artifact are filtered using a band-stop filter to obtain a pulse wave signal that has been filtered by spectral subtraction.
[0178] Furthermore, the step of obtaining the pulse wave signal with motion interference removed by sparse coding and reconstruction based on the pulse wave signal after spectral subtraction filtering includes:
[0179] Create a dictionary and a coefficient vector with all values zero;
[0180] Normalizing the energy of the pulse wave signal after the spectral subtraction filtering to obtain a third vector;
[0181] Obtaining a preset sparse coding step size and a preset threshold;
[0182] Iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold;
[0183] Calculating a reconstructed signal using the updated coefficient vector and the dictionary;
[0184] When the number of iterations exceeds a preset iteration threshold or the second norm of the difference between the reconstructed signal and the third vector is less than the threshold, the iteration is stopped, and the current reconstructed signal is used as the pulse wave signal with motion interference removed.
[0185] Furthermore, in the process of predicting the initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold value includes:
[0186] The coefficient vector is iteratively updated using formula (3) and formula (4):
[0187]
[0188]
[0189] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and sgn(.) is the variable x l The symbol, T α Represents an operator for computing a soft threshold.
[0190] Furthermore, in the process of predicting the non-initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises:
[0191] The coefficient vector is iteratively updated using formula (3) and formula (5):
[0192]
[0193]
[0194] Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and f range is the frequency coordinate range that needs to be retained, m is a preset parameter, and fs is the signal sampling rate.
[0195] Further, the step of calculating the frequency coordinate range that needs to be retained includes:
[0196] Performing Fourier transform on the third vector to obtain a frequency spectrum of the third vector;
[0197] Calculating all local minimum points of the frequency spectrum of the third vector, and sorting the local minimum points in ascending order of their coordinates to obtain a sequence of local minimum points;
[0198] Obtaining the pulse rate predicted last time, and calculating the frequency corresponding to the pulse rate predicted last time and its coordinates on the spectrum diagram according to the pulse rate predicted last time;
[0199] Determining a first frequency coordinate range according to the frequency corresponding to the pulse rate predicted last time and its coordinates on the frequency graph;
[0200] In the sequence of local minimum value points, find the largest local minimum value point that is smaller than the first frequency coordinate range as the first point;
[0201] In the sequence of local minimum value points, find the smallest local minimum value point that is greater than the first frequency coordinate range as the second point;
[0202] Calculate the frequency corresponding to the first point and the frequency corresponding to the second point;
[0203] A frequency coordinate range that needs to be retained is determined according to the frequency corresponding to the first point and the frequency corresponding to the second point.
[0204] Embodiment three:
[0205] Reference Fig.10 The present application also provides a computer device, the internal structure of which can be as follows: Fig.10As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed for the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as a method for removing motion interference of a pulse wave. The network interface of the computer device is used to communicate with an external terminal through a network connection. Furthermore, the above-mentioned computer device can also be provided with an input device and a display screen, etc. When the above computer program is executed by a processor, a method for removing motion interference of a pulse wave is implemented. The method for removing motion interference of a pulse wave includes the following steps: collecting a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference; performing bandpass filtering on the pulse wave signal to obtain a pulse wave signal after bandpass filtering; performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal; based on the pulse wave signal after adaptive filtering, obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction; based on the pulse wave signal after spectral subtraction filtering, obtaining a pulse wave signal with motion interference removed by sparse coding and reconstruction. Those skilled in the art can understand that Fig.10 The structure shown in is merely a block diagram of a portion of the structure related to the present application solution and does not constitute a limitation on the computer device to which the present application solution is applied.
[0206] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method for removing motion interference of a pulse wave is implemented. The method for removing motion interference of a pulse wave comprises the following steps: acquiring a signal to be analyzed; wherein the signal to be analyzed comprises a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal carries motion interference; performing band-pass filtering on the pulse wave signal to obtain a pulse wave signal after band-pass filtering; performing adaptive filtering using the acceleration signal and the pulse wave signal after band-pass filtering to obtain a pulse wave signal after adaptive filtering; based on the pulse wave signal after adaptive filtering, obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction; based on the pulse wave signal after spectral subtraction filtering, obtaining a pulse wave signal with motion interference removed by sparse coding and reconstruction.
[0207] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0208] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0209] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for removing motion interference of pulse wave, It is characterized in that include: Collecting a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference; Performing bandpass filtering on the pulse wave signal to obtain a bandpass filtered pulse wave signal; Performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal; Based on the pulse wave signal after the adaptive filtering, obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction; Based on the pulse wave signal that has been filtered by spectral subtraction, a pulse wave signal with motion interference removed is obtained through sparse coding and reconstruction.
2. The method for removing motion interference of pulse wave according to claim 1, It is characterized in that The method of performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain the pulse wave signal after adaptive filtering includes: Suppose the pulse wave signal after bandpass filtering is y bp , the acceleration signal is a, the weight vector of the acceleration signal is w, whose dimension is equal to the number of channels of the acceleration signal, e is the error signal of the adaptive filter, μ adap is the step size for updating the adaptive filter weights, and ε is a very small positive number. When processing the i=1, ..., nth sample points of the signal to be analyzed, the error signal and weight of the adaptive filter are calculated using formula (1) and formula (2): e(i)=y bp (i)-w T (i)a(i) (1) in(i+1)=in(i)+2μ adap / (ε+a T (i)a(i))a(i)e(i) (2) After the adaptive filtering is completed, the error signal e of the adaptive filter is used as the pulse wave signal after the adaptive filtering.
3. The method for removing motion interference of pulse wave according to claim 1, It is characterized in that The step of obtaining a pulse wave signal after spectral subtraction filtering by spectral subtraction based on the pulse wave signal after adaptive filtering comprises: Calculating the energy of the pulse wave signal after the bandpass filtering; Using the energy of the pulse wave signal after the bandpass filtering, respectively, normalize the energy of the pulse wave signal after the bandpass filtering and the pulse wave signal after the adaptive filtering to obtain a first vector and a second vector; Performing Fourier transform on the first vector and the second vector respectively to obtain a frequency spectrum diagram corresponding to the first vector and a frequency spectrum diagram corresponding to the second vector; Calculate the frequency component with the largest amplitude reduction using the frequency spectrum corresponding to the first vector and the frequency spectrum corresponding to the second vector; Taking the frequency component with the largest amplitude reduction as the fundamental frequency of the motion artifact, and determining the harmonics of the motion artifact based on the fundamental frequency; The fundamental frequency and the harmonics of the motion artifact are filtered using a band-stop filter to obtain a pulse wave signal that has been filtered by spectral subtraction.
4. The method for removing motion interference of pulse wave according to claim 1, It is characterized in that The step of obtaining the pulse wave signal with motion interference removed by sparse coding and reconstruction based on the pulse wave signal after spectral subtraction filtering comprises: Create a dictionary and a coefficient vector with all values zero; Normalizing the energy of the pulse wave signal after the spectral subtraction filtering to obtain a third vector; Obtaining a preset sparse coding step size and a preset threshold; Iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold; Calculating a reconstructed signal using the updated coefficient vector and the dictionary; When the number of iterations exceeds a preset iteration threshold or the second norm of the difference between the reconstructed signal and the third vector is less than the threshold, the iteration is stopped, and the current reconstructed signal is used as the pulse wave signal with motion interference removed.
5. The method for removing motion interference of pulse wave according to claim 4, It is characterized in that In the process of predicting the initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises: The coefficient vector is iteratively updated using formula (3) and formula (4): Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and sgn(.) is the variable x l The symbol, T α Represents an operator for computing a soft threshold.
6. The method for removing motion interference of pulse wave according to claim 4, It is characterized in that In the process of predicting the non-initial pulse rate, the step of iteratively updating the coefficient vector using the dictionary, the third vector, the step size of the sparse coding, the coefficient vector and the preset threshold comprises: The coefficient vector is iteratively updated using formula (3) and formula (5): Among them, x represents the coefficient vector, D represents the dictionary, and x l Represents the value of the lth dimension of vector x, μ sparse is the step size of sparse coding, represents the third vector, α is the preset threshold, and f range is the frequency coordinate range that needs to be retained, m is a preset parameter, and fs is the signal sampling rate.
7. The method for removing motion interference of pulse wave according to claim 6, It is characterized in that The step of calculating the frequency coordinate range that needs to be retained includes: Performing Fourier transform on the third vector to obtain a frequency spectrum of the third vector; Calculating all local minimum points of the frequency spectrum of the third vector, and sorting the local minimum points in ascending order of their coordinates to obtain a sequence of local minimum points; Obtaining the pulse rate predicted last time, and calculating the frequency corresponding to the pulse rate predicted last time and its coordinates on the spectrum diagram according to the pulse rate predicted last time; Determining a first frequency coordinate range according to the frequency corresponding to the pulse rate predicted last time and its coordinates on the frequency graph; In the sequence of local minimum value points, find the largest local minimum value point that is smaller than the first frequency coordinate range as the first point; In the sequence of local minimum value points, find the smallest local minimum value point that is greater than the first frequency coordinate range as the second point; Calculate the frequency corresponding to the first point and the frequency corresponding to the second point; A frequency coordinate range that needs to be retained is determined according to the frequency corresponding to the first point and the frequency corresponding to the second point.
8. A device for removing motion interference of pulse wave, It is characterized in that include: A signal acquisition module, used for acquiring a signal to be analyzed; wherein the signal to be analyzed includes a pulse wave signal and an acceleration signal at the same time; wherein the pulse wave signal has motion interference; A bandpass filtering module, used for performing bandpass filtering on the pulse wave signal to obtain a pulse wave signal after bandpass filtering; An adaptive filtering module, used for performing adaptive filtering using the acceleration signal and the pulse wave signal after bandpass filtering to obtain an adaptively filtered pulse wave signal; A spectral subtraction module, used for obtaining a spectral subtraction filtered pulse wave signal by spectral subtraction based on the adaptively filtered pulse wave signal; The sparse coding and reconstruction module is used to obtain the pulse wave signal with motion interference removed through sparse coding and reconstruction based on the pulse wave signal that has been filtered by spectral subtraction.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Blood oxygen signal denoising method and system based on adaptive filtering
CN121845570A
Signal processing method and system, engineering machinery, storage medium and program
WO2026086023A1
