Blood glucose measuring method based on modified Raman differential feature matrix
Through modified Raman differential characteristic matrix technology, the problems of glucose spectrum peak overlap and fluorescence noise in blood glucose measurement are solved, achieving more accurate and stable blood glucose measurement, and improving the accuracy of diabetes monitoring.
Patent Information
- Application Number
- CN202410808971.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing optical non-invasive blood glucose measurement technology, the spectral peaks of glucose in blood and muscle tissue overlap, which affects the specificity and accuracy of the measurement. Moreover, the Raman spectrum is easily affected by fluorescence noise, resulting in unstable measurement results.
Using a method based on the modified Raman differential feature matrix, by collecting the pulse photoelectric pattern signal (PPG) and the corresponding Raman spectrum, a modified Raman differential feature matrix is constructed to isolate the characteristics of the glucose characteristic wavelength range, establish a blood glucose measurement model, and reduce Effect of fluorescence noise.
It improves the accuracy and stability of blood glucose measurement, reduces the influence of fluorescence noise, and enhances the reliability of measurement, especially in the monitoring of diabetic patients, which significantly improves the accuracy.
Smart Images

Figure CN118614912A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of photoelectric detection, and in particular relates to a blood sugar measurement method based on a modified Raman differential characteristic matrix. Background Art
[0002] Among the existing optical non-invasive blood glucose measurement technologies, Raman scattered light analysis is one of the mainstream methods. This technology quantitatively determines blood glucose levels by detecting spectral peaks associated with specific vibration modes of glucose molecules. However, although this method avoids the harm to the human body caused by invasive measurement, it is usually unable to fully distinguish the specific distribution of glucose in different biological tissues, especially the glucose in blood and muscle tissue. This limitation affects the accuracy of the measurement results to a certain extent.
[0003] Conventional techniques fail to solve the problem of overlapping peaks of glucose spectra in blood and other tissues (such as muscle or fibrous tissue), which seriously affects the specificity and accuracy of the measurement. Therefore, developing an improved spectral analysis technology that can more accurately measure the glucose content in blood is of great practical significance for improving the accuracy and reliability of the measurement. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the blood glucose measurement method based on the modified Raman differential feature matrix provided by the present invention solves the problems in the existing blood glucose measurement methods, that is, the overlap of glucose spectral peaks in the blood and non-target tissues leads to limited measurement specificity and accuracy, and the Raman spectrum is easily affected by fluorescence noise, resulting in information being submerged and affecting measurement accuracy.
[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is: a blood glucose measurement method based on a modified Raman differential feature matrix, comprising the following steps:
[0006] S1, collect PPG signals and detect the corresponding time of the extreme points of its waveform in real time;
[0007] S2, synchronously record the Raman spectra between adjacent extreme points in the PPG waveform;
[0008] S3, constructing a modified Raman differential feature matrix according to the correction coefficient vector of the Raman spectrum and the PPG waveform;
[0009] S4. A blood glucose measurement model is established according to the features in the modified Raman differential feature matrix that are consistent with the characteristic wavelength range of glucose, and blood glucose is measured based on the model.
[0010] Furthermore, the step S1 is specifically as follows:
[0011] S1. Set the PPG signal acquisition frequency;
[0012] S2. according to the subject's heart rate changes, set the required number of PPG waveform extreme points;
[0013] S3. Sample the PPG signal according to the set sampling frequency and the number of extreme points, and record the corresponding time of each extreme point.
[0014] Furthermore, in step S2, the Raman spectrum between adjacent extreme points is expressed as:
[0015] A(l-1,λ)=S(p(l),λ)-S(p(l-1),λ)
[0016] Where S(p(l),λ) represents the Raman spectrum in the entire wavelength range λ from the time when the PPG signal is collected from time 0 to the time when the lth PPG signal extreme point p(l) is collected, l represents the extreme point ordinal number, l=2,…,L, and L represents the number of extreme points of the PPG waveform.
[0017] Furthermore, the step S3 is specifically as follows:
[0018] S31, calculating a Raman difference spectrum according to the recorded Raman spectrum;
[0019] S32, calculating the correction coefficient vector of the PPG waveform when collecting the PPG signal;
[0020] S33, based on the Raman difference spectrum and the correction coefficient vector, and introducing the diagonal loading technology, calculating the corrected Raman difference spectrum covariance matrix;
[0021] S34. Perform principal component analysis on the modified Raman difference spectrum covariance matrix, and then construct a modified Raman difference feature matrix.
[0022] Furthermore, in step S31, the Raman difference spectrum M(i,λ) is expressed as:
[0023] M(i,λ)=A(i,λ)-A(i-1,λ)
[0024] Wherein, the Raman difference spectrum M(i,λ) represents the Raman spectrum change between every two consecutive extreme points, and A(i,λ) represents the Raman spectrum between adjacent extreme points, i=2,…,L;
[0025] In step S32, the correction coefficient vector δ(i) is expressed as:
[0026] δ(i)=avrPPG(i) / mean(avrPPG)
[0027] Wherein, avrPPG(i) represents the effective value of the PPG signal in the same time period of the corresponding Raman spectrum, avrPPG(i) = std(PPG(i-1:i), std() represents the standard deviation operation, mean(avrPPG) represents the mean operation, i = 2,…,L;
[0028] In step S33, the modified Raman difference spectrum covariance matrix Mfix′ is expressed as:
[0029] Mfix′=Mfix T ·Mfix+σ·I
[0030] Wherein, Mfix represents the Raman difference spectrum normalized by the correction coefficient vector, Mfix = M(i,λ) / δ(i), the superscript T represents the transposition operator, σ represents the constant used for stabilization calculation, and I represents the unit matrix;
[0031] In the step S34, principal component analysis is performed on the modified Raman difference spectrum, and the principal component eigenvalues and their corresponding eigenvectors are selected to construct a modified Raman difference characteristic matrix F(i,λ).
[0032] Furthermore, the step S4 is specifically as follows:
[0033] S41, summing the features within the wavelength peak range that conforms to the glucose features in the modified Raman difference feature matrix, to obtain
[0034] S42, calculating the mean value μ of Power(i), and recording the actual blood glucose S of the corresponding subject;
[0035] S43, establishing mean value μ sequences and actual blood sugar S sequences corresponding to different blood sugar levels;
[0036] S44, determining an expression of an influence coefficient in a blood glucose measurement model according to the mean value μ sequence and the actual blood glucose S sequence;
[0037] S45, according to the expression of the influence coefficient, fit and construct a blood glucose measurement model, and measure blood glucose based on it. Further, in step S44, the expression of the influence coefficient b in the blood glucose measurement model is:
[0038] b=(X T X) -1 X T y
[0039] Where X represents the matrix constructed according to the mean μ sequence, and y represents the matrix constructed according to the actual blood glucose S sequence, which are respectively expressed as:
[0040]
[0041] Where μ1, μ2, ..., μ n represents the mean value corresponding to n different blood sugar levels, y1,y2,...,y n Represents the actual blood sugar corresponding to n different blood sugar levels.
[0042] Furthermore, in step S45, the constructed blood glucose measurement model is expressed as:
[0043]
[0044] In the formula, Indicates measuring blood sugar level.
[0045] The beneficial effects of the present invention are:
[0046] 1. More accurate blood glucose measurement: By focusing on analyzing the Raman spectral peaks only from glucose in the blood, rather than including signals from other tissues such as muscle, the accuracy of blood glucose measurement is improved, especially for the monitoring of diabetic patients and other glucose metabolism disorders.
[0047] 2. Reduce the impact of fluorescence noise: Use the relative change value in Raman spectroscopy to reduce the impact of fluorescence noise on the results, making the measurement results more stable and reliable.
[0048] 3. As an independent method, this method can be adapted to various hardware devices and can be used to improve the accuracy of blood sugar detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flow chart of the blood glucose measurement method based on the modified Raman differential characteristic matrix provided by the present invention.
[0050] Figure 2 This is a schematic diagram comparing the traditional method provided by the present invention and the method for measuring blood sugar. DETAILED DESCRIPTION
[0051] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0052] The embodiment of the present invention provides a blood sugar measurement method based on a modified Raman differential characteristic matrix, such as Figure 1 As shown, the following steps are included:
[0053] S1, collect PPG signals and detect the corresponding time of the extreme points of its waveform in real time;
[0054] S2, synchronously record the Raman spectra between adjacent extreme points in the PPG waveform;
[0055] S3, constructing a modified Raman differential feature matrix according to the correction coefficient vector of the Raman spectrum and the PPG waveform;
[0056] S4. A blood glucose measurement model is established according to the features in the modified Raman differential feature matrix that are consistent with the characteristic wavelength range of glucose, and blood glucose is measured based on the model.
[0057] Step S1 of the embodiment of the present invention is specifically as follows:
[0058] S1. Set the PPG signal acquisition frequency;
[0059] S2. according to the subject's heart rate changes, set the required number of PPG waveform extreme points;
[0060] S3. Sample the PPG signal according to the set sampling frequency and the number of extreme points, and record the corresponding time of each extreme point.
[0061] In this embodiment, PPG is photocapacitance recording, which is a technology that uses the different intensities of light reflected by a photoelectric sensor after passing through human blood to record the changes in blood vessel volume during the cardiac cycle, thereby recording the pulse waveform to estimate the starting point of the heartbeat. Generally speaking, this technology works on any position of the human body with capillaries, including but not limited to wrists, fingers, earlobes, etc.
[0062] In this embodiment, the PPG waveform ppg(k) is collected when the subject is in a quiet state, and after filtering, the PPG signal is retained and the peak and valley values are detected in real time.
[0063] In this embodiment, illustratively, the PPG sampling frequency is set to 25 Hz, and the sampling position is 1 to 2 cm below the radius of the wrist.
[0064] In this embodiment, the extreme points include peak(l) and valley(l). The number of extreme points varies according to the heart rate of the subject. Generally, L=T×heart rate / 60, where T is the sampling time length. In this embodiment, 20 seconds is taken as an example. Generally, the heart rate of a human body when awake and still is mostly between 40 and 100. Therefore, the minimum value of L is generally 14.
[0065] In step S2 of the embodiment of the present invention, the laser light source and the Raman spectrometer are synchronously turned on when the PPG signal is collected. When each extreme point p(l) is detected, the Raman spectrum S(p(l), λ) is recorded, which represents the Raman spectrum in the entire wavelength range λ from the start-up moment to the time point p(l).
[0066] In this embodiment, taking sampling for 20 seconds as an example, the device is turned off at 20 seconds to complete the acquisition. Since S(p(l),λ) records the accumulated Raman spectrum from time 0 to time p(l), based on this, the calculation formula for the Raman spectrum in the time period of adjacent extreme points in this embodiment is:
[0067] A(l-1,λ)=S(p(l),λ)-S(p(l-1),λ)
[0068] In the formula, S(p(l),λ) represents the Raman spectrum in the entire wavelength range λ from the time when the PPG signal is collected from time 0 to the time when the lth PPG signal extreme point p(l) is collected. l represents the extreme point sequence, l=2,…,L, and L represents the number of extreme points of the PPG waveform. Among them, A(1,λ) means that the second extreme point S(p(2),λ) minus the first extreme point S(p(1),λ), that is, the Raman spectrum between the extreme values p(1) and p(2) is recorded as A(1,λ).
[0069] In this embodiment, the Raman spectroscopy device is set to any setting that can obtain glucose-related information. For example, in this embodiment, the Raman spectroscopy excitation light source is set to 785 nm, the wavelength range is 1 nm, the single output power is less than 150 mw, and the spectral range is 550-1550 cm -1 .
[0070] Step S3 of the embodiment of the present invention is specifically:
[0071] S31, calculating a Raman difference spectrum according to the recorded Raman spectrum;
[0072] S32, calculating the correction coefficient vector of the PPG waveform when collecting the PPG signal;
[0073] S33, based on the Raman difference spectrum and the correction coefficient vector, and introducing the diagonal loading technology, calculating the corrected Raman difference spectrum covariance matrix;
[0074] S34. Perform principal component analysis on the modified Raman difference spectrum covariance matrix, and then construct a modified Raman difference feature matrix.
[0075] In step S31 of this embodiment, the Raman difference spectrum is first calculated. The difference spectrum is based on the Raman spectrum record from the PPG extreme point, which records the cumulative value during the period from i-1 to i. This embodiment further captures the slight changes between cycles, characterizes the slight changes in the Raman spectrum in the continuous cardiac cycle, improves the correspondence with the subtle changes in blood volume, and extracts more precise variables. This specific extraction method can accurately capture the changes in blood volume and blood sugar when blood flows through blood vessels during the heart pumping cycle. Based on this, in this embodiment, the Raman difference spectrum M(i,λ) is expressed as:
[0076] M(i,λ)=A(i,λ)-A(i-1,λ)
[0077] Wherein, the Raman difference spectrum M(i,λ) represents the Raman spectrum change between every two consecutive extreme points, and A(i,λ) represents the Raman spectrum between adjacent extreme points, i=2,…,L;
[0078] In step S32 of this embodiment, due to the inconsistency of the PPG device and the diversity of the test positions, the same intensity of PPG for different individuals with different wearing tightness will show different representations of the same blood volume. Therefore, it is necessary to construct a correction coefficient vector δ(i) of the PPG signal, which is expressed as:
[0079] δ(i)=avrPPG(i) / mean(avrPPG)
[0080] Wherein, avrPPG(i) represents the effective value of the PPG signal in the same time period of the corresponding Raman spectrum, avrPPG(i)=std(PPG(i-1:i), std() represents the standard deviation operation, mean(avrPPG) represents the mean operation, i=2,…,L, and then the mean of the effective value of the PPG signal in different time periods is calculated.
[0081] In step S33 of this embodiment, in order to eliminate the influence of PPG intensity changes of different devices or test positions on the differential spectrum estimation, the corrected Raman differential spectrum is calculated and normalized; at the same time, in order to maintain the data dimension and effectively suppress noise, the diagonal loading technology is introduced in this embodiment to enhance the robustness of the subsequent principal component analysis process, and the corrected Raman differential spectrum covariance matrix Mfix′ is obtained and expressed as:
[0082] Mfix′=Mfix T ·Mfix+σ·I
[0083] Wherein, Mfix represents the Raman difference spectrum normalized by the correction coefficient vector, Mfix = M(i,λ) / δ(i), the superscript T represents the transposition operator, σ represents a constant used to stabilize the calculation and reduce the error caused by random noise, and I represents the unit matrix.
[0084] In this embodiment, the purpose of adding σ is to ensure that the condition number of the Mfix′ matrix is within a reasonable range, thereby avoiding numerical problems caused by matrix ill-conditioning during the PCA process; this technology significantly improves the accuracy of data processing, especially when processing high-dimensional data, and can effectively suppress small disturbances that may distort the results of principal component analysis.
[0085] In step S34 of this embodiment, principal component analysis is performed on the modified Raman difference spectrum, and the principal component eigenvalues and their corresponding eigenvectors are selected to construct a modified Raman difference characteristic matrix F(i,λ).
[0086] Exemplarily, in this embodiment, 10 principal component eigenvalues and their corresponding eigenvectors are selected.
[0087] Step S4 of the embodiment of the present invention is specifically as follows:
[0088] S41, summing the features within the wavelength peak range that conforms to the glucose features in the modified Raman difference feature matrix, to obtain
[0089] S42, calculating the mean value μ of Power(i), and recording the actual blood glucose S of the corresponding subject;
[0090] S43, establishing mean value μ sequences and actual blood sugar S sequences corresponding to different blood sugar levels;
[0091] S44, determining an expression of an influence coefficient in a blood glucose measurement model according to the mean value μ sequence and the actual blood glucose S sequence;
[0092] S45. According to the expression of the influence coefficient, a blood glucose measurement model is constructed by fitting, and blood glucose is measured based on the model.
[0093] In step S41 of this embodiment, the wavelength peak ranges of the glucose characteristic include 500-520, 910-920, 1120-1130, 1360-1380, 1450-1470 cm -1 .
[0094] For all λ that meet the requirements, sum the characteristics to get
[0095] In step S44 of this embodiment, the expression of the influence coefficient b in the blood glucose measurement model is:
[0096] b=(X T X) -1 X T y
[0097] Where X represents the matrix constructed according to the mean μ sequence, and y represents the matrix constructed according to the actual blood glucose S sequence, which are respectively expressed as:
[0098]
[0099] Where μ1, μ2, ..., μ n represents the mean value corresponding to n different blood sugar levels, y1,y2,...,y n represents the actual blood glucose corresponding to n different blood glucose levels, and the superscript T represents the transposition operator.
[0100] In step S45 of this embodiment, the constructed blood glucose measurement model is expressed as:
[0101]
[0102] In the formula, Indicates measuring blood sugar level.
[0103] In this embodiment, according to the above method, the influence coefficient b of the blood glucose model is not set to a fixed value, and combined with the extracted feature matrix, the final blood glucose prediction accuracy can be greatly improved.
[0104] In conventional blood glucose measurement methods, a model is built using long-term single Raman spectroscopy measurements, which involves calculating the spectral energy within a specific glucose characteristic wavelength range. The model established in this way is actually a composite model that integrates blood glucose, muscle, and tissue blood oxygen. Therefore, its measurement results are often affected by the characteristics of multiple biological tissues, which may limit the accuracy of blood glucose measurement.
[0105] Compared with the above-mentioned traditional methods, the blood glucose measurement method provided by the embodiment of the present invention focuses on collecting Raman spectra at each extreme point of the PPG waveform; not only the spectra of these extreme points are recorded, but also the changes in the Raman spectra between these points are accurately measured. These changes particularly represent the changes in blood flow caused by the heart's pumping cycle. Therefore, the energy changes of the characteristic peaks of glucose caused by blood flow can be extracted more directly and accurately. By focusing on the Raman spectrum changes from peak to valley within the PPG cycle, the blood glucose signal in the blood can be accurately separated, thereby establishing a more accurate blood glucose measurement model.
[0106] In this embodiment, the blood sugar measurement results obtained by the conventional blood sugar measurement method and the method of the present invention are compared. Figure 2As shown, the gain is obtained by comparison. Due to the reduction of fluorescence noise and the accurate extraction of blood glucose, the error of the method of the present invention can be reduced by about 50%.
[0107] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0108] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A blood glucose measurement method based on a modified Raman differential characteristic matrix, characterized in that: The following steps are involved: S1, collect PPG signals and detect the corresponding time of the extreme points of its waveform in real time; S2, synchronously record the Raman spectra between adjacent extreme points in the PPG waveform; S3, constructing a modified Raman differential feature matrix according to the correction coefficient vector of the Raman spectrum and the PPG waveform; S4. A blood glucose measurement model is established according to the features in the modified Raman differential feature matrix that are consistent with the characteristic wavelength range of glucose, and blood glucose is measured based on the model.
2. The blood glucose measurement method based on the modified Raman differential characteristic matrix according to claim 1, characterized in that: The step S1 is specifically as follows: S1. Set the PPG signal acquisition frequency; S2. according to the subject's heart rate changes, set the required number of PPG waveform extreme points; S3. Sample the PPG signal according to the set sampling frequency and the number of extreme points, and record the corresponding time of each extreme point.
3. The blood glucose measurement method based on modified Raman differential characteristic matrix according to claim 1, characterized in that: In step S2, the Raman spectrum between adjacent extreme points is expressed as: A(l-1,λ)=S(p(l),λ)-S(p(l-1),λ) Where S(p(l),λ) represents the Raman spectrum in the entire wavelength range λ from the time when the PPG signal is collected from time 0 to the time when the lth PPG signal extreme point p(l) is collected, l represents the extreme point ordinal number, l=2,…,L, and L represents the number of extreme points of the PPG waveform.
4. The blood glucose measurement method based on the modified Raman differential characteristic matrix according to claim 3 is characterized in that: The step S3 is specifically as follows: S31, calculating a Raman difference spectrum according to the recorded Raman spectrum; S32, calculating the correction coefficient vector of the PPG waveform when collecting the PPG signal; S33, based on the Raman difference spectrum and the correction coefficient vector, and introducing the diagonal loading technology, calculating the corrected Raman difference spectrum covariance matrix; S34. Perform principal component analysis on the modified Raman difference spectrum covariance matrix, and then construct a modified Raman difference feature matrix.
5. The blood glucose measurement method based on modified Raman differential characteristic matrix according to claim 4, characterized in that: In step S31, the Raman difference spectrum M(i,λ) is expressed as: M(i,λ)=A(i,λ)-A(i-1,λ) Wherein, the Raman difference spectrum M(i,λ) represents the Raman spectrum change between every two consecutive extreme points, and A(i,λ) represents the Raman spectrum between adjacent extreme points, i=2,…,L; In step S32, the correction coefficient vector δ(i) is expressed as: δ(i)=avrPPG(i) / mean(avrPPG) Wherein, avrPPG(i) represents the effective value of the PPG signal in the same time period of the corresponding Raman spectrum, avrPPG(i) = std(PPG(i-1:i), std() represents the standard deviation operation, mean(avrPPG) represents the mean operation, i = 2,…,L; In step S33, the modified Raman difference spectrum covariance matrix Mfix′ is expressed as: Mfix′=Mfix T ·Mfix+σ·I Wherein, Mfix represents the Raman difference spectrum normalized by the correction coefficient vector, Mfix = M(i,λ) / δ(i), the superscript T represents the transposition operator, σ represents the constant used for stabilization calculation, and I represents the unit matrix; In the step S34, principal component analysis is performed on the modified Raman difference spectrum, and the principal component eigenvalues and their corresponding eigenvectors are selected to construct a modified Raman difference characteristic matrix F(i,λ).
6. The blood glucose measurement method based on modified Raman differential characteristic matrix according to claim 1, characterized in that: The step S4 is specifically as follows: S41, summing the features within the wavelength peak range that conforms to the glucose features in the modified Raman difference feature matrix, to obtain S42, calculating the mean value μ of Power(i), and recording the actual blood glucose S of the corresponding subject; S43, establishing mean value μ sequences and actual blood sugar S sequences corresponding to different blood sugar levels; S44, determining an expression of an influence coefficient in a blood glucose measurement model according to the mean value μ sequence and the actual blood glucose S sequence; S45. According to the expression of the influence coefficient, a blood glucose measurement model is constructed by fitting, and blood glucose is measured based on the model.
7. The blood glucose measurement method based on modified Raman differential characteristic matrix according to claim 6, characterized in that: In step S44, the expression of the influence coefficient b in the blood glucose measurement model is: b=(X T X) -1 X T y Where X represents the matrix constructed according to the mean μ sequence, and y represents the matrix constructed according to the actual blood glucose S sequence, which are respectively expressed as: Where μ1, μ2, ..., μ n represents the mean value corresponding to n different blood sugar levels, y1,y2,...,y n Represents the actual blood sugar corresponding to n different blood sugar levels.
8. The blood glucose measurement method based on modified Raman differential characteristic matrix according to claim 7, characterized in that: In step S45, the constructed blood glucose measurement model is expressed as: In the formula, Indicates measuring blood sugar level.
