Blood oxygen detection method, device, controller, and readable storage medium
By deploying the finger thickness data model in the blood oxygen detector and using the photodiode to receive light intensity data to adjust the current, the problems of poor finger thickness adaptability and low battery life in the existing technology are solved, and accurate blood oxygen saturation measurement and functionality are achieved. Consumption is reduced.
Patent Information
- Application Number
- CN202211692276.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-12-28
AI Technical Summary
When existing blood oxygen detectors adapt to different finger thicknesses, it is difficult to accurately adjust the current, resulting in measurement errors and reduced battery life, and structural modifications increase costs.
By deploying a finger thickness data model, the photodiode receives light intensity data to adjust the current, and combines the DC components of red light and infrared light to accurately match the finger thickness to calculate blood oxygen saturation and pulse rate, avoiding the increase in costs caused by structural modifications.
It achieves accurate measurement of different finger thicknesses, reduces blood oxygen saturation calculation errors, expands the range of measurable people, and reduces device power consumption.
Smart Images

Figure CN115998294B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical device technology, and in particular to a blood oxygen detection method, device, controller, and readable storage medium. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] A blood oxygen detection device is a detection instrument used to measure the oxygen content in human arterial blood. Pulse blood oximetry (PO) is considered the fifth key health indicator of the human body. Hemoglobin (Hb) is an important component of blood cells and is responsible for transporting oxygen from the lungs to other tissues of the body. The amount of oxygen contained in hemoglobin at any one time is called oxygen saturation, which is the ratio of the oxygen content of hemoglobin to the oxygen carrying capacity of hemoglobin. Oxygen saturation is expressed as a percentage. Blood oxygen saturation is an important physiological parameter that reflects whether the human respiratory function and oxygen content are normal. It is an important physiological parameter that shows whether the various tissues of our body are healthy. Monitoring blood oxygen indicators can give a good understanding of whether our breathing and immune systems are normal.
[0004] With the development of blood oxygen detection devices, more portable and easy-to-use finger-clip oximeters are widely used by users. There are two points about the use of finger-clip oximeters that the general public is more concerned about. One is the power consumption problem, and the other is the accuracy of blood oxygen saturation calculation. In order to adapt to the different finger thicknesses of different people, most of the existing oximeters use a self-defined threshold method to identify people with different finger thicknesses. This will cause errors in blood oxygen saturation measurement or even the inability to measure when encountering special people. In addition, the threshold method adjusts the lamp current of the blood oxygen device to adapt to people with different finger thicknesses, but it cannot accurately adjust the appropriate current size, which will cause the device's endurance to decrease. There is also a solution to add a travel switch to the original oximeter's photosensitive sensor and control it through a gear. Only when the finger is inserted can the travel switch be squeezed to work. If the finger is not inserted, the travel switch stops working and returns to the initial state. This can reduce the consumption of LED power when there is no finger inserted. It plays a role in reducing power consumption, which will modify the structure of the current product, bring a lot of costs such as mold repair and change, and is not a preferred solution.
[0005] In view of this, how to design and develop relevant technologies that can accurately adjust the appropriate current size according to different finger thicknesses to reduce device power consumption and accurately calculate blood oxygen saturation has become a topic to be studied and solved by the present invention. Summary of the invention
[0006] The purpose of the present invention is to provide a blood oxygen detection method, device, controller, and readable storage medium.
[0007] To achieve the above object, the first aspect of the present invention provides a blood oxygen detection method for detecting blood oxygen in a finger of a human body, wherein the method comprises:
[0008] Deploy a finger thickness data model having an input end and an output end for finger thickness data, wherein the data at the input end includes a red light DC component, an infrared light DC component, and a light intensity received by a photodiode, and the data at the output end includes a finger thickness matching the data at the input end;
[0009] Preset the baseline value of the light intensity received by the photodiode;
[0010] Obtain the light intensity sampling data received by the photodiode after the user inserts the finger, and adjust the current according to the light intensity sampling data received by the photodiode;
[0011] Determine whether the sampling data of the light intensity received by the photodiode is near the baseline value of the light intensity received by the photodiode; if it is determined to be negative, readjust the current; if it is determined to be positive, obtain the red light DC component and the infrared light DC component;
[0012] Match the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model to obtain predicted finger thickness data;
[0013] The current is adjusted again according to the predicted finger thickness data so that the light intensity signal value received by the photodiode matches the finger thickness data;
[0014] Calculate blood oxygen saturation and / or pulse rate data based on the light intensity signal value received by the photodiode.
[0015] The second aspect of the present invention provides a blood oxygen detection device for performing the blood oxygen detection in the method described in the first aspect of the present invention, wherein the innovation lies in that the blood oxygen detection device comprises a finger-clip base, a display unit, a photoelectric transmitting and receiving component, and a controller; wherein,
[0016] The finger-clip base is used to assemble the finger-clip base, the display unit, the photoelectric transmitting and receiving component, and the controller, and is used for inserting the user's finger;
[0017] The display unit is used to display at least the predicted finger thickness data and the blood oxygen saturation and / or pulse rate data;
[0018] The photoelectric transmitting and receiving component is used to transmit red light and infrared light, and receive the DC component of red light and the DC component of infrared light, and the photodiode receives light intensity signal data;
[0019] A finger thickness data model is deployed in the controller, and a baseline value of the light intensity received by the photodiode is preset. The controller adjusts the current according to the size of the photodiode received light intensity sampling data, determines whether the photodiode received light intensity sampling data satisfies the baseline value of the photodiode received light intensity, matches the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model, obtains the predicted finger thickness data, matches the photodiode received light intensity signal value with the finger thickness data, and then calculates the blood oxygen saturation and / or pulse rate data according to the photodiode received light intensity signal value.
[0020] The third aspect of the present invention proposes a controller, which includes a memory, a single-chip microcomputer, and a control program stored in the memory and executable on a control system. When the single-chip microcomputer executes the control program, the steps of the method described in the first aspect of the present invention are implemented.
[0021] The fourth aspect of the present invention provides a readable storage medium, on which a control program is stored. When the control program is executed by a single-chip microcomputer, the single-chip microcomputer executes the steps of the method described in the first aspect of the present invention.
[0022] The relevant contents of the present invention are explained as follows:
[0023] 1. Through the implementation of the above technical solution of the present invention, by deploying a finger thickness data model with an input end and an output end about the finger thickness data at the software level, when the photodiode received light intensity is adjusted to near the baseline value, the obtained red light DC component, infrared light DC component, and photodiode received light intensity data are matched with the finger thickness data model to obtain the predicted finger thickness data, and then the current is adjusted again to adapt to the finger thickness. In this process, after measuring the finger thickness of the subject, the finger thickness information can be fed back to the blood oxygen saturation calculation algorithm, so that the algorithm can accurately adjust the current of the blood oxygen meter LED lamp based on the finger thickness value, avoiding the large cost of model repair and change caused by adding switches to the structure, and overcoming the problems of large errors, inability to measure special populations, and low endurance in the existing threshold method, thereby improving the accuracy of blood oxygen saturation calculation and the range of measurable populations, and also reducing the power consumption of the device.
[0024] 2. In the first aspect of the above technical solution, in the step of deploying a finger thickness data model having an input end and an output end for finger thickness data, the following method is included:
[0025] Collect training sample data, where the training sample data includes a plurality of finger thickness data and red light DC component, infrared light DC component, and photodiode received light intensity data corresponding to the finger thickness data;
[0026] A finger thickness data model with an input end and an output end for finger thickness data is established by fitting training sample data or by neural network training, and a predicted value of finger thickness can be fitted according to the red light DC component, infrared light DC component, and photodiode received light intensity data;
[0027] The finger thickness data model is deployed to the controller of the blood oxygen detection device, and the controller runs the control program.
[0028] 3. In the first aspect of the above technical solution, the finger thickness data model is established by fitting the training sample data, and the training sample data is fitted to the predicted value of finger thickness using the least squares method, or the training sample data is fitted to the predicted value of finger thickness using the regression analysis method.
[0029] 4. In the first aspect of the above technical solution, the step of establishing the finger thickness data model by performing neural network training on the training sample data includes the following method:
[0030] Establish a BP neural network, the network structure of the BP neural network is a three-input single-output structure, the BP neural network comprises an input layer, a hidden layer and an output layer, the three neurons of the red light DC component, the infrared light DC component and the photodiode receiving light intensity are the input layer of the BP neural network, the hidden layer is two layers, and the two hidden layers are composed of multiple neurons; the output layer of the BP neural network is the finger thickness;
[0031] The collected training sample data is used as the training set and the test set to train the BP neural network on the computer;
[0032] The trained BP neural network has appropriate weights and biases. The trained BP neural network model is deployed to the control program of the blood oxygen detection device and is run by the controller.
[0033] 5. In the first aspect of the above technical solution, in the step of collecting training sample data, training sample data of multiple fingers with different thicknesses are included, and the same finger thickness is sampled multiple times.
[0034] 6. In the first aspect of the above technical solution, after the predicted finger thickness data and blood oxygen saturation and / or pulse rate data are obtained, the predicted finger thickness data and blood oxygen saturation and / or pulse rate data are displayed to the user.
[0035] 7. In the first aspect of the above technical solution, after the user inserts the finger, the blood oxygen device turns on the red light and the infrared light alternately, and the photodiode receives the light signal.
[0036] 8. In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0037] 9. In addition, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0038] Due to the application of the above scheme, the present invention has the following advantages and effects compared with the prior art:
[0039] 1. In the present invention, a finger thickness data model with an input end and an output end for finger thickness data is deployed at the software level. When the light intensity received by the photodiode is adjusted to near the baseline value, the obtained red light DC component, infrared light DC component, and photodiode received light intensity data are matched with the finger thickness data model to obtain predicted finger thickness data, and then the current is adjusted again to adapt to the finger thickness. In this process, after measuring the finger thickness of the subject, the finger thickness information can be fed back to the blood oxygen saturation calculation algorithm, so that the algorithm can accurately adjust the current of the blood oxygen meter LED lamp based on the finger thickness value, thereby improving the accuracy of blood oxygen saturation calculation and the range of measurable population, and also reducing the power consumption of the device.
[0040] 2. The present invention avoids the large cost of mold repair and change caused by adding switches to the structure, and also overcomes the problems of large errors, inability to measure special groups, and low endurance in the existing threshold method. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Attached Figure 1 This is a schematic diagram of the structure of a blood oxygen detection device according to a second embodiment of the present invention;
[0042] Attached Figure 2 This is a schematic diagram of the principle of the blood oxygen saturation measurement part of the second embodiment of the present invention;
[0043] Attached Figure 3 This is a BP neural network structure diagram in the first embodiment of the present invention;
[0044] Attached Figure 4 A schematic diagram of establishing, deploying and using a finger thickness data model in Embodiment 1 of the present invention;
[0045] Attached Figure 5 Schematic diagram of the use process of the blood oxygen detection device in the second embodiment of the present invention.
[0046] The following is attached Figure 1 The name of each component in the code:
[0047] 1 Finger Clip Base
[0048] 2 Display unit
[0049] 3 Photoelectric transmitting and receiving components
[0050] 4 Controllers. DETAILED DESCRIPTION
[0051] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0052] Embodiment 1
[0053] Embodiment 1 of the present invention provides a blood oxygen detection method for detecting blood oxygen in a finger of a human body. The method includes:
[0054] Deploy a finger thickness data model having an input end and an output end for finger thickness data, wherein the data at the input end includes a red light DC component, an infrared light DC component, and a light intensity received by a photodiode, and the data at the output end includes a finger thickness matching the data at the input end;
[0055] Preset the baseline value of the light intensity received by the photodiode;
[0056] Obtain the light intensity sampling data received by the photodiode after the user inserts the finger, and adjust the current according to the light intensity sampling data received by the photodiode;
[0057] Determine whether the sampling data of the light intensity received by the photodiode is near the baseline value of the light intensity received by the photodiode; if it is determined to be negative, readjust the current; if it is determined to be positive, obtain the red light DC component and the infrared light DC component;
[0058] Match the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model to obtain predicted finger thickness data;
[0059] The current is adjusted again according to the predicted finger thickness data so that the light intensity signal value received by the photodiode matches the finger thickness data;
[0060] Calculate blood oxygen saturation and / or pulse rate data based on the light intensity signal value received by the photodiode.
[0061] Through the implementation of the first embodiment of the present invention, a finger thickness data model with an input end and an output end for finger thickness data is deployed at the software level. When the light intensity received by the photodiode is adjusted to near the baseline value, the obtained red light DC component, infrared light DC component, and photodiode received light intensity data are matched with the finger thickness data model to obtain predicted finger thickness data, and then the current is adjusted again to adapt to the finger thickness. In this process, after measuring the finger thickness of the subject, the finger thickness information can be fed back to the blood oxygen saturation calculation algorithm, so that the algorithm can accurately adjust the current of the blood oxygen meter LED lamp based on the finger thickness value, thereby avoiding a large amount of costs such as model repair and change caused by adding switches to the structure, and overcoming the problems of large errors, inability to measure special populations, and low endurance in the existing threshold method, thereby improving the accuracy of blood oxygen saturation calculation and the range of measurable populations, and also reducing the power consumption of the device.
[0062] Specifically, in the step of deploying a finger thickness data model having an input end and an output end for finger thickness data in the first embodiment of the present invention, the following method is included:
[0063] Collect training sample data, where the training sample data includes a plurality of finger thickness data and red light DC component, infrared light DC component, and photodiode received light intensity data corresponding to the finger thickness data;
[0064] A finger thickness data model with an input end and an output end for finger thickness data is established by fitting training sample data or by neural network training, and a predicted value of finger thickness can be fitted according to the red light DC component, infrared light DC component, and photodiode received light intensity data;
[0065] The finger thickness data model is deployed to the controller of the blood oxygen detection device, and the controller runs the control program.
[0066] For the establishment of the finger thickness data model and the application of the finger thickness data model in the first embodiment of the present invention, a BP neural network fitting method can be specifically introduced, and the step of establishing the finger thickness data model by performing neural network training on the training sample data includes the following method:
[0067] Establish a BP neural network, the network structure of the BP neural network is a three-input single-output structure, the BP neural network comprises an input layer, a hidden layer and an output layer, the three neurons of the red light DC component, the infrared light DC component and the photodiode receiving light intensity are the input layer of the BP neural network, the hidden layer is two layers, and the two hidden layers are composed of multiple neurons; the output layer of the BP neural network is the finger thickness;
[0068] The collected training sample data is used as the training set and the test set to train the BP neural network on the computer;
[0069] The trained BP neural network has appropriate weights and biases. The trained BP neural network model is deployed to the control program of the blood oxygen detection device and is run by the controller.
[0070] Specifically, the network structure of the BP neural network is as follows: Figure 3 As shown, it is a three-input single-output structure. The three neurons of red light DC component (DC component generated by red light passing through the finger, unit is mv), infrared light DC component (DC component generated by infrared light passing through the finger, unit is mv) and photodiode receiving light intensity (unit is mA) are selected as the input layer of the BP neural network; the hidden layer of the BP neural network has two layers containing multiple neurons; the output layer of the BP neural network is the finger thickness. As a preferred technical solution of this innovation, Figure 4 As shown, the training steps of the BP neural network are as follows:
[0071] S100: Collect training set sample data. The red light DC component, infrared light DC component and photodiode receiving light intensity of fingers within the normal thickness range can be clinically collected through blood oxygen equipment, and the thickness of the finger is calibrated with a vernier caliper. For fingers with abnormal thickness, A4 paper can be wrapped around the finger to simulate the situation of a thicker finger.
[0072] S200: Establish a BP neural network, the network structure is as shown above. The sample data collected in S100 is used as a training set and a test set, and the BP neural network is trained on the computer.
[0073] S300: The trained BP neural network has appropriate weights and biases. The trained BP neural network model is deployed to the software of the blood oxygen meter and is run by the single-chip microcomputer.
[0074] Embodiment 2
[0075] Embodiment 2 of the present invention provides a blood oxygen detection device for performing the blood oxygen detection in the methods described in Embodiment 1, Embodiment 2, and Embodiment 3 of the present invention, as shown in the attached figure. Figure 1As shown, the blood oxygen detection device includes a finger-clip base 1, a display unit 2, a photoelectric transmitting and receiving component 3, and a controller 4; wherein,
[0076] The finger-clip base 1 is used to assemble the finger-clip base 1, the display unit 2, the photoelectric transmitting and receiving component 3, and the controller 4, and is used for inserting the user's finger;
[0077] The display unit 2 is used to display at least the predicted finger thickness data and the blood oxygen saturation and / or pulse rate data;
[0078] The photoelectric transmitting and receiving component 3 is used to transmit red light and infrared light, and receive the DC component of red light, the DC component of infrared light, and the photodiode receives light intensity signal data;
[0079] The controller 4 is deployed with a finger thickness data model and preset with a baseline value of the photodiode received light intensity. The controller 4 adjusts the current according to the size of the photodiode received light intensity sampling data, determines whether the photodiode received light intensity sampling data satisfies the baseline value of the photodiode received light intensity, matches the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model, obtains the predicted finger thickness data, matches the photodiode received light intensity signal value with the finger thickness data, and then calculates the blood oxygen saturation and / or pulse rate data according to the photodiode received light intensity signal value.
[0080] In the second embodiment of the present invention, the display unit 2 preferably uses an OLED screen, but is not limited thereto, and may also be an LCD screen, a liquid crystal screen, etc. The photoelectric transmitting and receiving component 3 includes a red light and infrared light transmitting tube, and a red light and infrared light receiving tube.
[0081] When measuring blood oxygen saturation, Figure 2 As shown, the subject inserts the finger into the finger-clip base 1, the single-chip microcomputer alternately lights up the red light and infrared light of the LED lamp (i.e., the red light and infrared light emitting tube in the figure), the photodiode (i.e., the red light and infrared light receiving tube in the figure) receives the light transmitted through the finger, filters and amplifies it, and then sends it to the single-chip microcomputer for processing through A / D conversion, and finally calculates the blood oxygen saturation and displays it on the OLED screen; in particular, after obtaining the predicted finger thickness data and blood oxygen saturation and / or pulse rate data, the predicted finger thickness data and blood oxygen saturation and / or pulse rate data are displayed to the user.
[0082] Embodiment 3
[0083] Embodiment 3 of the present invention proposes a controller, which includes a memory, a single-chip microcomputer, and a control program stored in the memory and executable on a control system. When the single-chip microcomputer executes the control program, the steps of the method described in embodiment 1 of the present invention are implemented.
[0084] Embodiment 4
[0085] Embodiment 4 of the present invention proposes a readable storage medium, on which a control program is stored. When the control program is executed by a single-chip microcomputer, the single-chip microcomputer executes the steps of the method described in the first aspect of the present invention.
[0086] Those skilled in the art can understand that the operation of the controller in the above-mentioned embodiment method can be completed by instructing the relevant hardware (photoelectric transmitting and receiving components, etc.) through a control program, and the program is stored in a readable storage medium, including a number of instructions for making a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) perform the operations performed by the main control unit in each embodiment of the present application. The aforementioned readable storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and other media that can store program codes.
[0087] Please refer to the attached Figure 5 , the use process of the blood oxygen detection device of one preferred solution of the present invention is described. The steps are as follows:
[0088] S100: Start preparing for testing;
[0089] S200: The user inserts a finger, the oximeter turns on the red light and infrared light alternately, and the photodiode receives the light signal;
[0090] S300: the program threshold system adjusts the current according to the signal size sampled by the photodiode, and the program defines an intermediate value as a baseline value, and the light signal of the finger transmitted by the photodiode received by the photodiode is near the baseline value;
[0091] S400: Determine whether the signal value sampled by the photodiode is near the defined baseline; if it is determined to be negative, return to the upper layer to continue adjustment; if it is determined to be positive, proceed to the next step;
[0092] S500: After the adjustment is completed, the program can obtain the DC components of the red light and the infrared light and the light intensity received by the photodiode according to the sampling signal value of the photodiode;
[0093] S600: providing a hand thickness prediction value according to the deployed BP neural network model;
[0094] S700: the program adjusts the current again according to the finger thickness value so that the signal value sampled by the photodiode is at the most appropriate position;
[0095] S800: The program calculates the pulse rate and blood oxygen according to the signal value sampled by the photodiode through the operational amplifier gain;
[0096] S900: The measurement ends after the blood oxygen, pulse rate, and finger thickness are displayed on the screen.
[0097] In the above steps, the subject first inserts the finger into the oximeter, and the oximeter program turns on the LED red light and infrared light alternately to illuminate the finger according to the initial current. The initial current is the middle current of the upper and lower limits of the current set by the program. When the program starts running, the LED red light and infrared light are lit according to this middle current. Then the photodiode will receive the light signal passing through the finger, and the threshold system of the program will adjust the LED current size according to the sampling value of the received light signal, so that the sampling value of the signal is near the defined baseline. The baseline value is an intermediate value defined by the program. The light signal transmitted through the finger received by the photodiode is near the baseline, which will facilitate the calculation of pulse rate and blood oxygen. Generally, the baseline value is defined as 2000. That is, if the sampling value of the signal received by the photodiode is greater than 3000, the program will reduce the current; if the sampling value of the signal received by the photodiode is less than 500, the program will increase the current.
[0098] After the adjustment is completed, the program can obtain the DC components of red light and infrared light and the light intensity received by the photodiode according to the sampled signal value of the photodiode. In this way, the thickness of the finger can be predicted by the deployed BP neural network. Because in the process of training sample collection, the most suitable LED current size for fingers of different thicknesses can also be determined. Therefore, the program adjusts the LED current again according to the predicted value of the finger thickness, so that the signal value sampled by the photodiode is in a more appropriate position. Specifically, when collecting thinner fingers, the initial current is irradiated at the beginning (the adjustment value of the initial current is set to 1200). Because the finger is thin, the light may penetrate the finger. The sampled value of the transmitted finger light signal received by the photodiode is greater than 3000. The threshold system of the program will lower the current so that it is near the baseline (for example, just above the baseline, the current value is 1000 at this time). The original program will calculate the blood oxygen and pulse rate directly after the adjustment, but the program that obtains the finger thickness will adjust the current again. Because the current below 1000 can also be near the baseline, but it is below the baseline. However, blood oxygen and pulse rate can also be calculated. Therefore, it can have a beneficial effect on power consumption for thinner fingers. As for thicker fingers, because the threshold system has an upper and lower current limit, for some thick fingers, even if the current is at the upper limit, the optical signal cannot be collected. For products, the upper limit of the current cannot be changed at will, so some products cannot measure thick fingers. However, if the program knows the thickness of the finger, it can directly adjust a large current that exceeds the upper limit for measurement without affecting the original upper and lower limits of the current and the threshold system, which has the effect of increasing the applicable population.
[0099] After the program adjusts the LED current again according to the thickness of the finger, it starts to calculate the pulse rate and blood oxygen, and then displays the values on the screen for the user to view.
[0100] In the above process steps, the program adjusts the current again according to the finger thickness value so that the signal value sampled by the photodiode is at the most appropriate position. This technology can further reduce the current size and power consumption for fingers with smaller thickness; for thicker fingers, thicker fingers can be measured without modifying the maximum current of the program, thereby achieving the purpose of the present invention, which can not only accurately adjust the appropriate current size according to different finger thicknesses to reduce device power consumption, but also accurately calculate blood oxygen saturation, thereby increasing the range of measurable people.
[0101] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. A blood oxygen detection method for detecting blood oxygen in a finger of a human body, characterized in that: The method includes: Deploy a finger thickness data model having an input end and an output end for finger thickness data, wherein the data at the input end includes a red light DC component, an infrared light DC component, and a light intensity received by a photodiode, and the data at the output end includes a finger thickness matching the data at the input end; Preset the baseline value of the light intensity received by the photodiode; Obtain the light intensity sampling data received by the photodiode after the user inserts the finger, and adjust the current according to the light intensity sampling data received by the photodiode; Determine whether the sampling data of the light intensity received by the photodiode is near the baseline value of the light intensity received by the photodiode; if it is determined to be negative, readjust the current; if it is determined to be positive, obtain the red light DC component and the infrared light DC component; Match the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model to obtain predicted finger thickness data; The current is adjusted again according to the predicted finger thickness data so that the light intensity signal value received by the photodiode matches the finger thickness data; Calculate blood oxygen saturation and / or pulse rate data based on the light intensity signal value received by the photodiode.
2. The blood oxygen detection method according to claim 1, characterized in that: In the step of deploying a finger thickness data model having an input terminal and an output terminal for finger thickness data, the following method is included: Collect training sample data, where the training sample data includes a plurality of finger thickness data and red light DC component, infrared light DC component, and photodiode received light intensity data corresponding to the finger thickness data; A finger thickness data model with an input end and an output end for finger thickness data is established by fitting training sample data or by neural network training, and a predicted value of finger thickness can be fitted according to the red light DC component, infrared light DC component, and photodiode received light intensity data; The finger thickness data model is deployed to the controller of the blood oxygen detection device, and the controller runs the control program.
3. The blood oxygen detection method according to claim 2, characterized in that: In establishing a finger thickness data model by fitting the training sample data, the training sample data is fitted with the predicted value of the finger thickness using the least squares method, or the training sample data is fitted with the predicted value of the finger thickness using the regression analysis method.
4. The blood oxygen detection method according to claim 2, characterized in that: The step of establishing a finger thickness data model by performing neural network training on training sample data includes the following methods: Establish a BP neural network, the network structure of the BP neural network is a three-input single-output structure, the BP neural network comprises an input layer, a hidden layer and an output layer, the three neurons of the red light DC component, the infrared light DC component and the photodiode receiving light intensity are the input layer of the BP neural network, the hidden layer is two layers, and the two hidden layers are composed of multiple neurons; the output layer of the BP neural network is the finger thickness; The collected training sample data is used as the training set and the test set to train the BP neural network on the computer; The trained BP neural network has appropriate weights and biases. The trained BP neural network model is deployed to the control program of the blood oxygen detection device and is run by the controller.
5. The blood oxygen detection method according to any one of claims 2 to 4, characterized in that: In the step of collecting training sample data, training sample data of multiple fingers with different thicknesses are included, and the same finger thickness is sampled multiple times.
6. The blood oxygen detection method according to claim 1, characterized in that: After the predicted finger thickness data and the blood oxygen saturation and / or pulse rate data are obtained, the predicted finger thickness data and the blood oxygen saturation and / or pulse rate data are displayed to the user.
7. The blood oxygen detection method according to claim 1, characterized in that: After the user inserts the finger, the blood oxygen device turns on the red light and infrared light alternately, and the photodiode receives the light signal.
8. A blood oxygen detection device, used to perform the blood oxygen detection in the method according to any one of claims 1 to 7, characterized in that: The blood oxygen detection device includes a finger-clip base, a display unit, a photoelectric transmitting and receiving component, and a controller; wherein, The finger-clip base is used to assemble the finger-clip base, the display unit, the photoelectric transmitting and receiving component, and the controller, and is used for inserting the user's finger; The display unit is used to display at least the predicted finger thickness data and the blood oxygen saturation and / or pulse rate data; The photoelectric transmitting and receiving component is used to transmit red light and infrared light, and receive the DC component of red light and the DC component of infrared light, and the photodiode receives light intensity signal data; A finger thickness data model is deployed in the controller, and a baseline value of the light intensity received by the photodiode is preset. The controller adjusts the current according to the size of the photodiode received light intensity sampling data, determines whether the photodiode received light intensity sampling data satisfies the baseline value of the photodiode received light intensity, matches the obtained red light DC component, infrared light DC component, and photodiode received light intensity data with the finger thickness data model, obtains the predicted finger thickness data, matches the photodiode received light intensity signal value with the finger thickness data, and then calculates the blood oxygen saturation and / or pulse rate data according to the photodiode received light intensity signal value.
9. A controller, characterized in that: The controller includes a memory, a single-chip microcomputer, and a control program stored in the memory and executable in the control system. When the single-chip microcomputer executes the control program, the steps of the method described in any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a control program, and when the control program is executed by the single-chip microcomputer, the single-chip microcomputer executes the steps of the method according to any one of claims 1 to 8.
