PPG frequency domain signal denoising method, device and storage medium
By constructing a PPG spectrum denoising model and using ACC and IR signals to remove the noise in the PPG signal, the problem of inaccurate measurement during exercise is solved and accurate heart rate measurement under exercise is achieved.
Patent Information
- Application Number
- CN202311051681.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-08-17
AI Technical Summary
PPG signals are easily interfered by motion artifacts during motion, resulting in inaccurate measurement results.
The transformer encoder model is used to combine the ACC signal and the IR signal to construct a PPG spectrum denoising model. It uses a data-driven approach to learn denoising features and remove noise in the PPG signal, thereby achieving accurate measurement under motion.
It effectively removes the noise in the PPG signal and restores the spectrum characteristics, allowing the heart rate to be measured accurately even during exercise, improving the accuracy of the measurement results.
Smart Images

Figure CN117694857B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a denoising method, device and storage medium for a PPG frequency domain signal. Background Art
[0002] Photoplethysmography (PPG) is a non-invasive detection method that uses photoelectric means to detect changes in blood volume in living tissue. Since the intensity of reflected light is related to blood flow velocity, and blood flow velocity is affected by periodic heart rate, blood oxygen saturation (SPO2), heart rate, blood pressure, etc. can be measured based on PPG signals.
[0003] However, since the PPG signal is particularly sensitive to motion, that is, it is easily disturbed by motion artifacts, the relevant prediction results based on the PPG signal are not accurate enough in the motion state. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a PPG frequency domain signal denoising method, device and storage medium, which aims to remove the noise in the PPG spectrum characteristics, so that accurate measurement can be performed based on the PPG signal even in motion.
[0005] In the first aspect, the present application provides a method for denoising a PPG frequency domain signal. The method includes: obtaining a photoplethysmogram (PPG) signal, an acceleration (ACC) signal and an infrared (IR) signal collected by a wearable device; denoising the spectral features of the PPG signal according to a PPG spectrum denoising model, spectral features in the ACC signal and spectral features in the IR signal to obtain a denoised PPG frequency domain signal; wherein the PPG spectrum denoising model is a model obtained by training a transformer encoder model using spectral features in a PPG sample signal, spectral features in an ACC sample signal and spectral features in an IR sample signal as inputs and a PPG spectrum gold standard as a supervisory signal.
[0006] Therefore, by using the transformer encoder model, taking the ACC signal and IR signal as the denoising reference signals, a data-driven approach is adopted to learn and build the PPG spectrum denoising model. Then, in practical applications, the constructed PPG spectrum denoising model is used to denoise the PPG frequency domain signal through the collected ACC signal and IR signal, so that the heart rate can be accurately measured based on the PPG signal in motion.
[0007] According to the first aspect, obtaining a PPG signal, an ACC signal, and an IR signal collected by a wearable device includes: obtaining the PPG signal, the ACC signal, and the IR signal collected by the wearable device in the same state and the same period.
[0008] Therefore, by constraining the denoising reference signal selected when denoising the PPG frequency domain signal, that is, the ACC signal and the IR signal are collected in the same period as the PPG signal and when the wearable device is in the same state, the effectiveness of the denoising result of the PPG frequency domain signal is guaranteed, and the denoised PPG frequency domain signal is guaranteed to meet the spectrum characteristics under ideal conditions (noise-free), so that the subsequent heart rate prediction based on the PPG spectrum characteristics is more accurate.
[0009] According to the first aspect, or any implementation of the first aspect above, the PPG signal, the ACC signal and the IR signal are PPG signals, ACC signals and IR signals in the time domain; according to the PPG spectrum denoising model, the spectrum features in the ACC signal, and the spectrum features in the IR signal, the spectrum features of the PPG signal are denoised to obtain a denoised PPG frequency domain signal, including: converting the acquired PPG signal, ACC signal and IR signal in the time domain from the time domain to the frequency domain to obtain a PPG frequency domain signal and an ACC frequency domain signal in the frequency domain. and IR frequency domain signals; for each frame of PPG frequency domain signal, extract the spectral features in the PPG frequency domain signal; for each frame of ACC frequency domain signal, extract the spectral features of the ACC frequency domain signal on the x-axis, y-axis and z-axis respectively; for each frame of IR frequency domain signal, extract the spectral features in the IR frequency domain signal; input the spectral features of the PPG signal, the spectral features in the IR frequency domain signal and the spectral features of the ACC frequency domain signal on the x-axis, y-axis and z-axis into the PPG spectrum denoising model; use the output result of the PPG spectrum denoising model as the denoised PPG frequency domain signal.
[0010] Therefore, by converting the PPG signals, ACC signals and IR signals collected by the wearable device from time domain to frequency domain, the spectral characteristics of different signals can be obtained, and then the PPG frequency domain signals can be denoised based on the PPG spectrum denoising model.
[0011] According to the first aspect, or any implementation manner of the first aspect above, the PPG signal, ACC signal and IR signal acquired in the time domain are converted from the time domain to the frequency domain, including: performing windowing, slicing and framing processing on the PPG signal, ACC signal and IR signal acquired in the time domain to obtain a continuous framed signal, the framed signal including the PPG signal, ACC signal and IR signal in the time domain; for each frame of the framed signal, converting the PPG signal, ACC signal and IR signal in the time domain included in the framed signal from the time domain to the frequency domain.
[0012] Therefore, by performing windowing, slicing and framing processing on the PPG signal, ACC signal and IR signal collected by the wearable device, each frame of the framed signal includes the PPG signal, ACC signal and IR signal, thereby ensuring that the PPG frequency domain signal can be denoised based on the spectral characteristics of the ACC signal and the IR signal in each frame, and further ensuring that the spectral characteristics of the denoised PPG frequency domain signal can be closer to the spectral characteristics of the PPG frequency domain signal under ideal conditions (noise-free).
[0013] According to the first aspect, or any implementation method of the first aspect above, the PPG signal, ACC signal and IR signal acquired in the time domain are windowed, sliced and framed, including: with a window size of 8s and a window moving step of 1s, the PPG signal, ACC signal and IR signal acquired in the time domain are windowed, sliced and framed.
[0014] According to the first aspect, or any implementation of the first aspect above, the device type and resource configuration of the wearable device that collects the PPG sample signal, the ACC sample signal, and the IR sample signal are the same as those of the wearable device that collects the PPG signal, the ACC signal, and the IR signal.
[0015] Therefore, by ensuring that the source of the sample data used in training the PPG spectrum denoising model is the same as the source of the data in the actual application scenario, the accuracy of the denoising results can be better guaranteed.
[0016] According to the first aspect, or any implementation of the first aspect above, the PPG spectrum gold label is determined based on the heart rate gold label collected by the heart rate tester; wherein the heart rate gold label is the heart rate with absolute accuracy collected by the heart rate tester when the wearable device collects PPG sample signals, ACC sample signals and IR sample signals.
[0017] According to the first aspect, or any implementation of the first aspect above, the PPG spectrum gold label is obtained by processing the heart rate gold label using a filtering construction method.
[0018] According to the first aspect, or any implementation of the first aspect above, the PPG spectrum gold label is obtained by processing the heart rate gold label using a heuristic construction method.
[0019] According to the first aspect, or any implementation of the first aspect above, the PPG spectrum denoising model is obtained based on a transformer encoder model training.
[0020] According to the first aspect, or any implementation of the first aspect above, the PPG spectrum denoising model is obtained based on the training of two transformer encoder models; wherein the input of the first transformer encoder model is the spectral features in each frame of the PPG sample signal, the spectral features in the ACC sample signal, and the spectral features in the IR sample signal, which are used to establish a mapping relationship between multi-channel features; wherein the input of the second transformer encoder model is the spectral features after feature averaging of the output of the input of the first transformer encoder model, which is used to establish a temporal mapping relationship between multi-frame features.
[0021] According to the first aspect, or any implementation of the first aspect above, after obtaining the denoised PPG frequency domain signal, the method further includes: predicting the heart rate of a user wearing the wearable device based on the denoised PPG frequency domain signal.
[0022] Therefore, by denoising the PPG frequency domain signal based on the PPG spectrum denoising model, the spectrum characteristics of the PPG frequency domain signal can be restored to an ideal state, and accurate measurement can be performed based on the PPG signal in motion.
[0023] In a second aspect, the present application provides an electronic device. The electronic device includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes instructions of the method in the first aspect or any possible implementation of the first aspect.
[0024] Among them, in some possible implementations, the electronic device may be a wearable device, such as a smart watch, a smart bracelet, a smart ring, etc.
[0025] In some other possible implementations, the electronic device may be a device with powerful processing capabilities, such as a PC.
[0026] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0027] In a third aspect, the present application provides a computer-readable medium for storing a computer program, wherein the computer program includes instructions for executing the method in the first aspect or any possible implementation of the first aspect.
[0028] The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.
[0029] In a fourth aspect, the present application provides a computer program, comprising instructions for executing the method in the first aspect or any possible implementation of the first aspect.
[0030] The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.
[0031] In a fifth aspect, the present application provides a chip, the chip comprising a processing circuit and a transceiver pin, wherein the transceiver pin and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the method in the first aspect or any possible implementation of the first aspect to control the receiving pin to receive a signal and control the sending pin to send a signal.
[0032] The fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1A and Figure 1B The figure is a schematic diagram showing an exemplary scenario of using a wearable device to measure heart rate;
[0034] Figure 2 Schematic diagram showing the relationship between a noise-free PPG signal and a heart rate;
[0035] Figure 3A and Figure 3B Schematic diagram showing the relationship between a noisy PPG signal and a heart rate;
[0036] Figure 4A Schematic diagram showing the relationship between the frequency spectrum characteristics of the PPG signal and the frequency spectrum characteristics of the ACC signal in a periodic motion state;
[0037] Figure 4BSchematic diagram showing the relationship between the spectrum characteristics of the PPG signal and the spectrum characteristics of the IR signal in a non-periodic motion state;
[0038] Figure 5A and Figure 5B A schematic diagram of spectral characteristics of a denoised PPG signal obtained by denoising the spectral characteristics of a noisy PPG signal by using the denoising method for a PPG frequency domain signal provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram showing various steps involved in implementing the method for denoising a PPG frequency domain signal provided in an embodiment of the present application;
[0040] Fig. 7A A schematic diagram of a PPG spectrum denoising model used in a PPG frequency domain signal denoising method provided in an embodiment of the present application based on a deep learning algorithm is shown as an example;
[0041] Figure 7B A schematic diagram of a PPG spectrum denoising model used in a denoising method for a PPG frequency domain signal provided in an embodiment of the present application constructed based on a deep learning algorithm is exemplified;
[0042] Figure 8 A schematic diagram of a flow chart of a method for denoising a PPG frequency domain signal provided by an embodiment of the present application;
[0043] Fig. 9 A schematic diagram of the software structure and hardware of a wearable device is shown as an example;
[0044] Fig.10 The figure is a schematic diagram of the hardware structure of a wearable device shown as an example. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0047] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
[0048] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0049] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
[0050] Heart rate is an important indicator of health status. In recent years, with the development and maturity of wearable devices such as smart watches and smart bracelets, based on the sensor information of wearable devices, the heart rate algorithm, blood oxygen concentration algorithm, blood pressure algorithm, etc. are used to accurately monitor the heart rate, blood oxygen concentration, blood pressure, etc. of the human body in real time, thereby reflecting the user's physical health status, which has a wide range of application scenarios.
[0051] At present, in order to accurately monitor the heart rate, blood oxygen concentration, blood pressure, etc. of the human body in real time, wearable devices (such as smart watches) usually have a surface that contacts the user's skin, such as Figure 1A A PPG sensor is set on the back as shown in the figure, and based on the information collected by the PPG sensor, the heart rate, blood oxygen concentration, blood pressure, etc. of the human body are accurately monitored in real time using heart rate algorithm, blood oxygen concentration algorithm, blood pressure algorithm, etc.
[0052] The PPG sensor includes a light emitting diode (LED) and a receiver. For ease of explanation, the measurement of heart rate is taken as an example. Figure 1B , for example, when the user Figure 1A After the smart watch including the PPG sensor is worn on the arm and the heart rate measurement function is turned on, in a possible implementation, in order to improve the user experience, a heart rate measurement picture and a text message of "measuring" can be displayed on the user interface of the smart watch, such as Figure 1B As shown in (1).
[0053] Exemplarily, when the user interface of the smart watch is in Figure 1BWhen the style shown in (1) is used, the LED in the PPG sensor in the smart watch will continuously project light onto the skin. The light passes through the skin tissue and is absorbed by the blood. At the same time, the receiver receives the reflected light signal (hereinafter referred to as the PPG signal). Since the intensity of the PPG signal is related to the blood flow velocity, and the blood flow velocity is affected by the periodic heart rhythm. Therefore, by analyzing the spectral characteristics of the PPG signal in the frequency domain (which can be expressed as the PPG frequency domain signal or the PPG spectrum characteristics), the user's heart rate can be determined. Finally, the measured heart rate can be displayed on the user interface of the smart watch, such as Figure 1B As shown in (2).
[0054] It should be noted that, ideally, the PPG signal, like the electrocardiograph (ECG) signal, can accurately detect the heart rate value of the human body at all times. However, due to the influence of noise in complex scenes such as hardware, temperature, and motion, the real signal of the PPG is distorted, which greatly restricts the accuracy of the heart rate calculation. Since the PPG frequency domain signal is particularly sensitive to motion, the biggest impact is the motion artifact. Motion artifacts will cause the peaks and troughs in the PPG time domain features to be missing or deformed, reducing the accuracy of the time domain counting method, and in the frequency domain it will appear as abnormal spectral peaks in the PPG spectrum features, making it impossible to accurately locate the main frequency of the PPG frequency domain signal at the current moment (corresponding to the real heart rate), resulting in inaccurate prediction results.
[0055] For the sake of ease of explanation, this embodiment expresses the PGG time domain features and PGG frequency domain features under ideal conditions as noise-free PPG time domain features and noise-free PPG frequency domain features; and expresses the PGG time domain features and PGG frequency domain features that are interfered by motion artifacts and have a large number of noise frequency peaks as noisy PPG time domain features and noisy PPG frequency domain features.
[0056] For example, for the PPG time domain feature without noise, in a possible implementation, the waveform of the received signal strength of the PPG signal changing with time is as follows: Figure 2 As shown in (1), the horizontal axis is time and the vertical axis is the received signal strength.
[0057] from Figure 2 As can be seen from (1), the PPG time domain features without noise basically do not have missing or deformed peaks and troughs, so Figure 2 After the PPG signal in the time domain shown in (1) is converted from the time domain to the frequency domain, the following can be obtained: Figure 2 (2) shows the frequency domain characteristics of the PPG without noise, where the horizontal axis is the frequency point and the vertical axis is the spectrum intensity.
[0058] See also Figure 2In (2), for example, for the PPG frequency domain feature without noise, the main frequency is clear and there is no abnormal spectrum peak interference. Therefore, directly according to the main frequency of the PPG frequency domain signal ( Figure 2 The user's current heart rate can be determined by the dotted line position shown in (2).
[0059] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
[0060] For example, for the noisy PPG time domain feature, in a possible implementation, the waveform of the received signal strength of the PPG signal changing with time is as follows: Figure 3A As shown in (1), or as Figure 3B As shown in (1), the horizontal axis is time and the vertical axis is the received signal strength.
[0061] from Figure 3A Zhong (1) and Figure 3B As can be seen from (1), the peaks and troughs of the noisy PPG time domain features are seriously missing or deformed, so Figure 3A Zhong (1) and Figure 3B After the PPG signal in the time domain shown in (1) is converted from the time domain to the frequency domain, the PPG signal in (2) and (3A) will be obtained. Figure 3B (2) shows the frequency domain characteristics of the noisy PPG, where the horizontal axis is the frequency point and the vertical axis is the spectrum intensity.
[0062] See also Figure 3A Zhong (2) and Figure 3B In (2), for example, for the noisy PPG frequency domain features, the main frequency is unclear and there is abnormal spectral peak interference.
[0063] For example, in a possible implementation, for example, the PPG spectrum intensity corresponding to the user's actual heart rate is Figure 3A (2) shows the spectrum intensity corresponding to the frequency points between 10 and 15. However, due to abnormal spectrum peaks, such as the interference of the spectrum intensity corresponding to the frequency point 5, when the maximum value method is adopted, that is, the spectrum intensity corresponding to the maximum frequency peak is selected as the basis for calculating the heart rate, the spectrum intensity corresponding to the frequency point 5 will be mistakenly used as the basis for calculating the heart rate, which will cause the measured heart rate to be an erroneous heart rate.
[0064] Exemplarily, in another possible implementation, for example, the PPG spectrum intensity corresponding to the user's actual heart rate is Figure 3B As shown in (2).
[0065] like Figure 3A(2) shows the spectrum intensity corresponding to the frequency points between 10 and 15. However, due to the interference of noise, there is no spectrum peak at this frequency point. This will cause abnormal spectrum peaks, such as the frequency point 5, to be misidentified as the main frequency, resulting in the measured heart rate being an erroneous heart rate.
[0066] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
[0067] From the above description, it can be seen that the noise-free PPG frequency domain signal can ensure the accuracy of the heart rate measurement results. Therefore, how to remove the noise in the PPG frequency domain signal so that the spectrum characteristics of the PPG frequency domain signal can meet the noise-free PPG spectrum characteristics has become an urgent problem to be solved.
[0068] For example, in some possible implementations, for a user wearing a wearable device such as a smart watch with an integrated PPG sensor, when performing periodic motion, such as periodically swinging the arm wearing the smart watch during running, the frequency spectrum characteristics of the collected PPG signal in the frequency domain can be as follows: Figure 4A As shown in (1).
[0069] For example, if the frequency point and spectrum intensity corresponding to the user's current real heart rate are Figure 4A The dotted line in (1) shows the frequency point and spectrum intensity corresponding to the frequency point, but due to the interference of noise during the movement, there is an abnormal spectrum peak at frequency point 5. During the periodic movement, the spectrum characteristics of the ACC signal collected by the acceleration transducer (ACC) and the spectrum characteristics of the noise signal basically show the same change trend, that is, the spectrum characteristics of the ACC signal can reflect the spectrum characteristics of the noise signal. Therefore, the spectrum subtraction method can be used to Figure 4A The noisy PPG frequency domain features (noisy spectrum) obtained during the periodic motion shown in (1) are minus the spectrum features of the ACC signal collected by the acceleration sensor in the same period and the same state, that is, during the process of collecting the PPG signal (such as Figure 4A The ACC spectrum feature shown in (2) can also be called a noise spectrum), so that the PPG frequency domain signal can be denoised, and then the frequency point and PPG spectrum intensity of the true heart rate can be accurately determined and calculated based on the denoised PPG frequency domain signal, thereby improving the accuracy of the heart rate measurement result.
[0070] It should be noted that the frequency spectrum used in the spectral subtraction method can be an amplitude spectrum or a power spectrum, and this application does not impose any limitation on this.
[0071] For example, in some other possible implementations, for a user wearing a wearable device such as a smart watch with an integrated PPG sensor, when performing non-periodic motion, such as non-periodic swinging of the arm wearing the smart watch during walking, the frequency spectrum characteristics of the collected PPG signal in the frequency domain can be as follows: Figure 4B As shown in (1).
[0072] For example, if the frequency point and spectrum intensity corresponding to the user's current real heart rate are Figure 4B The dotted lines shown in (1) correspond to the frequency points and spectrum intensities, but are affected by the noise during the movement, resulting in abnormal spectrum peaks at frequencies 0 to 10. Due to the non-periodic movement, the spectrum characteristics of the ACC signal cannot reflect the spectrum characteristics of the noise signal. Therefore, the denoising of the PPG frequency domain signal during non-periodic movement cannot be achieved with the ACC signal. However, the spectrum characteristics of the IR signal collected by the infrared sensor (IR) in the same period and the same state, that is, in the process of collecting the PPG signal, basically show the same change trend as the spectrum characteristics of the noise signal, that is, the spectrum characteristics of the IR signal can reflect the spectrum characteristics of the noise signal, such as Figure 4B Therefore, the PPG frequency domain signal can be denoised by notching, i.e. filtering, and then the frequency point and PPG spectrum intensity of the true heart rate can be accurately determined based on the denoised PPG frequency domain signal, thereby improving the accuracy of the heart rate measurement result.
[0073] In view of this, an embodiment of the present application provides a denoising method for a PPG frequency domain signal, by using a transformer encoder model, taking ACC signals and IR signals as denoising reference signals, and adopting a data-driven approach to learn and construct a PPG spectrum denoising model, and then in actual applications, the constructed PPG spectrum denoising model is used to denoise the PPG frequency domain signal through the collected ACC signals and IR signals, so that the heart rate can be accurately measured based on the PPG signal in a state of motion.
[0074] Based on the PPG frequency domain signal denoising method provided in the embodiment of the present application, different noisy PPG frequency domain signals can be denoised. For example, Figure 5A The noisy PPG spectrum features shown in (1) are processed into Figure 5A The denoised PPG spectrum features shown in (2) are also shown. Figure 5B The noisy PPG spectrum features shown in (1) are processed into Figure 5B The denoised PPG spectrum features shown in (2).
[0075] In this way, based on the denoised PPG spectrum features, the user's true heart rate can be accurately determined.
[0076] Regarding the denoising method of the PPG frequency domain signal provided in the embodiment of the present application, the implementation process can be divided into two stages, such as the construction stage of the PPG spectrum denoising model and the application stage of the PPG spectrum denoising model. Among them, the construction stage of the PPG spectrum denoising model may include Figure 6 The data collection link, spectrum feature gold standard construction link and spectrum reconstruction link are shown; the application stage of PPG denoising spectrum can include Figure 6 The heart rate prediction link is shown.
[0077] See also Figure 6 , exemplarily, the data collection link includes the collection of sensor signals required in the training process and the collection of heart rate gold standards for building supervision signals in the training process.
[0078] Since the constructed PPG spectrum denoising model is applied to wearable devices to achieve heart rate prediction, the sensor signals required in the training process are specifically collected by wearable devices.
[0079] Specifically, in the technical solution provided in the embodiments of the present application, the sensor signals collected by the wearable device include PPG signals collected by the PPG sensor, ACC signals collected by the ACC sensor, and IR signals collected by the IR sensor in different states (periodic motion, non-periodic motion, stillness, etc.).
[0080] In addition, it should be noted that in order to ensure that the constructed PPG spectrum denoising model can accurately remove the noise in the PPG frequency domain signal, so that the wearable device can accurately determine the user's heart rate based on the denoised PPG spectrum characteristics. The heart rate gold standard of the supervision signal during the training process can be collected using professional equipment, such as a medical-grade heart rate tester.
[0081] Understandably, in order to ensure the availability of the heart rate gold label during the construction phase of the entire PPG spectrum denoising model, it is necessary to ensure that the heart rate is collected using a hospital-grade heart rate tester, and then the operation of obtaining the heart rate gold label is synchronized with the operation of collecting sensor signals using wearable devices.
[0082] In addition, it should be noted that the so-called heart rate gold standard refers to the heart rate collected by a medical-grade heart rate tester, which is used to construct the parameter signal with absolute accuracy.
[0083] This is the end of the introduction to the data collection process. For technical details that are not recorded in detail in the data collection process, please refer to the existing collection of sensor signals and the implementation plan of heart rate collection using a medical-grade heart rate tester. I will not go into details here.
[0084] Continue to see Figure 6 Exemplarily, the operation performed in the spectral feature golden mark construction stage is specifically to use the heart rate golden mark collected in the data collection stage to construct the PPG spectral feature, and then use the constructed spectral feature as the reference signal used in the PPG spectrum denoising model training stage (hereinafter referred to as the PPG spectrum golden mark).
[0085] It should be noted that in some implementations, the PPG spectrum gold label mentioned in this embodiment can also be understood as a heart rate label, that is, the actual heart rate value used when constructing a PPG spectrum denoising model and evaluating the model performance through the mean square difference loss function.
[0086] Exemplarily, in some possible implementations, the construction of the PPG spectrum gold label may be constructed by filtering.
[0087] Exemplarily, in some other possible implementations, the construction of the PPG spectrum gold label may be constructed in a heuristic construction manner.
[0088] In order to facilitate the description of these two methods of constructing the PPG spectrum gold label, in this embodiment, the final constructed PPG spectrum gold label includes the spectrum energy of 256 frequency points, that is, G∈R 256 For example, in the stage of constructing the model, G i Represents the spectrum energy of the i-th frequency point in the spectrum.
[0089] Based on the above premise, when constructing the PPG spectrum gold label, we can first calculate the frequency f corresponding to each frequency point p , and the frequency index hr corresponding to the frequency i .
[0090] After completing the above preparations, the PPG spectrum gold label can be constructed through filtering construction or heuristic construction.
[0091] Exemplarily, the method of constructing a PPG spectrum gold label by using a filtering construction method may include the following steps:
[0092] First, a frequency threshold σ is set according to business needs.
[0093] Then, the PPG signal in the time domain is filtered by three sets of bandpass filters.
[0094] For ease of description, the three groups of bandpass filters can be represented as a heart rate main frequency filter (also called: first harmonic filter), a second harmonic filter, and a third harmonic filter. Among them, the frequency band range corresponding to the heart rate main frequency filter is {f p -σ,f p +σ}, the frequency band corresponding to the second harmonic filter is {2*f p -σ,2*f p +σ}, the frequency band corresponding to the third harmonic filter is {3*f p -σ,3*f p +σ}.
[0095] Next, the PPG signal in the time domain is filtered by using the three sets of filters mentioned above, and then the three sets of filtered PPG signals are summed, and finally the summed PPG signal is converted from the time domain to the frequency domain based on the fast Fourier transform (FFT) algorithm, that is, based on the method of extracting features by frequency in the FFT algorithm, the spectrum characteristics of the PPG signal in the frequency domain can be obtained. The spectrum characteristics of the PPG signal in the frequency domain obtained at this stage are the PPG spectrum gold standard mentioned above.
[0096] For example, for a PPG spectrum gold label constructed using a heuristic construction method, the following formula may be satisfied:
[0097]
[0098] This is the end of the introduction to the construction of the spectrum feature golden label. For technical details that are not recorded in detail in the construction of the spectrum feature golden label, please refer to the existing descriptions of the filtering construction method and the heuristic construction method, which will not be repeated here.
[0099] Continue to see Figure 6 For example, in the spectrum reconstruction stage, the constructed spectrum features are used as supervisory signals (as PPG spectrum gold standard) based on the deep learning method, and the PPG spectrum denoising model is trained using a data-driven method. That is, in the spectrum reconstruction stage, the training construction of the PPG spectrum denoising model is carried out.
[0100] Regarding the specific implementation logic of the spectrum reconstruction link, in a possible implementation method, it can be as follows Fig. 7A shown.
[0101] See also Fig. 7A For example, in the spectrum reconstruction link, the PPG signal, ACC signal and IR signal (which can be called timing signal) in the time domain collected by the PPG sensor, ACC sensor and IR sensor in the wearable device are first preprocessed and feature extracted.
[0102] Specifically, in the signal preprocessing stage, the three time series signals of PPG, ACC and IR are firstly subjected to windowing, slicing and framing processing in the same manner.
[0103] Exemplarily, in some possible implementations, the window size may be set to 8s, the window moving step may be set to 1s, and then based on the setting, segmentation and framing are performed (one operation is one frame) to obtain a continuous frame signal.
[0104] Next, after completing the windowing, slicing and framing processing of the above three time series signals, the frequency domain characteristics of the PPG signal (hereinafter referred to as PPG spectrum characteristics), the frequency domain characteristics of the ACC signal (hereinafter referred to as ACC spectrum characteristics), and the frequency domain characteristics of the IR signal (hereinafter referred to as IR spectrum characteristics) in each frame signal obtained by the slicing and framing processing can be extracted through the FFT algorithm, that is, the conversion of the above three types of signals from time domain to frequency domain can be realized.
[0105] It should be understood that the ACC signal collected by the acceleration sensor includes three dimensions, namely, the features of the x-axis, y-axis, and z-axis, so the extracted ACC spectrum features include the features of the x-axis, y-axis, and z-axis. For ease of distinction, in this embodiment, the ACC spectrum features in the x-axis direction are represented as ACCx spectrum, the ACC spectrum features in the y-axis direction are represented as ACCy spectrum, and the ACC spectrum features in the z-axis direction are represented as ACCz spectrum.
[0106] In addition, it should be understood that, since the PPG frequency domain signal has not been denoised at the current stage, the extracted PPG spectrum features actually contain noise. For ease of description, this embodiment represents it as a noisy PPG spectrum.
[0107] Correspondingly, for the IR spectrum feature, it is expressed as IR spectrum.
[0108] That is to say, the feature information extracted from each frame signal includes Fig. 7A The frequency domain characteristics of the five dimensions of noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum are shown in the figure.
[0109] Continue to see Fig. 7A For example, after obtaining the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum corresponding to each frame signal, the frequency domain features of these five dimensions at the same time can be input into the transformer encoder model, and the mapping relationship between the spectral features of the above five dimensions can be established with the help of the encoding part of the transformer encoder model.
[0110] For example, still taking the PPG spectrum gold mark as 256 frequency points as an example, the ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum also reflect the spectrum characteristics of 256 frequency points. Based on this, the frequency domain features of the five dimensions of the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum extracted from each frame signal are input into the transformer encoder model. With the help of the encoding part of the transformer encoder model, the mapping relationship between the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum is established. The result output by the transformer encoder model can be regarded as a 5×256-dimensional matrix, that is, the output feature dimension is 5×256.
[0111] Continue to see Fig. 7A For example, in order to reduce computational complexity and reduce the risk of overfitting, the output of the transformer encoder model may be feature averaged. In this embodiment, the feature dimensions of 5×256 are processed on average to 256 feature dimensions.
[0112] Continue to see Fig. 7A For example, after the output features are averaged, the averaged spectrum features with a feature dimension of 256 can be input into a multi-layer perceptron for processing.
[0113] It should be noted that the multilayer perceptron used in this embodiment is a feedforward artificial neural network model. Through the processing of the multilayer perceptron, multiple input data can be mapped to a single data set, specifically, the spectrum features of the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum are mapped to the PPG spectrum features. The features output by the multilayer perceptron are the predicted PPG spectrum (hereinafter referred to as the PPG predicted spectrum).
[0114] In order to measure the difference between the model's PPG predicted spectrum and the true label, that is, the PPG spectrum gold standard, the PPG predicted spectrum corresponding to each frame and the PPG spectrum gold standard corresponding to each frame can be subjected to loss processing based on the mean square error loss (Mse loss) function to determine the prediction error of the current model.
[0115] Finally, through continuous iterative training, when the prediction error meets the preset convergence condition (the condition for stopping training, that is, not greater than the set threshold), the current model can be used as the PPG spectrum denoising model.
[0116] Thus, the construction of the PPG spectrum denoising model is completed, that is, the spectrum reconstruction is completed.
[0117] Regarding the specific implementation logic of the spectrum reconstruction link, in another possible implementation method, Figure 7B shown.
[0118] See also Figure 7B For example, in the spectrum reconstruction process, the acquisition of the frame signal and the type of spectrum signal extracted from each frame signal are all the same as Fig. 7A The same as shown in , the specific implementation details can be seen in Fig. 7A The description of the illustrated embodiment will not be repeated here.
[0119] Continue to see Figure 7B For example, in this embodiment, in order to utilize the signal timing characteristics of the five-dimensional spectrum features of the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum to better construct a PPG spectrum denoising model, the PPG spectrum denoising model can be constructed through two Transformer encoder models.
[0120] Specifically, one of the two Transformer encoder models (hereinafter referred to as Transformer encoder_1) is used to extract channel validity features by establishing a mapping relationship between multi-channel features, while the other Transformer encoder model (hereinafter referred to as Transformer encoder_2) is used to extract time dimension features by establishing a temporal mapping relationship between multi-frame features.
[0121] Based on this, continue to see Figure 7B For example, for the noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum extracted from each frame signal, they can be input into the corresponding Transformer encoder_1 respectively, and then the mapping relationship between the multi-channel features is established based on the encoding part in Transformer encoder_1, and finally the channel validity feature is extracted based on this mapping relationship. In this way, the spectral feature with a feature dimension of 5×256 corresponding to each frame signal can be obtained.
[0122] Take the number of frames required for training as K frames as an example, and continue to refer to Figure 7BFor example, after all Transformerencoder_1 processes, the output spectrum features are K 5×256 in total. In order to reduce the computational complexity and the risk of overfitting, the output results of transformer encoder_1 can be feature averaged. In this embodiment, K 5×256 feature dimensions are averaged to K×256 feature dimensions.
[0123] Continue to see Figure 7B For example, after obtaining the spectrum features of K×256 feature dimensions, the spectrum features of K×256 feature dimensions are input into transformer encoder_2, and then the temporal mapping relationship between multi-frame features is established based on the encoding part in Transformer encoder_2, and finally the time dimension features are extracted based on this mapping relationship. In this way, the spectrum features corresponding to each frame signal can be obtained, which can reflect both the channel characteristics and the time characteristics (the feature dimension is still K×256).
[0124] Continue to see Figure 7B For example, in order to further reduce the computational complexity and reduce the risk of overfitting, the output of transformer encode_2 may be feature averaged. In this embodiment, the feature dimensions of K×256 are processed on average to 256 feature dimensions.
[0125] Continue to see Figure 7B For example, after the output feature averaging processing is performed on the output result of transformer encode_2, the averaged spectrum feature with a feature dimension of 256 (which reflects both the channel characteristics and the time characteristics) can be input into the multi-layer perceptron for processing, thereby obtaining the PPG predicted spectrum of the PPG signal of this short time series containing K frames.
[0126] Continue to see Figure 7B For example, in order to measure the difference between the PPG predicted spectrum of the model and the true label, that is, the PPG spectrum gold standard, this embodiment will also perform loss processing on the PPG predicted spectrum of the short time series PPG signal and the corresponding PPG spectrum gold standard based on the mean square error loss (Mse loss) function, and then determine the prediction error of the current model.
[0127] Finally, through continuous iterative training, when the prediction error meets the preset convergence condition (the condition for stopping training, that is, not greater than the set threshold), the current model can be used as the PPG spectrum denoising model.
[0128] Thus, the construction of the PPG spectrum denoising model is completed, that is, the spectrum reconstruction is completed.
[0129] This is the end of the spectrum reconstruction process. In the specific implementation, you can choose Fig. 7A or Figure 7B The PPG spectrum denoising model is constructed in the manner shown, and this application does not impose any limitation on this.
[0130] Therefore, through the processing of data collection, spectrum feature gold label construction and spectrum reconstruction, the construction of PPG spectrum denoising model can be realized.
[0131] Understandably, since the construction phase of the PPG spectrum denoising model requires large computing power and resource consumption, the construction of the PPG spectrum denoising model can be completed in electronic devices such as PCs.
[0132] Continue to see Figure 6 For example, after obtaining the PPG spectrum denoising model, the PPG spectrum denoising model can be transmitted to the wearable device. In this way, the user can predict the heart rate based on the wearable device.
[0133] Specifically, when using the PPG spectrum denoising model for heart rate prediction, the wearable device can perform signal preprocessing and feature extraction on the collected PPG signals, ACC signals and IR signals, and then input the extracted noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum into the trained PPG spectrum denoising model to obtain the denoised PPG spectrum features, and then perform heart rate prediction based on the denoised PPG spectrum features.
[0134] based on Figure 6 The description of the construction of the PPG spectrum denoising model stage and the application of the PPG spectrum denoising model stage shown in the figure, the implementation process of the denoising method of the PPG frequency domain signal provided in the embodiment of the present application can be as follows Figure 8 shown.
[0135] See also Figure 8 The denoising method of the PPG frequency domain signal provided in the embodiment of the present application may include:
[0136] S101, obtaining a PPG signal, an ACC signal, and an IR signal collected by a wearable device.
[0137] Among them, the PPG signal, the ACC signal and the IR signal are the PPG signal, the ACC signal and the IR signal in the time domain.
[0138] For example, the PPG signal in the time domain is collected by a PPG sensor that can be integrated into a wearable device. Regarding the location of the PPG sensor, for example, it can be located on the side that contacts the user's skin, such as Figure 1AThe back side of the smartwatch is shown.
[0139] For example, the ACC signal in the time domain is collected by an ACC sensor that can be integrated into a wearable device.
[0140] Exemplarily, regarding the IR signal in the time domain, it is specifically collected by an IR sensor that can be integrated in a wearable device.
[0141] In addition, it should be noted that the PPG signal, ACC signal and IR signal collected by the wearable device are collected by the wearable device in the same state and the same period.
[0142] In this way, by constraining the denoising reference signal selected when denoising the PPG frequency domain signal, that is, the ACC signal and the IR signal are collected in the same period as the PPG signal and when the wearable device is in the same state, the effectiveness of the denoising result of the PPG frequency domain signal is guaranteed, and the denoised PPG frequency domain signal is guaranteed to meet the spectrum characteristics under ideal conditions (noise-free), making the heart rate predicted based on the PPG spectrum characteristics more accurate.
[0143] S102, denoising the spectral features of the PPG signal according to the PPG spectrum denoising model, the spectral features in the ACC signal, and the spectral features in the IR signal to obtain a denoised PPG frequency domain signal.
[0144] Specifically, the PPG spectrum denoising model mentioned in this embodiment is the model obtained by training the transformer encoder model, which takes the spectral features in the PPG sample signal, the spectral features in the ACC sample signal and the spectral features in the IR sample signal as input and the PPG spectrum gold mark as the supervision signal.
[0145] Among them, the PPG sample signal, the ACC sample signal and the IR sample signal are, for example, Figure 6 ] The PPG signal, ACC signal and IR signal in the time domain collected by the PPG sensor, ACC sensor and IR sensor in the data collection link shown in FIG.
[0146] Accordingly, the spectral features in the PPG sample signal, the spectral features in the ACC sample signal, and the spectral features in the IR sample signal input to the transformer encoder model can be Fig. 7A or Figure 7B The noisy PPG spectrum, ACCx spectrum, ACCy spectrum, ACCz spectrum and IR spectrum extracted from each frame signal.
[0147] In addition, it should be noted that in some possible implementations, the PPG spectrum denoising model can be obtained by training based on a transformer encoder model. For specific training methods, see Fig. 7A The description of the illustrated embodiment will not be repeated here.
[0148] In addition, it should be noted that in some other possible implementations, the PPG spectrum denoising model is also obtained by training two transformer encoder models. The input of the first transformer encoder model is the spectrum features in each frame of the PPG sample signal, the spectrum features in the ACC sample signal, and the spectrum features in the IR sample signal, which are used to establish a mapping relationship between multi-channel features; the input of the second transformer encoder model is the spectrum features after feature averaging the output of the input of the first transformer encoder model, which is used to establish a temporal mapping relationship between multi-frame features.
[0149] Understandably, the first transformer encoder model mentioned in this embodiment is, for example, Figure 7B The second transformer encoder model, for example Figure 7B Transformer encoder_2 shown in .
[0150] Regarding the method of training a PPG spectrum denoising model based on two transformer encoder models, the specific training method can be found in Figure 7B The description of the illustrated embodiment will not be repeated here.
[0151] In addition, the PPG spectrum gold mark in this embodiment is determined based on the heart rate gold mark collected by the heart rate tester. The heart rate gold mark is the heart rate with absolute accuracy collected by the heart rate tester when the wearable device collects PPG sample signals, ACC sample signals and IR sample signals.
[0152] It should be noted that in order to ensure the accuracy of the results, the heart rate tester used to collect the heart rate gold standard, for example, is a medical-grade heart rate tester.
[0153] For example, in some possible implementations, the PPG spectrum gold label mentioned in this embodiment can be obtained by processing the heart rate gold label using a filtering construction method. For the implementation method of processing the heart rate gold label using a filtering construction method to construct the PPG spectrum gold label, please refer to Figure 6The description of the filtering construction method in the spectral feature gold mark construction link in the illustrated embodiment will not be repeated here.
[0154] For example, in some other possible implementations, the PPG spectrum gold label mentioned in this embodiment can be obtained by processing the heart rate gold label in a heuristic construction method. For the implementation method of processing the heart rate gold label in a heuristic construction method to construct the PPG spectrum gold label, please refer to Figure 6 The description of the heuristic construction method in the spectral feature gold label construction step in the illustrated embodiment will not be repeated here.
[0155] In addition, it should be noted that, in this embodiment, the device type and resource configuration of the wearable device for collecting PPG sample signals, ACC sample signals and IR sample signals are the same as those of the wearable device for collecting PPG signals, ACC signals and IR signals. In this way, by ensuring that the source of sample data used in training the PPG spectrum denoising model is the same as the source of data in the actual application scenario, the accuracy of the denoising result can be better guaranteed.
[0156] Based on the above-mentioned limitations on the PPG sample signals, ACC sample signals, IR sample signals used in the training phase of the PPG spectrum denoising model and the PPG signals, ACC signals and IR signals in the actual denoising phase, when the spectral features of the PPG signal are denoised according to the PPG spectrum denoising model, the spectral features in the ACC signal, and the spectral features in the IR signal to obtain the denoised PPG frequency domain signal, the PPG signal, ACC signal and IR signal acquired in the time domain can be first converted from the time domain to the frequency domain to obtain the PPG frequency domain signal, ACC frequency domain signal and IR frequency domain signal in the frequency domain. Then, for each frame of the PPG frequency domain signal, the spectral features in the PPG frequency domain signal are extracted; for each frame of the ACC frequency domain signal, the spectral features of the ACC frequency domain signal on the x-axis, y-axis and z-axis are extracted respectively; for each frame of the IR frequency domain signal, the spectral features in the IR frequency domain signal are extracted. Finally, the spectral features of the PPG signal, the spectral features in the IR frequency domain signal, and the spectral features of the ACC frequency domain signal on the x-axis, y-axis, and z-axis are input into the PPG spectrum denoising model, and the output result of the PPG spectrum denoising model is used as the denoised PPG frequency domain signal.
[0157] In addition, it should be noted that in order to ensure that each frame signal for spectral feature extraction includes PPG signals, ACC signals and IR signals, when converting the PPG signals, ACC signals and IR signals in the time domain obtained, the PPG signals, ACC signals and IR signals in the time domain obtained can be processed by windowing, slicing and framing to obtain continuous framed signals. Then, for each frame, the PPG signals, ACC signals and IR signals in the time domain included in the framed signals are converted from the time domain to the frequency domain.
[0158] Exemplarily, in some possible implementations, the window size can be set to 8s, the window moving step can be set to 1s, and then based on the window setting, the acquired PPG signal, ACC signal and IR signal in the time domain are windowed, sliced and framed.
[0159] Therefore, by performing windowing, slicing and framing processing on the PPG signal, ACC signal and IR signal collected by the wearable device, each frame of the framed signal includes the PPG signal, ACC signal and IR signal, thereby ensuring that the PPG frequency domain signal can be denoised based on the spectral characteristics of the ACC signal and the IR signal in each frame, and further ensuring that the spectral characteristics of the denoised PPG frequency domain signal can be closer to the spectral characteristics of the PPG frequency domain signal under ideal conditions (noise-free).
[0160] It can be understood that, whether it is the training stage of the PPG spectrum denoising model or the actual denoising stage, the method of extracting spectrum features from the PPG signal, ACC signal and IR signal in the time domain is the same.
[0161] Therefore, in the actual denoising stage, for each frame of PPG frequency domain signal, the extracted spectral features can be understood as the noisy PPG spectrum mentioned in the above embodiment; for each frame of ACC frequency domain signal, the spectral features extracted on the x-axis, y-axis and z-axis respectively can be understood as the ACCx spectrum, ACCy spectrum and ACCz spectrum mentioned in the above embodiment; for each frame of IR frequency domain signal, the extracted spectral features can be understood as the IR spectrum mentioned in the above embodiment.
[0162] Therefore, by using the transformer encoder model, taking the ACC signal and the IR signal as the denoising reference signals, a data-driven approach is adopted to learn and construct the PPG spectrum denoising model. Then, in practical applications, the constructed PPG spectrum denoising model is used to denoise the PPG frequency domain signal through the collected ACC signal and IR signal, thereby achieving denoising of the PPG frequency domain signal collected under periodic motion or non-periodic motion.
[0163] In addition, it should be noted that in some possible implementations, for example, when the wearable device has integrated the PPG spectrum denoising model mentioned in this embodiment, the above steps S101 and S102 can be implemented in the wearable device.
[0164] Exemplarily, for the scenario in which the wearable device has integrated the PPG spectrum denoising model described in this embodiment, after the wearable device completes the denoising processing of the PPG frequency domain signal through the above steps S101 and S102, and realizes the heart rate prediction based on the spectrum characteristics of the denoised PPG frequency domain signal, the heart rate prediction result can be synchronized to an electronic device that establishes a communication connection with the wearable device, such as a heart rate health application on a mobile phone.
[0165] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
[0166] In addition, it should be noted that in other possible implementations, for example, when the PPG spectrum denoising model mentioned in this embodiment is not integrated in the wearable device, the above steps S101 and S102 can be implemented by an electronic device that establishes a communication connection with the wearable device, such as a mobile phone.
[0167] Exemplarily, for a scenario where the wearable device does not integrate the PPG spectrum denoising model described in this embodiment, an electronic device that establishes a communication connection with the wearable device, such as a mobile phone, can synchronize the heart rate prediction result to the wearable device after completing the denoising processing of the PPG frequency domain signal through the above steps S101 and S102 and realizing the heart rate prediction based on the spectrum characteristics of the denoised PPG frequency domain signal.
[0168] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
[0169] Therefore, the denoising method of the PPG spectrum signal provided in the embodiment of the present application can quickly and accurately remove the noise in the PPG spectrum characteristics, so that the spectrum characteristics of the PPG frequency domain signal can be restored to an ideal state, so that accurate measurement can be performed based on the PPG signal even in a motion state. In other words, even if the user wearing the wearable device is currently in a motion state, the accuracy of the heart rate prediction result can be guaranteed.
[0170] In addition, in order to better understand the technical solution provided in the embodiments of the present application, taking a wearable device as a smart watch as an example, based on the relationship between the software structure and hardware of the smart watch, the functional modules, hardware, and the interaction between the functional modules and hardware involved in implementing the denoising method for the PPG frequency domain signal provided in the embodiments of the present application are explained.
[0171] Before describing the software structure of the wearable device, the architecture that can be adopted by the software system of the wearable device is described first.
[0172] Specifically, in practical applications, the software system of wearable devices can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
[0173] In addition, it is understandable that the software systems used by the current mainstream wearable devices include but are not limited to Windows systems, Android systems and iOS systems. For ease of explanation, the embodiment of the present application takes the Android system of layered architecture as an example to exemplify the software structure of the wearable device.
[0174] In addition, it should be understood that the subsequent denoising method for PPG frequency domain signals provided in the embodiments of the present application is also applicable to other systems in specific implementations.
[0175] See also Fig. 9 , which is a block diagram of the software structure and hardware structure of the wearable device according to an embodiment of the present application.
[0176] like Fig. 9 As shown in Figure 1, the layered architecture of wearable devices divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some implementations, the Android system can be divided into five layers, from top to bottom, namely the application layer / application layer (Applications) belonging to the application part, the framework layer / application framework layer (Application Framework, FWK) belonging to the core part, the runtime (Runtime) and the system library, and the hardware abstraction layer (HAL) and Linux kernel (Linux Kernel) layer belonging to the bottom layer.
[0177] The application layer can include a series of application packages. Fig. 9 As shown, the application package may include camera, game, heart rate health, setting and other applications, which are not listed here one by one and are not limited in this application.
[0178] Among them, the heart rate health application can be a specially provided application for enabling the heart rate measurement function.
[0179] It is understandable that in actual applications, the functions implemented by the heart rate health application can also be integrated into a sports health application that manages various sports information, or can also be integrated into a settings application, and this application does not impose any restrictions on this.
[0180] The framework layer can provide application programming interfaces (APIs) and programming frameworks for applications in the application layer. In some implementations, these programming interfaces and programming frameworks can be described as functions. Fig. 9 As shown, the framework layer may include functions such as content provider, window manager, view system, resource manager, etc., which are not listed here one by one and are not limited in this application.
[0181] It should be noted that the window manager located in the framework layer is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0182] In addition, it should be noted that the content provider located in the framework layer is used to store and obtain data and make the data accessible to the application. The data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone book, etc., which are not listed here one by one and are not limited by this application.
[0183] In addition, it should be noted that the resource manager located in the framework layer is used to provide various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc., which are not listed here one by one and this application does not impose any restrictions on this.
[0184] In addition, it should be noted that the view system located in the framework layer includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, Figure 1B The display interface including the heart rate measurement picture / icon shown in (1) and (2) may include a view for displaying text and a view for displaying a picture.
[0185] Continue to see Fig. 9 , exemplarily, the runtime, specifically the Android runtime (Android Runtime) may include a core library and a virtual machine, which is mainly responsible for the scheduling and management of the Android system.
[0186] The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0187] Continue to see Fig. 9 Exemplarily, the system library may include multiple functional modules, such as a surface manager, a media library, a three-dimensional (3D) graphics processing library (such as OpenGL ES), a two-dimensional (2D) graphics engine (such as SGL), etc.
[0188] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports multiple commonly used audio and video format playback and recording, as well as static image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PnG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
[0189] In addition, it can be understood that the 2D graphics engine mentioned above is a drawing engine for 2D drawing.
[0190] Continue to see Fig. 9 For example, the HAL layer is an interface layer between the operating system kernel (kernel layer) and the hardware circuit. Its purpose is to isolate the FWK from the kernel so that Android does not rely too much on the kernel, so that the development of FWK can be carried out without considering the driver.
[0191] Continue to see Fig. 9 For example, the HAL layer may include various interfaces, such as audio and video interface, GPS interface, call interface, WiFi interface, etc., which are not listed here one by one and are not limited in this application.
[0192] Continue to see Fig. 9 , exemplary, the kernel layer in the Android system is a layer between hardware and software. The kernel layer may include various processes / threads, power management, various drivers, such as WiFi drivers, etc.
[0193] This is the end of the introduction to the software structure of wearable devices. It can be understood that: Fig. 9The layers in the software structure shown and the components contained in each layer do not constitute a specific limitation on the wearable device. In other embodiments of the present application, the wearable device may include more or fewer layers than shown in the figure, and each layer may include more or fewer components, which is not limited by the present application.
[0194] based on Fig. 9 The software structure of the wearable device shown, when the user triggers the heart rate measurement operation through the heart rate health application / setting application installed in the application layer, the wearable device responds to the operation behavior, and the PPG sensor, ACC sensor and IR sensor of the hardware part will synchronously collect PPG signals, ACC signals, and IR signals, and then hand them over to the processor. The processor performs preprocessing and feature extraction on the sensor signal according to the program instructions stored in the internal memory, such as program instructions for preprocessing and feature extraction of the collected sensor signal, and then inputs the feature information of the extracted sensor signal into the PPG spectrum denoising model (program) stored in the memory storage for denoising, and the denoised PPG frequency domain signal can be obtained. Finally, the heart rate measurement can be achieved based on the denoised PPG frequency domain signal.
[0195] For the specific logic of the PPG frequency domain signal denoising method provided in the embodiment of the present application, please refer to Figure 6 , Fig. 7A , Figure 7B and Figure 8 , I will not go into details here.
[0196] In order to better understand the technical solution provided in the embodiments of the present application, the wearable device is still taken as a smart watch as an example. Fig.10 , the specific structure of the smart watch and the devices involved in implementing the embodiments of the present application are specifically described.
[0197] See also Fig.10 The wearable device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0198] Specifically, in the technical solution provided in the embodiment of the present application, in order to realize the denoising of the PPG frequency domain signal, the sensor module 180 needs to include a PPG sensor 180A, an ACC sensor 180B and an IR sensor 180C. Among them, the PPG sensor can be used to collect PPG signals, the ACC sensor can be used to collect ACC signals, and the IR sensor can be used to collect IR signals.
[0199] Continue to see Fig.10 For example, since the PPG sensor 180A, the ACC sensor 180B and the IR sensor 180C are all connected to the processor 110 for communication, the PPG signal, the ACC signal and the IR signal collected by the PPG sensor 180A, the ACC sensor 180B and the IR sensor 180C are transmitted to the processor 110 according to Figure 8 The processing flow shown in the illustrated embodiment is used to obtain a denoised PPG frequency domain signal, thereby achieving accurate measurement of the heart rate.
[0200] In addition, it should be noted that in actual applications, according to business needs and the scenarios in which the wearable device is applicable, the sensor 180 may also include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., which are not listed one by one here and the present application does not impose any restrictions on this.
[0201] In addition, it should be noted that the processor (CPU) 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc.
[0202] It is understandable that, in a specific implementation, different processing units may be independent devices or may be integrated into one or more processors.
[0203] In addition, it should be noted that the controller in the processor 110 can be the nerve center and command center of the wearable device 100. In practical applications, the controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0204] In addition, it should be noted that a memory (internal memory) may be provided in the processor 110 for storing instructions and data. In some implementations, the memory in the processor 110 is a cache memory. The memory may store instructions or data that have just been used or are cyclically used and read by the processor 110 from the internal memory 121. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0205] Specifically, in the technical solution provided in the embodiment of the present application, the denoising process for the PPG frequency domain signal can be implemented by the AP 110A in the processor 110.
[0206] In addition, it should be noted that the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0207] Continue to see Fig.10 Exemplarily, the charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.
[0208] Continue to see Fig.10Exemplarily, the power management module 141 (i.e., the power management integrated circuit PMIC mentioned above) is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power for the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other implementations, the power management module 141 can also be set in the processor 110. In other implementations, the power management module 141 and the charging management module 140 can also be set in the same device.
[0209] Continue to see Fig.10 , exemplarily, the wireless communication function of the wearable device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0210] It should be noted that antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the wearable device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other implementations, the antenna can be used in combination with a tuning switch.
[0211] Continue to see Fig.10 , exemplarily, the mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the wearable device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some implementations, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some implementations, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0212] Continue to see Fig.10Exemplarily, the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), nearfield communication (NFC), infrared (IR), etc., which are applied to the wearable device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0213] Specifically, in the technical solution provided in the embodiment of the present application, the PPG spectrum denoising model that triggers the wearable device 100 to denoise the PPG frequency domain signal can be constructed by an electronic device with powerful processing capabilities such as a PC and then stored in a cloud server. In this way, the wearable device 100 can communicate with the cloud server through the mobile communication module 150 or the wireless communication module 160, and then obtain the PPG spectrum denoising model.
[0214] Exemplarily, in some other possible implementations, the PPG spectrum denoising model constructed by an electronic device such as a PC can also be transmitted to the wearable device 100 through the USB interface 130.
[0215] It should be understood that the above description is merely an example listed for a better understanding of the technical solution of this embodiment, and is not intended to be the sole limitation to this embodiment.
[0216] Continue to see Fig.10 , exemplarily, the display screen 194 is used to display images, videos, etc. In some implementations, the wearable device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
[0217] Continue to see Fig.10 , illustratively, camera 193 is used to capture still images or video.
[0218] Continue to see Fig.10Exemplarily, the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the wearable device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.
[0219] Continue to see Fig.10 , exemplarily, the internal memory 121 can be used to store computer executable program codes, which include instructions. In this way, the processor 110 executes various functional applications and data processing of the wearable device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the wearable device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0220] Specifically in the technical solution provided in the embodiment of the present application, the PPG spectrum denoising model can be pre-downloaded into the internal memory 121.
[0221] In addition, it should be noted that the wearable device 100 can implement audio functions such as music playback and recording through the audio module 170, such as the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
[0222] Continue to see Fig.10 For example, the button 190 includes a power button, a volume button, etc. The button 190 may be a mechanical button or a touch button.
[0223] Continue to see Fig.10 For example, the motor 191 can generate a vibration prompt. The motor 191 can be used for an incoming call vibration prompt or for touch vibration feedback.
[0224] Continue to see Fig.10 , exemplarily, the indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0225] The hardware structure of the wearable device 100 is introduced here. It should be understood that: Fig.10The wearable device 100 shown is only an example. In a specific implementation, the wearable device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have a different component configuration. Fig.10 The various components shown in the EMBODIMENTS 2000 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0226] In addition, it is understandable that electronic devices, such as wearable devices, include hardware and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of this application.
[0227] In addition, it should be noted that the denoising method of the PPG frequency domain signal provided by the above embodiments implemented by an electronic device, such as a wearable device, in an actual application scenario can also be performed by a chip system included in the electronic device, wherein the chip system may include a processor. The chip system can be coupled to a memory so that when the chip system is running, the computer program stored in the memory is called to implement the steps performed by the above wearable device. The processor in the chip system can be an application processor or a processor other than an application processor.
[0228] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, such as a wearable device, the electronic device executes the above-mentioned related method steps to implement the PPG frequency domain signal denoising method in the above-mentioned embodiment.
[0229] In addition, an embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, such as a wearable device, the electronic device executes the above-mentioned related steps to implement the denoising method of the PPG frequency domain signal in the above-mentioned embodiment.
[0230] In addition, an embodiment of the present application also provides a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the PPG frequency domain signal denoising method in the above-mentioned embodiment, so as to control the receiving pin to receive the signal, so as to control the transmitting pin to send the signal.
[0231] In addition, it can be seen from the above description that the electronic device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0232] In addition, it should be noted that the embodiment of the present application only takes the scenario of heart rate measurement based on PPG frequency domain signals as an example. In actual applications, the measurement of blood oxygen concentration, blood pressure, etc. can also be achieved based on the same method, and the present application does not impose any restrictions on this.
[0233] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for denoising a PPG frequency domain signal, characterized in that: The method comprises: Acquire a photoplethysmogram (PPG) signal, an acceleration (ACC) signal, and an infrared (IR) signal collected by a wearable device, wherein the PPG signal, the ACC signal, and the IR signal are PPG signals, ACC signals, and IR signals in the time domain; According to the PPG spectrum denoising model, the spectrum features in the ACC signal, and the spectrum features in the IR signal, denoising the spectrum features of the PPG signal to obtain a denoised PPG frequency domain signal; The PPG spectrum denoising model is a model obtained by training a transformer encoder model, with the spectrum features in the PPG sample signal, the spectrum features in the ACC sample signal and the spectrum features in the IR sample signal as input, and the PPG spectrum gold standard as a supervision signal. The PPG spectrum gold standard is determined according to the heart rate gold standard collected by the heart rate tester; The denoising process is performed on the spectral features of the PPG signal according to the PPG spectrum denoising model, the spectral features in the ACC signal, and the spectral features in the IR signal to obtain a denoised PPG frequency domain signal, including: The PPG signal, the ACC signal, and the IR signal acquired in the time domain are converted from the time domain to the frequency domain to obtain a PPG frequency domain signal, an ACC frequency domain signal, and an IR frequency domain signal in the frequency domain; For each frame of the PPG frequency domain signal, extracting frequency spectrum features in the PPG frequency domain signal; For each frame of the ACC frequency domain signal, extracting the frequency spectrum features of the ACC frequency domain signal on the x-axis, y-axis and z-axis respectively; For each frame of the IR frequency domain signal, extracting a frequency spectrum feature in the IR frequency domain signal; Inputting the spectral features of the PPG signal, the spectral features in the IR frequency domain signal, and the spectral features of the ACC frequency domain signal on the x-axis, y-axis, and z-axis into the PPG spectrum denoising model; The output result of the PPG spectrum denoising model is used as the denoised PPG frequency domain signal.
2. The method according to claim 1, characterized in that The obtaining of the PPG signal, ACC signal and IR signal collected by the wearable device includes: The PPG signal, the ACC signal, and the IR signal collected by the wearable device in the same state and the same period are obtained.
3. The method according to claim 1, characterized in that The converting the acquired PPG signal, the ACC signal and the IR signal in the time domain into the frequency domain includes: Performing windowing, slicing and framing processing on the acquired PPG signal, the ACC signal and the IR signal in the time domain to obtain a continuous framed signal, wherein the framed signal includes the PPG signal, the ACC signal and the IR signal in the time domain; For each frame signal, the PPG signal, the ACC signal and the IR signal in the time domain included in the frame signal are converted from the time domain to the frequency domain.
4. The method according to claim 3, characterized in that The step of performing windowing, slicing and framing processing on the acquired PPG signal, the ACC signal and the IR signal in the time domain includes: With a windowing setting of a window size of 8s and a window moving step of 1s, the PPG signal, the ACC signal and the IR signal acquired in the time domain are subjected to windowing, slicing and framing processing.
5. The method according to claim 1, characterized in that The device type and resource configuration of the wearable device that collects the PPG sample signal, the ACC sample signal, and the IR sample signal are the same as those of the wearable device that collects the PPG signal, the ACC signal, and the IR signal.
6. The method according to claim 1, characterized in that The heart rate gold mark is a heart rate with absolute accuracy collected by the heart rate tester when the wearable device collects the PPG sample signal, the ACC sample signal and the IR sample signal.
7. The method according to claim 6, characterized in that The PPG spectrum gold mark is obtained by processing the heart rate gold mark using a filtering construction method.
8. The method according to claim 6, characterized in that The PPG spectrum gold label is obtained by processing the heart rate gold label in a heuristic construction manner.
9. The method according to any one of claims 1 to 8, characterized in that: The PPG spectrum denoising model is obtained based on training of a transformer encoder model.
10. The method according to any one of claims 1 to 8, characterized in that: The PPG spectrum denoising model is obtained based on training of two transformer encoder models; The input of the first transformer encoder model is the spectral features in each frame of the PPG sample signal, the spectral features in the ACC sample signal, and the spectral features in the IR sample signal, which are used to establish a mapping relationship between multi-channel features. The input of the second transformer encoder model is the spectral features after feature averaging the output of the input of the first transformer encoder model, which is used to establish a temporal mapping relationship between multi-frame features.
11. The method according to any one of claims 1 to 8, characterized in that: After obtaining the denoised PPG frequency domain signal, the method further includes: Based on the denoised PPG frequency domain signal, a heart rate of a user wearing the wearable device is predicted.
12. An electronic device, characterized in that: The electronic device includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the PPG frequency domain signal denoising method as described in any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that: It comprises a computer program, which, when executed on an electronic device, enables the electronic device to execute the PPG frequency domain signal denoising method as claimed in any one of claims 1 to 11.
