Method and apparatus for measuring biometric parameters

By using multiple light emitting units that are turned on in a wearable device to adjust the current distribution to stabilize voltage and signal intensity, the problem of inaccurate heart rate measurement is solved, achieving higher accuracy heart rate measurement.

CN114569102BActive Publication Date: 2025-07-25HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011376977.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2025-07-25
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

The existing heart rate measurement method has the problem of low measurement accuracy through photoplethysmographic sensors, especially in wearable devices, which leads to inaccurate measurement results.

Method used

The light emitting module is adopted to turn on at least two light emitting units. The control module determines whether the target current is greater than the preset value, and distributes the current to the light emitting unit according to the shunt coefficient to adjust the current intensity so that the current value received by the photoelectric conversion module is within a reasonable range, ensuring the stable operation and signal analysis of the PPG sensor.

Benefits of technology

It improves the measurement accuracy and accuracy of biometric parameters, ensures the stability of the pin pin voltage value of the PPG sensor, enhances the signal analysis capability of the photoelectric conversion module, and improves the accuracy and accuracy of the measurement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114569102B_ABST
    Figure CN114569102B_ABST
Patent Text Reader

Abstract

The present application provides a method and apparatus for measuring biometric parameters. The method includes: determining a target current on a first light-emitting unit that is currently lit in a current cycle in a light-emitting module, and when it is determined that the target current is greater than a first preset value, respectively obtaining shunt coefficients corresponding to the first light-emitting unit and a second light-emitting unit, and according to the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit, respectively allocating currents to the first light-emitting unit and the second light-emitting unit in the current cycle to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure biometric parameters of a target object. Wherein, the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is less than a third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are less than or equal to the first preset value. The present application can improve the accuracy of the measurement result of biometric parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technologies, and in particular, to a method and apparatus for measuring biometric parameters. Background Art

[0002] Nowadays, people pay more and more attention to the health conditions of themselves and their families. Among them, heart rate monitoring is particularly important. Currently, a photoplethysmography (PPG) sensor can be set in a wearable device such as a smart watch to monitor the user's heart rate in real time. Among them, the PPG sensor can control a light-emitting diode (LED) module to emit light, and then receive the light signal reflected by the skin through a photodiode (PD), and convert the received light signal into an electrical signal, so as to measure the heart rate of the human body.

[0003] However, in the above heart rate measurement method, the measurement accuracy of the heart rate is not high and the measurement result is inaccurate. Summary of the Invention

[0004] This application provides a method and apparatus for measuring biometric parameters, which can improve the measurement accuracy of biometric parameters.

[0005] In a first aspect, this application provides a method for measuring biometric parameters. The measurement method is applied to an electronic device, which includes a light-emitting module and a photoelectric conversion module. The light-emitting module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles. The method includes: determining a target current on a first light-emitting unit that is currently lit in the current cycle in the light-emitting module; determining whether the target current on the first light-emitting unit is greater than a first preset value; if the target current on the first light-emitting unit is greater than the first preset value, obtaining a shunt coefficient corresponding to the first light-emitting unit and a shunt coefficient corresponding to a second light-emitting unit; according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, respectively allocating currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module in the current cycle to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents, to measure the biometric parameters of a target object, where the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is less than a third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value.

[0006] In this implementation, since the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value, the voltage division on the light-emitting module is small. Thus, it can be ensured that the voltage value on the pin of the PPG sensor meets the preset voltage value, thereby providing a stable reference voltage for the ADC in the PPG sensor and improving the accuracy of the measurement result of the biometric parameter. Additionally, when the target current on the first light-emitting unit is greater than the first preset value, the current can be shunted to the second light-emitting unit. In this way, the intensity of the light emitted by the light-emitting module does not decrease, so that the current value received by the photoelectric conversion module is greater than the second preset value, ensuring that the photoelectric conversion module can normally analyze the signal, and further ensuring the accuracy of the measurement result of the biometric parameter.

[0007] In a possible implementation, the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the electronic device; the second preset value and the third preset value are used to ensure that the photoelectric conversion module can normally analyze the signal.

[0008] In this solution, the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the electronic device. By limiting that the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value, it can be ensured that the voltage value on the pin of the PPG sensor meets the preset voltage value, thereby providing a stable reference voltage for the ADC in the PPG sensor and improving the accuracy of the measurement result of the biometric parameter. Additionally, the second preset value and the third preset value are used to ensure that the photoelectric conversion module can normally analyze the signal. By limiting that the absolute value of the difference between the current value received by the photoelectric conversion module and the second preset value is less than the third preset value, it can be ensured that the photoelectric conversion module can normally analyze the signal, and further ensuring the accuracy of the measurement result of the biometric parameter.

[0009] In a possible implementation, determining the target current on the currently lit first light-emitting unit in the light-emitting module in the current cycle includes: obtaining the current currently received by the photoelectric conversion module; and determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module.

[0010] In this solution, by receiving the current value currently received by the photoelectric conversion module and adjusting the target current of the first light-emitting unit according to this current value, the accuracy of the photoelectric conversion module in analyzing the signal can be improved, thereby improving the accuracy of the measurement of the biometric parameter.

[0011] In a possible implementation, determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module includes: determining whether the number of adjustments to the target current of the first light-emitting unit is greater than a fourth preset value; if the number of adjustments to the target current of the first light-emitting unit is not greater than the fourth preset value, then determining whether the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value; if it is not less than the third preset value, then determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module and the second preset value.

[0012] In this solution, when the number of adjustments to the target current of the first light-emitting unit is not greater than the fourth preset value, the target current of the first light-emitting unit is determined by the current currently received by the photoelectric conversion module, thereby preventing the control module from continuously adjusting the target current of the first light-emitting unit.

[0013] In a possible implementation, determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module includes: determining whether the current currently received by the photoelectric conversion module is less than the second preset value; if it is less than the second preset value, then determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and a fifth preset value in the current period, where the fifth preset value is the maximum current value that the photoplethysmography (PPG) sensor in the electronic device can withstand; if it is greater than the second preset value, then determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and a sixth preset value in the current period, where the sixth preset value is the minimum current value to ensure that the PPG sensor can collect signals.

[0014] In this solution, according to the current currently received by the photoelectric conversion module, the target current of the first light-emitting unit can be adjusted in real time, thereby improving the measurement result of biometric parameters.

[0015] In a possible implementation, determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the fifth preset value in the current period includes: determining the average value of the current current of the first light-emitting unit and the fifth preset value as the target current of the first light-emitting unit.

[0016] In this solution, the method of determining the target current of the first light-emitting unit according to the average value of the current current of the first light-emitting unit and the fifth preset value makes the determination method relatively simple.

[0017] In a possible implementation, determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and a sixth preset value in the current period includes: determining the average value of the current current of the first light-emitting unit and the sixth preset value as the target current of the first light-emitting unit.

[0018] In this solution, the method of determining the target current of the first light-emitting unit according to the average value of the current current of the first light-emitting unit and the sixth preset value is relatively simple.

[0019] In a possible implementation, the method further includes: if the number of adjustments to the target current on the first light-emitting unit is greater than the fourth preset value, or the absolute value of the difference between the current received by the photoelectric conversion module and the second preset value is less than the third preset value, then determine whether the current received by the photoelectric conversion module currently meets the accuracy ideal range of the analog-to-digital converter (ADC) of the photoplethysmography (PPG) sensor in the electronic device; if it does not meet the accuracy ideal range of the ADC of the PPG sensor, adjust the current current of the first light-emitting unit in a preset manner, and determine the adjusted current as the target current of the first light-emitting unit; if it meets the accuracy ideal range of the ADC of the PPG sensor, determine the current current of the first light-emitting unit as the target current of the first light-emitting unit.

[0020] In this solution, when the current value is not within the accuracy ideal range of the ADC, the accuracy of the result after ADC processing is relatively low. Therefore, when the control module determines that the current value received by the photoelectric conversion module is not within the accuracy ideal range of the ADC, it is necessary to adjust the current value of the first light-emitting unit, thereby improving the accuracy of data processing.

[0021] In a possible implementation, according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, currents are respectively allocated to the first light-emitting unit and the second light-emitting unit in the light-emitting module in the current period, including: allocating a current of a*m to the first light-emitting unit and allocating a current of b*(n - m) to the second light-emitting unit, where a is the shunt coefficient corresponding to the first light-emitting unit, b is the shunt coefficient corresponding to the second light-emitting unit, n is the target current on the first light-emitting unit, and m is the first preset value.

[0022] In this solution, after currents are allocated to the first light-emitting unit and the second light-emitting unit according to the determined shunt coefficients, the first light-emitting unit and the second light-emitting unit emit light together, and the absolute value of the difference between the current value received by the photoelectric conversion module 103 and the second preset value is less than the third preset value. Therefore, the accuracy of signal analysis by the photoelectric conversion module can be ensured, and the accuracy of biometric parameter measurement can be improved.

[0023] In a possible implementation, both a and b are 1. Here, the distance between the first light-emitting unit and the photoelectric conversion module is the same as the distance between the second light-emitting unit and the photoelectric conversion module.

[0024] In this solution, for a certain electronic device, if the distances between the first light-emitting unit and the second light-emitting unit and the photoelectric conversion module are equal, and the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit are both 1, the current value received by the photoelectric conversion module can be guaranteed, thereby improving the accuracy of the measurement result.

[0025] In a possible implementation, a is 1 and b is k. Here, the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, and k is an integer greater than 1.

[0026] In this solution, for a certain electronic device, if the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, the shunt coefficient corresponding to the first light-emitting unit is 1, and the shunt coefficient corresponding to the second light-emitting unit is k. In this way, not only can the current value on each light-emitting unit be guaranteed to be less than the first preset value, but also when the two light-emitting units are lit simultaneously, the measurement accuracy of the biometric parameter can approach the accuracy of the biometric parameter measured when a single light-emitting unit is lit.

[0027] In a possible implementation, the method further includes: if the target current on the first light-emitting unit is not greater than the first preset value, the first light-emitting unit emits light based on the target current to measure the biometric parameter of the target object.

[0028] In this solution, if the control module determines that the target current of the first light-emitting unit is less than the first preset value, it means that the voltage value of the first light-emitting unit is small. At this time, the voltage value of the pin of the PPG sensor is large, which can ensure the normal operation of the PPG sensor. Therefore, it is not necessary to shunt the target current of the first light-emitting unit, thereby ensuring the accuracy of the biometric parameter measurement.

[0029] Second aspect, the present application provides a device, which includes a light-emitting module and a photoelectric conversion module. The light-emitting module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles. The device further includes: a control module; the control module is configured to determine a target current on a first light-emitting unit that is currently lit in the current cycle in the light-emitting module; the control module is further configured to determine whether the target current on the first light-emitting unit is greater than a first preset value; the control module is further configured to, when the target current on the first light-emitting unit is greater than the first preset value, obtain a shunt coefficient corresponding to the first light-emitting unit and a shunt coefficient corresponding to a second light-emitting unit; the control module is further configured to, according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, respectively allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module in the current cycle, so as to adjust the target current on the first light-emitting unit, such that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents, to measure biometric parameters of a target object, wherein the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is less than a third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value.

[0030] In a possible implementation manner, the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the device; the second preset value and the third preset value are used to ensure that the photoelectric conversion module can perform signal analysis normally.

[0031] In a possible implementation manner, the control module is specifically configured to: obtain the current currently received by the photoelectric conversion module; and determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module.

[0032] In a possible implementation manner, the control module is specifically configured to: determine whether the number of times of adjusting the target current of the first light-emitting unit is greater than a fourth preset value; if the number of times of adjusting the target current of the first light-emitting unit is not greater than the fourth preset value, then determine whether the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value; if it is not less than the third preset value, then determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module and the second preset value.

[0033] In a possible implementation, the control module is specifically configured to: determine whether the current received by the photoelectric conversion module is less than the second preset value; if it is less than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the fifth preset value within the current period, where the fifth preset value is the maximum current value that the photoplethysmography (PPG) sensor in the device can withstand; if it is greater than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the sixth preset value within the current period, where the sixth preset value is the minimum current value to ensure that the PPG sensor can collect signals.

[0034] In a possible implementation, the control module is specifically configured to: determine the average value of the current current of the first light-emitting unit and the fifth preset value as the target current of the first light-emitting unit.

[0035] In a possible implementation, the control module is specifically configured to: determine the average value of the current current of the first light-emitting unit and the sixth preset value as the target current of the first light-emitting unit.

[0036] In a possible implementation, the control module is further configured to: if the number of adjustments to the target current of the first light-emitting unit is greater than the fourth preset value, or the absolute value of the difference between the current received by the photoelectric conversion module and the second preset value is less than the third preset value, determine whether the current received by the photoelectric conversion module meets the accuracy ideal range of the analog-to-digital converter (ADC) of the photoplethysmography (PPG) sensor in the device; if it does not meet the ADC accuracy ideal range of the PPG sensor, adjust the current current of the first light-emitting unit in a preset manner and determine the adjusted current as the target current of the first light-emitting unit; if it meets the ADC accuracy ideal range of the PPG sensor, determine the current current of the first light-emitting unit as the target current of the first light-emitting unit.

[0037] In a possible implementation, the control module is specifically configured to: allocate a current of a*m to the first light-emitting unit and a current of b*(n - m) to the second light-emitting unit, where a is the shunt coefficient corresponding to the first light-emitting unit, b is the shunt coefficient corresponding to the second light-emitting unit, n is the target current of the first light-emitting unit, and m is the first preset value.

[0038] In a possible implementation, both a and b are 1, where the distance between the first light-emitting unit and the photoelectric conversion module is the same as the distance between the second light-emitting unit and the photoelectric conversion module.

[0039] In a possible implementation, a is 1 and b is k, where the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, and k is an integer greater than 1.

[0040] In a possible implementation, the control module is further configured to: when the target current on the first light-emitting unit is not greater than the first preset value, the first light-emitting unit emits light based on the target current to measure the biometric parameter of the target object.

[0041] In a third aspect, the present application provides an electronic device, including: an LED module, a photodiode, a memory, and a processor, where the LED module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles; the memory is used to store program instructions; the processor is used to call the program instructions in the memory to execute the method described in the first aspect or any one of its possible implementations.

[0042] In a fourth aspect, the present application provides a chip, including at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the method described in the first aspect or any one of its possible implementations.

[0043] In a fifth aspect, the present application provides a computer-readable medium, the computer-readable medium stores program code for computer execution, and the program code includes instructions for executing the method described in the first aspect or any one of its possible implementations.

[0044] The measurement method and device for biometric parameters provided by the embodiments of the present application determine the target current on the first light-emitting unit that is currently lit in the current cycle in the light-emitting module, and determine whether the target current on the first light-emitting unit is greater than a first preset value. If it is determined that the target current on the first light-emitting unit is greater than the first preset value, the control module can obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, and respectively allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit in the current cycle, so as to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents, so as to measure the biometric parameters of the target object. Among them, the absolute value of the difference between the current value received by the photoelectric conversion module and a second preset value is less than a third preset value, and the current values allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value. Since the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value, the voltage division on the light-emitting module is small, so that the voltage value on the pin of the PPG sensor can meet the preset voltage value, thereby providing a stable reference voltage for the ADC in the PPG sensor and improving the accuracy of the measurement result of the biometric parameters. In addition, since when the target current on the first light-emitting unit is greater than the first preset value, the current can be shunted to the second light-emitting unit, in this way, the intensity of the light emitted by the light-emitting module does not decrease, so that the absolute value of the difference between the current value received by the photoelectric conversion module 103 and the second preset value is less than the third preset value, ensuring that the photoelectric conversion module can normally analyze the signal, thereby further ensuring the accuracy of the measurement result of the biometric parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is an application scenario diagram of the measurement method for biometric parameters provided by the embodiments of the present application;

[0046] Figure 2 is a schematic diagram of the principle of biometric parameter measurement provided by the embodiments of the present application;

[0047] Figure 3 is a schematic structural diagram of the wearable device 11;

[0048] Figure 4 is a schematic flowchart of a measurement method for biometric parameters provided by the embodiments of the present application;

[0049] Figure 5 is another schematic flowchart of a measurement method for biometric parameters provided by the embodiments of the present application;

[0050] Figure 6Schematic diagram for determining the shunt coefficient;

[0051] Figure 7 Schematic diagram of a distance between a light-emitting unit and a photoelectric conversion module;

[0052] Figure 8 Another schematic diagram of a distance between a light-emitting unit and a photoelectric conversion module;

[0053] Figure 9 Schematic structural diagram of a measuring device for biometric parameters provided by an embodiment of the present application;

[0054] Figure 10 Schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0055] Terms such as "first", "second", and "third" in the description, claims, and accompanying drawings of the present application are used to distinguish different objects, rather than to limit a specific order.

[0056] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0057] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. Among them, A and B may be singular or plural. In the written description of the present application, the character " / " generally represents an "or" relationship between the associated objects before and after.

[0058] The following will describe in detail the implementation manners of the embodiments of the present application with reference to the accompanying drawings.

[0059] Figure 1 Application scenario diagram of a method for measuring biometric parameters provided by an embodiment of the present application, as Figure 1As shown, the embodiments of the present application can be applied to a scenario where the target object 12 wears a wearable device 11 to measure its own biometric parameters. Among them, the biometric parameters can include heart rate, blood oxygen saturation, blood pressure, etc. In the embodiments of the present application, the biometric parameter is taken as an example of heart rate for illustration. When the biometric parameter is other parameters, it can be measured by the PPG sensor controlling the LED module to emit light of different colors. For example, when the PPG sensor controls the LED module to emit red light, the blood oxygen saturation of the target object 12 can be measured. When the biometric parameter is other parameters, its measurement principle is similar to that when the biometric parameter is heart rate, and will not be elaborated in the embodiments of the present application.

[0060] Exemplarily, the above-mentioned wearable device 11 can also be called a wearable intelligent device, which is the general term for devices developed by applying wearable technology to intelligently design daily wear, such as glasses, gloves, watches, clothing, shoes, etc. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. The wearable device 11 is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can realize complete or partial functions without relying on a smartphone, such as smart watches or smart glasses, etc., and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones, such as various smart bracelets and smart jewelry for physical sign monitoring. In addition, the above-mentioned wearable device 11 can also be devices such as a sports wristband, an infrared ear heart rate sensor, and a heart rate monitoring chest strap.

[0061] Exemplarily, the above-mentioned target object 12 can be a user.

[0062] Figure 2 It is a schematic diagram of the principle of biometric parameter measurement provided by the embodiments of the present application. As Figure 2 shown, the target object 12 can measure its own heart rate by wearing the wearable device 11. Among them, the wearable device 11 includes an LED module 101, a PPG sensor 102, a photoelectric conversion module 103, and a control module 104. Among them, the LED module 101 includes at least two light-emitting units. The photoelectric conversion module 103 can be a PD for example, and the control module 104 can be a Central Processing Unit (CPU) or a Microcontroller Unit (MCU) for example.

[0063] When measuring the heart rate, the PPG sensor 102 controls the light-emitting units in the LED module 101 to emit light. Since the wearable device 11 is worn on the skin surface of the target object 12, after the emitted light irradiates the skin of the target object 12, a part of the light will be absorbed by the heme in the blood, and the unabsorbed light will be reflected. The photoelectric conversion module 103 converts the received optical signal into an electrical signal by receiving the optical signal reflected by the skin, and sends the electrical signal to the control module 104. After the control module 104 processes the electrical signal, the heart rate of the target object 12 can be obtained.

[0064] Figure 3 FIG. is a schematic structural diagram of the wearable device 11, as Figure 3 shown, the LED module 101 includes at least two light-emitting units. In the embodiment of the present application, taking the example of including four light-emitting units, among them, the four light-emitting units 1011, 1012, 1013, and 1014 are respectively connected to the pin pins of the PPG sensor. Among them, the light-emitting unit can be an LED. In addition, the PPG sensor 102 controls the light-emitting unit 1011 and the light-emitting unit 1013 to emit red light, and controls the light-emitting unit 1012 and the light-emitting unit 1014 to emit green light. It should be understood that the light-emitting units 1011, 1012, 1013, and 1014 can be polled to be lit. When the light-emitting unit 1011 and the light-emitting unit 1013 are lit, the wearable device 11 can be used to measure the blood oxygen saturation of the target object 12. When the light-emitting unit 1012 and the light-emitting unit 1014 are lit, the wearable device 11 can be used to measure the heart rate of the target object 12.

[0065] The PPG sensor 102 includes a data buffer and an analog-to-digital converter (ADC), where the ADC is connected to the photoelectric conversion module 103. When the PPG sensor 102 controls the light-emitting units 1011, 1012, 1013, and 1014 to be polled and lit, and the light irradiates the skin and is reflected by the skin, the photoelectric conversion module 103 will receive the reflected optical signal and convert the optical signal into an electrical signal. The photoelectric conversion module 103 sends the electrical signal to the ADC in the PPG sensor 102, and the ADC converts the electrical signal into a digital signal and sends it to the data buffer. After the light-emitting units 1011, 1012, 1013, and 1014 are all lit once, the data buffer will store the digital signals corresponding to the light-emitting units 1011, 1012, 1013, and 1014 respectively. The PPG sensor 102 sends the digital signals stored in the data buffer to the control module 104 through the Serial Peripheral Interface (SPI). The control module 104 processes the received digital signals, so as to obtain parameters such as the heart rate or blood oxygen saturation of the target object 12.

[0066] In one implementation, since the light-emitting units 1011, 1012, 1013, and 1014 are polled and lit, usually only one light-emitting unit is lit at each moment. Hereinafter, taking the lit light-emitting unit 1011 as an example for illustration, when other light-emitting units are lit, it is similar to when the light-emitting unit 1011 is lit, and details are not described herein again. As Figure 3 shown, since the light-emitting unit 1011 is not an ideal device, as the current on the light-emitting unit 1011 increases, the resistance value of the light-emitting unit 1011 will exceed the ideal resistance value, so the voltage value will increase sharply, resulting in the actual voltage division value on the light-emitting unit 1011 being much greater than the conduction voltage value of the light-emitting unit 1011. Since the power supply of the LED module 101 is 5V, when the voltage value on the light-emitting unit 1011 is large, the voltage value on the pin of the PPG sensor 102 will be small. Those skilled in the art can understand that the PPG sensor 102 can work normally only when the voltage on the pin of the PPG sensor 102 meets the preset voltage value. When the voltage value on the pin of the PPG sensor 102 does not reach the above preset voltage value, it will cause the PPG sensor 102 to work abnormally, and then cause the reference voltage of the ADC in the PPG sensor 102 to be unstable, resulting in inaccurate results of the digital signal after ADC conversion, and the measurement result analyzed by the control module 104 has low accuracy.

[0067] For this problem, in one implementation, by restricting the value of the current flowing through the light-emitting units included in the LED module 101, the voltage drop across the light-emitting units is reduced to ensure that the voltage on the pin of the PPG sensor 102 meets a preset threshold, thereby ensuring that the ADC has a stable reference voltage and improving the measurement accuracy of biometric parameters.

[0068] However, in the above method, due to the different external body tissue conditions of blood vessels for different users, the skin of some users has a high light absorption rate. After restricting the current value of the light-emitting units, the light intensity of the light emitted by the light-emitting units is low. After being absorbed by the skin of these users, less light is reflected to the photoelectric conversion module 103. In this way, the electrical signal obtained after the photoelectric conversion module 103 converts is also small. If the value of this electrical signal is less than the value at which the photoelectric conversion module 103 can normally perform signal analysis, it will result in inaccurate measurement results of biometric parameters.

[0069] To solve the above problems, an embodiment of the present application provides a method for measuring biometric parameters. In this method, the control module 104 determines the target current on the first light-emitting unit that is currently lit in the current cycle in the light-emitting module, and determines whether the target current on the first light-emitting unit is greater than a first preset value. If it is determined that the target current on the first light-emitting unit is greater than the first preset value, the control module 104 can obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, and based on the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module respectively in the current cycle to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure the biometric parameters of the target object. Wherein, the absolute value of the difference between the current value received by the photoelectric conversion module 103 and a second preset value is less than a third preset value, and the current values allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value. Since the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value, the voltage drop across the light-emitting module 101 is small. Thus, it can be ensured that the voltage value on the pin of the PPG sensor 102 meets the preset voltage value, thereby providing a stable reference voltage for the ADC in the PPG sensor 102 and improving the accuracy of the measurement results of biometric parameters. In addition, since when the target current on the first light-emitting unit is greater than the first preset value, the current can be shunted to the second light-emitting unit, in this way, the intensity of the light emitted by the light-emitting module does not decrease, so that the current value received by the photoelectric conversion module 103 can be greater than the second preset value, ensuring that the photoelectric conversion module 103 can normally perform signal analysis, and thus further ensuring the accuracy of the measurement results of biometric parameters.

[0070] Next, the technical solution of the biometric parameter measurement method provided by this application will be described in detail through specific embodiments. It can be understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0071] Figure 4 It is a schematic flowchart of a method for measuring biometric parameters provided by an embodiment of this application. It should be noted that although in the embodiments of this application, the steps of the method are presented in a specific order, the order of the steps can be changed in different embodiments, and in some embodiments, one or more steps shown in sequence in this specification can be executed simultaneously. As Figure 4 shown, the method includes:

[0072] Step 401: The control module 104 determines the target current of the first light-emitting unit in the light-emitting module 101.

[0073] In this step, the light-emitting module 101 includes at least two light-emitting units, and the at least two light-emitting units are connected in parallel. The light-emitting unit can be, for example, an LED. The control module 104 controls these light-emitting units to be polled and lit through the PPG sensor 102. Among them, the first light-emitting unit is the currently lit light-emitting unit in the current cycle. Among them, the smaller the current value of the first light-emitting unit, the smaller the intensity of the light emitted by the first light-emitting unit.

[0074] It should be understood that when the current value of the first light-emitting unit in the light-emitting module 101 is small, at this time, the intensity of the light emitted by the first light-emitting unit is small. Therefore, the smaller the light signal received by the photoelectric conversion module 103. Therefore, in order to ensure the magnitude of the current value received by the photoelectric conversion module 103, the control module 104 can adjust the current of the first light-emitting unit in the light-emitting module 101 in real time according to the current received on the photoelectric conversion module 103.

[0075] Next, through Figure 5 the embodiments shown, the process of how the control module 104 determines the target current value of the first light-emitting unit in the light-emitting module 101 will be described in detail.

[0076] Specifically, Figure 5 It is another schematic flowchart of a method for measuring biometric parameters provided by an embodiment of this application. As Figure 5 shown, the method includes:

[0077] Step 4011: The control module 104 receives the current currently received by the photoelectric conversion module 103 sent by the PPG sensor 102.

[0078] In this step, in order to ensure the magnitude of the current received by the photoelectric conversion module 103, the control module 104 can adjust the current of the first light-emitting unit in the light-emitting module 101 in real time according to the current currently received by the photoelectric conversion module 103. After converting the received optical signal into a current signal, the photoelectric conversion module 103 sends the current signal to the ADC of the PPG sensor 102 to convert the analog current signal into a digital current signal and store it in the data buffer. The PPG sensor 102 sends the current signal in the data buffer to the control module 104 through the SPI bus. In this way, the control module 104 can obtain the current currently received by the photoelectric conversion module 103.

[0079] Step 4012: The control module 104 determines whether the number of adjustments to the target current on the first light-emitting unit is greater than a fourth preset value.

[0080] If so, execute step 4018; otherwise, execute step 4013.

[0081] In this step, in order to prevent the phenomenon that the control module 104 continuously adjusts or shunts the target current on the first light-emitting unit, after determining that the control module 104 has previously adjusted or shunted the target current on the first light-emitting unit multiple times, it will not continue to precisely adjust the target current on the first light-emitting unit, but determine whether the current currently received by the photoelectric conversion module 103 meets the ideal range of the ADC accuracy in the PPG sensor. Only when it is determined that the number of times the control module 104 adjusts or shunts the target current on the first light-emitting unit before is not greater than the fourth preset value, will step 4013 be executed.

[0082] Among them, the fourth preset value can be set according to the actual situation or experience. For example, it can be 3 or 4, etc. The specific value of the fourth preset value is not limited in the embodiments of the present application.

[0083] Step 4013: The control module 104 determines whether the absolute value of the difference between the current currently received by the photoelectric conversion module 103 and the second preset value is less than a third preset value.

[0084] If so, execute step 4018; otherwise, execute step 4014.

[0085] In this step, the second preset value and the third preset value are used to ensure that the photoelectric conversion module 103 can perform signal analysis normally. When the current value currently received by the photoelectric conversion module 103 is close to the second preset value, the result obtained by the photoelectric conversion module 103 when analyzing the signal is relatively accurate. Therefore, if the control module 104 determines that the absolute value of the difference between the current value currently received by the photoelectric conversion module 103 and the second preset value is not less than the third preset value, that is, when the difference between the current value currently received by the photoelectric conversion module 103 and the second preset value is relatively large, it indicates that the current value currently received by the photoelectric conversion module 103 may be too large or too small. At this time, it is necessary to adjust the current on the first light-emitting unit.

[0086] For example, assume that the second preset value is 100 mA and the third preset value is 10 mA. Then, when the current value currently received by the photoelectric conversion module 103 is within the range of [90, 110], step 4018 will be executed; otherwise, step 4014 will be executed.

[0087] Step 4014: The control module 104 determines whether the current currently received by the photoelectric conversion module 103 is greater than the second preset value.

[0088] If it is, step 4016 will be executed; otherwise, step 4015 will be executed.

[0089] Step 4015: The control module 104 determines the target current value according to the fifth preset value and the current current of the first light-emitting unit.

[0090] Among them, the fifth preset value is the maximum current value that the PPG sensor can withstand, and this fifth preset value is determined by the chip characteristics of the PPG sensor.

[0091] In this step, since the current value of the first light-emitting unit can be controlled in real time by the control module 104, the current current value of the first light-emitting unit can be understood as the current value of the first light-emitting unit determined by the control module 104 last time.

[0092] When the control module 104 determines that the current currently received by the photoelectric conversion module 103 is less than the second preset value, it indicates that the current value of the photoelectric conversion module 103 is small. At this time, in order to ensure that the photoelectric conversion module 103 can correctly analyze the signal, it is necessary to increase the current value of the first light-emitting unit to increase the light intensity of the first light-emitting unit, so as to achieve the purpose of increasing the current value of the photoelectric conversion module 103.

[0093] In a possible implementation, the average value of the fifth preset value and the current current value of the first light-emitting unit in the current period can be determined as the target current value. In another possible implementation, the target current value can also be determined according to the preset weight value based on the fifth preset value and the current current value of the first light-emitting unit in the current period. Of course, the target current value can also be determined in other ways. For example, a value is randomly selected between the fifth preset value and the current current value of the first light-emitting unit in the current period as the target current value, etc. As long as the determined target current value is greater than the current current value of the first light-emitting unit in the current period and less than the fifth preset value.

[0094] Step 4016: The control module 104 determines the target current value according to the sixth preset value and the current current on the first light-emitting unit.

[0095] Wherein, the sixth preset value is the minimum current value to ensure that the PPG sensor can collect signals, and this sixth preset value is determined by the chip characteristics of the PPG sensor.

[0096] In this step, when the control module 104 determines that the current value currently received by the photoelectric conversion module 103 is greater than the second preset value, it indicates that the current value of the photoelectric conversion module 103 is relatively large. At this time, in order to ensure that the photoelectric conversion module 103 can correctly analyze the signal, it is necessary to reduce the current value of the first light-emitting unit to reduce the light intensity of the first light-emitting unit, so as to achieve the purpose of reducing the current value of the photoelectric conversion module 103.

[0097] In a possible implementation, the average value of the sixth preset value and the current current value of the first light-emitting unit in the current period can be determined as the target current value. In another possible implementation, the target current value can also be determined according to the preset weight value based on the sixth preset value and the current current value of the first light-emitting unit in the current period. Of course, the target current value can also be determined in other ways. For example, a value is randomly selected between the sixth preset value and the current current value of the first light-emitting unit in the current period as the target current value, etc. As long as the determined target current value is less than the current current value of the first light-emitting unit in the current period and greater than the sixth preset value.

[0098] Step 4017: The control module 104 determines the target current value as the target current of the first light-emitting unit.

[0099] In this step, after the control module 104 determines the target current value, it can adjust or update the current value of the first light-emitting unit to this target current value.

[0100] Step 4018: The control module 104 determines whether the current value currently received by the photoelectric conversion module 103 meets the ADC accuracy ideal range.

[0101] If so, execute step 4020; otherwise, execute step 4019.

[0102] In this step, the ideal interval of ADC accuracy can also be understood as that when the current value is within this interval, the accuracy of the result after ADC processing is relatively high. If the current value currently received by the photoelectric conversion module 103 is within this interval, the current value of the first light-emitting unit will no longer be adjusted.

[0103] If the current value is not within this interval, the accuracy of the result after ADC processing is relatively low. Therefore, when the control module 104 determines that the current value currently received by the photoelectric conversion module 103 is not within the ideal interval of ADC accuracy, the current value of the first light-emitting unit needs to be adjusted.

[0104] In addition, for the control module 104 to determine whether the current value currently received by the photoelectric conversion module 103 meets the ideal interval of ADC accuracy, it can also be that the control module 104 determines whether the current value currently received by the photoelectric conversion module 103 is within the saturation interval of the ADC. If it is within the saturation interval of the ADC, the accuracy of the result after ADC processing is relatively low, and at this time, step 4019 will be executed. If it is not within the saturation interval of the ADC, the accuracy of the result after ADC processing is relatively high, and at this time, step 4020 will be executed.

[0105] Step 4019, the control module 104 adjusts the current of the first light-emitting unit in a preset manner and determines the adjusted current as the target current of the first light-emitting unit.

[0106] In this step, if the control module 104 determines that the current value currently received by the photoelectric conversion module 103 is not within the ideal interval of ADC accuracy, or the control module 104 determines that the current value currently received by the photoelectric conversion module 103 is within the saturation interval of the ADC, then the control module 104 needs to adjust the current value of the first light-emitting unit. Exemplarily, it can be adjusted in a step-by-step manner. For example, according to a preset current value, each time after adjusting the current value of the first light-emitting unit by the preset current value, step 4011 will be executed to obtain the current value currently received by the photoelectric conversion module 103. If the current value currently received by the photoelectric conversion module 103 is still not within the ideal interval of ADC accuracy, or is within the saturation interval of the ADC, then the adjustment will continue according to the preset current value until the current value currently received by the photoelectric conversion module 103 is within the ideal interval of ADC accuracy, or is not within the saturation interval of the ADC.

[0107] By adjusting the current value of the first light-emitting unit in a step-by-step manner, the efficiency of current adjustment can be improved.

[0108] In this embodiment, by receiving the current value currently received by the photoelectric conversion module 103 sent by the PPG sensor 102 and adjusting the current value of the first light-emitting unit according to this current value, the accuracy of the photoelectric conversion module 103 for signal analysis can be improved, thereby improving the accuracy of biometric parameter measurement.

[0109] Step 4020: The control module 104 determines the current current of the first light-emitting unit as the target current of the first light-emitting unit.

[0110] Among them, if the current value currently received by the photoelectric conversion module 103 satisfies the ideal interval of ADC accuracy, it indicates that the accuracy of the result after ADC processing is relatively high. At this time, the current current of the first light-emitting unit can be determined as the target current of the first light-emitting unit.

[0111] Step 402: The control module 104 determines whether the target current of the first light-emitting unit is greater than a first preset value.

[0112] If the target current of the first light-emitting unit is greater than the first preset value, step 403 is executed; otherwise, step 406 is executed.

[0113] Among them, the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor. For example, the first preset value can be 100 mA.

[0114] In this step, when the target current of the first light-emitting unit is greater than the first preset value, since the first light-emitting unit is a non-ideal device, its actual resistance will exceed the ideal resistance. When the current value is large, the actual working voltage on it will exceed the conduction voltage, resulting in a decrease in the voltage value on the pin of the PPG sensor. Therefore, in order to ensure the magnitude of the voltage value on the pin of the PPG sensor, the control module 104 will control the shunting of the target current on the first light-emitting unit to shunt the target current value of the first light-emitting unit to other light-emitting units, thereby reducing the voltage value of the light-emitting module 101, and thus the magnitude of the voltage value on the pin of the PPG sensor can be ensured.

[0115] Step 403: The control module 104 obtains the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit.

[0116] Among them, the shunt coefficient is used to adjust the current values on the first light-emitting unit and the second light-emitting unit. According to the shunt coefficient corresponding to the first light-emitting unit, the shunt coefficient corresponding to the second light-emitting unit, and the target current of the first light-emitting unit determined by the control module 104, the currents can be respectively allocated to the first light-emitting unit and the second light-emitting unit in the current cycle, and when controlling the first light-emitting unit and the second light-emitting unit to be lit simultaneously, the current value received by the photoelectric conversion module 103 is the same as the current value received by the photoelectric conversion module 103 when only the first light-emitting unit is lit according to the target current value.

[0117] In a possible implementation manner, the shunt coefficient can be obtained by collecting multiple groups of current values of the two light-emitting units and fitting these multiple groups of current values. Hereinafter, taking the collection of three groups of data as an example for illustration. Specifically, at the first moment, the current value Data1-1 on the first light-emitting unit can be collected, and the current value Data2-1 on the second light-emitting unit can be collected. At the second moment, the current value Data1-2 on the first light-emitting unit can be collected, and the current value Data2-2 on the second light-emitting unit can be collected. At the third moment, the current value Data1-3 on the first light-emitting unit can be collected, and the current value Data2-3 on the second light-emitting unit can be collected. After collecting the data, the initial shunt coefficient K' can be calculated according to the formula where the value of i can be 1, 2, or 3. After calculating K', K' can be substituted into the preset shunt algorithm and the linear regression optimization method can be used to obtain the optimized shunt coefficient.

[0118] In this method, by collecting multiple groups of current values and thus determining the shunt coefficient by fitting, the determined shunt coefficient is more accurate.

[0119] In another possible implementation manner, the shunt coefficient can also be obtained by collecting a group of current values of the two light-emitting units and analyzing this group of current values, so as to obtain the shunt coefficient corresponding to each light-emitting unit. For example, Figure 6 is a schematic diagram for determining the shunt coefficient. As Figure 6As shown, the two light-emitting units are LED1 and LED2 respectively. Among them, the distance between LED1 and PD is distance 1, and the distance between LED2 and PD is distance 2, and distance 1 is greater than distance 2. Since the distances between LED1 and LED2 and PD are different, when the currents on LED1 and LED2 are the same, the current values received by PD are different. For example, when the operating current of LED1 is 100 mA, after the light emitted by LED1 irradiates the skin, a part of the light is reflected by the skin to PD. After PD converts the optical signal into an electrical signal, the current received by PD is 10 mA. When the operating current of LED2 is 100 mA, after the light emitted by LED2 irradiates the skin, a part of the light is reflected by the skin to PD. After PD converts the optical signal into an electrical signal, the current received by PD is 5 mA. Therefore, the shunt coefficient corresponding to LED1 can be 1, and the shunt coefficient corresponding to LED2 can be 2. That is, when the operating current of LED2 is 2 * 100 mA, the current received by PD is 10 mA. At this time, the current value received by PD is the same as the current value received when LED1 operates at 100 mA.

[0120] In this method, by collecting a set of current values of the two light-emitting units, and then analyzing this set of current values, the shunt coefficient corresponding to each light-emitting unit can be determined, making the method for determining the shunt coefficient simpler.

[0121] In another possible implementation, the control module 104 can pre-store the correspondence between each light-emitting unit and its corresponding shunt coefficient. The control module 104 can determine the shunt coefficient corresponding to each light-emitting unit by querying this correspondence. Among them, this correspondence can be stored in the form of a table, or in the form of a list. Of course, it can also be stored in other ways. The specific storage method of the correspondence is not limited in this embodiment of the present application.

[0122] In this method, through the pre-stored correspondence between the light-emitting unit and the shunt coefficient, the shunt coefficient corresponding to each light-emitting unit can be determined, making the method for determining the shunt coefficient simple and efficient.

[0123] It should be understood that for a certain wearable device, if the distances between the first light-emitting unit and the second light-emitting unit it includes and the photoelectric conversion module PD are the same, the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit are both 1. If the distances between the first light-emitting unit and the second light-emitting unit it includes and the photoelectric conversion module PD are different, and if the distance between the first light-emitting unit and the photoelectric conversion module PD is less than the distance between the second light-emitting unit and the photoelectric conversion module PD, the shunt coefficient corresponding to the first light-emitting unit can be 1, the shunt coefficient corresponding to the second light-emitting unit can be k1, and k1 is greater than 1. Or, the shunt coefficient corresponding to the first light-emitting unit can be k2, and the shunt coefficient corresponding to the second light-emitting unit can be 1, and k2 is less than 1.

[0124] Step 404: The control module 104 respectively allocates currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module 101 in the current cycle according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, so as to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure the biometric parameters of the target object. Wherein, the absolute value of the difference between the current value received by the photoelectric conversion module 103 and the second preset value is less than the third preset value, and the current values allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value.

[0125] Wherein, the second preset value is the current value at which the photoelectric conversion module 103 can normally perform signal analysis.

[0126] Specifically, in one implementation, the first light-emitting unit and the second light-emitting unit are polled to be lit. Therefore, at the current moment, only the first light-emitting unit should be lit according to the target current. However, since the target current is greater than the first preset value, it is necessary to shunt the target current to other light-emitting units. For example, a part of the current value can be shunted to the second light-emitting unit. Exemplarily, as Figure 3 shown, since both the light-emitting unit 1011 and the light-emitting unit 1013 emit red light, and both the light-emitting unit 1012 and the light-emitting unit 1014 emit green light, if the first light-emitting unit is 1011, the second light-emitting unit can be 1013, or if the first light-emitting unit is 1013, the second light-emitting unit can be 1011, or if the first light-emitting unit is 1012, the second light-emitting unit can be 1014, or if the first light-emitting unit is 1014, the second light-emitting unit can be 1012.

[0127] After determining the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit, the control module 104 will allocate current values to the first light-emitting unit and the second light-emitting unit according to the shunt coefficients. The first light-emitting unit and the second light-emitting unit will emit light based on the allocated current. The photoelectric conversion module can receive the optical signal reflected by the skin, convert the optical signal into an electrical signal, and then send the electrical signal to the control module 104. The control module 104 can obtain the biometric parameters of the target object by processing the electrical signal.

[0128] Among them, in order to ensure the accuracy of the measurement results, for a wearable device in which the distances between the first light-emitting unit and the second light-emitting unit and the photoelectric conversion module are equal, the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit are both 1. Assuming that the target current of the first light-emitting unit is n and the first preset value is m, the control module will alternately allocate currents of m and n - m to the first light-emitting unit and the second light-emitting unit.

[0129] Specifically, Figure 7 is a schematic diagram of the distance between the light-emitting unit and the photoelectric conversion module. As Figure 7 shown, for a certain wearable device, it includes light-emitting units LED1 and LED2. Among them, the distances between LED1 and LED2 and the photoelectric conversion module PD are the same. At this time, the shunt coefficients corresponding to the light-emitting units LED1 and LED2 are both 1. When the control module 104 allocates current, assuming that at the first moment, the control module 104 determines that the target current of the light-emitting unit LED1 is n, and the current n is greater than the first preset value m. At this time, the current m can be allocated to the light-emitting unit LED1, and the current n - m can be allocated to the light-emitting unit LED2.

[0130] Furthermore, in order to ensure the accuracy of the measurement results, at the second moment, the control module 104 can allocate the current n - m to the light-emitting unit LED1 and the current m to the light-emitting unit LED2. At the third moment, the control module 104 can allocate the current m to the light-emitting unit LED1 and the current n - m to the light-emitting unit LED2, and so on.

[0131] For a wearable device in which the distances between the first light-emitting unit and the second light-emitting unit and the photoelectric conversion module are not equal, assuming that the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module PD, the shunt coefficient corresponding to the first light-emitting unit can be 1, and the shunt coefficient corresponding to the second light-emitting unit can be k1. Assuming that the target current of the first light-emitting unit is n and the first preset value is m, the control module 104 will allocate the current m to the first light-emitting unit and the current k1*(n - m) to the second light-emitting unit.

[0132] Further, to ensure the accuracy of biometric parameter measurement, at the first moment, current m can be allocated to the first light-emitting unit, and current k1*(n - m) can be allocated to the second light-emitting unit. At the second moment, current k2*(n - m) can be allocated to the first light-emitting unit, and current m can be allocated to the second light-emitting unit. At the third moment, current m can be allocated to the first light-emitting unit, and current k1*(n - m) can be allocated to the second light-emitting unit, and so on.

[0133] Specifically, Figure 8 Another distance schematic diagram of the light-emitting unit and the photoelectric conversion module is shown in Figure 8 As shown, for a certain wearable device, it includes light-emitting units LED3 and LED4. Among them, the distances between LED3 and LED4 and the photoelectric conversion module PD are different, and the distance between LED3 and the photoelectric conversion module PD is less than the distance between LED4 and the photoelectric conversion module PD. When the control module 104 allocates current, assuming that at the first moment, the control module 104 determines that the current of the light-emitting unit LED3 is n, and this current n is greater than the first preset value m. At this time, current m can be allocated to the light-emitting unit LED3, and current k1*(n - m) can be allocated to the light-emitting unit LED4.

[0134] Further, to ensure the accuracy of the measurement result, at the second moment, the control module 104 can allocate current k2*(n - m) to the light-emitting unit LED3, and current m to the light-emitting unit LED4. At the third moment, the control module 104 can allocate current m to the light-emitting unit LED3, and current k1*(n - m) to the light-emitting unit LED4, and so on.

[0135] It should be understood that after allocating current to the first light-emitting unit and the second light-emitting unit according to the above shunt coefficient, the first light-emitting unit and the second light-emitting unit emit light together, and the absolute value of the difference between the current value received by the photoelectric conversion module 103 and the second preset value is less than the third preset value. Therefore, the accuracy of the photoelectric conversion module for signal analysis can be ensured, and the accuracy of biometric parameter measurement can be improved.

[0136] In addition, since the control module 104 shunts the target current on the first light-emitting unit, the current values allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value. In this way, the voltage value on the LED module 101 will decrease, thereby ensuring the voltage value on the PPG sensor pin and ensuring the normal operation of the PPG sensor.

[0137] In this embodiment, the shunt coefficient determined in the above manner can not only ensure that the current value on each light-emitting unit is less than the first preset value, but also enable the measurement accuracy of the biometric parameter to approach the accuracy of the biometric parameter measured when a single light-emitting unit is lit when two light-emitting units are lit simultaneously.

[0138] Among them, Table 1 shows the accuracy of the biometric parameter measured when a single light-emitting unit is lit and the accuracy of the biometric parameter measured when two light-emitting units are lit simultaneously in different scenarios.

[0139] Table 1

[0140]

[0141] As shown in Table 1, when two light-emitting units are lit simultaneously, the measurement accuracy of the biometric parameter can approach the accuracy of the biometric parameter measured when a single light-emitting unit is lit.

[0142] Step 405: The control module 104 controls the first light-emitting unit to emit light based on the target current to measure the biometric parameter of the target object.

[0143] In this step, if the control module 104 determines that the target current of the first light-emitting unit is less than the first preset value, it means that the voltage value of the first light-emitting unit is small. At this time, the voltage value of the pin pin of the PPG sensor 102 is large, which can ensure the normal operation of the PPG sensor. Therefore, it is not necessary to shunt the target current of the first light-emitting unit. The control module 104 will control the first light-emitting unit to continue emitting light according to the target current. In this way, the photoelectric conversion module can receive the light signal reflected by the skin, convert the light signal into an electrical signal, and then send the electrical signal to the control module 104. The control module 104 can obtain the biometric parameter of the target object by processing the electrical signal.

[0144] The measurement method of biometric parameters provided by the embodiment of the present application. In this method, the control module determines the target current on the first light-emitting unit that is currently lit in the current cycle in the light-emitting module, and judges whether the target current on the first light-emitting unit is greater than a first preset value. If it is determined that the target current on the first light-emitting unit is greater than the first preset value, the control module can obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, and according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module respectively in the current cycle to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure the biometric parameters of the target object. Wherein, the absolute value of the difference between the current value received by the photoelectric conversion module and a second preset value is less than a third preset value, and the current values allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value. Since the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value, the voltage division on the light-emitting module is small, thereby ensuring that the voltage value on the pin of the PPG sensor meets the preset voltage value, so as to provide a stable reference voltage for the ADC in the PPG sensor and improve the accuracy of the measurement result of the biometric parameters. In addition, since when the target current on the first light-emitting unit is greater than the first preset value, the current can be shunted to the second light-emitting unit, in this way, the intensity of the light emitted by the light-emitting module does not decrease, so that the absolute value of the difference between the current value received by the photoelectric conversion module 103 and the second preset value is less than the third preset value, ensuring that the photoelectric conversion module can normally analyze the signal, thereby further ensuring the accuracy of the measurement result of the biometric parameters.

[0145] Figure 9 It is a schematic structural diagram of a measurement device for biometric parameters provided by an embodiment of the present application. Figure 9 The device shown can be used to execute the method described in any one of the foregoing embodiments.

[0146] As Figure 9 As shown, the device 900 of this embodiment may include: a light-emitting module 901, a photoelectric conversion module 902, and a control module 903. Among them, the light-emitting module 901 includes at least two light-emitting units 9011, and the at least two light-emitting units 9011 are alternately lit in different cycles.

[0147] The control module 903 is used to determine the target current on the first light-emitting unit that is currently lit in the current cycle in the light-emitting module 901;

[0148] The control module 903 is further used to judge whether the target current on the first light-emitting unit is greater than a first preset value;

[0149] The control module 903 is further configured to obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit when the target current on the first light-emitting unit is greater than a first preset value.

[0150] The control module 903 is further configured to allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module respectively within the current cycle according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit, so as to adjust the target current on the first light-emitting unit, such that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents, for measuring the biometric parameters of a target object, wherein the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is less than a third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value.

[0151] Optionally, the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the device; the second preset value and the third preset value are used to ensure that the photoelectric conversion module can normally perform signal analysis.

[0152] Optionally, the control module 903 is specifically configured to:

[0153] Obtain the current currently received by the photoelectric conversion module;

[0154] Determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module.

[0155] Optionally, the control module 903 is specifically configured to:

[0156] Judge whether the number of adjustments to the target current of the first light-emitting unit is greater than a fourth preset value;

[0157] If the number of adjustments to the target current of the first light-emitting unit is not greater than the fourth preset value, then judge whether the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value;

[0158] If it is not less than the third preset value, then determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module and the second preset value.

[0159] Optionally, the control module 903 is specifically configured to:

[0160] Judge whether the current currently received by the photoelectric conversion module 902 is less than the second preset value;

[0161] If it is less than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit in the current period and a fifth preset value, where the fifth preset value is the maximum current value that the photoplethysmography (PPG) sensor in the device can withstand;

[0162] If it is greater than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit in the current period and a sixth preset value, where the sixth preset value is the minimum current value that ensures the PPG sensor can collect a signal.

[0163] Optionally, the control module 903 is specifically configured to:

[0164] Determine the average value of the current current of the first light-emitting unit and the fifth preset value as the target current of the first light-emitting unit.

[0165] Optionally, the control module 903 is specifically configured to:

[0166] Determine the average value of the current current of the first light-emitting unit and the sixth preset value as the target current of the first light-emitting unit.

[0167] Optionally, the control module 903 is further configured to:

[0168] If the number of adjustments to the target current on the first light-emitting unit is greater than the fourth preset value, or the absolute value of the difference between the current received by the photoelectric conversion module and the second preset value is less than the third preset value, then determine whether the current received by the photoelectric conversion module meets the accuracy ideal range of the analog-to-digital converter (ADC) of the photoplethysmography (PPG) sensor in the device;

[0169] If it does not meet the accuracy ideal range of the ADC of the PPG sensor, adjust the current current of the first light-emitting unit in a preset manner and determine the adjusted current as the target current of the first light-emitting unit;

[0170] If it meets the accuracy ideal range of the ADC of the PPG sensor, determine the current current of the first light-emitting unit as the target current of the first light-emitting unit.

[0171] Optionally, the control module 903 is specifically configured to:

[0172] Assign current \(a\times m\) to the first light-emitting unit and current \(b\times(n - m)\) to the second light-emitting unit, where \(a\) is the shunt coefficient corresponding to the first light-emitting unit, \(b\) is the shunt coefficient corresponding to the second light-emitting unit, \(n\) is the target current of the first light-emitting unit, and \(m\) is the first preset value.

[0173] Optionally, both \(a\) and \(b\) are 1, where the distance between the first light-emitting unit and the photoelectric conversion module is the same as the distance between the second light-emitting unit and the photoelectric conversion module.

[0174] Optionally, \(a\) is 1 and \(b\) is \(k\), where the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, and \(k\) is an integer greater than 1.

[0175] Optionally, the control module 903 is further configured to:

[0176] When the target current on the first light-emitting unit is not greater than the first preset value, the first light-emitting unit emits light based on the target current to measure the biometric parameter of the target object.

[0177] The biometric parameter measurement device shown in the embodiments of the present application can implement the technical solutions of the biometric parameter measurement methods shown in any of the above embodiments. The implementation principles and beneficial effects are similar and will not be elaborated here.

[0178] It should be noted that the division of each module of the above device is only a logical function division. In actual implementation, it can be fully or partially integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in hardware. For example, the control module can be a separately established processing element, or can be integrated in a certain chip of the biometric parameter measurement device. In addition, it can also be stored in the memory of the biometric parameter measurement device in the form of a program, and called and executed by a certain processing element of the biometric parameter measurement device to perform the functions of the control module. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together or independently implemented. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the hardware of the processor element or the instructions in software form.

[0179] The above modules may be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), etc. Again, when a certain module above is implemented in the form of a processing element scheduler, the control module may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. Again, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0180] Figure 10 A schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 10 shown, the electronic device 1000 includes: an LED module 1001, a PD 1002, a PPG sensor 1005, a processor 1003, and a memory 1004. Among them, the LED module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles;

[0181] The memory 1004 is used to store programs for implementing the above method embodiments or Figure 9 each module of the embodiments shown. The processor 1003 calls the program and executes the operations of the above method embodiments to implement Figure 9 each module shown.

[0182] Alternatively, some or all of the above modules may also be implemented by being embedded in a certain chip of the electronic device in the form of an integrated circuit. And they can be implemented separately or integrated together. That is, the above units may be configured as one or more integrated circuits for implementing the above methods. For example: one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), etc.

[0183] The embodiments of the present application further provide a chip, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected by a line. The at least one processor is configured to run a computer program or instruction to execute the method for measuring biometric parameters shown in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the method for measuring biometric parameters, and will not be elaborated here.

[0184] The embodiments of the present application further provide a computer-readable storage medium, in which instructions are stored. When the instructions run on an electronic device, the electronic device is enabled to execute the method for measuring biometric parameters shown in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the method for measuring biometric parameters, and will not be elaborated here.

[0185] The embodiments of the present application further provide a computer program product. When the computer program product runs on an electronic device, the electronic device is enabled to execute the method for measuring biometric parameters shown in any of the above embodiments. The implementation principle and beneficial effects are similar to those of the method for measuring biometric parameters, and will not be elaborated here.

[0186] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and this processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0187] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).

[0188] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.

[0189] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.

[0190] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.

[0191] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0192] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0193] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories, random access memories, magnetic disks, or optical discs that can store program codes.

[0194] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A method, characterized in that, Applied to an electronic device, the electronic device includes a light-emitting module and a photoelectric conversion module, the light-emitting module includes at least two light-emitting units, and the at least two light-emitting units are lit alternately in different cycles; the method includes: Determine the target current on the first light-emitting unit that is currently lit in the current cycle in the light-emitting module; wherein, when the number of adjustment times of the target current is not greater than a fourth preset value, the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is not less than a third preset value, and the currently received current is not greater than the second preset value, the target current is determined according to the current current of the first light-emitting unit and a fifth preset value; when the number of adjustment times of the target current is not greater than a fourth preset value, the absolute value of the difference between the currently received current and the second preset value is not less than a third preset value, and the currently received current is greater than the second preset value, the target current is determined according to the current current of the first light-emitting unit and a sixth preset value; when the number of adjustment times of the target current is greater than a fourth preset value and the currently received current does not satisfy the ADC accuracy ideal range, or when the number of adjustment times of the target current is not greater than a fourth preset value, the absolute value of the difference between the currently received current and the second preset value is less than a third preset value, and the currently received current does not satisfy the ADC accuracy ideal range, the target current is obtained by adjusting the current current of the first light-emitting unit in a preset manner; when the number of adjustment times of the target current is greater than a fourth preset value and the currently received current satisfies the ADC accuracy ideal range, or when the number of adjustment times of the target current is not greater than a fourth preset value, the absolute value of the difference between the currently received current and the second preset value is less than a third preset value, and the currently received current satisfies the ADC accuracy ideal range, the target current is the current current of the first light-emitting unit; wherein, the fifth preset value is the maximum current value that the photoplethysmography (PPG) sensor in the electronic device can withstand, and the sixth preset value is the minimum current value to ensure that the PPG sensor can collect signals; Judge whether the target current on the first light-emitting unit is greater than a first preset value; the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the electronic device; If the target current on the first light-emitting unit is greater than the first preset value, obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit; According to the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit, currents are respectively allocated to the first light-emitting unit and the second light-emitting unit in the light-emitting module in the current cycle to adjust the target current on the first light-emitting unit, so that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure the biometric parameters of the target object, wherein the absolute value of the difference between the current received by the photoelectric conversion module and the second preset value is less than the third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value; the second preset value and the third preset value are used to ensure that the photoelectric conversion module can normally perform signal analysis.

2. The method according to claim 1, wherein Determining the target current on the first light-emitting unit that is currently lit in the light-emitting module in the current cycle includes: Obtaining the current currently received by the photoelectric conversion module; Determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module.

3. The method according to claim 2, wherein The determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module includes: Judging whether the number of adjustments to the target current of the first light-emitting unit is greater than the fourth preset value; If the number of adjustments to the target current of the first light-emitting unit is not greater than the fourth preset value, then judge whether the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value; If it is not less than the third preset value, determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module and the second preset value.

4. The method according to claim 3, characterized in that The determining the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module includes: Judging whether the current currently received by the photoelectric conversion module is less than the second preset value; If it is less than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the fifth preset value in the current cycle; If it is greater than the second preset value, determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the sixth preset value in the current cycle.

5. The method according to claim 4, wherein The determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the fifth preset value in the current cycle includes: Taking the average value of the current current of the first light-emitting unit and the fifth preset value as the target current of the first light-emitting unit.

6. The method according to claim 4 or 5, characterized in that, The determining the target current of the first light-emitting unit according to the current current of the first light-emitting unit and the sixth preset value in the current cycle includes: Taking the average value of the current current of the first light-emitting unit and the sixth preset value as the target current of the first light-emitting unit.

7. The method according to any one of claims 3-5, characterized in that, The method further includes: If the number of adjustments to the target current on the first light-emitting unit is greater than the fourth preset value, or the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value, then it is determined whether the current currently received by the photoelectric conversion module meets the accuracy ideal range of the analog-to-digital converter (ADC) of the photoplethysmography (PPG) sensor in the electronic device; If it does not meet the accuracy ideal range of the ADC of the PPG sensor, then adjust the current of the first light-emitting unit in a preset manner, and determine the adjusted current as the target current of the first light-emitting unit; If it meets the accuracy ideal range of the ADC of the PPG sensor, then determine the current of the first light-emitting unit as the target current of the first light-emitting unit.

8. The method according to any one of claims 1-5, characterized in that, The step of allocating currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module in the current cycle according to the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit includes: Allocating a current of a*m to the first light-emitting unit and a current of b*(n - m) to the second light-emitting unit, where a is the shunt coefficient corresponding to the first light-emitting unit, b is the shunt coefficient corresponding to the second light-emitting unit, n is the target current on the first light-emitting unit, and m is the first preset value.

9. The method according to claim 8, characterized in that, Both a and b are 1, where the distance between the first light-emitting unit and the photoelectric conversion module is the same as the distance between the second light-emitting unit and the photoelectric conversion module.

10. The method according to claim 8, wherein a is 1 and b is k, where the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, and k is an integer greater than 1.

11. The method according to any one of claims 1-5, 9-10, characterized in that, The method further includes: If the target current on the first light-emitting unit is not greater than the first preset value, then the first light-emitting unit emits light based on the target current to measure the biometric parameters of the target object.

12. A device, characterized in that, The device includes a light-emitting module and a photoelectric conversion module, the light-emitting module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles; the device further includes: A control module, configured to determine a target current on a first light-emitting unit that is currently lit in the current cycle in the light-emitting module; wherein, when the number of adjustment times of the target current is not greater than a fourth preset value, the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is not less than a third preset value, and the currently received current is not greater than the second preset value, the target current is determined according to the current current of the first light-emitting unit and a fifth preset value; when the number of adjustment times of the target current is not greater than the fourth preset value, the absolute value of the difference between the currently received current and the second preset value is not less than the third preset value, and the currently received current is greater than the second preset value, the target current is determined according to the current current of the first light-emitting unit and a sixth preset value; when the number of adjustment times of the target current is greater than the fourth preset value and the currently received current does not satisfy the ADC accuracy ideal range, or when the number of adjustment times of the target current is not greater than the fourth preset value, the absolute value of the difference between the currently received current and the second preset value is less than the third preset value, and the currently received current does not satisfy the ADC accuracy ideal range, the target current is obtained by adjusting the current current of the first light-emitting unit in a preset manner; when the number of adjustment times of the target current is greater than the fourth preset value and the currently received current satisfies the ADC accuracy ideal range, or when the number of adjustment times of the target current is not greater than the fourth preset value, the absolute value of the difference between the currently received current and the second preset value is less than the third preset value, and the currently received current satisfies the ADC accuracy ideal range, the target current is the current current of the first light-emitting unit; wherein, the fifth preset value is the maximum current value that the photoplethysmography PPG sensor in the device can withstand, and the sixth preset value is the minimum current value to ensure that the PPG sensor can collect signals; The control module is further configured to determine whether the target current on the first light-emitting unit is greater than a first preset value; the first preset value is the maximum current value that can ensure the normal operation of the PPG sensor in the device; The control module is further configured to, when the target current on the first light-emitting unit is greater than the first preset value, obtain the shunt coefficient corresponding to the first light-emitting unit and the shunt coefficient corresponding to the second light-emitting unit; The control module is further configured to allocate currents to the first light-emitting unit and the second light-emitting unit in the light-emitting module respectively within the current period according to the shunt coefficients corresponding to the first light-emitting unit and the second light-emitting unit, so as to adjust the target current on the first light-emitting unit, such that the first light-emitting unit and the second light-emitting unit emit light according to the allocated currents to measure the biometric parameters of the target object, wherein the absolute value of the difference between the current received by the photoelectric conversion module and a second preset value is less than a third preset value, and the currents allocated to the first light-emitting unit and the second light-emitting unit are both less than or equal to the first preset value; the second preset value and the third preset value are used to ensure that the photoelectric conversion module can normally perform signal analysis.

13. The device according to claim 12, wherein The control module is specifically configured to: Obtain the current currently received by the photoelectric conversion module; Determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module.

14. The device according to claim 13, characterized in that, The control module is specifically configured to: Judge whether the number of adjustments to the target current of the first light-emitting unit is greater than a fourth preset value; If the number of adjustments to the target current of the first light-emitting unit is not greater than the fourth preset value, then judge whether the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value; If it is not less than the third preset value, then determine the target current of the first light-emitting unit according to the current currently received by the photoelectric conversion module and the second preset value.

15. The device according to claim 14, characterized in that, The control module is specifically configured to: Judge whether the current currently received by the photoelectric conversion module is less than the second preset value; If it is less than the second preset value, then determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and a fifth preset value within the current period; If it is greater than the second preset value, then determine the target current of the first light-emitting unit according to the current current of the first light-emitting unit and a sixth preset value within the current period.

16. The device according to claim 15, characterized in that, The control module is specifically configured to: Determine the average value of the current current of the first light-emitting unit and the fifth preset value as the target current of the first light-emitting unit.

17. The device according to claim 15 or 16, characterized in that, The control module is specifically configured to: Determine the average value of the current current of the first light-emitting unit and the sixth preset value as the target current of the first light-emitting unit.

18. The device according to any one of claims 14 to 16, characterized in that The control module is further configured to: If the number of adjustments to the target current on the first light-emitting unit is greater than the fourth preset value, or the absolute value of the difference between the current currently received by the photoelectric conversion module and the second preset value is less than the third preset value, then judge whether the current currently received by the photoelectric conversion module meets the accuracy ideal range of the analog-to-digital converter (ADC) of the photoplethysmography (PPG) sensor in the device; If it does not meet the accuracy ideal range of the ADC of the PPG sensor, then adjust the current current of the first light-emitting unit in a preset manner and determine the adjusted current as the target current of the first light-emitting unit. If the accuracy ideal range of the ADC of the PPG sensor is satisfied, the current current of the first light-emitting unit is determined as the target current of the first light-emitting unit.

19. The device according to any one of claims 12-16, characterized in that, The control module is specifically configured to: Allocate a current of a*m to the first light-emitting unit and a current of b*(n - m) to the second light-emitting unit, where a is the shunt coefficient corresponding to the first light-emitting unit, b is the shunt coefficient corresponding to the second light-emitting unit, n is the target current of the first light-emitting unit, and m is the first preset value.

20. The device according to claim 19, characterized in that, Both a and b are 1, where the distance between the first light-emitting unit and the photoelectric conversion module is the same as the distance between the second light-emitting unit and the photoelectric conversion module.

21. The device according to claim 19, wherein, a is 1 and b is k, where the distance between the first light-emitting unit and the photoelectric conversion module is less than the distance between the second light-emitting unit and the photoelectric conversion module, and k is an integer greater than 1.

22. The device according to any one of claims 12-16, 20-21, characterized in that, The control module is further configured to: When the target current on the first light-emitting unit is not greater than the first preset value, the first light-emitting unit emits light based on the target current to measure the biometric parameters of the target object.

23. An electronic device, characterized in that, Comprising: An LED module, a photodiode PD, a memory, and a processor, where the LED module includes at least two light-emitting units, and the at least two light-emitting units are alternately lit in different cycles; The memory is used to store program instructions; The processor is used to call the program instructions in the memory to execute the method according to any one of claims 1 to 11.

24. A chip, characterized in that, Comprising at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the method according to any one of claims 1 to 11.

25. A computer-readable medium, characterized in that, The computer-readable medium stores program code for computer execution, and the program code includes instructions for executing the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Heartbeat and pulse measuring system and method thereof

    US20160100767A1

  • Biological information measurement device

    WO2019181268A1