Data processing method, device, PPG sensor, electronic device and storage medium
By synthesizing multiple groups of PPG signals, the interference signals are removed, and the accuracy problems caused by temperature changes and jitter in PPG signal measurement are solved, and PPG signal measurement with higher signal quality is achieved.
Patent Information
- Application Number
- CN202110567411.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-24
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2041-05-24
AI Technical Summary
During the PPG signal measurement process, it is susceptible to interference from factors such as temperature changes and jitter in the measurement site, which affects the accuracy of monitoring.
By acquiring multiple sets of PPG signals determined based on the first device and the second device, performing synthesis processing to remove the interference signal, and obtaining the target PPG signal.
It improves the measurement accuracy of PPG signals and reduces the influence of factors such as temperature changes and jitter.
Smart Images

Figure CN115381395B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to a data processing method, device, PPG sensor, electronic device and storage medium. Background Art
[0002] With the continuous development of mobile terminal technology, more and more electronic products are equipped with health monitoring functions, such as PPG (photo plethysmograph) signal monitoring of users' electrocardiogram, blood pressure, blood oxygen and other physiological parameters to help users prevent and analyze diseases that are harmful to health, such as high blood pressure and high blood lipids. However, in the process of PPG signal measurement, it is easy to be disturbed by factors such as temperature changes and jitter of the measurement site, which affects the accuracy of monitoring. Summary of the invention
[0003] The present application proposes a data processing method, device, PPG sensor, electronic device and storage medium to improve the above-mentioned problems.
[0004] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to an electronic device, wherein the electronic device includes a PPG sensor, wherein the PPG sensor includes at least two first devices and at least two second devices, wherein the first devices are used to emit light to a target object, and the second devices are used to receive scattered light of the emitted light by the target object, wherein the method includes: acquiring multiple groups of PPG signals determined based on the first devices and the second devices; performing synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals.
[0005] In a second aspect, an embodiment of the present application provides a data processing device that runs on an electronic device, wherein the electronic device includes a PPG sensor, wherein the PPG sensor includes at least two first devices and at least two second devices, wherein the first devices are used to emit light to a target object, and the second devices are used to receive scattered light of the emitted light by the target object, wherein the device includes: a data acquisition module, used to acquire multiple groups of PPG signals determined based on the first device and the second device; and a data processing module, used to perform synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals.
[0006] In a third aspect, an embodiment of the present application provides a PPG sensor, comprising: at least two first devices, the first devices are used to emit light to a target object; at least two second devices, the second devices are used to receive scattered light of the emitted light by the target object, the first devices and the second devices are used to determine multiple groups of PPG signals, so as to obtain a target PPG signal by synthesizing the multiple groups of PPG signals, and the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals.
[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: the PPG sensor proposed in the aforementioned embodiment, one or more processors and a memory, one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the data processing method provided in the above-mentioned first aspect.
[0008] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the data processing method provided in the first aspect above.
[0009] The present application provides a data processing method, device, PPG sensor, electronic device and storage medium. The method obtains multiple groups of PPG signals determined based on a first device and a second device, and then synthesizes the multiple groups of PPG signals to obtain a target PPG signal. The synthesis process is used to remove signals that interfere with the multiple groups of PPG signals. Thus, the synthesis process of multiple groups of PPG signals is achieved in the above manner to remove signals that interfere with the multiple groups of PPG signals, thereby improving the accuracy of measuring PPG signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0011] Figure 1 A flow chart of a data processing method provided in an embodiment of the present application is shown.
[0012] Figure 2 An example diagram of the internal device structure relationship of the PPG sensor provided in this embodiment is shown.
[0013] Figure 3 A structural block diagram of a data processing device provided in an embodiment of the present application is shown.
[0014] Figure 4 A schematic structural diagram of a PPG sensor provided in an embodiment of the present application is shown.
[0015] Figure 5 Shown with Figure 2 Corresponding internal circuit structure diagram of the PPG sensor.
[0016] Figure 6 A schematic diagram of the internal device arrangement structure of a PPG sensor provided in one embodiment of the present application is shown.
[0017] Figure 7 A schematic diagram of the internal device arrangement structure of a PPG sensor provided in another embodiment of the present application is shown.
[0018] Figure 8 A schematic diagram of the internal device arrangement structure of a PPG sensor provided in yet another embodiment of the present application is shown.
[0019] Fig. 9 A structural block diagram of an electronic device provided in an embodiment of the present application is shown.
[0020] Fig.10 A storage unit for storing or carrying program codes for implementing a data processing method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0022] With the development of economy and the improvement of people's living standards, high fat intake and low exercise have become the common lifestyle of people. In recent years, high blood pressure and high blood lipids have developed into the most dangerous diseases. Physiological parameters such as ECG, blood pressure, and blood oxygen are important physiological parameters for preventing and analyzing cardiovascular diseases. In order to monitor ECG, blood pressure, blood oxygen and other physiological parameters more conveniently or timely, more and more electronic products are equipped with health monitoring functions. For example, PPG signal monitoring of users' ECG, blood pressure, blood oxygen and other physiological parameters can help users prevent and analyze hypertension, high blood lipids and other diseases that are harmful to health.
[0023] However, in the process of PPG signal measurement, it is easy to be disturbed by factors such as temperature change (temperature change easily causes LED temperature drift, PD temperature drift, etc.) and jitter of the measurement part, that is, it is difficult to collect high-quality PPG signals, thus affecting the accuracy of monitoring. Therefore, how to collect PPG signals with higher signal quality is an urgent problem to be solved in this field.
[0024] After long-term research, the inventors found that the target PPG signal can be obtained by obtaining multiple groups of PPG signals determined based on the first device and the second device, and then synthesizing the multiple groups of PPG signals, and the synthesis process is used to remove the signals that interfere with the multiple groups of PPG signals. Therefore, through the above method, it is possible to synthesize the multiple groups of PPG signals to remove the signals that interfere with the multiple groups of PPG signals, thereby improving the accuracy of measuring the PPG signal, that is, obtaining a PPG signal with higher signal quality.
[0025] Therefore, in order to improve the above-mentioned problems, the inventors proposed the data processing method, device, PPG sensor, electronic device and storage medium provided in the present application, which can remove signals that interfere with multiple groups of PPG signals, thereby improving the accuracy of measuring PPG signals.
[0026] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0027] See also Figure 1 , shows a flow chart of a data processing method provided by an embodiment of the present application. This embodiment provides a data processing method, which can be applied to an electronic device, wherein the electronic device includes a PPG sensor, wherein the PPG sensor includes at least two first devices and at least two second devices, wherein the first device is used to emit light to a target object, and the second device is used to receive scattered light of the emitted light scattered by the target object, and the method includes:
[0028] Step S110: Acquire multiple groups of PPG signals determined based on the first device and the second device.
[0029] In an embodiment of the present application, the first device is a light-emitting element, which can be used to emit light to a target object. For example, the first device can be an LED (Light-emitting Diode) or other light-emitting elements. The target object can be human skin, animal skin, or skin of other living organisms, etc. The color of the target object may not be limited. For example, if the target object is human skin, the color of the human skin may be black, yellow, or white, etc., and the specific skin color may not be limited. The emitted light may include green light, red light, or infrared light, etc. The second device is a light detection element (device), which can be used to receive scattered light of the emitted light emitted by the first device scattered by the target object. For example, the second device may be a PD (Photo Diode) or other element (device) with the function of receiving scattered light.
[0030] In order to understand this solution more clearly, the measurement principle of PPG signal is introduced first:
[0031] After a beam of light with an intensity of I0 propagates through a medium for a certain distance, its outgoing light intensity I can be approximately described by Lambert-Beer's law as follows:
[0032] I=I0*e -ε*c*l (1)
[0033] Among them, ε represents the absorption coefficient of the medium, c represents the concentration of the medium, l represents the distance of light propagation, I0 represents the initial intensity of the incident light, and I represents the outgoing intensity of the incident light after being scattered by the medium.
[0034] As a method, taking the target object as human skin, if Φ e (I led ) characterizes the luminous intensity of the LED, and k led The ratio of the light emitted by the LED that hits the skin and enters the skin is expressed as k. pd S represents the ratio of the light received by the PD to the total emitted light. pd Characterize the sensitivity of PD, and use k to represent Φ e (I led ), k led , k pd and S pd The photocurrent I generated by the PD is pd It can be expressed as the following formula:
[0035] I pd =Φ e (I led )*k led *e -ε*c*l *k pd *S pd =k*e -ε*c*l (2)
[0036] It is understandable that the blood volume in the blood vessels will produce periodic fluctuations with the heart beat, which is expressed as the periodic fluctuation of l in the above formula. This fluctuation will make I pd Fluctuations are also generated. Measuring the PPG signal is to measure this periodic fluctuation. The fluctuations of other parameters can be regarded as interference signals for the PPG signal. Therefore, in order to measure the PPG signal more accurately, these interference signals can be removed.
[0037] Specifically, Φ e (I led ) and S pd It is easily affected by temperature, especially at the beginning of the PPG signal measurement. Because the LED is suddenly turned on (i.e. starts to work), the temperature of the measurement system changes drastically (for example, rises sharply), making Φ e (I led ) and S pdThese two parameters will change dramatically, causing LED temperature drift or PD temperature drift and interfering with the measurement of PPG signals. led and k pd The PPG signal will be affected by the vibration of the measurement site, causing motion interference. Therefore, in order to improve the accuracy of measuring the PPG signal, the above two interference signals can be removed.
[0038] In this embodiment, the number of the first device and the second device can both include at least two. This embodiment is described by taking the first device including two LEDs and the second device including two PDs as an example. As an implementation method, multiple groups of PPG signals can be determined based on two LEDs and two PDs. Specifically, four groups of PPG measurement circuits can be formed by combining two LEDs and two PDs in pairs, wherein each group of measurement circuits corresponds to a group of PPG signals.
[0039] In a specific application scenario, see Figure 2 , shows an example diagram of the internal device structure relationship of the PPG sensor provided in this embodiment, such as Figure 2 As shown, taking the electronic device as a watch as an example, Figure 2 1 and 2 shown are both LEDs, 3 and 4 are both PDs, the spacing distance between 1 and 4 is equal to the spacing distance between 2 and 3, the spacing distance between 1 and 3 is equal to the spacing distance between 2 and 4, the spacing distance between 1 and 4 is greater than the spacing distance between 1 and 3, and the spacing distance between 2 and 3 is greater than the spacing distance between 2 and 4.
[0040] As a way, 1, 2, 3 and 4 can be combined in pairs to obtain four groups of measurement circuits, including PPG signal 1: LED1 emits light, PD3 receives light; PPG signal 2: LED1 emits light, PD4 receives light; PPG signal 3: LED2 emits light, PD4 receives light; and PPG signal 4: LED2 emits light, PD3 receives light. Among them, the "1" in PPG signal 1 is only used as a serial number to distinguish different PPG signals, and is not used as a restriction on the order of PPG signals. Substituting the measurement circuits of different groups of PPG signals into the aforementioned photocurrent expression formula in turn, the following four groups of PPG signals can be obtained:
[0041]
[0042] Step S110: performing synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals.
[0043] As a method, a target PPG signal can be determined based on a first signal and a second signal in a plurality of groups of PPG signals, wherein the first signal is determined based on a first device and a second device separated by a first distance, and the second signal is determined based on a first device and a second device separated by a second distance, and the first distance is different from the second distance. The target PPG signal can be understood as a group of PPG signals obtained by synthesizing a plurality of groups of PPG signals. By synthesizing a plurality of groups of PPG signals into a group of PPG signals, it is possible to remove signals that interfere with the plurality of groups of PPG signals, thereby improving the accuracy of PPG signal measurement.
[0044] Specifically, the target PPG signal can be determined based on the ratio of an expression representing the content of a first signal to an expression representing the content of a second signal in multiple groups of PPG signals, wherein the ratio of the expression representing the content of the first signal to the expression representing the content of the second signal includes the value of the expression representing the content of the first signal divided by the expression representing the content of the second signal, or the value of the expression representing the content of the second signal divided by the expression representing the content of the first signal.
[0045] For example, continue with Figure 2 Taking the example shown as an example, since the interval distance between 1 and 4 is the same as the interval distance between 2 and 3, the interval distance between 1 and 3 is the same as the interval distance between 2 and 4, and the interval distance between 1 and 4 is greater than the interval distance between 1 and 3, and the interval distance between 2 and 3 is greater than the interval distance between 2 and 4, the signal "PPG signal 2" corresponding to the PPG measurement circuit composed of 1 and 4 and the signal "PPG signal 4" corresponding to the PPG measurement circuit composed of 2 and 3 can be used as the first signal (or the second signal), the signal "PPG signal 1" corresponding to the PPG measurement circuit composed of 1 and 3 and the signal "PPG signal 3" corresponding to the PPG measurement circuit composed of 2 and 4 can be used as the second signal (or the first signal), and the PPG signal corresponding to the ratio of the expression characterizing the content of the first signal to the expression characterizing the content of the second signal is used as the target PPG signal (the first distance in this way can be greater than the second distance), or the PPG signal corresponding to the ratio of the expression characterizing the content of the second signal to the expression characterizing the content of the first signal is used as the target PPG signal (the second distance in this way can be greater than the first distance).
[0046] Optionally, if the PPG signal corresponding to the ratio of the expression representing the content of the first signal to the expression representing the content of the second signal is used as the target PPG signal, the following formula can be obtained:
[0047]
[0048] Wherein, I′ represents the target PPG signal. The numerator and denominator in the above multiplication and division formula (4) can be adjusted according to the actual situation. For example, it can be adjusted to:
[0049]
[0050] Among them, the distance l 14 Equal to l 23 , l 13 Equal to l 24 Therefore, the above formula (4) can be simplified as:
[0051]
[0052] Among them, if l′ is used to represent (l 14 -l 13 )*2, then the above formula (6) can be further simplified as:
[0053] I′=e -ε*c*l′ (7)
[0054] As a method, I′ in the final simplified formula can be used as the target PPG signal input into the relevant algorithm to achieve accurate measurement of physiological characteristic parameters such as heart rate, blood oxygen and atrial fibrillation.
[0055] It should be noted that when the PPG signal is actually measured, the number of the first device and the second device may be greater. When a greater number of the first device and the second device are included, the processing principle and process for synthesizing the multiple groups of PPG signals determined are similar to those in the above embodiment and will not be described in detail here.
[0056] The data processing method provided in this embodiment obtains multiple groups of PPG signals determined based on the first device and the second device, and then performs synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals. Thus, the synthesis processing of multiple groups of PPG signals is achieved in the above manner to remove signals that interfere with the multiple groups of PPG signals, thereby improving the accuracy of measuring PPG signals.
[0057] See also Figure 3 , is a structural block diagram of a data processing device provided in an embodiment of the present application. This embodiment provides a data processing device 200, which can be run on an electronic device. The electronic device includes a PPG sensor, and the PPG sensor includes at least two first devices and at least two second devices. The first device is used to emit light to a target object, and the second device is used to receive scattered light of the emitted light scattered by the target object. The device 200 includes: a data acquisition module 210 and a data processing module 220:
[0058] The data acquisition module 210 is used to acquire multiple groups of PPG signals determined based on the first device and the second device.
[0059] The data processing module 220 is used to perform synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that interfere with the multiple groups of PPG signals.
[0060] As an implementation manner, the data processing module 220 can be specifically used to determine the target PPG signal based on the first signal and the second signal in the multiple groups of PPG signals, wherein the first signal is determined based on the first device and the second device separated by a first distance, and the second signal is determined based on the first device and the second device separated by a second distance, and the first distance is different from the second distance. The step of determining the target PPG signal based on the first signal and the second signal in the multiple groups of PPG signals includes: determining the target PPG signal based on the ratio of an expression representing the content of the first signal in the multiple groups of PPG signals to an expression representing the content of the second signal.
[0061] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0062] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0063] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0064] See also Figure 4 , shows a schematic diagram of the structure of a PPG sensor provided by an embodiment of the present application. This embodiment provides a PPG sensor, which includes: at least two first devices (only two first devices are shown in the figure), the first devices are used to emit light to a target object; and at least two second devices (only two second devices are shown in the figure), the second devices are used to receive scattered light of the emitted light scattered by the target object. The first device and the second device are used to determine multiple groups of PPG signals, so as to obtain target PPG signals by synthesizing the multiple groups of PPG signals, and the synthesis process is used to remove signals that interfere with the multiple groups of PPG signals.
[0065] like Figure 4 As shown, in this embodiment, at least two first devices and at least two second devices share a symmetric plane, wherein the distance from the first device to the symmetric plane (i.e. Figure 4 d1) is greater than the distance from the second device to the symmetry plane (ie Figure 4 Optionally, the number of the first device and the second device in the embodiment of the present application, and the specific arrangement of the first device and the second device under different numbers are not limited.
[0066] For example, in one implementation, Figure 2 As shown, the first device may include a first light emitting diode (ie Figure 2 The "1" shown) and the second light emitting diode (ie Figure 2 The second device may include a first photodiode (ie, Figure 2 "3" shown) and the second photodiode (ie Figure 2 In the example shown in "4", the first light emitting diode, the second light emitting diode, the first photodiode and the second photodiode are collinear. Optionally, the first light emitting diode, the second light emitting diode, the first photodiode and the second photodiode can be arranged in the order of the first light emitting diode, the first photodiode, the second photodiode and the second light emitting diode.
[0067] In this embodiment, the distance between the first light-emitting diode and the first photodiode is equal to the distance between the second light-emitting diode and the second photodiode, and the distance between the first light-emitting diode and the second photodiode is equal to the distance between the second light-emitting diode and the first photodiode.
[0068] As a way, see Figure 5 , showing the Figure 2 The corresponding internal circuit structure diagram of the PPG sensor. Figure 5 As shown, the PPG sensor is electrically connected to an external communication device through a communication interface. The external communication device can be a smart wearable device such as a watch or a bracelet. The PPG sensor includes an analog front end, an LED driving circuit, and a PD signal processing circuit. The analog front end can be a piece or a group of ICs, which are used to drive LED 1 and LED 2 during the measurement of the PPG signal, and perform analog-to-digital conversion on the signals received by PD 3 and PD4 to obtain a PPG signal. The MCU reads multiple groups of PPG signals converted by the analog front end, and synthesizes them into one PPG signal through multiplication and division operations. The power supply voltage of the circuit where LED1 and LED2 are located is VCC.
[0069] In another implementation, see Figure 6 , is a schematic diagram of the internal device arrangement structure of a PPG sensor provided in this embodiment. Figure 6 As shown, the first device includes a first light emitting diode 1 and a second light emitting diode 2, and the second device includes a first photodiode 3 and a second photodiode 4. The center line H1 between the first photodiode 3 and the second photodiode 4 is parallel to the center line H2 between the first light emitting diode 1 and the second light emitting diode 2.
[0070] In yet another implementation, see Figure 7 , is a schematic diagram of the internal device arrangement structure of a PPG sensor provided in this embodiment. Figure 7 As shown, in Figure 6 On the basis of, the second device may further include a third photodiode 5 and a fourth photodiode 6. The center line H3 between the third photodiode 5 and the fourth photodiode 6 and the center line H1 between the first photodiode 3 and the second photodiode 4 are symmetrically arranged on both sides of the center line H2 between the first light emitting diode 1 and the second light emitting diode 2.
[0071] exist Figure 7 In this arrangement, two PPG signals can be synthesized, where one PPG signal can be obtained by Figure 7 The multiple measurement circuits obtained by combining 1, 2, 3 and 4 shown in the figure are synthesized, and another PPG signal can be obtained by Figure 7 The multiple groups of measurement circuits obtained by combining 1, 2, 5 and 6 are synthesized. The specific synthesis principle and implementation process can refer to the description in the previous embodiment and will not be repeated here.
[0072] In yet another implementation, see Figure 8 , is a schematic diagram of the internal device arrangement structure of a PPG sensor provided in this embodiment. Figure 8 As shown, the first device includes a first light emitting diode 1, a second light emitting diode 2, a third light emitting diode 7 and a fourth light emitting diode 8, and the second device includes a first photodiode 3 and a second photodiode 4. The center line H2 between the first light emitting diode 1 and the second light emitting diode 2 and the center line H4 between the third light emitting diode 7 and the fourth light emitting diode 8 are symmetrically arranged on both sides of the center line H1 between the first photodiode 3 and the second photodiode 4.
[0073] exist Figure 8 In this arrangement, two PPG signals can be synthesized, where one PPG signal can be obtained by Figure 8 The multiple measurement circuits obtained by combining 1, 2, 3 and 4 shown in the figure are synthesized, and another PPG signal can be obtained by Figure 8The multiple groups of measurement circuits obtained by combining 7, 8, 3 and 4 shown are synthesized. The specific synthesis principle and implementation process can refer to the description in the previous embodiment and will not be repeated here.
[0074] See also Fig. 9 Based on the above data processing method and device, the embodiment of the present application also provides an electronic device 100 that can execute the above data processing method. The electronic device 100 may include Figure 1-8 The PPG sensor 106, the memory 102 and one or more (only one is shown in the figure) processors 104 coupled to each other in the corresponding embodiment, the memory 102 and the processor 104 are connected by a communication line, and the PPG sensor 106 and the processor 104 are connected by a communication line. The memory 102 stores a program that can execute the contents of the aforementioned embodiments, and the processor 104 can execute the program stored in the memory 102.
[0075] Among them, the processor 104 may include one or more processing cores. The processor 104 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 104 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 104 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 104, but may be implemented separately through a communication chip.
[0076] The memory 102 may include a random access memory (RAM) or a read-only memory (ROM). The memory 102 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 102 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the aforementioned embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0077] Please refer to Fig.10 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0078] The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 310 can be compressed, for example, in an appropriate form.
[0079] In summary, the embodiments of the present application provide a data processing method, device, PPG sensor, electronic device, and storage medium. The method obtains multiple groups of PPG signals determined based on the first device and the second device, and then synthesizes the multiple groups of PPG signals to obtain a target PPG signal. The synthesis process is used to remove signals that interfere with the multiple groups of PPG signals. Thus, the synthesis process of multiple groups of PPG signals is achieved in the above manner to remove signals that interfere with the multiple groups of PPG signals, thereby improving the accuracy of measuring PPG signals.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. 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 spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing method, characterized in that: Applied to an electronic device, the electronic device includes a PPG sensor, the PPG sensor includes at least two first devices and at least two second devices, the first devices are used to emit light to a target object, and the second devices are used to receive scattered light of the emitted light scattered by the target object, the method includes: Acquire multiple groups of PPG signals determined based on the first device and the second device; The multiple groups of PPG signals are synthesized to obtain a target PPG signal, and the synthesis processing is used to remove signals that have temperature drift and / or jitter-related interference on the multiple groups of PPG signals. The synthesis processing on the multiple groups of PPG signals includes: determining the target PPG signal based on a first signal and a second signal in the multiple groups of PPG signals, wherein the first signal is determined based on a first device and a second device separated by a first distance, and the second signal is determined based on a first device and a second device separated by a second distance, and the first distance is different from the second distance. The determining the target PPG signal based on the first signal and the second signal in the multiple groups of PPG signals includes: determining the target PPG signal based on a ratio of an expression in the multiple groups of PPG signals characterizing the content of the first signal to an expression characterizing the content of the second signal.
2. The method according to claim 1, characterized in that The photocurrent generated by the scattered light received by the second device is expressed as follows: Among them, the Characterizes the photocurrent generated by the first device emitting light and the second device receiving light, wherein the LED characterizes the first device, the pd characterizes the second device, and the Characterizing the luminous intensity of the first device, the characterizes light emitted by the first device, the Characterizes the proportion of the light received by the second device to the total emitted light, Characterizing the sensitivity of the second device, the Characterization , , and The product of ε represents the medium absorption coefficient, c represents the medium concentration, and l represents the distance the light propagates.
3. The method according to claim 2, characterized in that The multiple groups of PPG signals include: Wherein, LED1 and LED2 both represent the first device, PD3 and PD4 both represent the second device, Characterizes the photocurrent generated by LED1 emitting light and PD3 receiving light. Characterizes the photocurrent generated by LED1 emitting light and PD4 receiving light. Characterizes the photocurrent generated by LED2 emitting light and PD4 receiving light. It represents the photocurrent generated by LED2 emitting light and PD3 receiving light.
4. The method according to claim 3, characterized in that The multiplication and division operation expressions of the target PPG signal include: Among them, the Characterizing the target PPG signal, the spacing distance between LED1 and PD4 is the same as the spacing distance between LED2 and PD3, and the spacing distance between LED1 and PD3 is the same as the spacing distance between LED2 and PD4; the spacing distance between LED1 and PD4 is greater than the spacing distance between LED1 and PD3, and the spacing distance between LED2 and PD3 is greater than the spacing distance between LED2 and PD4.
5. The method according to claim 4, characterized in that Said equal , equal , the expression can be simplified as: .
6. The method according to claim 5, characterized in that If used express , then the expression can be simplified to: .
7. The method according to claim 3, characterized in that The multiplication and division operation expressions of the target PPG signal include: Among them, the Characterizing the target PPG signal, the spacing distance between LED1 and PD4 is the same as the spacing distance between LED2 and PD3, the spacing distance between LED1 and PD3 is the same as the spacing distance between LED2 and PD4, the spacing distance between LED1 and PD4 is greater than the spacing distance between LED1 and PD3, and the spacing distance between LED2 and PD3 is greater than the spacing distance between LED2 and PD4.
8. A data processing device, characterized in that: The device is operated in an electronic device, the electronic device includes a PPG sensor, the PPG sensor includes at least two first devices and at least two second devices, the first devices are used to emit light to a target object, and the second devices are used to receive scattered light of the emitted light scattered by the target object, and the device includes: A data acquisition module, configured to acquire a plurality of groups of PPG signals determined based on the first device and the second device; A data processing module is used to perform synthesis processing on the multiple groups of PPG signals to obtain a target PPG signal, wherein the synthesis processing is used to remove signals that have temperature drift and / or jitter-related interference on the multiple groups of PPG signals, and the synthesis processing on the multiple groups of PPG signals includes: determining the target PPG signal based on a first signal and a second signal in the multiple groups of PPG signals, wherein the first signal is determined based on a first device and a second device separated by a first distance, and the second signal is determined based on a first device and a second device separated by a second distance, and the first distance is different from the second distance; determining the target PPG signal based on the first signal and the second signal in the multiple groups of PPG signals includes: determining the target PPG signal based on a ratio of an expression in the multiple groups of PPG signals characterizing the content of the first signal to an expression characterizing the content of the second signal.
9. A PPG sensor, characterized in that: The PPG sensor comprises: at least two first devices, the first devices being used to emit light toward a target object; at least two second devices, the second device is used to receive scattered light of the emitted light scattered by the target object, the first device and the second device are used to determine a plurality of groups of PPG signals, so as to obtain a target PPG signal by synthesizing the plurality of groups of PPG signals, the synthesis processing is used to remove signals that have temperature drift and / or jitter-related interference on the plurality of groups of PPG signals, the synthesizing processing on the plurality of groups of PPG signals comprises: determining the target PPG signal based on a first signal and a second signal in the plurality of groups of PPG signals, the first signal is determined based on a first device and a second device separated by a first distance, the second signal is determined based on a first device and a second device separated by a second distance, and the first distance is different from the second distance; determining the target PPG signal based on the first signal and the second signal in the plurality of groups of PPG signals comprises: determining the target PPG signal based on a ratio of an expression representing the content of the first signal in the plurality of groups of PPG signals to an expression representing the content of the second signal.
10. The PPG sensor according to claim 9, characterized in that: The at least two first components and the at least two second components share a symmetric plane, wherein a distance from the first components to the symmetric plane is greater than a distance from the second components to the symmetric plane.
11. The PPG sensor according to claim 10, characterized in that: The first device includes a first light emitting diode and a second light emitting diode, the second device includes a first photodiode and a second photodiode, and the first light emitting diode, the second light emitting diode, the first photodiode and the second photodiode are collinear.
12. The PPG sensor according to claim 11, characterized in that The distance between the first light emitting diode and the first photodiode is equal to the distance between the second light emitting diode and the second photodiode, and the distance between the first light emitting diode and the second photodiode is equal to the distance between the second light emitting diode and the first photodiode.
13. The PPG sensor according to claim 10, characterized in that: The first device includes a first light emitting diode and a second light emitting diode, the second device includes a first photodiode and a second photodiode, and a center line between the first photodiode and the second photodiode is parallel to a center line between the first light emitting diode and the second light emitting diode.
14. The PPG sensor according to claim 13, characterized in that The second device also includes a third photodiode and a fourth photodiode, and the center line between the third photodiode and the fourth photodiode is symmetrically arranged on both sides of the center line between the first light-emitting diode and the second light-emitting diode with respect to the center line between the first photodiode and the second photodiode.
15. The PPG sensor according to claim 10, characterized in that: The first device includes a first light-emitting diode, a second light-emitting diode, a third light-emitting diode and a fourth light-emitting diode, and the second device includes a first photodiode and a second photodiode. A center line between the first light-emitting diode and the second light-emitting diode and a center line between the third light-emitting diode and the fourth light-emitting diode are symmetrically arranged on both sides of the center line between the first photodiode and the second photodiode.
16. An electronic device, characterized in that: The method comprises the PPG sensor according to any one of claims 9 to 15, one or more processors and a memory, wherein one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 7.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Biological signal measuring system and method and earphone
CN105877729A
Robust heart rate measurement method and device based on double PPG signals
CN111481190A
PPG test circuit and method and wearable electronic equipment
CN112806972A
Electronic equipment
CN205947780U