Test circuit and method and electronic equipment

By using proximity sensors and light emitting components instead of traditional PPG modules, miniaturized and low-cost optical signal detection is achieved, solving the problems of large size, high cost and insufficient detection accuracy of the existing PPG modules, and improving detection accuracy and follow-up.

CN119867685APending Publication Date: 2025-04-25HONOR DEVICE CO LTD

Patent Information

Application Number
CN202311344325.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing PPG modules are large in size and costly due to independent PD, LED and AFE devices, and cannot collect optical signals of different wavelengths at the same time, resulting in insufficient detection accuracy and follow-up.

Method used

A proximity light sensor is used instead of the traditional PPG module, and the built-in emission light source and photosensitive device are used to collect and process optical signals, emit light signals of different wavelengths through the light emitting component, and multiple analog-to-digital converters and photosensitive devices are used to form multiple acquisition channels to achieve the function of acquiring optical signals at different wavelengths at the same time.

Benefits of technology

The test circuit is small in size and low in cost, and can collect optical signals of different wavelengths at the same time, improve detection accuracy and follow-up, reduce interference from external ambient light, and enhance anti-interference ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119867685A_ABST
    Figure CN119867685A_ABST
Patent Text Reader

Abstract

The invention provides a test circuit, a test method and electronic equipment. The test circuit is small in size, low in cost, beneficial to miniaturization design of the electronic equipment and beneficial to cost reduction of the electronic equipment. The test circuit comprises a light emitting assembly used for emitting at least two optical signals, and the at least two optical signals comprise a first optical signal and a second optical signal; the first optical signal and the second optical signal are different in wavelength; and the proximity light sensor is used for collecting a first light reference signal and a second light reference signal which are reflected and / or scattered by the human body, and the first light reference signal and the second light reference signal are used for calculating the characteristic value of the human body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a test circuit and method, and electronic equipment. Background Art

[0002] At present, with the development of terminal technology, terminal devices have become a part of people's work and life. In order to meet the needs of users for their own health management, more terminal devices can support the user's human vital signs parameter monitoring function. For example, users can use wearable devices such as smart watches to measure human body characteristics such as heart rate, respiratory rate, blood pressure or blood oxygen. Usually, the terminal device can be configured with a photoplethysmograph (PPG) module for measuring human body characteristics, but the existing PPG module has the problem of occupying a large space. Summary of the invention

[0003] In order to solve the above technical problems, the present application provides a test circuit and method, and an electronic device. The test circuit of the present application is small in size and low in cost, which is conducive to the miniaturization design of electronic equipment and helps reduce the cost of electronic equipment.

[0004] In a first aspect, an embodiment of the present application provides a test circuit, which includes: a light-emitting component for emitting at least two optical signals, the at least two optical signals including a first optical signal and a second optical signal; the first optical signal and the second optical signal have different wavelengths; and a proximity light sensor for collecting a first optical reference signal and a second optical reference signal that are reflected and / or scattered by a human body, the first optical reference signal and the second optical reference signal being used to calculate a human body feature value.

[0005] By replacing the existing PPG module with a light-emitting component and a proximity light sensor, since the proximity light sensor is widely used and inexpensive, the test circuit provided in the embodiment of the present application uses the proximity light sensor to detect the PPG signal, which can reduce costs. In addition, since the proximity light sensor is internally integrated with a structure for collecting and processing light signals, the test circuit that can measure the PPG signal in the embodiment of the present application is smaller in size than the PPG module in the prior art.

[0006] Exemplarily, the at least two optical signals may also include a first optical signal, a second optical signal, and a third optical signal, or the at least two optical signals may include a first optical signal, a second optical signal, a third optical signal, and a fourth optical signal, or the at least two optical signals may include a first optical signal, a second optical signal, a third optical signal, a fourth optical signal, and a fifth optical signal, etc., that is, the test circuit can not only calculate blood oxygen saturation, heart rate, etc. based on signals of two different optical bands (such as the first optical signal and the second optical signal), but can also couple optical signals of other bands to determine the PPG signal, so as to calculate blood pressure, blood sugar, perfusion index, pulse variability index, carbon monoxide hemoglobin, glycosylated hemoglobin and other blood indicators and other human vital sign parameters based on the PPG signal.

[0007] Exemplarily, the first optical reference signal reflected and / or scattered by the human body may be the first optical reference signal reflected by the human body, may be the first optical reference signal scattered by the human body, or may be the first optical reference signal reflected and scattered by the human body.

[0008] According to a first aspect, a proximity light sensor includes: an acquisition unit, used to acquire a first light reference signal and a second light reference signal, and convert the first light reference signal and the second light reference signal into electrical signals, respectively, wherein the electrical signals are analog signals; an analog-to-digital converter, connected to the acquisition unit, used to convert the analog signal into a digital signal, and the digital signal is used to calculate a human body characteristic value.

[0009] The above is a specific structure of the proximity light sensor. The internal structure of the proximity light sensor is simple, which makes the volume of the proximity light sensor small. Of course, the structure of the proximity light sensor is not limited to this. As long as the first light reference signal and the second light reference signal can be collected and the human body characteristic value can be calculated based on the collected signals, the proximity light sensor is within the protection scope of this application.

[0010] According to the first aspect, or any implementation of the first aspect above, the light-emitting component includes a first light-emitting unit and a second light-emitting unit, the collection unit includes a first photosensitive device and a second photosensitive device, the first light-emitting unit is used to emit a first light signal, the first photosensitive device is used to collect a first light reference signal, the second light-emitting unit is used to emit a second light signal, and the second photosensitive device is used to collect a second light reference signal.

[0011] That is to say, different photosensors respond to light signals of different wavelengths (ie, they can convert light signals of different wavelengths into electrical signals), so that the light signals do not affect each other, thereby improving detection accuracy.

[0012] Exemplarily, the number of photosensitive devices in the collection unit may correspond to the number of light-emitting units. For example, the light-emitting assembly includes a first light-emitting unit, a second light-emitting unit, and a third light-emitting unit, and the first light-emitting unit, the second light-emitting unit, and the third light-emitting unit emit a first light signal, a second light signal, and a third light signal, respectively. Accordingly, the collection unit includes a first photosensitive device, a second photosensitive device, and a third photosensitive device, and the first photosensitive device is used to collect a first light reference signal, the second photosensitive device is used to collect a second light reference signal, and the third photosensitive device is used to collect a third light reference signal reflected and / or scattered by a human body.

[0013] According to the first aspect, or any implementation of the first aspect, the proximity light sensor includes a first light emitting unit or a second light emitting unit.

[0014] That is, the emitting light source inside the proximity light sensor is used as one of the light-emitting units. In this way, the number of light-emitting units required to be arranged in the light-emitting component can be reduced, and the volume of the test circuit can be further reduced.

[0015] According to the first aspect, or any implementation of the first aspect above, it also includes a processing unit, which is connected to the analog-to-digital converter and is used to obtain the integral value of the light intensity of the first light reference signal in the first time period and the light intensity of the second light reference signal in the second time period according to the digital signal, and the integral value is used to calculate the human body characteristic value.

[0016] Exemplarily, the proximity light sensor includes a processing unit, that is, the processing unit can be arranged in the proximity light sensor, so that there is no need to arrange the processing unit externally, further reducing the volume of the test circuit.

[0017] Exemplarily, the processing unit may also be an external processing unit, that is, a device with a specific processing function in an electronic device, such as a processor, etc. By using a device with a processing function in an electronic device to process a digital signal, there is no need to set up a separate processing unit, which further reduces the size of the test circuit and reduces the cost of the test circuit.

[0018] According to the first aspect, or any implementation of the first aspect above, the light-emitting component emits the first light signal and the second light signal according to the working cycle, so that multiple groups of first light reference signals and second light reference signals can be obtained, and human body feature values ​​are calculated based on the multiple groups of first light reference signals and second light reference signals.

[0019] Exemplarily, the processing unit of the proximity light sensor may drive the light-emitting component to emit the first light signal and the second light signal according to the working cycle; or a device with specific processing functions in the electronic device, such as a processor, may drive the light-emitting component to emit the first light signal and the second light signal according to the working cycle.

[0020] According to the first aspect, or any implementation of the first aspect above, the working cycle includes at least a first stage and a second stage; the first stage and the second stage each include at least one pulse period, and the pulse period includes a light-emitting stage working in a first level state and a non-light-emitting stage working in a second level state; the light-emitting component is used to emit a first light signal in the light-emitting stage of the first stage, and to emit a second light signal in the light-emitting stage of the second stage; the proximity light sensor is used to collect a third light signal in the light-emitting stage of the first stage, and to collect a fourth light signal in the non-light-emitting stage of the first stage; it is also used to collect a fifth light signal in the light-emitting stage of the second stage, and to collect a sixth light signal in the non-light-emitting stage of the second stage; the processing unit is used to obtain an integral value of the light intensity of the first light reference signal according to the third light signal and the fourth light signal output; it is also used to obtain an integral value of the light intensity of the second light reference signal according to the fifth light signal and the sixth light signal output; the first time period is the first stage, and the second time period is the second stage; the third light signal is determined according to the ambient light and the reflection and / or scattering of the first light signal, the fourth light signal is determined according to the ambient light, the fifth light signal is determined according to the ambient light and the second light signal after reflection and / or scattering, and the sixth light signal is determined according to the ambient light.

[0021] The test circuit not only detects the light reflected and / or scattered by the first optical signal and the second optical signal, but also detects the ambient light, so that the interference of the external ambient light can be reduced, the background noise can be filtered out, and the detection accuracy can be improved.

[0022] Exemplarily, the first optical reference signal includes both the first optical signal and the signal of ambient light reflected and / or scattered by the human body in the light-emitting stage of the first stage, and the signal of ambient light reflected and / or scattered by the human body in the non-light-emitting stage of the first stage.

[0023] Exemplarily, the second optical reference signal includes both the second optical signal and the signal of ambient light reflected and / or scattered by the human body in the light-emitting stage of the second stage, and the signal of ambient light reflected and / or scattered by the human body in the non-light-emitting stage of the second stage.

[0024] Exemplarily, the first level is, for example, a high level, and the second level is, for example, a low level.

[0025] Exemplarily, the third optical signal is determined based on the ambient light and the first optical signal through reflection and / or scattering. The third optical signal may be determined based on the ambient light and the first optical signal through reflection, or the third optical signal may be determined based on the ambient light and the first optical signal through scattering, or the third optical signal may be determined based on the ambient light and the first optical signal through reflection and scattering.

[0026] Exemplarily, the fifth optical signal is determined based on reflection and / or scattering of the ambient light and the second optical signal. The fifth optical signal may be determined based on reflection of the ambient light and the second optical signal, or may be determined based on scattering of the ambient light and the second optical signal, or may be determined based on reflection and scattering of the ambient light and the second optical signal.

[0027] According to the first aspect, or any implementation of the first aspect above, the acquisition unit includes a first photosensor and a second photosensor, the first photosensor and the analog-to-digital converter form a first acquisition channel, and the second photosensor and the analog-to-digital converter form a second acquisition channel; the first acquisition channel is used to collect a third light signal in the light-emitting stage of the first stage, and to collect a fourth light signal in the non-light-emitting stage of the first stage; the second acquisition channel is used to collect a fifth light signal in the light-emitting stage of the second stage, and to collect a sixth light signal in the non-light-emitting stage of the second stage.

[0028] Since the analog-to-digital converter is shared, the third optical signal and the fourth optical signal, as well as the fifth optical signal and the sixth optical signal are collected in a time-sharing manner through the first collection channel and the second collection channel, thereby avoiding mutual influence between different optical signals.

[0029] According to the first aspect, or any implementation of the first aspect above, the first stage and the second stage both include N pulse periods, where N≥2, and N is a positive integer.

[0030] That is, a single pulse (light signal) emission period is divided into several pulse periods, shortening the pulse time. Under the condition of not affecting the sensitivity, the influence of the flickering light source can be reduced and the anti-interference ability can be improved.

[0031] According to the first aspect, or any implementation of the first aspect above, the working cycle includes at least one pulse cycle, the pulse cycle includes a light-emitting stage working in a first level state and a non-light-emitting stage working in a second level state; the light-emitting component is used to emit a first light signal and a second light signal in the light-emitting stage; the proximity light sensor is used to collect a seventh light signal and an eighth light signal in the light-emitting stage, and collect a ninth light signal and a tenth light signal in the non-light-emitting stage; the processing unit is used to obtain an integral value of the light intensity of the first light reference signal according to the seventh light signal and the ninth light signal; and is also used to obtain an integral value of the light intensity of the second light reference signal according to the eighth light signal and the tenth light signal; the first time period and the second time period are the same time period, and the first time period is a working cycle; the seventh light signal is determined according to the ambient light and the reflection and / or scattering of the first light signal, the eighth light signal is determined according to the ambient light and the reflection and / or scattering of the second light signal, the ninth light signal is determined according to the ambient light, and the tenth light signal is determined according to the ambient light.

[0032] The test circuit not only detects the light reflected and / or scattered by the first light signal and the second light signal, but also detects the ambient light, so that the interference of the external ambient light can be reduced, the background noise can be filtered out, and the detection accuracy can be improved. In addition, when the proximity light sensor includes multiple analog-to-digital converters, the proximity light sensor can collect the seventh light signal and the eighth light signal at the same time in the light-emitting stage, and collect the ninth light signal and the tenth light signal at the same time in the non-light-emitting stage, and collect light signals of different bands at the same time. Compared with collecting light signals of different bands in time-sharing (i.e., at different times), since the vital sign parameters are determined based on light signals of different bands, the light signals of different bands obtained in time-sharing cause a certain time difference in the vital signs of the user, which cannot better reflect the real vital signs. In this scheme, light signals of different bands at the same time can be obtained, that is, the vital signs of the user at the same time can be reflected, and the follow-up of the physiological change data of the user is better, and the vital signs can be more truly reflected. On this basis, more time can be reserved for the analog-to-digital converter to process the light signal, which can increase the detection integration time and obtain better sensitivity.

[0033] Exemplarily, the first optical reference signal includes both the first optical signal and the signal of ambient light reflected and / or scattered by the human body in the light-emitting stage, and the signal of ambient light reflected and / or scattered by the human body in the non-light-emitting stage.

[0034] Exemplarily, the second optical reference signal includes both the second optical signal and the signal of ambient light reflected and / or scattered by the human body in the light-emitting stage, and the signal of ambient light reflected and / or scattered by the human body in the non-light-emitting stage.

[0035] Exemplarily, the first level is, for example, a high level, and the second level is, for example, a low level.

[0036] Exemplarily, the seventh optical signal is determined based on the ambient light and the first optical signal through reflection and / or scattering. The seventh optical signal may be determined based on the ambient light and the first optical signal through reflection, or may be determined based on the ambient light and the first optical signal through scattering. The seventh optical signal may also be determined based on the ambient light and the first optical signal through reflection and scattering.

[0037] Exemplarily, the eighth optical signal is determined based on reflection and / or scattering of the ambient light and the second optical signal. The eighth optical signal may be determined based on reflection of the ambient light and the second optical signal, or may be determined based on scattering of the ambient light and the second optical signal, or may be determined based on reflection and scattering of the ambient light and the second optical signal.

[0038] According to the first aspect, or any implementation of the first aspect above, the acquisition unit includes a first photosensor and a second photosensor, and the analog-to-digital converter includes a first analog-to-digital converter and a second analog-to-digital converter; the first photosensor and the first analog-to-digital converter form a first acquisition channel, and the second photosensor and the second analog-to-digital converter form a second acquisition channel; the first acquisition channel is used to collect the seventh light signal in the light-emitting stage and to collect the ninth light signal in the non-light-emitting stage; the second acquisition channel is used to collect the eighth light signal in the light-emitting stage and to collect the tenth light signal in the non-light-emitting stage.

[0039] Since there are multiple analog-to-digital converters, the seventh optical signal and the eighth optical signal can be collected simultaneously in the light-emitting stage through the first acquisition channel and the second acquisition channel, and the ninth optical signal and the tenth optical signal can be collected simultaneously in the non-light-emitting stage, so as to avoid mutual influence between different optical signals.

[0040] According to the first aspect, or any implementation of the first aspect above, the working cycle includes N pulse cycles, where N≥2 and N is a positive integer.

[0041] That is, a single pulse (light signal) emission period is divided into several pulse periods, shortening the pulse time. Under the condition of not affecting the sensitivity, the influence of the flickering light source can be reduced and the anti-interference ability can be improved.

[0042] According to the first aspect, or any implementation of the first aspect, the first optical signal includes a red light signal, and the second optical signal includes an infrared light signal.

[0043] This is helpful for calculating the blood oxygen saturation.

[0044] Of course, this does not constitute a limitation of the present application, and those skilled in the art can make a choice according to actual conditions. Optionally, the first optical signal may include, for example, a green light signal, and the second optical signal may include, for example, a blue light signal; or, the first optical signal may include, for example, a red light signal, and the second optical signal may include, for example, a green light signal; or, the first optical signal may include, for example, a green light signal, and the second optical signal may include, for example, an infrared light signal.

[0045] Of course, optical signals of other wavelength bands can also be coupled to realize different functions, and are not limited to optical signals of two wavelength bands.

[0046] In a second aspect, an embodiment of the present application provides an electronic device, wherein the electronic device comprises: a test circuit corresponding to the above-mentioned first aspect and any one of the implementation methods of the first aspect.

[0047] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

[0048] According to the second aspect, the electronic device further includes a display screen, and the display screen is multiplexed as a light-emitting component.

[0049] The display screen in the electronic device is directly used as a light-emitting component. In this way, there is no need to set up a light-emitting component separately, which reduces costs, further reduces the occupancy of the test circuit in the electronic device, and can release more space for setting up other structures.

[0050] According to the second aspect, or any implementation of the first aspect, the display screen includes a display area and a non-display area surrounding the display area, and the proximity light sensor is located in the non-display area.

[0051] During detection, the user's finger needs to cover the proximity light sensor and part of the display area of ​​the display screen to facilitate user detection.

[0052] Of course, the position of the proximity light sensor is not limited to this. Optionally, the proximity light sensor can also be arranged at a position such as below the display screen.

[0053] According to the second aspect, or any implementation of the first aspect above, the electronic device includes a display screen and a flash light arranged on opposite sides of the electronic device, the proximity light sensor and the flash light are arranged on the same side of the electronic device, the flash light is multiplexed as a light-emitting component, and the light signal emitted by the flash light consists of at least a first light signal and a second light signal.

[0054] Directly using the flashlight in the electronic device as the light-emitting component eliminates the need to set up a separate light-emitting component, thereby reducing costs, further reducing the occupancy of the test circuit in the electronic device, and freeing up more space for setting up other structures.

[0055] The proximity light sensor is placed near the flash. During detection, the user's finger needs to cover the proximity light sensor and the flash.

[0056] In a third aspect, an embodiment of the present application provides a testing method, which is applied to an electronic device, wherein the electronic device includes multiple working cycles, the working cycle includes at least one pulse cycle, the pulse cycle includes a light-emitting stage working in a first level state and a non-light-emitting stage working in a second level state; the testing method includes: in the light-emitting stage, emitting a first light signal and a second light signal, and collecting a seventh light signal and an eighth light signal, the first light signal and the second light signal have different wavelengths, the seventh light signal is determined according to ambient light and reflection and / or scattering of the first light signal, and the eighth light signal is determined according to ambient light and reflection and / or scattering of the second light signal; in the non-light-emitting stage, collecting a ninth light signal and a tenth light signal, the ninth light signal is determined by ambient light, and the tenth light signal is determined by ambient light; obtaining an integral value of the light intensity of the first optical reference signal according to the seventh light signal and the ninth light signal, and obtaining an integral value of the light intensity of the second optical reference signal according to the eighth light signal and the tenth light signal.

[0057] The light-emitting component can emit at least two optical signals at the same time, and the electronic device collects and processes the seventh optical signal and the ninth optical signal to obtain the integral value of the light intensity of the first optical reference signal. At the same time, the electronic device collects and processes the eighth optical signal and the tenth optical signal to obtain the integral value of the light intensity of the second optical reference signal, that is, at the same time, optical signals of different bands are obtained. Compared with the optical signals of different bands obtained by time sharing (i.e., at different times), since the vital sign parameters are determined based on the optical signals of different bands, the optical signals of different bands obtained by time sharing cause a certain time difference in the vital signs of the user, which cannot better reflect the real vital signs. In this scheme, optical signals of different bands at the same time can be obtained, that is, the vital signs of the user at the same time can be reflected, and the follow-up of the physiological change data of the user is better, and the vital signs can be more truly reflected. On this basis, since there is no need to collect optical signals of different bands in time sharing, more time can be reserved for optical signal processing, and a longer integration time can be reserved to obtain better sensitivity.

[0058] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, the memory and the processor being coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the test method described in the third aspect.

[0059] The fourth aspect corresponds to the third aspect. The technical effects corresponding to the fourth aspect can refer to the technical effects corresponding to the third aspect, which will not be repeated here.

[0060] Exemplarily, the electronic device includes a mobile phone, a tablet computer, or a wearable electronic device.

[0061] Of course, this does not constitute a limitation of the present application, and those skilled in the art can make a choice according to actual conditions. Optionally, the electronic device may also include medical equipment, laptop computers, smart home devices, personal digital assistants (PDAs), car computers, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is the absorption spectrum of different types of hemoglobin;

[0063] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0064] Figure 3 for Figure 2 A cross-sectional view of the electronic device shown along the AA' direction;

[0065] Figure 4 This is the working principle diagram of the proximity light sensor;

[0066] Figure 5 One of the schematic diagrams of an application scenario of an electronic device provided in an embodiment of the present application;

[0067] Figure 6 A circuit diagram of a test circuit provided in an embodiment of the present application;

[0068] Figure 7 A top view of a proximity light sensor provided in an embodiment of the present application;

[0069] Figure 8 An example of a test circuit provided in an embodiment of the present application;

[0070] Fig. 9 A timing diagram of time-sharing drive of the test circuit provided in the embodiment of the present application;

[0071] Fig.10 A comparison diagram of the working timing of the light-emitting component and the working timing of the flashing light source in the embodiment of the present application;

[0072] Fig.11 Another timing diagram of time-sharing driving of the test circuit provided in the embodiment of the present application;

[0073] Fig.12 A circuit diagram of another test circuit provided in an embodiment of the present application;

[0074] Fig.13 An example of a proximity light sensor provided in an embodiment of the present application;

[0075] Fig.14A timing diagram for simultaneous driving of a test circuit provided in an embodiment of the present application;

[0076] Fig.15 Another timing diagram for simultaneous driving of the test circuit provided in the embodiment of the present application

[0077] Fig.16 This is an interface diagram of the test results of blood oxygen and heart rate obtained based on the test circuit provided in the embodiment of the present application;

[0078] Fig.17 This is an oxygen reduction monitoring chart obtained based on the test circuit provided in the embodiment of the present application. DETAILED DESCRIPTION

[0079] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0080] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0081] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

[0082] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0083] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

[0084] When light passes through the skin tissue and then reflects to the detection structure, the light attenuates to a certain extent. The absorption of light by muscles, bones, veins and other connecting tissues is basically unchanged (assuming that the measurement site does not move significantly), but blood is different. Since there is blood flowing in the arteries, the absorption of light naturally changes. See also Figure 1 , Figure 1 is the absorption spectrum of different types of hemoglobin, Figure 1 It can be seen that the absorption rates of Hb (deoxyhemoglobin) and HbO2 (oxygenated hemoglobin) in human blood are different in different light bands. For example, at 700 nanometers, the absorption rate of Hb (deoxyhemoglobin) is higher than that of HbO2 (oxygenated hemoglobin). At 900 nanometers, the absorption rate of HbO2 (oxygenated hemoglobin) is higher than that of Hb (deoxyhemoglobin).

[0085] When light is converted into electrical signals, the signals obtained can be divided into AC signals and DC signals, because the absorption of light by arteries changes while the absorption of light by other tissues remains basically unchanged. Extracting the AC signal can reflect the characteristics of blood flow. This technology is called photoplethysmography (PPG) technology.

[0086] PPG modules are often used in smart wearable devices. PPG modules detect the user's heart rate, blood oxygen saturation and other human characteristics based on photoplethysmography (PPG) technology. PPG modules mainly include analog front end (Analog Front End, AFE), light emitting diode (light emitting diode, LED) light source and photodetector (photodetector, PD). Its detection principle is: light signals are emitted by LED. After the light signals are transmitted to the skin, part of the light signals will be absorbed by human tissue (including blood) inside the skin, and part of the light signals will be scattered and reflected. Part of the scattered and reflected light signals will be received by PD and converted into electrical signals. Among them, the scattered and reflected light signals will show regular changes with the pulsation of the human pulse. AFE can detect the changes in the pulse wave based on the changes in the electrical signals detected by PD, and then determine the heart rate and blood oxygen data based on the changes in the pulse wave.

[0087] Specifically, when the PPG module is working, the AFE drives the LED to emit light signals of different wavelengths in different time periods. After the light signals are transmitted to the skin, part of the light signals will be absorbed by human tissues (including blood) inside the skin, and the other part of the light signals will be scattered and reflected. Part of the scattered and reflected light signals will be received by the PD and converted into electrical signals. After the AFE receives the electrical signals output by the PD, it can amplify and process them to obtain PPG signals of different wavelengths.

[0088] The blood oxygen saturation (SPO2) in the blood is calculated through multiple PPG signals of different wavelengths (such as red light and infrared light). The empirical formula for calculating blood oxygen saturation is:

[0089] SPO2=a×R+b

[0090] Wherein, R=PI(RED) / PI(IR), PI(RED) is the ratio of the AC signal to the DC signal separated from the red light PPG signal, PI(IR) is the ratio of the AC signal to the DC signal separated from the infrared light PPG signal, a and b are fitting coefficients, and the blood oxygen saturation SPO2 can be measured by a medical blood oxygen clamp to obtain the R value, and then a and b can be obtained by fitting according to the data fitting method.

[0091] The three devices PD, LED and AFE in the existing PPG module are all independent structures. The independent setting of the three devices PD, LED and AFE will cause the PPG module to be larger in size and occupy a larger space in the electronic device. This is not conducive to the miniaturization design of the electronic device using the PPG module.

[0092] In addition, for the existing solution of integrating PD, LED and AFE into one PPG module, the integration process will lead to a high cost of the PPG module, which is not conducive to reducing the cost of electronic equipment using the PPG module. In addition, since the PD of the PPG module can only collect light signals of different wavelengths in time-sharing, one of the collected red light signal and infrared light signal is delayed compared to the other, that is, the red light signal and the infrared light signal are not obtained at the same time, the tracking performance of the physiological change data is poor, and the calculated blood oxygen saturation value has low accuracy.

[0093] In order to solve the above technical problems, the embodiment of the present application provides a test circuit, and the test circuit provided in the embodiment of the present application can be applied to electronic devices. Electronic devices include but are not limited to smart wearable devices (such as smart watches, smart bracelets or smart eye masks, etc., which can support human health monitoring), mobile phones, tablet computers, laptops, medical devices, smart home appliances, etc. For ease of understanding, the following is an exemplary description using the application of the test circuit to a mobile phone as an example.

[0094] See also Figure 2 and Figure 3 , Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Figure 3 for Figure 2 The electronic device 100 is a cross-sectional view taken along the AA′ direction. The electronic device 100 includes a display module 10 , a back cover (also called a battery cover) 20 and a middle frame 30 .

[0095] The display module 10 includes a cover plate and a display screen which are stacked. The cover plate can protect the display screen. The display screen can include a liquid crystal display (LCD), an organic light emitting diode (OLED) display screen, and an LED display screen, etc., wherein the LED display screen can include a Micro-LED display screen, a Mini-LED display screen, etc. The embodiment of the present application does not limit the type of the display screen.

[0096] Exemplarily, the display screen 12 includes a display area and a non-display area surrounding the display area, the display area is provided with a plurality of sub-pixels for emitting light, and the non-display area is provided with a driving circuit for driving the sub-pixels in the display area to emit light.

[0097] The material of the back cover 20 may include opaque materials such as plastic, plain leather, and glass fiber; or may include translucent materials such as glass. The material of the back cover 20 is not limited in the embodiment of the present application.

[0098] The middle frame 30 includes an annular appearance part 31 and a support member (not shown) located inside the annular appearance part 31 and between the display module 10 and the back cover 20. The back cover 20 and the middle frame 30 can be an integral structure or a separate structure, which is not limited in the present embodiment.

[0099] The cover plate, the back cover (also called the battery cover) 20 and the annular appearance part 31 surround the accommodating cavity, and the accommodating cavity is provided with a printed circuit board (PCB) 40 and a functional device 50 and other structures. The functional device 50 includes a first functional component and a second functional component. The first functional component can be arranged on the PCB 40 and electrically connected to the PCB 40. The second functional component may not be arranged on the PCB 40, but is electrically connected to the PCB 40. The first functional component may include a processor 51, a test circuit 52 and a display driver chip (a chip for driving the display screen to display) and other components. The second functional component may include a camera 53 and a flash 54 and other components. The display screen and the flash 54 are arranged on opposite sides of the mobile phone, and the camera 53 and the flash 54 are located on the same side of the electronic device. Of course, the functional device 50 may also include only the first functional component; or only the second functional component. Each device is electrically connected through the PCB 40, thereby realizing signal transmission and interaction. The support member can support part of the structure in the accommodating cavity.

[0100] The test circuit 52 includes a light-emitting component 521 and a proximity light sensor 522, etc. The PPG signal is tested through the test circuit 52, and then the user's heart rate, respiratory rate, blood oxygen, blood pressure, blood sugar, perfusion index, pulse variability index, carbon monoxide hemoglobin, glycosylated hemoglobin and other blood indicators and other human vital sign parameters are determined based on the PPG signal.

[0101] The proximity light sensor 522 is often used in electronic devices (such as mobile phones, smart wearable devices, tablets, etc.) to detect whether there is an object near the electronic device 100, and the distance of the object. For example, the electronic device 100 can use the proximity light sensor to detect that the user holds the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power. Figure 4 , Figure 4 The working principle diagram of the proximity light sensor is shown in Figure 2. Figure 4 As shown, the working principle of the proximity light sensor is that an emitting light source, such as an infrared light source, emits infrared light. Among them, the infrared light source can be an infrared LED, an infrared vertical cavity surface emitting laser (Vertical Cavity Surface Emitting Laser, VCSEL), etc. At the same time, an infrared light detector is used to receive the infrared light reflected back from the approaching object, and the intensity of the reflected infrared light is integrated. The integral value is defined as proximity data (Proximity data, PDATA), and the proximity distance of the external object can be sensed according to the size of PDATA. In order to prevent a part of the infrared light emitted by the infrared light source from being reflected or diffracted by the internal structural parts or directly reaching the infrared light detector from the outside, a black isolation foam can be added between the infrared light detector and the infrared light source to avoid light crosstalk and improve the signal-to-noise ratio.

[0102] The proximity light sensor 522 is widely used and inexpensive, so the test circuit 52 provided in the embodiment of the present application uses the proximity light sensor to detect the PPG signal, which can reduce costs. In addition, since the proximity light sensor 522 is internally integrated with a structure for collecting and processing light signals (the specific structure and specific working process will be described below), the test circuit 52 in the embodiment of the present application is smaller in size than the PPG module in the prior art.

[0103] It can be understood that, in order to achieve the purpose of sensing the approaching distance of external objects, the number of emitting light sources in the existing proximity light sensor is generally only one, and the light signal emitted by the emitting light source is only a light signal of one wavelength. The emitting light source can be integrated in the proximity light sensor or can be independently set. Since at least two light signals of different wavelengths are required to determine the vital signs parameters of the human body, the test circuit 52 of the embodiment of the present application can separately set a light-emitting unit on the basis of the proximity light sensor 522. When the test circuit 52 needs to transmit a light signal through the emitting light source of the proximity light sensor 522 to realize PPG signal detection, the light-emitting unit and the emitting light source of the proximity light sensor 522 are collectively referred to as a light-emitting component 521, and the light-emitting unit and the emitting light source of the proximity light sensor 522 emit at least two light signals of different wavelengths; when the test circuit 52 does not need to transmit a light signal through the emitting light source of the proximity light sensor 522 to realize PPG signal detection, at least two light-emitting units are required to form the light-emitting component 521, so that the light-emitting component 521 emits at least two light signals of different wavelengths.

[0104] Understandably, Figure 2 and Figure 3 The following related figures only schematically show some components included in the electronic device 100. The actual electronic device 100 may have more or fewer components than those shown in the figures, or combine some components, or separate some components, or arrange the components differently. The components shown in the figures may be implemented in hardware, software, or a combination of software and hardware.

[0105] It should be noted that Figure 2 In the embodiment, the mobile phone 100 is in a rectangular flat plate shape. In other optional embodiments, the shape of the electronic device can also be a square flat plate shape, a circular flat plate shape, an elliptical flat plate shape, etc. Of course, the electronic device can also be a foldable electronic device, etc.

[0106] Continue to see Figure 2 and Figure 3 The back cover 20 includes a light-transmitting portion 21, and the light signal emitted by the light-emitting component 521 can be emitted through the light-transmitting portion 21. Figure 5 , Figure 5 This is one of the application scenario diagrams of an electronic device provided in an embodiment of the present application. When a user touches the light-transmitting portion 21 with a fingertip, the light signal emitted by the light-emitting component 521 is emitted through the light-transmitting portion 21 and irradiates the user's fingertip. The light signal passes through the skin tissue of the fingertip and then reflects to the proximity light sensor 522. The proximity light sensor 522 converts the light into an electrical signal and determines the PPG signal based on the electrical signal.

[0107] The specific structure and working principle of the test circuit provided in the embodiment of the present application are described in detail below. Among them, the specific structure and working principle of the test circuit provided in the embodiment of the present application are described in detail in two cases: a proximity light sensor cooperates with a light-emitting component to realize the PPG test function in time-sharing; and a proximity light sensor cooperates with a light-emitting component to realize the PPG test function simultaneously.

[0108] First, the specific structure and working principle of the test circuit provided in the embodiment of the present application are described in detail by using a proximity light sensor and a light-emitting component to realize the PPG test function in a time-sharing manner.

[0109] See also Figure 6 , Figure 6 A circuit diagram of a test circuit provided in an embodiment of the present application. Figure 6 As shown, the test circuit 52 includes: a light-emitting component 521 and a proximity light sensor 522. The light-emitting component 521 includes at least a first light-emitting unit 5211 and a second light-emitting unit 5212. The first light-emitting unit 5211 and the second light-emitting unit 5212 are, for example, devices that can emit light, such as LED lamps. The first light-emitting unit 5211 can emit a first light signal, and the second light-emitting unit 5212 can emit a second light signal. The first light signal can be a red light signal, and the second light signal can be an infrared light signal; or, the first light signal can be an infrared light signal, and the second light signal can be a green light signal, and so on. The wavelength range of red light can be 610.0nm to 699.9.0nm, the wavelength range of infrared light can be 700.0nm to 1100.0nm, and the wavelength range of green light can be 510.0nm to 549.9nm. Exemplarily, the first light signal is a red light signal, and the wavelength of the red light signal is 690nm, and the second light signal is an infrared light signal, and the wavelength of the infrared light signal is 940nm. Combined with Figure 1 When the wavelength of the red light signal is 690nm and the wavelength of the infrared light signal is 940nm, the absorption rates of Hb (deoxyhemoglobin) and HbO2 (oxygenated hemoglobin) in human blood at 690nm and 940nm are different, and the difference in absorption rate is the largest, which is beneficial to the calculation of blood oxygen saturation.

[0110] It should be noted that the wavelength range of red light, the wavelength range of infrared light, and the wavelength range of green light are merely examples and do not constitute a limitation to the present application.

[0111] See also Figure 7 , Figure 7 This is a top view of a proximity light sensor provided in an embodiment of the present application. Figure 6 and Figure 7 As shown, the proximity light sensor 522 includes a collection unit 5221 and an analog-to-digital converter 5222. The collection unit 5221 includes a plurality of photosensitive devices. Figure 7 The description is made by taking the acquisition unit 5221 including six photosensitive devices as an example. Exemplarily, the photosensitive devices may include devices such as photodetectors that can convert light into electrical signals. The multiple photosensitive devices include at least a first photosensitive device 52211 and a second photosensitive device 52212. Different photosensitive devices correspond to light signals of different wavelengths, that is, different photosensitive devices respond to light signals of different wavelengths (convert light signals into electrical signals). Figure 7 In the figure, the graphics filled with different patterns represent different photosensitive devices, so as to reflect that different photosensitive devices respond to light signals of different wavelength bands. For example, the first photosensitive device 52211 responds to the first light signal, and the second photosensitive device 52212 responds to the second light signal. The first photosensitive device 52211 and the second photosensitive device 52212 are both electrically connected to the analog-to-digital converter 5222. The first photosensitive device 52211 and the analog-to-digital converter 5222, and the second photosensitive device 52212 and the analog-to-digital converter 5222 form two acquisition channels, which are, for example, the first acquisition channel and the second acquisition channel.

[0112] Optionally, the proximity light sensor 522 includes a processing unit 5223, which is electrically connected to the analog-to-digital converter 5222, the first light-emitting unit 5211, and the second light-emitting unit 5212, respectively, and the processing unit 5223 is used to send a driving signal to the first light-emitting unit 5211 and the second light-emitting unit 5212 to drive the first light-emitting unit 5211 and the second light-emitting unit 5212 to emit light. The processing unit 5223 is also used to process the digital signal output by the analog-to-digital converter 5222. Of course, the first light-emitting unit 5211 and the second light-emitting unit 5212 can also be driven to emit light and the digital signal output by the analog-to-digital converter 5222 can be processed by a processing unit with driving capability such as the processor 51 in the electronic device 100, which is not limited in this embodiment of the present application. In this way, there is no need to separately set a structure for driving the first light-emitting unit 5211 and the second light-emitting unit 5212 to emit light and a structure for processing data.

[0113] It should be noted that the embodiment of the present application is described by taking as an example that a processing unit 5223 is provided in the proximity light sensor 522, and the processing unit 5223 drives the first light-emitting unit 5211 and the second light-emitting unit 5212 to emit light, and the first light signal emitted by the first light-emitting unit 5211 is a red light signal, and the second light signal emitted by the second light-emitting unit 5212 is an infrared light signal.

[0114] See also Figure 8 , Figure 8 This is an example of a test circuit provided in an embodiment of the present application. Figure 8As shown, the test circuit 52 includes a light emitting component 521 and a proximity light sensor 522. The light emitting component 521 includes a first light emitting unit 5211 and a second light emitting unit 5212. The first light emitting unit 5211 is an external light LED, and the second light emitting unit 5212 is an infrared light LED. The proximity light sensor 522 includes a processing unit 5223, a switch 5224, a first resistor R1, a collection unit ( Figure 7 not shown) and an analog-to-digital converter ( Figure 7 (not shown), the processing unit 5223 includes a first pin 1, a second pin 2, a third pin 3, a fourth pin 4, a fifth pin 5, a sixth pin 6, a seventh pin 7, an eighth pin 8 and a ninth pin 9. The third pin 3 is electrically connected to the anode of the infrared light LED and the anode of the red light LED, the sixth pin 6 and the seventh pin 7 are electrically connected to the cathode of the infrared light LED and the cathode of the red light LED respectively, the first pin 1 can receive a voltage of 3.3V to power the infrared light LED and the red light LED through the third pin 3, the fourth pin 4 and the fifth pin 5 are I2C communication pins, the eighth pin 8 and the ninth pin 9 are both grounded, the second pin 2 is electrically connected to the switch 5224, when the switch 5224 is turned on, the voltage of 1.8V is transmitted to the second pin 2 through the switch 5224 to power the processing unit 5223, so as to ensure the normal operation of the processing unit 5223. In some embodiments, the first pin 1 is provided with a first resistor R1, and the first resistor R1 can be coupled with other devices to realize functions such as filtering.

[0115] It should be noted that Figure 8 This is only an example of a light emitting component and a proximity light sensor and does not constitute a limitation of the present application. Those skilled in the art can select a proximity light sensor and a light emitting component according to actual conditions.

[0116] See also Fig. 9 , Fig. 9 A timing diagram of the time-sharing drive of the test circuit provided in the embodiment of the present application. Fig. 9 As shown, the test circuit 52 includes a plurality of working cycles T0, each working cycle T0 includes at least a first stage T1 and a second stage T2, the first stage T1 corresponds to the collection and processing process of the first optical signal, and the second stage T2 corresponds to the collection and processing process of the second optical signal. Fig. 9In the figure, the solid line represents the timing of the collection and processing of the first optical signal, and the dotted line represents the timing of the collection and processing of the second optical signal. The first stage T1 and the second stage T2 each include at least one pulse period, and the pulse period includes a light-emitting stage T01 working in a first level (such as a high level) state and a non-light-emitting stage T02 working in a second level (such as a low level) state. Since the first photosensitive device 52211 and the second photosensitive device 52212 share the analog-to-digital converter 5222, the first collection channel formed by the first photosensitive device 52211 and the analog-to-digital converter 5222 and the second collection channel formed by the second photosensitive device 52212 and the analog-to-digital converter 5222 need to collect and process the first optical signal emitted by the first light-emitting unit 5211 and the second optical signal emitted by the second light-emitting unit 5212 in time-sharing (i.e., in two different time periods of the first stage T1 and the second stage T2) to distinguish the first optical signal from the second optical signal.

[0117] The specific test method is that in the light-emitting stage T01 of the first stage T1, the processing unit 5223 transmits a first driving signal to the first light-emitting unit 5211, and the first light-emitting unit 5211 transmits a red light signal (also called a first light signal) based on the first driving signal. After the red light signal is emitted through the light-transmitting portion 21, it is reflected and / or scattered when irradiated to the skin tissue of the user's fingertips. The first photosensitive device 52211 collects ambient light and light reflected and / or scattered by the red light signal (collectively referred to as a third light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The analog-to-digital converter 5222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain the light signal integral value D1. That is, the first acquisition channel formed by the first photosensitive device 52211 and the analog-to-digital converter 5222 collects ambient light and light reflected and / or scattered by the red light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D1. In the non-luminous stage T02 of the first stage T1, the processing unit 5223 transmits a second driving signal to the first light-emitting unit 5211, the first light-emitting unit 5211 does not emit light, and the first photosensitive device 52211 only collects ambient light (also called the fourth light signal) and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The analog-to-digital converter 5222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain the light signal integral value D2. That is to say, the first acquisition channel composed of the first photosensor 52211 and the analog-to-digital converter 5222 only collects ambient light, converts the optical signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D2. After a pulse cycle of the first stage T1 ends, the processing unit 5223 calculates the difference between the integral value D1 and the integral value D2 to obtain the integral value of the light intensity of the first optical reference signal (including only the first optical signal component) to eliminate the interference of the DC component of the ambient light. Then the integral value of the light intensity of the first optical reference signal is sent to the processor 51.

[0118] It should be noted that the reflection and / or scattering in the embodiments of the present application may be only reflection, only scattering, or both reflection and scattering.

[0119] In the light-emitting stage T01 of the second stage T2, the processing unit 5223 transmits a first driving signal to the second light-emitting unit 5212, and the second light-emitting unit 5212 transmits an infrared light signal (also referred to as a second light signal) based on the first driving signal. After the infrared light signal is emitted through the light-transmitting portion 21, it is reflected and / or scattered when irradiated to the skin tissue of the user's fingertips. The second photosensitive device 52212 collects ambient light and light reflected and / or scattered by the infrared light signal (collectively referred to as the fifth light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The analog-to-digital converter 5222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain an integral value D3 of the light signal. That is, the second acquisition channel formed by the second photosensitive device 52212 and the analog-to-digital converter 5222 collects ambient light and light reflected and / or scattered by the infrared light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D3. In the non-light-emitting stage T02 of the second stage T2, the processing unit 5223 transmits a second driving signal to the second light-emitting unit 5212, the second light-emitting unit 5212 does not emit light, the second photosensitive device 52212 only collects ambient light (also called the sixth light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The analog-to-digital converter 5222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal intensity over a period of time), etc., to obtain an integral value D4 of the light signal. In other words, the second acquisition channel formed by the second photosensitive device 52212 and the analog-to-digital converter 5222 only collects ambient light, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D4. After a pulse cycle of the second stage T2 ends, the proximity light sensor 522 calculates the difference between the integral value D3 and the integral value D4, and obtains the integral value of the light intensity of the second light reference signal (containing only the second light signal component) to eliminate the interference of the DC component of the ambient light. The integrated value of the light intensity of the second optical reference signal is then sent to processor 51 .

[0120] Since the test circuit includes multiple working cycles T0, the processor 51 obtains the integral value of the light intensity of the first light reference signal within a period of time through the above method, that is, the multiple working cycles T0 within a period of time correspond to the integral values ​​of the light intensity of multiple first light reference signals, and the integral values ​​of the light intensity of multiple first light reference signals can form a curve, which represents the intensity of the red light signal (that is, the red light PPG signal), such as Fig.15 The arrow ② in the figure indicates that: Fig.15The details will be described in the following content and will not be repeated here. In addition, the processor 51 obtains the integral value of the light intensity of the second light reference signal within a period of time, that is, the integral values ​​of the light intensity of multiple second light reference signals corresponding to multiple working cycles T0 within a period of time, and the integral values ​​of the light intensity of multiple second light reference signals can form a curve, which represents the strength of the infrared light signal (i.e., the infrared light PPG signal), such as Fig.15 The processor 51 can separate the red light AC signal and the direct current DC signal based on the red light PPG signal and the infrared light PPG signal, and separate the infrared light AC signal and the direct current DC signal to obtain the ratio PI(RED) of the red light AC signal and the direct current DC signal, and the ratio PI(IR) of the infrared light AC signal and the direct current DC signal, and determine the R value according to PI(RED) and PI(IR), and then determine the human body characteristics such as heart rate and blood oxygen saturation.

[0121] It should be noted here that the test circuit can not only calculate blood oxygen saturation, heart rate, etc. based on signals of two different optical bands (such as the first optical signal and the second optical signal), but can also couple optical signals of other bands, such as determining the PPG signal based on optical signals of three (correspondingly, the acquisition unit 5221 includes three photosensors), four (correspondingly, the acquisition unit 5221 includes four photosensors), five (correspondingly, the acquisition unit 5221 includes five photosensors) or six (correspondingly, the acquisition unit 5221 includes six photosensors) optical bands, so as to calculate human vital sign parameters such as blood pressure, blood sugar, perfusion index, pulse variability index, carbon monoxide hemoglobin, glycosylated hemoglobin and other blood indicators based on the PPG signal.

[0122] In actual applications, there may be other flickering light sources outside the electronic device 100. Since the flickering light source is a light source that switches between bright / dark states at a specific frequency, this may cause the difference between the integral value D1 and the integral value D2 to be different from the actual difference, causing the integral of the light intensity of the first optical reference signal to fluctuate (appearing maximum or minimum values), and even causing the proximity light sensor 522 to malfunction; or, the difference between the integral value D3 and the integral value D4 to be different from the actual difference, causing the integral of the light intensity of the second optical reference signal to fluctuate (appearing maximum or minimum values), and even causing the proximity light sensor 522 to malfunction; or, the difference between the integral value D1 and the integral value D2 to be different from the actual difference, and the difference between the integral value D3 and the integral value D4 to be different from the actual difference, causing the integral value of the light intensity of the first optical reference signal and the integral value of the light intensity of the second optical reference signal to fluctuate (appearing maximum or minimum values), and even causing the proximity light sensor 522 to malfunction.

[0123] For example, see Fig.10 , Fig.10 1 is a comparison chart of the working sequence of the light emitting component and the working sequence of the flashing light source in the embodiment of the present application. Fig.10 As shown, in the light-emitting stage T01 of the first stage T1, the first acquisition channel composed of the first photosensitive device 52211 and the analog-to-digital converter 5222, for example, still collects ambient light and light reflected and / or scattered by the red light signal (collectively referred to as the third light signal), so its integral value D1 remains unchanged. In the non-light-emitting stage T02 of the first stage T1, the first acquisition channel composed of the first photosensitive device 52211 and the analog-to-digital converter 5222 not only collects ambient light, but also collects external flickering light sources, so the integral value D2 will become larger. After a pulse cycle of the first stage T1 ends, the difference between the integral value D1 and the integral value D2 calculated by the processing unit 5223 is less than the actual value.

[0124] In order to isolate the interference of external flickering light sources, see Fig.11 , Fig.11 Another timing diagram of the time-sharing drive of the test circuit provided in the embodiment of the present application, Fig.11 In FIG. 1 , the solid line represents the timing of collecting and processing the first optical signal, and the dotted line represents the timing of collecting and processing the second optical signal. Fig.11 As shown, the first stage T1 and the second stage T2 of each working cycle T0 both include N pulse cycles, N ≥ 2, and N is a positive integer. Fig. 9 A single pulse cycle in is divided into several pulse cycles. Among them, Fig.11 The description is made by taking the example that the first stage T1 and the second stage T2 of each working cycle T0 both include two pulse periods.

[0125] This is because, when the duration of a pulse cycle is long, the external flickering light source may affect each pulse cycle, that is, the integral value of the light intensity of each first optical reference signal will be different from the actual value; or, the integral value of the light intensity of each second optical reference signal will be different from the actual value; or, the integral value of the light intensity of each first optical reference signal and the integral value of the light intensity of the second optical reference signal will be different from the actual value, affecting the PPG test result. When the first stage T1 and the second stage T2 of each working cycle T0 both include N pulse cycles, the external flickering light source may only affect part of the pulse cycle, such as, when one or more pulse cycles (pulse cycles after the pulse time is shortened) are located in the dark area of ​​the external flickering light source, it will not affect the one or more pulse cycles, that is, only the integral value of the light intensity of part of the first optical reference signal is affected; or, only the integral value of the light intensity of part of the second optical reference signal is affected; or, the integral value of the light intensity of part of the first optical reference signal and the integral value of the light intensity of part of the second optical reference signal are affected, thereby reducing the influence of the flickering light source and improving the anti-interference ability.

[0126] The above is a detailed description of the PPG test function realized by the proximity light sensor in conjunction with the light-emitting component in time-sharing. It can be seen from the above content that the PPG detection is realized by replacing the existing PPG module with the light-emitting component and the proximity light sensor. Since the proximity light sensor is commonly used in electronic devices, the supply volume is large, the cost is low, and the volume is small, the cost of the test circuit and the volume of the electronic device occupied can be reduced. In addition, the first stage T1 and the second stage T2 of each working cycle T0 of the test circuit are set to include multiple pulse cycles, which improves the passband matching and ensures better anti-interference characteristics.

[0127] Next, the specific structure and working principle of the test circuit provided in the embodiment of the present application are described in detail by using a proximity light sensor and a light-emitting component to realize the PPG test function.

[0128] See also Fig.12 , Fig.12 A circuit diagram of another test circuit provided in an embodiment of the present application. Fig.12 As shown, different from the above content, the proximity light sensor 522 includes at least two analog-to-digital converters 5222, the at least two analog-to-digital converters 5222 include a first analog-to-digital converter 52221 and a second analog-to-digital converter 52222, the first photosensitive device 52211 is electrically connected to the first analog-to-digital converter 52221, and the second photosensitive device 52212 is electrically connected to the second analog-to-digital converter 52222. The first photosensitive device 52211 and the first analog-to-digital converter 52221, and the second photosensitive device 52212 and the second analog-to-digital converter 52222 form two acquisition channels, which are, for example, the first acquisition channel and the second acquisition channel.

[0129] For example, see Fig.13 , Fig.13 This is an example of a proximity light sensor provided in an embodiment of the present application. Fig.13 As shown, the proximity light sensor 522 includes a processing unit 5223, a collection unit 5221 and five analog-to-digital converters 5222. The collection unit 5221 includes a first photosensor 52211, a second photosensor 52212, a third photosensor 52213, a fourth photosensor 52214 and a fifth photosensor 52215. The first photosensor 52211 can convert an infrared light signal into an electrical signal, the second photosensor 52212 can convert a red light signal into an electrical signal, the third photosensor 52213 can convert a green light signal into an electrical signal, the fourth photosensor 52214 can convert a blue light signal into an electrical signal, and the fifth photosensor 52215 can convert a purple light signal into an electrical signal. Fig.13, the graphics filled with different patterns represent different photosensitive devices, reflecting that different photosensitive devices respond to light signals of different wavelength bands. The five analog-to-digital converters include a first analog-to-digital converter 52221, a second analog-to-digital converter 52222, a third analog-to-digital converter 52223, a fourth analog-to-digital converter 52224, and a fifth analog-to-digital converter 52225. The first analog-to-digital converter 52221 is electrically connected to the first photosensitive device 52211 to convert the electrical signal converted by the first photosensitive device 52211 into a digital signal. The second analog-to-digital converter 52222 is electrically connected to the second photosensitive device 52212 to convert the electrical signal converted by the second photosensitive device 52212 into a digital signal. The third analog-to-digital converter 52223 is electrically connected to the third photosensitive device 52213 to convert the electrical signal converted by the third photosensitive device 52213 into a digital signal. The fourth analog-to-digital converter 52224 is electrically connected to the fourth photosensitive device 52214 to convert the electrical signal converted by the fourth photosensitive device 52214 into a digital signal. The fifth analog-to-digital converter 52225 is electrically connected to the fifth photosensitive device 52215 to convert the electrical signal converted by the fifth photosensitive device 52215 into a digital signal.

[0130] The following content is described by taking the proximity light sensor 522 including two photosensitive devices and two analog-to-digital converters 5222 as an example. Fig.14 , Fig.14 A timing diagram for simultaneous driving of the test circuit provided in the embodiment of the present application. Fig.14 As shown, the test circuit 52 includes multiple working cycles T0, each working cycle T0 includes at least one pulse cycle, and the pulse cycle includes a light-emitting stage T01 working in a first level (such as a high level) state and a non-light-emitting stage T02 working in a second level (such as a low level) state. Fig.13 In the figure, the solid line represents the timing of collecting and processing the first light signal, and the dotted line represents the timing of collecting and processing the second light signal. Since the first photosensitive device 52211 and the second photosensitive device 52212 correspond to different analog-to-digital converters 5222, respectively, the first collection channel formed by the first photosensitive device 52211 and the analog-to-digital converter 5222 and the second collection channel formed by the second photosensitive device 52212 and the analog-to-digital converter 5222 can collect and process the first light signal emitted by the first light-emitting unit 5211 and the second light signal emitted by the second light-emitting unit 5212 at the same time (i.e., both in the light-emitting stage T01), that is, different collection channels can collect light signals of different wavelength bands at the same time, so as to realize the simultaneous collection and processing of light signals of different wavelength bands.

[0131] The specific test method is as follows: in the light-emitting stage T01, the processing unit 5223 transmits a first driving signal to the first light-emitting unit 5211 and the second light-emitting unit 5212 respectively, the first light-emitting unit 5211 transmits a red light signal (also called a first light signal) based on the first driving signal, and the second light-emitting unit 5212 transmits an infrared light signal (also called a second light signal) based on the first driving signal, and after the red light signal and the infrared light signal are emitted through the light-transmitting portion 21, they are reflected and / or scattered when irradiated to the skin tissue of the user's fingertips, and the first photosensitive device 52211 collects ambient light and light reflected and / or scattered by the red light signal (collectively referred to as the seventh light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The first analog-to-digital converter 52221 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain the light signal integral value D5. The second photosensor 52212 collects ambient light and light reflected and / or scattered by the infrared light signal (collectively referred to as the eighth light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The second analog-to-digital converter 52222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain an optical signal integral value D6. That is, the first collection channel formed by the first photosensor 52211 and the first analog-to-digital converter 52221 collects ambient light and light reflected and / or scattered by the red light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D5. At the same time, the second collection channel formed by the second photosensor 52212 and the second analog-to-digital converter 52222 collects ambient light and light reflected and / or scattered by the infrared light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D6.

[0132] In the non-light-emitting stage T02, the processing unit 5223 transmits a second driving signal to the first light-emitting unit 5211 and the second light-emitting unit 5212 respectively, the first light-emitting unit 5211 and the second light-emitting unit 5212 do not emit light, the first photosensitive device 52211 only collects ambient light (also called the ninth light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The first analog-to-digital converter 52221 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain the light signal integral value D7. The second photosensitive device 52212 only collects ambient light (also called the tenth light signal), and converts the light signal into an electrical signal, wherein the electrical signal is an analog signal. The second analog-to-digital converter 52222 converts the analog signal into a digital signal, and the processing unit 5223 processes the digital signal, such as calibration, filtering, integration (accumulation of signal strength over a period of time), etc., to obtain the light signal integral value D8. That is to say, the first acquisition channel formed by the first photosensor 52211 and the first analog-to-digital converter 52221 only collects ambient light, converts the optical signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D7. At the same time, the second acquisition channel formed by the second photosensor 52212 and the second analog-to-digital converter 52222 only collects ambient light, converts the optical signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D8. After a pulse cycle ends, the processing unit 5223 calculates the difference between the integral value D5 and the integral value D7 to obtain the integral value of the light intensity of the first optical reference signal (including only the first optical signal component), and calculates the difference between the integral value D6 and the integral value D8 to obtain the integral value of the light intensity of the second optical reference signal (including only the second optical signal component) to eliminate the interference of the DC component of the ambient light. Then the integral value of the light intensity of the first optical reference signal and the integral value of the light intensity of the second optical reference signal are sent to the processor 51.

[0133] Since the test circuit includes multiple working cycles T0, the processor 51 obtains the integral value of the light intensity of the first light reference signal within a period of time through the above method, that is, multiple working cycles T0 within a period of time correspond to the integral value of the light intensity of multiple first light reference signals, and the integral value of the light intensity of multiple first light reference signals can form a curve, which represents the strength of the red light signal (i.e., the red light PPG signal). In addition, the processor 51 obtains the integral value of the light intensity of the second light reference signal within a period of time, that is, multiple working cycles T0 within a period of time correspond to the integral value of the light intensity of multiple second light reference signals, and the integral value of the light intensity of multiple second light reference signals can form a curve, which represents the strength of the infrared light signal (i.e., the infrared light PPG signal). The processor 51 can separate the red light AC signal and the direct current DC signal based on the red light PPG signal and the infrared light PPG signal, and separate the infrared light AC signal and the direct current DC signal to obtain the ratio PI(RED) of the red light AC signal and the direct current DC signal, and the ratio PI(IR) of the infrared light AC signal and the direct current DC signal, and determine the R value according to PI(RED) and PI(IR), and further determine human body characteristics such as heart rate and blood oxygen saturation.

[0134] It should be noted here that the test circuit can not only calculate blood oxygen saturation, heart rate, etc. based on signals of two different optical bands (such as the first optical signal and the second optical signal), but can also couple optical signals of other bands, such as determining the PPG signal based on optical signals of three (correspondingly, the acquisition unit 5221 includes three photosensors, and the number of analog-to-digital converters 5222 is at least three), four (correspondingly, the acquisition unit 5221 includes four photosensors, and the number of analog-to-digital converters 5222 is at least four), five (correspondingly, the acquisition unit 5221 includes five photosensors, and the number of analog-to-digital converters 5222 is at least five) or six (correspondingly, the acquisition unit 5221 includes six photosensors, and the number of analog-to-digital converters 5222 is at least six) optical bands, so as to calculate human vital sign parameters such as the content of blood pressure, blood sugar, perfusion index, pulse variability index, carbon monoxide hemoglobin, glycosylated hemoglobin and other blood indicators based on the PPG signal.

[0135] Similarly, in order to isolate the interference of external flickering light sources, see Fig.15 , Fig.15 Another timing diagram of simultaneous driving of the test circuit provided in the embodiment of the present application, Fig.15 In FIG. 1 , the solid line represents the timing of collecting and processing the first optical signal, and the dotted line represents the timing of collecting and processing the second optical signal. Fig.15 As shown, each working cycle T0 includes N pulse cycles, N ≥ 2, and N is a positive integer. Fig.14A single pulse cycle in is divided into several pulse cycles. Among them, Fig.15 The explanation is given by taking each working cycle T0 including two pulse cycles as an example. The specific principle of reducing the influence of the flickering light source and improving the anti-interference ability by each working cycle T0 including N pulse cycles is similar to the above content, and the details can be referred to the above content, which will not be repeated here.

[0136] The above describes in detail the PPG test function that is realized by the proximity light sensor in cooperation with the light emitting component. It can be seen from the above content that the PPG detection is realized by replacing the existing PPG module with the light emitting component and the proximity light sensor, and the proximity light sensor is provided with multiple analog-to-digital converters, and multiple photosensitive devices correspond to multiple analog-to-digital converters to form different acquisition channels, and different acquisition channels can simultaneously collect and process light signals of different bands. Since the integral value of the light intensity of the first light reference signal and the integral value of the light intensity of the second light reference signal measured at the same time point are compared with the light signals of different bands obtained in time sharing (i.e., at different moments), since the vital sign parameters are determined based on the light signals of different bands, the light signals of different bands obtained in time sharing cause a certain time difference in the vital signs of the user, which cannot better reflect the real vital signs. In this solution, light signals of different bands at the same moment can be obtained, that is, the vital signs of the user at the same moment can be reflected, and the follow-up of the user's physiological change data is better, and the vital signs can be more truly reflected. On this basis, more time can be reserved for the analog-to-digital converter to process the light signal, increase the detection integration time, and obtain better sensitivity.

[0137] In this case (collecting and processing light signals of different wavelengths at the same time), the light emitting component can use a wide-spectrum light source, which is a light source whose emitted light signal is composed of at least two light signals of different wavelengths. The wavelength range of the wide-spectrum light source is relatively wide, for example, 380-780nm. Exemplarily, the wide-spectrum light source is, for example, white light, and the light signal emitted by the wide-spectrum light source is composed of seven colors of light, namely, red, orange, yellow, green, blue, indigo, and purple, wherein red light can be used as the above-mentioned first light signal, and green light can be the above-mentioned second light signal, that is, when the wide-spectrum light source emits white light, the first collection channel can only collect and process the red light in the white light, and the second collection channel can only collect and process the green light in the white light.

[0138] When a wide-spectrum light source is selected as the light-emitting component, there is no need to set up different light-emitting units, and only one light source is needed, thereby reducing the cost of the test circuit and the occupied area of ​​the PCB 40 in the electronic device.

[0139] Furthermore, considering that the light emitted by the display screen 12 may be composed of light of multiple different wavelength bands, for example, the light emitted by the display screen 12 is white light. Therefore, in order to further reduce the cost of the test circuit and reduce the occupation of the PCB 40 in the electronic device, the display screen used for display by the electronic device is reused as the light emitting component 521.

[0140] In this case, the proximity light sensor 522 can be set in the non-display area of ​​the display screen 12, or, set below the display screen 12. During detection, the user's finger only needs to cover the proximity light sensor 522 and part of the display area of ​​the display screen 12.

[0141] It is understandable that when the display screen is multiplexed as the light-emitting component 521, the display driver chip can control the display screen to emit a light signal of a first preset color, wherein the light signal of the first preset color can be composed of at least two lights of different wavelength bands.

[0142] Exemplarily, in the light-emitting stage T01, the display screen 12 can emit a light signal of a first preset color according to the driving signal sent by the display driver chip. The light signal of the first preset color can be a white light signal, and the white light signal includes a first light signal and a second light signal, wherein the first light signal is, for example, a red light signal, and the second light signal is, for example, a green light signal. When the light signal emitted by the display screen 12 is irradiated to the skin tissue of the user's fingertips, it is reflected and / or scattered. The first acquisition channel formed by the first photosensor 52211 and the first analog-to-digital converter 52221 collects ambient light and light reflected and / or scattered by the red light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D5. The second acquisition channel formed by the second photosensor 52212 and the second analog-to-digital converter 52222 collects ambient light and light reflected and / or scattered by the green light signal, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D7.

[0143] In the non-luminous stage T02, according to the control of the display driver chip, the display screen does not emit light, the first acquisition channel formed by the first photosensitive device 52211 and the first analog-to-digital converter 52221 only collects ambient light, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D6, and the second acquisition channel formed by the second photosensitive device 52212 and the second analog-to-digital converter 52222 only collects ambient light, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D8. After a pulse cycle ends, the processing unit 5223 calculates the difference between the integral value D5 and the integral value D7 to obtain the integral value of the intensity of the first optical reference signal (including only the first optical signal component), and calculates the difference between the integral value D6 and the integral value D8 to obtain the integral value of the light intensity of the second optical reference signal (including only the second optical signal component) to eliminate the interference of the DC component of the ambient light. Then the integral value of the light intensity of the first optical reference signal and the integral value of the light intensity of the second optical reference signal are sent to the processor 51 for processing.

[0144] The above description is based on the example that the display driver chip controls the display screen to emit a light signal of a first preset color, wherein the light signal of the first preset color can be composed of at least two lights of different wavelengths. In other optional embodiments of the present application, the display driver chip can also control the display screen to send only the first light signal (such as a red light signal) and the second light signal (such as a green light signal) at different times. The specific process of calculating the human body characteristic value based on the first light signal and the second light signal can be referred to the above content (corresponding to Figure 6 The structure and Fig. 9 Of course, the light-emitting component that emits a wide spectrum light source is not limited to the display screen 12. For example, the light-emitting component can also be a flash 54, wherein the flash 54 emits a light signal of a second preset color, and the light signal of the second preset color can be composed of at least two lights of different wavelengths, and the light signal of the second preset color is, for example, white light. That is, the flash 54 not only has a fill light function, but can also be multiplexed as a light-emitting component.

[0145] In this case, the proximity light sensor 522 and the flash light 54 can be arranged on the same side of the mobile phone, and the proximity light sensor 522 and the flash light 54 are arranged adjacent to each other. During detection, the user's finger only needs to cover the proximity light sensor 522 and the flash light 54.

[0146] Exemplarily, in the light-emitting stage T01, the flashlight 54 can emit a light signal of a second preset color according to the driving signal sent by the processing unit 5223 or the processor 51. The light signal of the second preset color can be a white light signal, and the white light signal includes a first light signal and the second light signal, wherein the first light signal is, for example, a red light signal, and the second light signal is, for example, a green light signal. When the light signal emitted by the flashlight 54 is irradiated to the skin tissue of the user's fingertips, it is reflected and / or scattered. The first photosensor 52211 and the first analog-to-digital converter 52221 collect ambient light and light reflected and / or scattered by the red light signal, and convert the light signal into a digital signal. The processing unit 5223 processes the digital signal to obtain an integral value D5. The second collection channel formed by the second photosensor 52212 and the second analog-to-digital converter 52222 collects ambient light and light reflected and / or scattered by the green light signal, and converts the light signal into a digital signal. The processing unit 5223 processes the digital signal to obtain an integral value D7.

[0147] In the non-light-emitting stage T02, the flash lamp 54 does not emit light, the first acquisition channel formed by the first photosensitive device 52211 and the first analog-to-digital converter 52221 only collects ambient light, converts the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D6. The second photosensitive device 52212 and the second analog-to-digital converter 52222 only collect ambient light, convert the light signal into a digital signal, and the processing unit 5223 processes the digital signal to obtain an integral value D8. After a pulse cycle ends, the proximity light sensor 522 calculates the difference between the integral value D5 and the integral value D7 to obtain the integral value of the light intensity of the first light reference signal (including only the first light signal component), and calculates the difference between the integral value D6 and the integral value D8 to obtain the integral value of the light intensity of the second light reference signal (including only the second light signal component) to eliminate the interference of the DC component of the ambient light. Then, the integral value of the light intensity of the first light reference signal and the integral value of the light intensity of the second light reference signal are sent to the processor 51 for processing.

[0148] It should be noted that the above description is based on the example that a proximity light sensor includes multiple collection channels, and the multiple collection channels can simultaneously collect and process light signals of different bands, but it does not constitute a limitation on the present application. As long as the sensor can form multiple collection channels and the multiple collection channels can simultaneously collect and process light signals of different bands, it is within the protection scope of the present application.

[0149] In summary, by replacing the existing PPG module with a light-emitting component and a proximity light sensor, the cost of the test circuit can be reduced because the proximity light sensor is widely used and inexpensive; and because the proximity light sensor is internally integrated with an acquisition unit, an analog-to-digital converter, and a processing unit, the volume of the test circuit is small, reducing the volume occupied by the test circuit in the electronic device. In addition, the test circuit not only detects the light reflected and / or scattered by the first light signal and the second light signal, but also detects the ambient light, so that the interference of the external ambient light can be reduced, the background noise can be filtered out, and the detection accuracy can be improved. In addition, the photoelectric sensor of the embodiment of the present application may include a plurality of photosensitive devices and a plurality of analog-to-digital converters, and the plurality of photosensitive devices and the plurality of analog-to-digital converters respectively form different acquisition channels. Therefore, different acquisition channels can respectively acquire light signals of different wavelengths at the same time, and the tracking of physiological change data is better. In this way, when calculating blood oxygen saturation, heart rate, etc. based on the PPG signal, the detection accuracy can be further improved. In addition, the test circuit can not only calculate blood oxygen saturation, heart rate, etc. based on signals of two different optical bands (such as the first optical signal and the second optical signal), but can also couple optical signals of other bands, such as determining the PPG signal based on optical signals of three, four, five or six optical bands, so as to calculate human vital sign parameters such as the content of blood pressure, blood sugar, perfusion index, pulse variability index, carbon monoxide hemoglobin, glycosylated hemoglobin and other blood indicators.

[0150] In addition, the test circuit provided in the embodiment of the present application is tested for blood oxygen heart rate, wherein the first light signal is a red light signal and the second light signal is an infrared light signal. Figure 5 When the user's finger touches the light-transmitting portion 21 of the back cover 20 and remains still and quiet, the infrared light signal and the red light signal emitted by the light-emitting component 521 are emitted through the light-transmitting portion 21 and irradiated to the user's fingertips. The infrared light signal and the red light signal pass through the skin tissue of the fingertips and then reflect to the proximity light sensor 522. The proximity light sensor 522 converts the light into an electrical signal and obtains a stable infrared light PPG signal and a red light PPG signal based on the electrical signal, as shown in FIG. Fig.16 As shown, Fig.16 This is an interface diagram of the test results of blood oxygen and heart rate obtained based on the test circuit provided in the embodiment of the present application. Fig.16 In the figure, arrow ① points to the infrared signal, and arrow ② points to the red light PPG signal. It can be seen from the interface that the infrared light PPG signal and the red light PPG signal obtained by the test circuit provided in the embodiment of the present application, the heart rate state obtained is 85BPM, and the blood oxygen state is 95%. The blood oxygen and heart rate test accuracy is basically consistent with the blood oxygen clamp, that is, the electronic device 100 using the test circuit provided in the embodiment of the present application can replace medical equipment, and detect the user's health status in real time, with low cost and high detection accuracy.

[0151] In addition, the test circuit provided in the embodiment of the present application was subjected to an oxygen reduction and oxygen increase monitoring test. For example, three electronic devices using the test circuit of the present application were used, and each electronic device was subjected to a 6-person whole-machine simulated oxygen reduction and oxygen increase test, and a 6-person simulated oxygen reduction and oxygen increase test was performed using a medical blood oxygen clamp, and the following results were obtained: Fig.17 The comparison chart of oxygen reduction and oxygen increase monitoring is shown. Fig.17 The figure shows the comparison of test data of only one person who simulated oxygen reduction and oxygen increase by using an electronic device that applied the test circuit provided in the embodiment of the present application and a medical blood oxygen clamp. The pattern of other people is the same. Therefore, the comparison of test data of oxygen reduction and oxygen increase of other people is not shown. Fig.17 In the figure, arrow ③ indicates the oxygen reduction and oxygen increase test data curve obtained by the electronic device using the test circuit of the present application, and arrow ④ indicates the oxygen reduction and oxygen increase test data curve obtained by the medical blood oxygen clamp. Fig.17 In the figure, the horizontal axis is the sampling point, that is, a point is recorded every preset time, such as, a point is recorded every 10 seconds, and the vertical axis is the blood oxygen value. Through testing, it can be seen that the oxygen reduction and oxygen increase test data curve obtained by the test circuit provided in the embodiment of the present application and the oxygen reduction and oxygen increase test data curve obtained based on the blood oxygen clamp are basically consistent. And the oxygen reduction and oxygen increase test data obtained by the test circuit provided in the embodiment of the present application can calculate the root mean square error (RMSE) value, as shown in Table 1. For three electronic devices, the oxygen reduction and oxygen increase test data of 6 people corresponding to each electronic device (a total of 18 groups of root mean square errors) are averaged, and the average value of the root mean square error is, for example, 2.42%, which meets the FDA medical standards (the standard value RMSE is 3.5%).

[0152] Table 1

[0153] Number of visitors Electronic equipment 1 Electronic equipment 2 Electronic equipment 3 1 0.022314623 0.021382642 0.018011919 2 0.022516288 0.019476559 0.020437721 3 0.019940576 0.020007551 0.018425296 4 0.032570745 0.032798744 0.023094011 5 0.029408993 0.046820077 0.025615159 6 0.020110062 0.015690703 0.023908658 average value 0.024476881 0.026029379 0.021582127 0.0242

[0154] In addition, an embodiment of the present application provides an electronic device, which also includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the above-mentioned related steps to implement the test method in the above-mentioned embodiment.

[0155] Exemplarily, when the proximity light sensor 522 includes a processing unit 5223, the processing unit 5223 sends the integral value of the light intensity of the first light reference signal and the integral value of the light intensity of the second light reference signal to the processor, and the processor obtains the integral value of the light intensity of the first light reference signal within a period of time, that is, the integral value of the light intensity of the multiple first light reference signals corresponding to multiple working cycles T0 within a period of time, and the integral value of the light intensity of the multiple first light reference signals can be stored in the memory, and the integral value of the light intensity of the multiple first light reference signals can form a curve. The curve can represent the intensity of the red light signal (i.e., the red light PPG signal). And, the processor obtains the integral value of the light intensity of the second light reference signal within a period of time, that is, the integral value of the light intensity of the multiple second light reference signals corresponding to multiple working cycles T0 within a period of time, and the integral value of the light intensity of the multiple second light reference signals can be stored in the memory. The integral value of the light intensity of the multiple second light reference signals can form a curve, which can represent the intensity of the infrared light signal (i.e., the infrared light PPG signal). The processor can separate the red light AC signal and the direct current DC signal, and separate the infrared light AC signal and the direct current DC signal based on the red light PPG signal and the infrared light PPG signal stored in the memory to obtain the ratio PI(RED) of the red light AC signal and the direct current DC signal, and the ratio PI(IR) of the infrared light AC signal and the direct current DC signal, and determine the R value according to PI(RED) and PI(IR), and then determine human body characteristics such as heart rate and blood oxygen saturation.

[0156] Exemplarily, when the processing unit 5223 is a processor for a specific processing function in an electronic device, that is, the processor is the processing unit 5223, the processor directly obtains the integral value of the light intensity of the first light reference signal within a period of time. That is, a plurality of working cycles T0 within a period of time corresponds to the integral value of the light intensity of a plurality of first light reference signals, and the integral value of the light intensity of a plurality of first light reference signals can be stored in a memory, and the integral value of the light intensity of a plurality of first light reference signals can form a curve, which can represent the strength of the red light signal (i.e., the red light PPG signal). And, the processor directly obtains the integral value of the light intensity of the second light reference signal within a period of time, that is, a plurality of working cycles T0 within a period of time corresponds to the integral value of the light intensity of a plurality of second light reference signals, and the integral value of the light intensity of a plurality of first light reference signals can be stored in a memory, and the integral value of the light intensity of a plurality of second light reference signals can form a curve, which can represent the strength of the infrared light signal (i.e., the infrared light PPG signal). The processor can separate the red light AC signal and the direct current DC signal, and separate the infrared light AC signal and the direct current DC signal based on the red light PPG signal and the infrared light PPG signal stored in the memory to obtain the ratio PI(RED) of the red light AC signal and the direct current DC signal, and the ratio PI(IR) of the infrared light AC signal and the direct current DC signal, and determine the R value according to PI(RED) and PI(IR), and then determine human body characteristics such as heart rate and blood oxygen saturation.

[0157] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related steps to implement the testing method in the above-mentioned embodiment.

[0158] This embodiment further provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the above-mentioned related steps to implement the testing method in the above-mentioned embodiment.

[0159] In addition, an embodiment of the present application also provides a chip (which may also be a component or module), which may include one or more processing circuits and one or more transceiver pins; wherein the transceiver pins and the processing circuit communicate with each other through an internal connection path, and the processing circuit executes the above-mentioned related method steps to implement the test method in the above-mentioned embodiment to control the receiving pin to receive the signal, so as to control the sending pin to transmit the signal.

[0160] In addition, it can be seen from the above description that the electronic device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0161] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A test circuit, characterized in that: include: A light emitting component, configured to emit at least two optical signals, wherein the at least two optical signals include a first optical signal and a second optical signal; The first optical signal and the second optical signal have different wavelengths; as well as, The proximity light sensor is used to collect a first light reference signal and a second light reference signal reflected and / or scattered by a human body, wherein the first light reference signal and the second light reference signal are used to calculate a human body feature value.

2. The test circuit according to claim 1, characterized in that: The proximity light sensor comprises: a collection unit, configured to collect the first optical reference signal and the second optical reference signal, and convert the first optical reference signal and the second optical reference signal into electrical signals, respectively, wherein the electrical signals are analog signals; An analog-to-digital converter is connected to the acquisition unit and is used to convert the analog signal into a digital signal, and the digital signal is used to calculate the human body characteristic value.

3. The test circuit according to claim 2, characterized in that: The light-emitting component includes a first light-emitting unit and a second light-emitting unit, and the collection unit includes a first photosensitive device and a second photosensitive device. The first light-emitting unit is used to emit the first light signal, and the first photosensitive device is used to collect the first light reference signal. The second light-emitting unit is used to emit the second light signal, and the second photosensitive device is used to collect the second light reference signal.

4. The test circuit according to claim 3, characterized in that: The proximity light sensor includes the first light emitting unit or the second light emitting unit.

5. The test circuit according to any one of claims 2 to 4, characterized in that: It also includes a processing unit, which is connected to the analog-to-digital converter and is used to obtain the integral value of the light intensity of the first light reference signal in the first time period and the light intensity of the second light reference signal in the second time period according to the digital signal, and the integral value is used to calculate the human body characteristic value.

6. The test circuit according to claim 5, characterized in that: The light emitting component emits the first optical signal and the second optical signal according to a working cycle.

7. The test circuit according to claim 6, characterized in that: The working cycle includes at least a first stage and a second stage; the first stage and the second stage each include at least one pulse cycle, and the pulse cycle includes a light-emitting stage working in a first level state and a non-light-emitting stage working in a second level state; The light emitting component is used to emit the first light signal in the light emitting phase of the first phase, and to emit the second light signal in the light emitting phase of the second phase; The proximity light sensor is used to collect a third light signal in the light-emitting stage of the first stage, and to collect a fourth light signal in the non-light-emitting stage of the first stage; and is also used to collect a fifth light signal in the light-emitting stage of the second stage, and to collect a sixth light signal in the non-light-emitting stage of the second stage; The processing unit is used to obtain an integrated value of the light intensity of the first optical reference signal according to the third optical signal and the fourth optical signal; is also used to obtain an integral value of the light intensity of the second optical reference signal according to the fifth optical signal and the sixth optical signal; The first time period is the first stage, and the second time period is the second stage; The third optical signal is determined based on ambient light and reflection and / or scattering of the first optical signal, the fourth optical signal is determined based on the ambient light, the fifth optical signal is determined based on ambient light and reflection and / or scattering of the second optical signal, and the sixth optical signal is determined based on the ambient light.

8. The test circuit according to claim 7, characterized in that: The acquisition unit comprises a first photosensitive device and a second photosensitive device, the first photosensitive device and the analog-to-digital converter form a first acquisition channel, and the second photosensitive device and the analog-to-digital converter form a second acquisition channel; The first acquisition channel is used to acquire the third optical signal in the light-emitting phase of the first phase, and to acquire the fourth optical signal in the non-light-emitting phase of the first phase; The second collection channel is used to collect the fifth optical signal in the light-emitting stage of the second stage, and to collect the sixth optical signal in the non-light-emitting stage of the second stage.

9. The test circuit according to claim 7 or 8, characterized in that: The first stage and the second stage both include N pulse cycles, where N≥2 and N is a positive integer.

10. The test circuit according to claim 5, characterized in that: The working cycle includes at least one pulse cycle, and the pulse cycle includes a light-emitting phase working in a first level state and a non-light-emitting phase working in a second level state; The light emitting component is used to emit the first light signal and the second light signal during the light emitting phase; The proximity light sensor is used to collect the seventh light signal and the eighth light signal in the light emitting stage, and collect the ninth light signal and the tenth light signal in the non-light emitting stage; The processing unit is used to obtain an integrated value of the light intensity of the first optical reference signal according to the seventh optical signal and the ninth optical signal; is also used to obtain an integrated value of the light intensity of the second optical reference signal according to the eighth optical signal and the tenth optical signal; The first time period and the second time period are the same time period, and the first time period is one working cycle; The seventh optical signal is determined based on ambient light and reflection and / or scattering of the first optical signal, the eighth optical signal is determined based on ambient light and reflection and / or scattering of the second optical signal, the ninth optical signal is determined based on ambient light, and the tenth optical signal is determined based on ambient light.

11. The test circuit according to claim 10, characterized in that: The acquisition unit includes a first photosensitive device and a second photosensitive device, and the analog-to-digital converter includes a first analog-to-digital converter and a second analog-to-digital converter; the first photosensitive device and the first analog-to-digital converter form a first acquisition channel, and the second photosensitive device and the second analog-to-digital converter form a second acquisition channel; The first acquisition channel is used to acquire the seventh light signal in the light-emitting phase and to acquire the ninth light signal in the non-light-emitting phase; The second collection channel is used to collect the eighth light signal in the light-emitting stage and to collect the tenth light signal in the non-light-emitting stage.

12. The test circuit according to claim 10 or 11, characterized in that: The working cycle includes N pulse cycles, wherein N≥2, and N is a positive integer.

13. The test circuit according to any one of claims 1 to 12, characterized in that: The first light signal includes a red light signal, and the second light signal includes an infrared light signal.

14. The test circuit according to any one of claims 5 to 13, characterized in that: The proximity light sensor includes the processing unit.

15. An electronic device, characterized in that: The test circuit comprises the test circuit described in any one of claims 1 to 14.

16. The electronic device according to claim 15, characterized in that: It also includes a display screen, which is reused as the light-emitting component.

17. The electronic device according to claim 16, characterized in that: The display screen includes a display area and a non-display area surrounding the display area, and the proximity light sensor is located in the non-display area.

18. The electronic device according to claim 15, characterized in that: It includes a display screen and a flashlight arranged on opposite sides of the electronic device, the proximity light sensor and the flashlight are arranged on the same side of the electronic device, the flashlight is multiplexed as the light-emitting component, and the light signal emitted by the flashlight is composed of at least the first light signal and the second light signal.

19. A testing method, characterized in that: Applied to an electronic device, the electronic device comprises a plurality of working cycles, the working cycle comprises at least one pulse cycle, the pulse cycle comprises a light emitting phase operating in a first level state and a non-light emitting phase operating in a second level state; The method comprises: In the light emitting stage, a first light signal and a second light signal are emitted, and a seventh light signal and an eighth light signal are collected, wherein the first light signal and the second light signal have different wavelengths, the seventh light signal is determined according to ambient light and reflection and / or scattering of the first light signal, and the eighth light signal is determined according to ambient light and reflection and / or scattering of the second light signal; In the non-light-emitting stage, a ninth light signal and a tenth light signal are collected, wherein the ninth light signal is determined by the ambient light, and the tenth light signal is determined by the ambient light; An integral value of the light intensity of a first optical reference signal is obtained according to the seventh optical signal and the ninth optical signal, and an integral value of the light intensity of a second optical reference signal is obtained according to the eighth optical signal and the tenth optical signal.

20. An electronic device, characterized in that: It includes: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the test method as described in claim 19.

Citation Information

Patent Citations

  • Blood oxygen measurement device

    CN103169478A

  • Devices and methods for photoplethysmographic measurements

    CN103228205A

  • High-precision blood oxygen saturation measurement method, system and device

    CN108814619A

  • Electric equipment with display screen

    CN110141197A

  • Ambient light signal adjusting method, chip and electronic device

    CN110604559A

Cited By

  • Test circuit and method, and electronic device

    EP4781905A1

  • Test circuit and method, and electronic device

    WO2025081950A1