Dimming method, device and equipment for photoplethysmography and storage medium
By gradually adjusting the LED driving current, the problem of low dimming efficiency in the prior art is solved, and the stability of the induced current of the photoelectric receiver tube and the accuracy of measurement are improved.
Patent Information
- Application Number
- CN202411569081.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-11-04
AI Technical Summary
In the prior art, the dimming efficiency of the dimming scheme is low, resulting in insufficient light intensity received by the photoelectric receiving tube, making it difficult to accurately measure the heart rate and blood oxygen saturation.
By obtaining the current induced current of the photoelectric receiver tube, if it is not within the dimming trigger range, the historical induced current and the corresponding LED driving current are obtained, and the LED driving current is gradually adjusted until the induced current meets the stop dimming condition.
Improves dimming efficiency, ensures that the current received by the photoelectric receiver is within the ideal range, and enhances the accuracy of heart rate and blood oxygen saturation measurements.
Smart Images

Figure CN119403011A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of dimming technology, and in particular to a dimming method, device, equipment and storage medium for photoplethysmography. Background Art
[0002] The method of measuring heart rate and blood oxygen saturation by measuring the intensity of light reflected from blood in human blood vessels following the pulsation of the pulse is referred to as PPG (Photoplethysmography) heart rate / blood oxygen saturation measurement method. During the measurement process, an LED (Light-Emitting Diode) lamp is required to emit light of a certain intensity to illuminate the human body, a small part of which passes through the skin and human tissue to reach the blood vessels, and the blood in the blood vessels reflects / scatters a small part of the received light back to the photoelectric receiving tube outside the human tissue. Since the light emitted by the LED and reflected / scattered back to the photoelectric receiving tube by the blood have to pass through the human tissue twice, the energy loss is very large, making the light intensity related to the pulse pulsation received by the photoelectric receiving tube very weak, making the pulse pulsation measurement very difficult and easily interfered by various noises. Therefore, the light intensity received by the photoelectric receiving tube must reach a certain level, and the photoelectric coupling coefficient from the LED to the photoelectric receiving tube is affected by various environmental conditions. In order to make the current received by the photoelectric receiving tube within a relatively ideal range, the driving current of the LED needs to be adjusted, that is, dimming is required. The existing dimming scheme requires more dimming times, takes a long time, and has low dimming efficiency. Summary of the invention
[0003] The object of the present invention is to provide a dimming method, device, equipment and storage medium for photoplethysmography to solve the technical problem of low dimming efficiency of the dimming scheme in the prior art.
[0004] The technical solution of the present invention is as follows, providing a dimming method for photoplethysmography, comprising:
[0005] Acquire the current induced current of the photoelectric receiving tube, and if the current induced current is not within the dimming trigger range, acquire the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current;
[0006] Determine the LED driving current for the first dimming according to the historical induced current and the LED driving current, perform the first dimming according to the LED driving current for the first dimming, and obtain the induced current for the first dimming;
[0007] If the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, then determining the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, performing the second dimming according to the LED driving current of the second dimming, and obtaining the induced current of the second dimming;
[0008] If the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, the LED driving current of the next dimming is continuously determined based on the induced current of the previous dimming and the LED driving current of the previous dimming, and dimming is performed again based on the LED driving current of the next dimming until the dimming induced current meets the stop dimming condition, and the dimming is stopped; wherein, the stop dimming condition is that the dimming induced current for the first preset number of consecutive dimming times is within the dimming convergence range.
[0009] Further, determining the LED driving current for the first dimming according to the historical induced current and the LED driving current includes:
[0010] The LED driving current for the first dimming is determined according to the historical induced current, the LED driving current and the convergence target current.
[0011] Further, determining the LED driving current for the first dimming according to the historical induced current, the LED driving current and the convergence target current includes:
[0012] The LED driving current and the convergence target current are multiplied and then divided by the historical induced current to obtain the LED driving current for the first dimming.
[0013] Further, determining the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming includes:
[0014] The convergence target current minus the induced current of the first dimming is multiplied by the LED driving current of the first dimming, the multiplication result is divided by the induced current of the first dimming, and the result is added to the LED driving current of the first dimming to obtain the LED driving current of the second dimming.
[0015] Further, determining the LED driving current for the next dimming according to the induced current of the last dimming and the LED driving current of the last dimming includes:
[0016] The convergence target current minus the induced current of the previous dimming is multiplied by the LED driving current of the previous dimming, the multiplication result is divided by the induced current of the previous dimming, and the result is added to the LED driving current of the previous dimming to obtain the LED driving current of the next dimming.
[0017] Furthermore, the dimming method for photoplethysmography also includes: determining whether the induced current of the first dimming is within the dimming convergence range, and if so, and when the first preset dimming number is 1, stopping the dimming.
[0018] Furthermore, the dimming method for photoplethysmography further includes: counting the total number of dimming times, and stopping the dimming if the total number of dimming times reaches a second preset number of dimming times.
[0019] Another technical solution of the present invention is as follows: a dimming device for photoplethysmography is also provided, comprising a current data acquisition module, a first dimming module, a second dimming module and a third dimming module;
[0020] The current data acquisition module is used to acquire the current induced current of the photoelectric receiving tube, and if the current induced current is not within the dimming convergence range, acquire the historical induced current of the photoelectric receiving tube within the dimming convergence range and the LED driving current corresponding to the historical induced current;
[0021] The first dimming module is used to determine the LED driving current for the first dimming according to the historical induced current and the LED driving current, perform the first dimming according to the LED driving current for the first dimming, and obtain the induced current for the first dimming;
[0022] The second dimming module is used to determine the LED driving current for the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, perform the second dimming according to the LED driving current of the second dimming, and obtain the induced current of the second dimming if the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1;
[0023] The third dimming module is used to continuously determine the LED driving current for the next dimming according to the induced current of the previous dimming and the LED driving current of the previous dimming if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, and dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein the stop dimming condition is that the induced current of the dimming for a first preset number of consecutive dimming times is within the dimming convergence range.
[0024] Another technical solution of the present invention is as follows: an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the processor executes the computer program, the dimming method for photoplethysmography as described in any of the above technical solutions is implemented.
[0025] Another technical solution of the present invention is as follows: a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the dimming method for photoplethysmography as described in any of the above technical solutions is implemented.
[0026] The beneficial effects of the present invention are: obtaining the current induced current of the photoelectric receiving tube, if the current induced current is not within the dimming trigger range, then obtaining the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current; determining the LED driving current for the first dimming according to the historical induced current and the LED driving current, performing the first dimming according to the LED driving current for the first dimming, and obtaining the induced current for the first dimming; if the induced current for the first dimming is not within the dimming convergence range, or the induced current for the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, then determining the LED driving current for the first dimming according to the historical induced current and the LED driving current for the first dimming D driving current determines the LED driving current of the second dimming, performs the second dimming according to the LED driving current of the second dimming, and obtains the induced current of the second dimming; if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, then the LED driving current of the next dimming is continuously determined according to the induced current of the previous dimming and the LED driving current of the previous dimming, and dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein, the stop dimming condition is that the induced current of the dimming for the first preset number of consecutive dimming times is within the dimming convergence range; through the above technical scheme, the dimming efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic flow chart of a dimming method for photoplethysmography provided in an embodiment of the present invention.
[0028] Figure 2 A schematic structural diagram of a dimming device for photoplethysmography provided by an embodiment of the present invention;
[0029] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] Figure 1 FIG. 1 is a flow chart of a method for dimming light for photoplethysmography according to an embodiment of the present invention. It should be noted that the method for dimming light for photoplethysmography according to the present invention is not limited to the method for dimming light for photoplethysmography according to an embodiment of the present invention if substantially the same results are achieved. Figure 1 The process sequence shown is limited. Figure 1 As shown, the dimming method for photoplethysmography mainly includes the following steps:
[0033] S101, obtaining a current induced current of a photoelectric receiving tube, and if the current induced current is not within a dimming trigger range, obtaining a historical induced current of the photoelectric receiving tube and an LED driving current corresponding to the historical induced current;
[0034] In a specific embodiment, when using photoplethysmography to measure heart rate and / or blood oxygen saturation, the photoelectric receiving tube needs to continuously receive the induced current to obtain the current induced current of the photoelectric receiving tube. If the current induced current is within the dimming trigger range, dimming is not required. If the current induced current is not within the dimming trigger range, dimming is required. At this time, it is necessary to obtain the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current.
[0035] S102, determining a first dimming LED driving current according to the historical induced current and the LED driving current, performing a first dimming according to the first dimming LED driving current, and obtaining the first dimming induced current;
[0036] In some embodiments, the dimming method for photoplethysmography further includes: determining whether the induced current of the first dimming is within the dimming convergence range; if so, and when the first preset dimming number is 1, stopping the dimming.
[0037] In a specific embodiment, the LED driving current for the first dimming is determined based on the historical induced current and the LED driving current, and the first dimming is performed based on the LED driving current for the first dimming. If the induced current for the first dimming is within the dimming convergence range and the first preset dimming number is 1, it means that the dimming is successful, and the dimming is stopped. If the induced current for the first dimming is within the dimming convergence range and the first preset dimming number is greater than 1, the dimming is continued until the induced current for the first preset dimming number is within the dimming convergence range, and the dimming is stopped. The above-mentioned dimming convergence range can be determined according to actual conditions. For example, in a typical application case, the dimming convergence range can be 1μA to 3μA, the signal-to-noise ratio is relatively high, the LED driving current is not too large, and the total power consumption is relatively moderate. The above-mentioned dimming trigger range can be greater than the dimming convergence range, and the dimming convergence range is within the dimming trigger range. For example, the dimming trigger range can be 0.8μA to 3.2μA.
[0038] In some embodiments, determining the LED driving current for the first dimming according to the historical induced current and the LED driving current includes:
[0039] The LED driving current for the first dimming is determined according to the historical induced current, the LED driving current and the convergence target current.
[0040] In a specific embodiment, the convergence target current (current value) can be determined according to actual conditions. Specifically, the convergence target current is within the dimming convergence range. For example, the convergence target current is I g , then the dimming convergence range can be [I g- Z,I g +Z], Z can be a preset current value. If the convergence target current is 2μA, the dimming convergence range can be [1μA, 3μA], and the preset current value Z can be 1μA.
[0041] In some embodiments, determining the LED driving current for the first dimming according to the historical induced current, the LED driving current and the convergence target current includes:
[0042] The LED driving current and the convergence target current are multiplied and then divided by the historical induced current to obtain the LED driving current for the first dimming.
[0043] In a specific embodiment, without loss of generality, the LED driving current corresponding to the historical induced current is I a0 , the convergence target current is I g , the historical induced current is I b0 , then the LED driving current I a1 =I a0* Ig / I b0 The LED driving current for the first dimming obtained by the above method can be used for the first dimming.
[0044] S103, if the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, determine the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, perform the second dimming according to the LED driving current of the second dimming, and obtain the induced current of the second dimming;
[0045] In some embodiments, determining the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming includes:
[0046] The convergence target current minus the induced current of the first dimming is multiplied by the LED driving current of the first dimming, the multiplication result is divided by the induced current of the first dimming, and the result is added to the LED driving current of the first dimming to obtain the LED driving current of the second dimming.
[0047] In a specific embodiment, the first preset dimming times may be 1, which means that the induced current of a certain dimming is within the dimming convergence range, the dimming is successful, and the dimming is ended. The first preset dimming times may also be greater than 1, which means that the induced current of multiple consecutive dimmings is within the dimming convergence range, the dimming is successful, and the dimming is ended. The number of consecutive dimmings is the first preset dimming times. If the LED driving current of the first dimming is I a1 , the induced current of the first dimming is I b1 , then the LED driving current I a2 =I a1* (I g -I b1 ) / I b1+ I a1 The second dimming LED driving current obtained by the above method can be used for the second dimming.
[0048] S104, if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, the LED driving current of the next dimming is continuously determined according to the induced current of the previous dimming and the LED driving current of the previous dimming, and dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein, the stop dimming condition is that the induced current of the dimming for a first preset number of consecutive dimming times is within the dimming convergence range.
[0049] In some embodiments, determining the LED driving current for the next dimming according to the induced current of the last dimming and the LED driving current of the last dimming includes:
[0050] The convergence target current minus the induced current of the previous dimming is multiplied by the LED driving current of the previous dimming, the multiplication result is divided by the induced current of the previous dimming, and the result is added to the LED driving current of the previous dimming to obtain the LED driving current of the next dimming.
[0051] In an embodiment of the present invention, the accuracy of the LED driving current for the next dimming can be improved by subtracting the induced current of the previous dimming from the convergence target current and multiplying the result by the LED driving current of the previous dimming, dividing the multiplication result by the induced current of the previous dimming, and adding the LED driving current of the previous dimming to obtain the LED driving current for the next dimming. This can improve the accuracy of the LED driving current for the next dimming, thereby achieving the dimming target with fewer dimming times and improving the dimming efficiency.
[0052] In a specific embodiment, without loss of generality, if the LED driving current of the last dimming is I am , the induced current of the last dimming is I bm , then the LED driving current I an =I am* (I g -I bm ) / I bm+ I am The LED driving current for the next dimming obtained by the above method can be used for the next dimming. The previous dimming and the next dimming are relative concepts. For example, the fourth dimming is the previous dimming, and the fifth dimming is the next dimming.
[0053] In a specific embodiment, if the induced current of the first dimming and the induced current of the second dimming do not meet the conditions for stopping dimming, there may be four situations, namely, the induced current of the first dimming and the induced current of the second dimming are both outside the dimming convergence range; the induced current of the first dimming is within the dimming convergence range, and the induced current of the second dimming is not within the dimming convergence range, and the first preset dimming number is greater than 1; the induced current of the first dimming is not within the dimming convergence range, and the induced current of the second dimming is within the dimming convergence range, and the first preset dimming number is greater than 1; the induced current of the first dimming is within the dimming convergence range, and the induced current of the second dimming is within the dimming convergence range, and the first preset dimming number is greater than 1; the induced current of the first dimming is within the dimming convergence range, and the induced current of the second dimming is within the dimming convergence range, and the first preset dimming number is greater than 2. In any case, dimming needs to continue.
[0054] In a specific embodiment, if the induced current of the first dimming and the induced current of the second dimming do not meet the dimming stop condition, the LED driving current of the next dimming is continuously determined based on the induced current of the previous dimming and the LED driving current of the previous dimming, and dimming is performed again based on the LED driving current of the next dimming until the dimming induced current meets the dimming stop condition, that is, the dimming induced current of the first preset dimming times is within the dimming convergence range, and the dimming is stopped, and the first preset dimming times is greater than or equal to 1.
[0055] In some embodiments, the dimming method for photoplethysmography further includes: counting the total number of dimming times, and stopping the dimming if the total number of dimming times reaches a second preset number of dimming times.
[0056] In a specific embodiment, the second preset dimming times need to be greater than or equal to the first preset dimming times. If dimming is still not successful after the second preset dimming times, the dimming is terminated and a dimming failure flag is generated for query processing.
[0057] The embodiment of the present invention provides a dimming method for photoplethysmography, by acquiring the current induced current of a photoelectric receiving tube, if the current induced current is not within the dimming trigger range, then acquiring the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current; determining the LED driving current for the first dimming according to the historical induced current and the LED driving current, performing the first dimming according to the LED driving current for the first dimming, and acquiring the induced current for the first dimming; if the induced current for the first dimming is not within the dimming convergence range, or the induced current for the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, determining the LED driving current for the first dimming according to the historical induced current and the LED driving current, performing the first dimming according to the LED driving current for the first dimming, and acquiring the induced current for the first dimming; if the induced current for the first dimming is not within the dimming convergence range, or the induced current for the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, then determining the LED driving current for the first dimming according to the historical induced current and the LED driving current for the first dimming The LED driving current of the second dimming is determined by the driving current, the second dimming is performed according to the LED driving current of the second dimming, and the induced current of the second dimming is obtained; if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, the LED driving current of the next dimming is continuously determined according to the induced current of the previous dimming and the LED driving current of the previous dimming, and the dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein the stop dimming condition is that the induced current of the dimming for the first preset number of consecutive dimming times is within the dimming convergence range; the dimming efficiency and the dimming accuracy can be improved, and the greater the first preset dimming number, the higher the dimming accuracy.
[0058] Based on the above-mentioned dimming method for photoplethysmography, an embodiment of the present invention provides a dimming device for photoplethysmography, and its structural schematic diagram is as shown in FIG. Figure 2 As shown, the dimming device 20 for photoplethysmography includes a current data acquisition module 21, a first dimming module 22, a second dimming module 23 and a third dimming module 24;
[0059] The current data acquisition module 21 is used to acquire the current induced current of the photoelectric receiving tube, and if the current induced current is not within the dimming trigger range, acquire the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current;
[0060] The first dimming module 22 is used to determine the LED driving current for the first dimming according to the historical induced current and the LED driving current, perform the first dimming according to the LED driving current for the first dimming, and obtain the induced current for the first dimming;
[0061] The second dimming module 23 is used to determine the LED driving current for the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, perform the second dimming according to the LED driving current of the second dimming, and obtain the induced current of the second dimming if the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1;
[0062] The third dimming module 24 is used to continuously determine the LED driving current for the next dimming according to the induced current of the previous dimming and the LED driving current of the previous dimming if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, and dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein the stop dimming condition is that the induced current of the dimming for a first preset number of consecutive dimming times is within the dimming convergence range.
[0063] For other details about how the modules in the dimming device for photoplethysmography implement the above technical solution, please refer to the description of the dimming method for photoplethysmography provided in the above invention embodiment, which will not be repeated here.
[0064] Based on the above dimming method for photoplethysmography, an embodiment of the present invention further provides an electronic device, a structural schematic diagram of which is shown in FIG. Figure 3As shown, the device 30 includes a processor 31 and a memory 32 coupled to the processor 31. The memory 32 stores a computer program, and when the computer program is executed by the processor 31, the processor 31 executes the steps of the dimming method for photoplethysmography in the above embodiment.
[0065] For other details about how the processor 31 in the dimming device 30 for photoplethysmography implements the above technical solution, please refer to the description of the dimming method for photoplethysmography provided in the above invention embodiment, which will not be repeated here.
[0066] Among them, the processor 31 can also be called a CPU (Central Processing Unit), and the processor 31 may be an integrated circuit chip with signal processing capabilities; the processor 31 can also be a general-purpose processor, DSP (Digital Signal Process), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, among which the general-purpose processor can be a microprocessor or the processor 31 can also be any conventional processor, etc.
[0067] The embodiment of the present invention also provides a computer-readable storage medium, on which a readable computer program is stored; wherein the computer program can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, magnetic disk or optical disk, ROM (Read-Only Memory), RAM (Random Access Memory) and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, and tablets.
[0068] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0069] The above description is only an implementation mode of the present invention. It should be pointed out that, for ordinary technicians in this field, improvements can be made without departing from the creative concept of the present invention, but these all belong to the protection scope of the present invention.
Claims
1. A dimming method for photoplethysmography, characterized in that: include: Acquire the current induced current of the photoelectric receiving tube, and if the current induced current is not within the dimming trigger range, acquire the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current; Determine the LED driving current for the first dimming according to the historical induced current and the LED driving current, perform the first dimming according to the LED driving current for the first dimming, and obtain the induced current for the first dimming; If the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1, then determining the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, performing the second dimming according to the LED driving current of the second dimming, and obtaining the induced current of the second dimming; If the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, the LED driving current of the next dimming is continuously determined based on the induced current of the previous dimming and the LED driving current of the previous dimming, and dimming is performed again based on the LED driving current of the next dimming until the dimming induced current meets the stop dimming condition, and the dimming is stopped; wherein, the stop dimming condition is that the dimming induced current for the first preset number of consecutive dimming times is within the dimming convergence range.
2. The dimming method for photoplethysmography according to claim 1, characterized in that: Determining the LED driving current for the first dimming according to the historical induced current and the LED driving current includes: The LED driving current for the first dimming is determined according to the historical induced current, the LED driving current and the convergence target current.
3. The dimming method for photoplethysmography according to claim 2, characterized in that: Determining the LED driving current for the first dimming according to the historical induced current, the LED driving current and the convergence target current includes: The LED driving current and the convergence target current are multiplied and then divided by the historical induced current to obtain the LED driving current for the first dimming.
4. The dimming method for photoplethysmography according to claim 1, characterized in that: Determining the LED driving current of the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming includes: The convergence target current minus the induced current of the first dimming is multiplied by the LED driving current of the first dimming, the multiplication result is divided by the induced current of the first dimming, and the result is added to the LED driving current of the first dimming to obtain the LED driving current of the second dimming.
5. The dimming method for photoplethysmography according to claim 1, characterized in that: The LED driving current for the next dimming is determined according to the induced current of the last dimming and the LED driving current of the last dimming, including: The convergence target current minus the induced current of the previous dimming is multiplied by the LED driving current of the previous dimming, the multiplication result is divided by the induced current of the previous dimming, and the result is added to the LED driving current of the previous dimming to obtain the LED driving current of the next dimming.
6. The dimming method for photoplethysmography according to claim 1, characterized in that: The dimming method for photoplethysmography also includes: determining whether the induced current of the first dimming is within the dimming convergence range, and if so, and when the first preset dimming number is 1, stopping the dimming.
7. The dimming method for photoplethysmography according to claim 1, characterized in that: The dimming method for photoplethysmography further includes: counting the total number of dimming times, and stopping the dimming if the total number of dimming times reaches a second preset number of dimming times.
8. A dimming device for photoplethysmography, characterized in that: It includes a current data acquisition module, a first dimming module, a second dimming module and a third dimming module; The current data acquisition module is used to acquire the current induced current of the photoelectric receiving tube, and if the current induced current is not within the dimming trigger range, acquire the historical induced current of the photoelectric receiving tube and the LED driving current corresponding to the historical induced current; The first dimming module is used to determine the LED driving current for the first dimming according to the historical induced current and the LED driving current, perform the first dimming according to the LED driving current for the first dimming, and obtain the induced current for the first dimming; The second dimming module is used to determine the LED driving current for the second dimming according to the induced current of the first dimming and the LED driving current of the first dimming, perform the second dimming according to the LED driving current of the second dimming, and obtain the induced current of the second dimming if the induced current of the first dimming is not within the dimming convergence range, or the induced current of the first dimming is within the dimming convergence range but the first preset dimming number is greater than 1; The third dimming module is used to continuously determine the LED driving current for the next dimming according to the induced current of the previous dimming and the LED driving current of the previous dimming if the induced current of the first dimming and the induced current of the second dimming do not meet the stop dimming condition, and dimming is performed again according to the LED driving current of the next dimming until the induced current of the dimming meets the stop dimming condition, and the dimming is stopped; wherein the stop dimming condition is that the induced current of the dimming for a first preset number of consecutive dimming times is within the dimming convergence range.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, wherein: When the processor executes the computer program, the dimming method for photoplethysmography according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the dimming method for photoplethysmography according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Rapid lighting adjustment control method for automatic gain control type photoelectric pulse oximeter
CN107773250A
Signal adjustment method of PPG device and PPG device
CN111529829A
Ambient light comfort detection method, device and equipment based on user behaviors
CN114642411A
Light source dimming method and electronic equipment
CN117440563A
Signal adjustment method for PPG apparatus and PPG apparatus
WO2022006747A1