A method and system for correcting blood potassium detection data
By constructing and fitting triplets of wavelength, reflectivity and concentration in blood potassium detection, and correcting the reliability of calculating the blood potassium concentration based on the reflectivity distance, the problem of poor accuracy of blood potassium detection data of dry biochemical analyzers is solved, and the measurement accuracy and credibility are improved.
Patent Information
- Application Number
- CN202411814219.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2044-12-11
AI Technical Summary
The dry biochemical analyzer has poor data accuracy in blood potassium detection, and there is error in the standard curve, resulting in error in reflectivity correction.
By measuring reflectivity at different wavelengths using multiple strips of known concentrations, triplets of wavelength, reflectivity and concentration are constructed, and reflectivity and concentration in triplets of the same wavelength are curved. For the strip to be tested, find two triplets with the same wavelength and closest reflectivity as the reflectivity distance, calculate the reflectivity distance to determine the confidence of the blood potassium concentration, and correct it by the confidence.
It reduces the error in establishing the standard curve, improves the accuracy and credibility of blood potassium concentration measurement, and effectively reduces the error in measuring blood potassium by dry analyzers.
Smart Images

Figure CN119290817B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular, to a method and system for correcting blood potassium detection data. Background Art
[0002] The detection of blood potassium level plays a great role in the diagnosis and treatment of cardiovascular, renal, and endocrine system diseases. The fluctuation of blood potassium concentration directly affects the health status of patients. The normal range of blood potassium is usually 3.5 - 5.0 mmol / L, and both too high or too low blood potassium values may pose serious health risks. Hyperkalemia increases the risk of arrhythmia and even cardiac arrest, while hypokalemia causes a series of problems such as muscle weakness and dyspnea. Blood potassium detection can not only help doctors formulate reasonable treatment plans but also provide necessary condition monitoring for patients in intensive care. Clinically, blood gas analyzers and dry chemical analyzers are mainly relied on to measure blood potassium levels. Blood gas analyzers use the ion-selective electrode method, which can directly measure the potential change of potassium ions to obtain high-precision blood potassium concentration data. However, blood gas analyzers are expensive, require high maintenance, are complex to operate, and need professional personnel for calibration and operation. Dry chemical analyzers mainly use reflectance photometry or colorimetry to estimate potassium ion concentration by using the color reaction between the sample and specific reagents. They have high portability and simplicity of operation, and even non-professional personnel in primary hospitals can operate them, making them suitable for use in environments with relatively simple conditions or for rapid screening.
[0003] Although dry chemical analyzers have good portability, simple operation, and do not require the use of liquid reagents, their detection accuracy is usually lower than that of blood gas analyzers, and the accuracy of their data is poor. Moreover, it determines the blood potassium content from the standard curve using the reflectance of the test strip to be tested. However, the standard curve itself is established based on test strips with known blood potassium content, and there are errors in the standard curve itself. No matter how the reflectance is denoised and corrected, there will be errors. Summary of the Invention
[0004] Aiming at the problem of poor accuracy of blood potassium content data analyzed by dry chemical analyzers, in the first aspect of the present invention, a method for correcting blood potassium detection data is provided. The method includes:
[0005] Using test strips with multiple known concentrations to measure the reflectance at different wavelengths, constructing a triple composed of wavelength, reflectance, and concentration; performing curve fitting on the reflectance and concentration in the triple with the same wavelength;
[0006] Irradiating the test strip to be tested with light of different wavelengths to obtain the reflectance corresponding to each wavelength, and determining the blood potassium concentration corresponding to the reflectance of each wavelength of the test strip to be tested from the fitted curve;
[0007] For each wavelength, find two triples with the same wavelength as the test strip and the closest reflectance, calculate the distance between the reflectance of the test strip and the reflectances of the two triples with the closest reflectance, determine the reliability of the potassium concentration of the test strip based on the distance, and calculate the corrected potassium concentration using the reliability of the potassium concentration.
[0008] Preferably, curve fitting is performed on the reflectance and concentration in the triples of the same wavelength, specifically:
[0009] For the set of triples of the same wavelength, with the reflectance in the set as the independent variable and the concentration in the set as the dependent variable, perform curve fitting on each set of triples to obtain the curve corresponding to the wavelength;
[0010] Use the reflectance of the triples in the set of triples to divide the curve into multiple regions and number the regions;
[0011] Extract the regions with the same number for all wavelengths to obtain a set of regions with the same number, evenly divide each region in the set of regions into the same number of sub-regions according to the reflectance, and calculate the average value of the concentration values at the end reflectance of the sub-regions with the same number on the curve;
[0012] Insert the average value of the concentration value corresponding to the end reflectance of the sub-region at the end reflectance of each sub-region in the set of regions;
[0013] Perform curve fitting on the reflectance and concentration of each wavelength according to the inserted values in the region and the triples.
[0014] Preferably, the step of evenly dividing each region in the set of regions into the same number of sub-regions according to the reflectance is specifically:
[0015] Obtain the ratio of the widths of each region in the set of regions, and determine the moving step size of each region according to the ratio;
[0016] Start from the starting point of each region and move the moving step size each time to obtain the values on the curve. When moving the same number of steps, calculate the coefficient of variation of the values on the curve in different regions in the set of regions;
[0017] Determine the number of sub-intervals to be divided based on the average value of the coefficient of variation;
[0018] Divide each region in the set of regions into the number of sub-intervals.
[0019] Preferably, the step of determining the reliability of the potassium concentration of the test strip based on the distance is specifically:
[0020] Calculate the distance between the reflectivity of the test strip and the reflectivities in the closest triple as the closest distance, and calculate the distance between the reflectivity of the test strip and the reflectivities in the second-closest triple as the second-closest distance;
[0021] Calculate the sum of the closest distance and the second-closest distance, and use the ratio of the second-closest distance to the sum as the credibility of the blood potassium concentration.
[0022] Preferably, the corrected blood potassium concentration is calculated using the credibility of the blood potassium concentration, specifically as follows:
[0023] Perform a weighted sum of the blood potassium concentration using the credibility, and use the ratio of the weighted sum result to the sum of the credibility as the corrected blood potassium concentration.
[0024] In the second aspect of the present invention, a blood potassium detection data correction system is provided, and the system includes:
[0025] A standard curve construction module, which is used to measure the reflectivities at different wavelengths using test strips with multiple known concentrations, construct triples composed of wavelength, reflectivity, and concentration; perform curve fitting on the reflectivities and concentrations in the triples with the same wavelength;
[0026] A blood potassium concentration acquisition module, which is used to irradiate the test strip with light of different wavelengths to obtain the reflectivity corresponding to each wavelength, and determine the blood potassium concentration corresponding to the reflectivity of each wavelength of the test strip from the fitted curve;
[0027] A data correction module, which is used to, for each wavelength, find two triples with the same wavelength as the test strip and the closest reflectivities, calculate the distance between the reflectivity of the test strip and the reflectivities in the two triples with the closest reflectivities, determine the credibility of the blood potassium concentration of the test strip based on the distance, and calculate the corrected blood potassium concentration using the credibility of the blood potassium concentration.
[0028] Preferably, the curve fitting of the reflectivities and concentrations in the triples with the same wavelength is specifically as follows:
[0029] For the triple set composed of triples with the same wavelength, with the reflectivity in the set as the independent variable and the concentration in the set as the dependent variable, perform curve fitting on each triple set to obtain the curve corresponding to the wavelength;
[0030] Use the reflectivities of the triples in the triple set to divide the curve into multiple regions and number the regions;
[0031] Extract the regions with the same number for all wavelengths to obtain a region set with the same number, evenly divide each region in the region set into the same number of sub-regions according to the reflectivity, and calculate the average value of the concentration values of the end reflectivities of the sub-regions with the same number on the curve;
[0032] Insert the average value of the concentration value corresponding to the sub-region end reflectance at the sub-region end reflectance of each region in the region set;
[0033] Perform curve fitting on the reflectance and concentration of each wavelength according to the inserted values and triples in the region.
[0034] Preferably, each region in the region set is evenly divided into the same number of sub-regions according to the reflectance, specifically:
[0035] Obtain the ratio of the widths of each region in the region set, and determine the moving step size of each region according to the ratio;
[0036] Starting from the starting point of each region, obtain the values on the curve by moving the moving step size each time. When moving the same number of steps, calculate the coefficient of variation of the values on the curves of different regions in the region set;
[0037] Determine the number of sub-intervals to be divided based on the average value of the coefficient of variation;
[0038] Divide each region in the region set into the number of sub-intervals of the sub-intervals.
[0039] Preferably, the credibility of the blood potassium concentration of the test strip to be tested is determined based on the distance, specifically:
[0040] Calculate the distance between the reflectance of the test strip to be tested and the reflectance in the closest triple as the closest distance, and calculate the distance between the reflectance of the test strip to be tested and the reflectance in the second-closest triple as the second-closest distance;
[0041] Calculate the sum of the closest distance and the second-closest distance, and use the ratio of the second-closest distance to the sum as the credibility of the blood potassium concentration.
[0042] Preferably, the corrected blood potassium concentration is calculated using the credibility of the blood potassium concentration, specifically:
[0043] Perform weighted summation on the blood potassium concentration using the credibility, and use the ratio of the weighted summation result to the sum of the credibility as the corrected blood potassium concentration.
[0044] The present invention improves the standard curve for measuring blood potassium by reflectance photometry. When establishing the standard curve, the curves at different wavelengths are refitted according to the curves at each wavelength, reducing the error introduced in the establishment of the standard curve. In addition, when calculating the blood potassium concentration, the reliability of the blood potassium concentration is determined according to the distance from the reflectance of the test strip with a known concentration. Then, the corrected blood potassium concentration is calculated based on the blood potassium concentration and reliability corresponding to different wavelengths. The present invention not only reduces the error of the standard curve, but also recalculates the blood potassium concentration according to the reliability of the blood potassium concentration measured at multiple wavelengths to obtain the corrected blood potassium concentration, effectively reducing the error of measuring blood potassium by a dry analyzer, that is, reflectance photometry. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flowchart of the first embodiment;
[0046] Figure 2 is a schematic diagram of curve fitting;
[0047] Figure 3 is a flowchart of another curve fitting;
[0048] Figure 4 is a schematic diagram of dividing the standard curve of one wavelength into regions;
[0049] Figure 5 is a schematic diagram of sub-regions of regions with the same number at different wavelengths;
[0050] Figure 6 is a schematic diagram of calculating the new concentration value. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0051] In the following description, exemplary embodiments will be described by way of example with reference to the accompanying drawings. However, additional embodiments created by making any modifications or improvements to the exemplary embodiments described below within the scope of the general knowledge of those skilled in the art without departing from the spirit of the present disclosure are applicable.
[0052] Figure 1 shows a flowchart of the first embodiment of the present invention, as Figure 1 shown, the method includes:
[0053] S1, measuring the reflectance at different wavelengths using multiple test strips with known concentrations, constructing a triple composed of wavelength, reflectance, and concentration; performing curve fitting on the reflectance and concentration in the triple with the same wavelength;
[0054] In the determination of blood potassium content by a dry biochemical analyzer, a test strip is used for measurement. Specifically, the test strip can react with blood potassium in a blood sample. The color change of the test strip is related to the concentration of blood potassium. If the blood potassium concentration is high, the color of the test strip is darker; if the blood potassium concentration is low, the color of the test strip is lighter. Usually, light of different wavelengths is used to irradiate the test strip, and then the intensity of the reflected light is measured to infer the concentration of blood potassium.
[0055] In the present invention, a group of standard test strips with known blood potassium concentrations is prepared in advance. The blood potassium concentration of each test strip is known, such as 3 mmol / L, 4 mmol / L, 5 mmol / L, etc. For each test strip, light of different wavelengths is used to irradiate it, and its reflectance is measured. Suppose these test strips are irradiated with light of different wavelengths such as 450 nm, 550 nm, and 650 nm, and their reflectances are recorded. For example, at 450 nm, the reflectance of test strip A is 40%, the reflectance of test strip B is 35%, and the reflectance of test strip C is 30%. Then, a triple is obtained based on the wavelength, concentration, and reflectance. An exemplary triple is <450, 3, 0.4>, where 450 represents the wavelength, 3 represents the blood potassium concentration, and 0.4 represents the reflectance, that is, the reflectance obtained by irradiating a test strip with a standard blood potassium concentration of 3 mmol / L with a wavelength of 450 nm is 0.4. Next, curve fitting is performed on the triples at the same wavelength, so that each wavelength corresponds to a standard curve. Figure 2 As shown in the schematic diagram of the curve corresponding to a wavelength. When measuring the blood potassium concentration of a test strip to be tested, the reflectance is obtained by irradiating the test strip to be tested with the same wavelength, and the blood potassium concentration can be obtained from the standard curve corresponding to the wavelength.
[0056] The standard curve is established based on known standard sample data. However, it is precisely because the standard curve is established based on the standard sample data of known blood potassium concentrations that there are errors in the standard curve itself. On the one hand, the standard samples of known blood potassium concentrations cannot completely cover all the reflectances of the standard curve, which involves the error of constructing the standard curve based on the reflectances of a limited number of known standard samples. For example, the standard blood potassium concentrations are 3 mmol / L and 4 mmol / L, and there is no data between 3 mmol / L and 4 mmol / L. If the blood potassium concentration to be measured is 3.2 mmol / L, the actual concentration needs to be inferred from the data of the known blood potassium samples. On the other hand, the relationship between the reflectance and the blood potassium concentration is not completely linear. Constructing the standard curve based on known standard samples involves curve fitting, and curve fitting involves errors. In an optional embodiment, as Figure 3 shown, the curve fitting of the reflectance and concentration in the triples of the same wavelength is specifically as follows:
[0057] S101. For a set of triples composed of triples of the same wavelength, with the reflectance in the set as the independent variable and the concentration in the set as the dependent variable, perform curve fitting on each set of triples to obtain the curve corresponding to the wavelength.
[0058] A triple is data composed of reflectance, concentration, and wavelength. A set of triples includes multiple triples, and the wavelengths of the triples in the same set of triples are the same. For example, for light with a wavelength of 450 nm, if there are several standard test strips with known concentrations, and their measured reflectances are 60%, 55%, and 30% respectively, and the corresponding blood potassium concentrations are 3 mmol / L, 4 mmol / L, and 5 mmol / L. For these triples of the same wavelength, we use the reflectance as the independent variable and the concentration as the dependent variable for curve fitting.
[0059] S102. Use the reflectance of the triples in the set of triples to divide the curve into multiple regions and number the regions.
[0060] After curve fitting, the curve is divided into multiple regions. Specifically, the regions are divided according to the reflectance data in the set of triples. For the sake of easy expression, assume that the reflectances in the triples are 30%, 34%, and 41%. According to these reflectances, the fitted curve is divided into different regions, and each region corresponds to a reflectance interval. The first interval is 30% - 34%, and the second interval is 34% - 41%. Number each divided region in the order of increasing reflectance. For example, the first interval is numbered 1, the second interval is numbered 2, and so on. That is, the curve is divided into regions according to the reflectance in the triples. Figure 4 The figure shows a schematic diagram of the first region obtained after dividing the curve of one wavelength.
[0061] Since the same standard test strip is irradiated with multiple wavelengths, the concentrations corresponding to the starting reflectances of the intervals with the same interval numbers in the curves of different wavelengths are the same, and the concentrations corresponding to the ending reflectances of the intervals are also the same.
[0062] S103. Extract the regions with the same number for all wavelengths to obtain a set of regions with the same number. Divide each region in the set of regions into the same number of sub-regions according to the average of the reflectance, and calculate the average value of the concentration values of the ending reflectances of the sub-regions with the same number on the curve.
[0063] Extract the regions with the same number to form a region set, where the regions in each region set have the same number. The reflectance range in each region can be further subdivided into sub-regions by evenly dividing the region into several sub-regions. For example, the reflectance range of a region in the first region set is 30% - 34%. If it is divided into 4 sub-regions, they are 30% - 31%, 31% - 32%, 32% - 33%, and 33% - 34% respectively. The reflectance range of another region in the first region set is 31% - 36%. Similarly, when evenly divided into 4 sub-intervals, they are 31% - 32.25%, 32.25% - 33.5%, 33.5% - 34.75%, and 34.75% - 36% respectively. Each sub-region has an end reflectance, that is, the right endpoint reflectance of the sub-region. Substitute the end reflectance of each sub-region into the previously fitted standard curve to calculate the concentration value corresponding to this reflectance, and further calculate the average value of the concentration values corresponding to the end reflectances of the sub-regions with the same number in a region. Take this average value as the new concentration value of the end reflectance of the sub-regions with the same number in the same region. Figure 5 The schematic diagram shows the sub-regions of the regions with the same number at two different wavelengths. From Figure 5 it can be seen that for the regions with the same number, although the reflectances are different, the concentrations are the same. This is because the concentrations of the standard test strips are the same. For the same standard test strip, the reflectances of light with different wavelengths are different.
[0064] S104, insert the average value of the concentration values corresponding to the end reflectance of the sub-regions at the end reflectance of the sub-regions in each region of the region set;
[0065] Insert the end reflectance of the sub-region and the new concentration value of the end reflectance into the region where the sub-region is located. In the above way, new values will be inserted into all regions corresponding to each wavelength. Figure 6 The schematic diagram shows the average value of the calculated new concentration values. Take this average value as the new concentration value of the end of the sub-region. For example, Figure 6 the new concentration value at the end of the first sub-region of the left curve is the calculated average value. Figure 6 The new concentration value at the end of the first sub-region of the right curve in the middle is also the calculated average value.
[0066] S105, perform curve fitting on the reflectance and concentration of each wavelength according to the values inserted in the region and the triples.
[0067] After inserting the new concentration values, use these inserted concentration values together with the original triple data for re-fitting the curve.
[0068] During the measurement process, light sources with different wavelengths are used to irradiate the test strip to be measured. When light waves of different wavelengths pass through or are reflected onto the surface of the strip, the reflectivity of the test strip will change. The reflectivity data of the test strip to be measured are substituted into the standard curve fitted in S1, and the corresponding blood potassium concentration at each wavelength is calculated through the mathematical relationship of the standard curve.
[0069] It should be noted that there will be a standard curve for each wavelength. The standard curve is first established based on test strips with known blood potassium concentrations; each test strip with a known concentration has a known concentration. When there are many test strips with known concentrations, when these test strips with known concentrations are irradiated with the same wavelength, each test strip with a known concentration has a reflectivity. For the same wavelength, there will be many reflectivity-blood potassium concentration data, and curve fitting is performed on these data to obtain the standard curve of this wavelength.
[0070] After establishing a standard curve for each wavelength, the standard curve of each wavelength is divided into multiple segments or regions. The division boundary is the reflectivity in the above-mentioned reflectivity-blood potassium concentration. Since the number of test strips with known concentrations is the same for each wavelength, the number of regions divided by the standard curve of each wavelength is the same, but the widths of the regions with the same number may be different because the reflectivities of the same test strip with a known concentration for different wavelengths are different.
[0071] In different region sets, the similarities of the regions in the region set are different. If each region in a region set varies greatly, finer sub-region division is required. On the contrary, if each region in a region set varies little, the number of sub-regions divided can be reduced, which can reduce the calculation amount. In an optional embodiment, the specific method for evenly dividing each region in the region set into the same number of sub-regions according to the reflectivity is as follows:
[0072] Obtain the ratio of the widths of each region in the region set, and determine the moving step size of each region according to the ratio;
[0073] Starting from the starting point of each region, obtain the values on the curve by moving the moving step size each time. When moving the same number of steps, calculate the coefficient of variation of the values on the curves of different regions in the region set;
[0074] Determine the number of sub-intervals to be divided based on the average value of the coefficient of variation;
[0075] Divide each region in the region set into the number of sub-intervals obtained.
[0076] For the regions in a set of regions, calculate the width of each region in the set of regions, that is, the reflectivity range, and then calculate the ratio of these widths. For example, if the reflectivity range of a region is from 30% to 40%, its width is 0.1. If the reflectivity range of another region is from 40% to 52%, its width is 0.12. Based on the ratio of the widths of each region, determine the moving step, where the moving step is the step size for each movement. For example, the moving step for a width of 0.1 is 0.1, and the moving step for a width of 0.12 is 0.12.
[0077] Starting from the starting reflectivity of each region, move forward according to the calculated moving step to obtain the corresponding reflectivity values. For each reflectivity value, calculate the corresponding concentration value through a known fitting curve. When each region in the set of regions moves one step according to the moving step of the region, obtain the value on the curve corresponding to the wavelength, that is, the concentration value, and then calculate the coefficient of variation of the concentration values corresponding to each region in the set of regions after moving this step. The specific calculation method of the coefficient of variation is the ratio of the standard deviation to the average value. After moving to the last step and calculating the coefficient of variation of the last step, calculate the average value of all the coefficients of variation in the set of regions. If the average value of the coefficients of variation is large, it indicates that the difference between the curves in the set of regions is relatively large, and then increase the number of subintervals divided; otherwise, reduce the number of subintervals divided. More specifically, if the average value of the coefficients of variation of a certain set of regions is large, divide it into 8 subintervals; if the coefficient of variation is small, divide it into 4 subintervals; if the coefficient of variation is at an intermediate level, divide it into 6 subintervals.
[0078] S2, irradiate the test strip with light of different wavelengths to obtain the reflectivity corresponding to each wavelength, and determine the blood potassium concentration corresponding to the reflectivity of each wavelength of the test strip from the fitted curve;
[0079] S3, for each wavelength, find the two triples with the same wavelength as the test strip and the closest reflectivity, calculate the distance between the reflectivity of the test strip and the reflectivities in the two triples with the closest reflectivity, determine the credibility of the blood potassium concentration of the test strip based on the distance, and calculate the corrected blood potassium concentration using the credibility of the blood potassium concentration.
[0080] The reflectance at each wavelength is obtained in S2. Find two triples with the same wavelength as the test strip and the closest reflectance, that is, find two triples with the same wavelength as the irradiated test strip and the closest reflectance to the reflectance obtained by irradiating the test strip. For example, if the reflectance of the test strip at a wavelength of 450 nm is 40%, then the two triples with a wavelength of 450 nm and the closest reflectance to 40% are (450 nm, 38%, 3 mmol / L) and (450 nm, 44%, 2.6 mmol / L). The distances between the reflectance of the test strip and the reflectances in the two closest triples are 0.02 and 0.04. Since the triples are obtained from test strips with known concentrations rather than by fitting, the reliability of the points closer to the triple curve is greater and the fitting error is smaller. In an alternative embodiment, the credibility of the blood potassium concentration of the test strip is determined based on the distance, specifically:
[0081] Calculate the distance between the reflectance of the test strip and the reflectance in the closest triple as the closest distance, and calculate the distance between the reflectance of the test strip and the reflectance in the second-closest triple as the second-closest distance;
[0082] Calculate the sum of the closest distance and the second-closest distance, and use the ratio of the second-closest distance to the sum as the credibility of the blood potassium concentration.
[0083] Still taking the above data as an example, the closest distance is 0.02, the second-closest distance is 0.04, and the credibility is 0.67.
[0084] After obtaining the credibility and the blood potassium concentration, use the credibility to recalculate the blood potassium concentration to obtain the corrected blood potassium concentration. In one embodiment, the blood potassium concentration is weighted and summed using the credibility, and the ratio of the weighted sum result to the sum of the credibility is used as the corrected blood potassium concentration.
[0085] For example, when the test strip is irradiated with a wavelength of 450 nm, the obtained blood potassium concentration is 3 mmol / L and the credibility is 0.67. When the test strip is irradiated with a wavelength of 550 nm, the obtained blood potassium concentration is 3.2 mmol / L and the credibility is 0.61. Then the corrected blood potassium concentration is 3.093 mmol / L.
[0086] In the second aspect of the present invention, a system for correcting blood potassium detection data is provided. The system includes:
[0087] A standard curve construction module for measuring the reflectance at different wavelengths using multiple test strips with known concentrations, constructing triples composed of wavelength, reflectance, and concentration; performing curve fitting on the reflectance and concentration in the triples with the same wavelength;
[0088] The blood potassium concentration acquisition module is used to irradiate the test strip with light of different wavelengths to obtain the reflectivity corresponding to each wavelength, and determine the blood potassium concentration corresponding to the reflectivity of each wavelength of the test strip from the fitted curve;
[0089] The data correction module is used to, for each wavelength, find two triples with the same wavelength as the test strip and the closest reflectivity, calculate the distance between the reflectivity of the test strip and the reflectivities in the two triples with the closest reflectivity, determine the credibility of the blood potassium concentration of the test strip based on the distance, and calculate the corrected blood potassium concentration using the credibility of the blood potassium concentration.
[0090] Preferably, the curve fitting of the reflectivity and concentration in the triples with the same wavelength is specifically as follows:
[0091] For the triple set composed of triples with the same wavelength, with the reflectivity in the set as the independent variable and the concentration in the set as the dependent variable, perform curve fitting on each triple set to obtain the curve corresponding to the wavelength;
[0092] Use the reflectivity of the triples in the triple set to divide the curve into multiple regions and number the regions;
[0093] Extract the region sets with the same number for all wavelengths, evenly divide each region in the region set into the same number of sub-regions according to the reflectivity, and calculate the average value of the concentration values at the end reflectivity of the sub-regions with the same number on the curve;
[0094] Insert the average value of the concentration value corresponding to the end reflectivity of the sub-region at the end reflectivity of each sub-region in the region set;
[0095] Perform curve fitting on the reflectivity and concentration of each wavelength according to the inserted values and triples in the region.
[0096] Preferably, the step of evenly dividing each region in the region set into the same number of sub-regions according to the reflectivity is specifically as follows:
[0097] Obtain the ratio of the widths of each region in the region set, and determine the moving step size of each region according to the ratio;
[0098] Start from the starting point of each region and move the moving step size each time to obtain the values on the curve. When moving the same number of steps, calculate the coefficient of variation of the values on the curves of different regions in the region set;
[0099] Determine the number of sub-intervals to be divided based on the average value of the coefficient of variation;
[0100] Divide each region in the region set into the number of sub-intervals.
[0101] Preferably, determining the reliability of the blood potassium concentration of the test strip based on the distance is specifically as follows:
[0102] Calculate the distance between the reflectivity of the test strip to be tested and the reflectivity in the closest triple as the closest distance, and calculate the distance between the reflectivity of the test strip to be tested and the reflectivity in the second-closest triple as the second-closest distance;
[0103] Calculate the sum of the closest distance and the second-closest distance, and use the ratio of the second-closest distance to the sum as the reliability of the blood potassium concentration.
[0104] Preferably, calculating the corrected blood potassium concentration using the reliability of the blood potassium concentration is specifically as follows:
[0105] Perform a weighted sum of the blood potassium concentration using the reliability, and use the ratio of the weighted sum result to the sum of the reliability as the corrected blood potassium concentration.
[0106] Embodiments of the present invention can also be implemented by the following method, that is, providing software (program) that executes the functions of the above embodiments to a system or device through a network or various storage media, and a method in which a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.
[0107] Although the present invention has been described with reference to exemplary embodiments, it should be understood that the present invention is not limited to the disclosed exemplary embodiments. The scope of the appended claims should be given the broadest interpretation so as to cover all such variations and equivalent structures and functions.
[0108] Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted to include the preferred embodiments and all changes and modifications falling within the scope of the present application. Obviously, those skilled in the art can make various changes and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also intends to include these modifications and variations.
Claims
1. A method for correcting blood potassium detection data, characterized in that: The method comprises: Using multiple test strips with known concentrations to measure the reflectance at different wavelengths, constructing a triplet of wavelength, reflectance and concentration; performing curve fitting on the reflectance and concentration in the triplet of the same wavelength; Using light of different wavelengths to illuminate the test paper strip to obtain the reflectance corresponding to each wavelength, and determining the blood potassium concentration corresponding to the reflectance of each wavelength of the test paper strip from the fitting curve; For each wavelength, find two triplets with the same wavelength as the paper strip to be tested and the closest reflectance, calculate the distance between the reflectance of the paper strip to be tested and the reflectance in each of the two triplets, determine the credibility of the blood potassium concentration of the paper strip to be tested based on the distance, and calculate the corrected blood potassium concentration using the credibility of the blood potassium concentration; The curve fitting of the reflectivity and concentration in the triplet of the same wavelength is specifically as follows: For a set of triples consisting of triplets with the same wavelength, the reflectivity in the set is taken as the independent variable, the concentration in the set is taken as the dependent variable, and a curve corresponding to the wavelength is obtained by curve fitting for each set of triples; Using reflectances of triplets in the triplet set to divide the curve into a plurality of regions, and numbering the regions; Extracting all regions with the same number at all wavelengths to obtain a region set with the same number, dividing each region in the region set into the same number of sub-regions according to the reflectivity, and calculating the average concentration value of the endpoint reflectivity of the sub-regions with the same number on the curve; Inserting the average value of the concentration values corresponding to the sub-region endpoint reflectance at the sub-region endpoint reflectance of each region in the region set; Curve fitting of reflectance and concentration at each wavelength was performed based on the interpolated values and triplets in the region; The reliability of determining the blood potassium concentration of the test paper strip based on the distance is specifically as follows: Calculate the distance between the reflectivity of the paper strip to be tested and the reflectivity in the closest triplet and use it as the closest distance, and calculate the distance between the reflectivity of the paper strip to be tested and the reflectivity in the second closest triplet and use it as the second closest distance; The sum of the closest distance and the second closest distance is calculated, and the ratio of the second closest distance to the sum is used as the reliability of the blood potassium concentration.
2. The method according to claim 1, characterized in that The step of dividing each region in the region set into the same number of sub-regions according to the reflectivity is as follows: Obtaining a ratio of the width of each region in the region set, and determining a moving step length of each region according to the ratio; Starting from the starting point of each area, each time the moving step is moved to obtain a value on the curve, and calculating the coefficient of variation of the values on the curves of different areas in the area set when the same number of steps are moved; Determining the number of sub-intervals based on the average value of the coefficient of variation; Divide each region in the region set into a corresponding number of subintervals.
3. The method according to claim 1, characterized in that The corrected blood potassium concentration is obtained by using the credibility calculation of the blood potassium concentration, specifically: The blood potassium concentration is weighted and summed using the credibility, and the ratio of the weighted summation result and the sum of the credibility is used as the corrected blood potassium concentration.
4. A blood potassium detection data correction system, characterized in that: The system comprises: A standard curve construction module is used to measure the reflectance of different wavelengths using multiple test strips of known concentrations to construct a triple consisting of wavelength, reflectance and concentration; and to perform curve fitting on the reflectance and concentration in the triple of the same wavelength; The blood potassium concentration acquisition module is used to irradiate the test paper strip with light of different wavelengths to obtain the reflectivity corresponding to each wavelength, and determine the blood potassium concentration corresponding to the reflectivity of each wavelength of the test paper strip from the fitting curve; A data correction module, for finding, for each wavelength, two triplets with the same wavelength as the paper strip to be tested and with the closest reflectance, calculating the distance between the reflectance of the paper strip to be tested and the reflectance in each of the two triplets, determining the credibility of the blood potassium concentration of the paper strip to be tested based on the distance, and obtaining the corrected blood potassium concentration using the credibility of the blood potassium concentration; The curve fitting of the reflectivity and concentration in the triplet of the same wavelength is specifically as follows: For a set of triples consisting of triplets with the same wavelength, the reflectivity in the set is taken as the independent variable, the concentration in the set is taken as the dependent variable, and a curve corresponding to the wavelength is obtained by curve fitting for each set of triples; Using reflectances of triplets in the triplet set to divide the curve into a plurality of regions, and numbering the regions; Extracting all regions with the same number at all wavelengths to obtain a region set with the same number, dividing each region in the region set into the same number of sub-regions according to the reflectivity, and calculating the average concentration value of the endpoint reflectivity of the sub-regions with the same number on the curve; Inserting the average value of the concentration values corresponding to the sub-region endpoint reflectance at the sub-region endpoint reflectance of each region in the region set; Curve fitting of reflectance and concentration at each wavelength was performed based on the interpolated values and triplets in the region; The reliability of determining the blood potassium concentration of the test paper strip based on the distance is specifically as follows: Calculate the distance between the reflectivity of the paper strip to be tested and the reflectivity in the closest triplet and use it as the closest distance, and calculate the distance between the reflectivity of the paper strip to be tested and the reflectivity in the second closest triplet and use it as the second closest distance; The sum of the closest distance and the second closest distance is calculated, and the ratio of the second closest distance to the sum is used as the reliability of the blood potassium concentration.
5. The system according to claim 4, characterized in that The step of dividing each region in the region set into the same number of sub-regions according to the reflectivity is as follows: Obtaining a ratio of the width of each region in the region set, and determining a moving step length of each region according to the ratio; Starting from the starting point of each area, each time the moving step is moved to obtain a value on the curve, and calculating the coefficient of variation of the values on the curves of different areas in the area set when the same number of steps are moved; Determining the number of sub-intervals based on the average value of the coefficient of variation; Divide each region in the region set into a corresponding number of subintervals.
6. The system according to claim 4, characterized in that The corrected blood potassium concentration is obtained by using the credibility calculation of the blood potassium concentration, specifically: The blood potassium concentration is weighted and summed using the credibility, and the ratio of the weighted summation result and the sum of the credibility is used as the corrected blood potassium concentration.
Citation Information
Patent Citations
Method and device for correcting calibration color palette for percutaneous jaundice tester
CN112683826A
Potassium concentration estimation method and potassium concentration estimation device
JP2022135344A